diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2003-02-20 14:32:03 +0000 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2003-02-20 14:32:03 +0000 |
commit | 52842a65ffe0e8fbfa17de9df203c3bb78acf097 (patch) | |
tree | b5bcd49fe34078649e79209e408d57a979ff7cca /fresco-base | |
parent | Changed latest ant ebuild to stable (diff) | |
download | gentoo-2-52842a65ffe0e8fbfa17de9df203c3bb78acf097.tar.gz gentoo-2-52842a65ffe0e8fbfa17de9df203c3bb78acf097.tar.bz2 gentoo-2-52842a65ffe0e8fbfa17de9df203c3bb78acf097.zip |
small updates
Diffstat (limited to 'fresco-base')
-rw-r--r-- | fresco-base/fresco-cvs/fresco-cvs-20030220.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/fresco-base/fresco-cvs/fresco-cvs-20030220.ebuild b/fresco-base/fresco-cvs/fresco-cvs-20030220.ebuild new file mode 100644 index 000000000000..333ac19858ae --- /dev/null +++ b/fresco-base/fresco-cvs/fresco-cvs-20030220.ebuild @@ -0,0 +1,63 @@ +# 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.1 2003/02/20 14:32:03 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" +PATCH="gcc-3.2.patch" + +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 +# if([ "`gcc-version`" == "3.2" ]) then +# einfo "GCC 3.2 found. Applying patch" +# cp ${FILESDIR}/${PATCH}.bz2 ${S} +# bunzip2 ${S}/${PATCH}.bz2 +# patch -p0 < ${PATCH} +# fi + #patch -p0 < ${FILESDIR}/Dictionary.diff # now in HEAD :) + patch -p0 ${S}/Berlin/modules/Widgets/Motif/Terminal.cc < ${FILESDIR}/Terminal.cc.patch + # 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." +#} |