summaryrefslogtreecommitdiff
blob: 0b70a6e1a10859e4a9b368fc5fe893439d3698b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/fresco-base/fresco-cvs/fresco-cvs-20030220.ebuild,v 1.2 2003/02/20 14:33:02 lordvan Exp $

ECVS_SERVER="cvs.fresco.org:/cvs/fresco"
ECVS_MODULE="Fresco"
#ECVS_BRANCH=${PN/cvs/}${PV/./-}
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_BRANCH}"

inherit cvs
inherit gcc

MY_PN="${PN/fresco-cvs/Fresco}"
S="${WORKDIR}/${MY_PN}"
DESCRIPTION="fresco -- A free X11 replacement which is under heavy development. CVS ebuild."
HOMEPAGE="http://www2.fresco.org"
LICENSE="fresco"
SLOT="0"
KEYWORDS="~x86"
	
DEPEND="net-misc/omniORB
	media-libs/libggi
	media-libs/libsdl
	dev-libs/DirectFB
	virtual/opengl
	media-libs/libart_lgpl
	>=media-libs/freetype-2.0.0
	sys-libs/zlib
	media-libs/libpng
	fresco-base/fresco-env"


src_compile() {
	cd ${S}
	
	# Apply the patch on gcc3.2 boxes
	# disable the TermDemo atm
	mv ${S}/Fresco-C++-demos/src/demo.cc ${S}/Fresco-C++-demos/src/demo.cc_orig
	sed s/'std::auto_ptr<Demo> terminal(create_demo<TermDemo>(application));'/''/ ${S}/Fresco-C++-demos/src/demo.cc_orig > ${S}/Fresco-C++-demos/src/demo.cc
	./autogen.sh || die "autogen.sh failed"
	./configure --prefix=/opt/fresco --enable-tracer || die "configure failed" 
	make || die "make failed"
}

src_install () {
	make DESTDIR=${D} install || die
	exeinto /opt/fresco
#	doexe ${FILESDIR}/rundemo.sh
	dodoc INSTALL README
}

#pkg_postinst () {
#	einfo "Use /opt/fresco/rundemo.sh to run the demo."
#}