diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/amanith/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/amanith/amanith-0.3-r1.ebuild | 69 | ||||
-rw-r--r-- | media-libs/amanith/files/digest-amanith-0.3-r1 | 3 |
3 files changed, 78 insertions, 1 deletions
diff --git a/media-libs/amanith/ChangeLog b/media-libs/amanith/ChangeLog index b49631fb2c84..cb1bc1d7a621 100644 --- a/media-libs/amanith/ChangeLog +++ b/media-libs/amanith/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/amanith # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/amanith/ChangeLog,v 1.1 2006/09/19 03:39:47 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/amanith/ChangeLog,v 1.2 2006/11/11 00:47:33 vapier Exp $ + +*amanith-0.3-r1 (11 Nov 2006) + + 11 Nov 2006; Mike Frysinger <vapier@gentoo.org> +amanith-0.3-r1.ebuild: + Fix example install #154700 by Cedric Pinson. *amanith-0.3 (18 Sep 2006) diff --git a/media-libs/amanith/amanith-0.3-r1.ebuild b/media-libs/amanith/amanith-0.3-r1.ebuild new file mode 100644 index 000000000000..0293409751e1 --- /dev/null +++ b/media-libs/amanith/amanith-0.3-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/amanith/amanith-0.3-r1.ebuild,v 1.1 2006/11/11 00:47:33 vapier Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="OpenSource C++ CrossPlatform framework designed for 2d & 3d vector graphics" +HOMEPAGE="http://www.amanith.org/" +SRC_URI="http://www.amanith.org/download/files/${PN}_${PV//.}.tar.gz" + +LICENSE="QPL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples jpeg opengl png truetype" + +DEPEND="truetype? ( >=media-libs/freetype-2.1.10 ) + jpeg? ( >=media-libs/jpeg-6b ) + png? ( >=media-libs/libpng-1.2.10 ) + opengl? ( media-libs/glew ) + >=x11-libs/qt-4.1.0" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-build.patch + epatch "${FILESDIR}"/${P}-gcc4.patch + + rm -rf 3rdpart include/GL || die + sed -i -e '/SUBDIRS/s:3rdpart::' amanith.pro || die + + use_plugin() { use $1 || sed -i -e "/DEFINES.*_$2_PLUGIN/d" config/settings.conf ; } + use_plugin jpeg JPEG + use_plugin opengl OPENGLEXT + use_plugin png PNG + use_plugin truetype FONTS + sed -i -e '/USE_QT4/s:#::' config/settings.conf || die + sed -i -e '/SUBDIRS/s:examples::' amanith.pro || die +} + +src_compile() { + export AMANITHDIR=${S} + # make sure our env settings are respected + qmake \ + -unix \ + QMAKE_CC=$(tc-getCC) \ + QMAKE_CXX=$(tc-getCXX) \ + QMAKE_CFLAGS="${CFLAGS}" \ + QMAKE_CXXFLAGS="${CXXFLAGS}" \ + QMAKE_LFLAGS="${LDFLAGS}" \ + || die "qmake failed" + emake || die "emake failed" +} + +src_install() { + dolib.so lib/*.so* plugins/*.so* || die + + insinto /usr/include + doins -r include/amanith || die + + dodoc CHANGELOG FAQ README doc/amanith.chm + + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins -r examples data config || die + fi +} diff --git a/media-libs/amanith/files/digest-amanith-0.3-r1 b/media-libs/amanith/files/digest-amanith-0.3-r1 new file mode 100644 index 000000000000..0b51f88b6fc6 --- /dev/null +++ b/media-libs/amanith/files/digest-amanith-0.3-r1 @@ -0,0 +1,3 @@ +MD5 392e79d36cc2d57921c7fefacbc4d4a3 amanith_03.tar.gz 7688202 +RMD160 6bfe1f54bbf3ff70b299c5ebf9d2d13cfcfaa6fd amanith_03.tar.gz 7688202 +SHA256 2e92dde6e56abef0f5146fd61ad0310e176d25578673353afe4def99c6bdaa1a amanith_03.tar.gz 7688202 |