# 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)
RMD160 2091c0f8f453f5868adf18d2500880e3fff622c3 files/amanith-0.3-gcc4.patch 252
SHA256 021603dff71d331772e52385b31709396ff6a54d60e8e835b65eeb4a1504e032 files/amanith-0.3-gcc4.patch 252
DIST amanith_03.tar.gz 7688202 RMD160 6bfe1f54bbf3ff70b299c5ebf9d2d13cfcfaa6fd SHA1 7bc3ab197a227d3dabf1902e420cba36e0a4e903 SHA256 2e92dde6e56abef0f5146fd61ad0310e176d25578673353afe4def99c6bdaa1a
-EBUILD amanith-0.3.ebuild 1781 RMD160 6c4f953a203876e1715d9a848fa3d2a5c7e0b8ee SHA1 6299dc8701c592a2fbac0be4a3bf53e64cf5e3fc SHA256 21daf87f67584face74d9fda0824b359cafcfd51c7e55b61bcc5084391245494
-MD5 df02f51293cff82851dec40173076d16 amanith-0.3.ebuild 1781
-RMD160 6c4f953a203876e1715d9a848fa3d2a5c7e0b8ee amanith-0.3.ebuild 1781
-SHA256 21daf87f67584face74d9fda0824b359cafcfd51c7e55b61bcc5084391245494 amanith-0.3.ebuild 1781
-MISC ChangeLog 340 RMD160 b9b7cf667dcbb522d816835452e0e9f9249f8b87 SHA1 5a842f39f70c1610b3d7b2e8a01ee060f01ccca1 SHA256 a67a5e6a2ff245e535a76bebb6007fa3feaf153e121bf86730c90524b5ffccb6
-MD5 1ea35d89872759b8424dfd4158848ed2 ChangeLog 340
-RMD160 b9b7cf667dcbb522d816835452e0e9f9249f8b87 ChangeLog 340
-SHA256 a67a5e6a2ff245e535a76bebb6007fa3feaf153e121bf86730c90524b5ffccb6 ChangeLog 340
+EBUILD amanith-0.3-r1.ebuild 1805 RMD160 c81d504b5d223653c30894d903010242605f49ee SHA1 fdda38f3153d5721167d5ea6e5ac046a11ed9acd SHA256 99d11a0d9c3f5b7219cd439bdec0c17e7da07f8c5ee57b8f25b8d0948f635ba7
+MD5 66a46422c5d6b09a2f8033ecc0dd4357 amanith-0.3-r1.ebuild 1805
+RMD160 c81d504b5d223653c30894d903010242605f49ee amanith-0.3-r1.ebuild 1805
+SHA256 99d11a0d9c3f5b7219cd439bdec0c17e7da07f8c5ee57b8f25b8d0948f635ba7 amanith-0.3-r1.ebuild 1805
+MISC ChangeLog 494 RMD160 f826f084fdff362b5e077a9edc97d8567ff93815 SHA1 a24b49d62cd49b225a9a004ca99d86755b035f6d SHA256 22ac8bb0ce4797c43f6550d6d0d861a78c25de1c7275ff2d10f7ed18bcd05b83
+MD5 6fec6023759e9f63da47c18bba1a42e1 ChangeLog 494
+RMD160 f826f084fdff362b5e077a9edc97d8567ff93815 ChangeLog 494
+SHA256 22ac8bb0ce4797c43f6550d6d0d861a78c25de1c7275ff2d10f7ed18bcd05b83 ChangeLog 494
MISC metadata.xml 221 RMD160 2699c0059639536eb7befa077a27e437569a26ba SHA1 4bef3741184af2e2d984fec094cd0ab39ae2e624 SHA256 1d72b91d3ef79fdff0049c23a645d8595a5fb72ea7e5d5b6fa43cfc18e9a4627
MD5 1fb0cef8c20e31d8fee121ebb2205588 metadata.xml 221
RMD160 2699c0059639536eb7befa077a27e437569a26ba metadata.xml 221
SHA256 1d72b91d3ef79fdff0049c23a645d8595a5fb72ea7e5d5b6fa43cfc18e9a4627 metadata.xml 221
-MD5 ee09de69ebe3f6d703c2c12470466ce6 files/digest-amanith-0.3 235
-RMD160 4b314d040eb2aeadcf3a963116c8f54645e8084f files/digest-amanith-0.3 235
-SHA256 71e9c87249bc70ca3d58f13667be9195dfb3d7e12a7bc13e64bbadcff01f2dcf files/digest-amanith-0.3 235
+MD5 ee09de69ebe3f6d703c2c12470466ce6 files/digest-amanith-0.3-r1 235
+RMD160 4b314d040eb2aeadcf3a963116c8f54645e8084f files/digest-amanith-0.3-r1 235
+SHA256 71e9c87249bc70ca3d58f13667be9195dfb3d7e12a7bc13e64bbadcff01f2dcf files/digest-amanith-0.3-r1 235
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFD2anamhnQswr0vIRAvzeAJ4iu6i5C5j7yGoHpJQy/00ZBN/UaQCfTbU0
-IxaIOgVVpM0kSfhqzJPmEb4=
-=eMKR
+iD8DBQFFVR2uamhnQswr0vIRAkCPAJ97xe4RvPCJDaZZQ5xjXJCykjTIegCfewmm
+tF2qtGvnG4mq49D9mw7jtmw=
+=cKaO
-----END PGP SIGNATURE-----
--- /dev/null
+# 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
+}
--- /dev/null
+MD5 392e79d36cc2d57921c7fefacbc4d4a3 amanith_03.tar.gz 7688202
+RMD160 6bfe1f54bbf3ff70b299c5ebf9d2d13cfcfaa6fd amanith_03.tar.gz 7688202
+SHA256 2e92dde6e56abef0f5146fd61ad0310e176d25578673353afe4def99c6bdaa1a amanith_03.tar.gz 7688202