diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-09-19 03:39:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-09-19 03:39:47 +0000 |
commit | 8a23917ca66ecd66fe7461a20efba8555dd76ee6 (patch) | |
tree | f769066241dbc8c6358131c33c2bd45ec03a7740 /media-libs | |
parent | Remove hal flag. Bug #147496 (diff) | |
download | gentoo-2-8a23917ca66ecd66fe7461a20efba8555dd76ee6.tar.gz gentoo-2-8a23917ca66ecd66fe7461a20efba8555dd76ee6.tar.bz2 gentoo-2-8a23917ca66ecd66fe7461a20efba8555dd76ee6.zip |
initial import #115754 by Leo.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/amanith/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/amanith/Manifest | 24 | ||||
-rw-r--r-- | media-libs/amanith/amanith-0.3.ebuild | 69 | ||||
-rw-r--r-- | media-libs/amanith/files/amanith-0.3-build.patch | 60 | ||||
-rw-r--r-- | media-libs/amanith/files/amanith-0.3-gcc4.patch | 11 | ||||
-rw-r--r-- | media-libs/amanith/files/digest-amanith-0.3 | 3 | ||||
-rw-r--r-- | media-libs/amanith/metadata.xml | 8 |
7 files changed, 183 insertions, 0 deletions
diff --git a/media-libs/amanith/ChangeLog b/media-libs/amanith/ChangeLog new file mode 100644 index 000000000000..b49631fb2c84 --- /dev/null +++ b/media-libs/amanith/ChangeLog @@ -0,0 +1,8 @@ +# 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 $ + +*amanith-0.3 (18 Sep 2006) + + 18 Sep 2006; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me #115754. diff --git a/media-libs/amanith/Manifest b/media-libs/amanith/Manifest new file mode 100644 index 000000000000..10f19fb939c0 --- /dev/null +++ b/media-libs/amanith/Manifest @@ -0,0 +1,24 @@ +AUX amanith-0.3-build.patch 1606 RMD160 068f1d7e9e95f106a2a0c18cd26757ec594b54d1 SHA1 652a754a21f1f150ff231344918d181bcf257bd9 SHA256 81af009afe75284631313de813dcc2b8c2fbbf1ec44112f70e463d5fe5f34edc +MD5 bd747277a712e75188ff3ae2f7b3c6a7 files/amanith-0.3-build.patch 1606 +RMD160 068f1d7e9e95f106a2a0c18cd26757ec594b54d1 files/amanith-0.3-build.patch 1606 +SHA256 81af009afe75284631313de813dcc2b8c2fbbf1ec44112f70e463d5fe5f34edc files/amanith-0.3-build.patch 1606 +AUX amanith-0.3-gcc4.patch 252 RMD160 2091c0f8f453f5868adf18d2500880e3fff622c3 SHA1 ab3c16309bb4d7e18d0db678d8d27439bc9e08ef SHA256 021603dff71d331772e52385b31709396ff6a54d60e8e835b65eeb4a1504e032 +MD5 abc257bd40ecf537c83a19f6559e407a files/amanith-0.3-gcc4.patch 252 +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 1682 RMD160 f5d0bb597d5fe7c23e7574ada72c328bcaf0ebb8 SHA1 dc9e488eb47565b3ef3f6ace1972e9700b192a7e SHA256 335ab9c9a1c54893adda2938e9af6d9f87aba7e16765a223cb47d51fedc72e30 +MD5 2b9ae76931ef65b4ce18680311f0ab66 amanith-0.3.ebuild 1682 +RMD160 f5d0bb597d5fe7c23e7574ada72c328bcaf0ebb8 amanith-0.3.ebuild 1682 +SHA256 335ab9c9a1c54893adda2938e9af6d9f87aba7e16765a223cb47d51fedc72e30 amanith-0.3.ebuild 1682 +MISC ChangeLog 250 RMD160 ac184edea31af2769c83bc7da7ea677477966a26 SHA1 c81ad3fd9c885d5e7b19665e4043164199840461 SHA256 ff6f6aa99afb977f0750d63ebe7528073d72666019ec4cab908d593c8452288b +MD5 5ec3c101077cf4cf15fa2dc86f3fbd8f ChangeLog 250 +RMD160 ac184edea31af2769c83bc7da7ea677477966a26 ChangeLog 250 +SHA256 ff6f6aa99afb977f0750d63ebe7528073d72666019ec4cab908d593c8452288b ChangeLog 250 +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 diff --git a/media-libs/amanith/amanith-0.3.ebuild b/media-libs/amanith/amanith-0.3.ebuild new file mode 100644 index 000000000000..094e1ff0e459 --- /dev/null +++ b/media-libs/amanith/amanith-0.3.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.ebuild,v 1.1 2006/09/19 03:39:47 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 + docinto examples + doins -r examples data config || die + fi +} diff --git a/media-libs/amanith/files/amanith-0.3-build.patch b/media-libs/amanith/files/amanith-0.3-build.patch new file mode 100644 index 000000000000..27e6f3a45fec --- /dev/null +++ b/media-libs/amanith/files/amanith-0.3-build.patch @@ -0,0 +1,60 @@ +--- amanith/plugins/fonts/build.conf ++++ amanith/plugins/fonts/build.conf +@@ -38,9 +38,9 @@ + # take into account compilation mode (debug or release)
+ DEFINES -= FT_DEBUG_LEVEL_ERROR FT_DEBUG_LEVEL_TRACE
+
+-INCLUDEPATH += $$(AMANITHDIR)/3rdpart/freetype2/include
++QMAKE_CXXFLAGS += `pkg-config --cflags freetype2` +
+-unix: LIBS += $$(AMANITHDIR)/lib/libfreetype2.a $$(AMANITHDIR)/lib/libzlib.a
++unix: LIBS += `pkg-config --libs freetype2` -lz + win32: {
+
+ !contains(DEFINES, WIN32_MINGW) {
+--- amanith/plugins/jpeg/build.conf ++++ amanith/plugins/jpeg/build.conf +@@ -25,7 +25,7 @@ + }
+ }
+
+-unix: LIBS += $$(AMANITHDIR)/lib/libjpeg.a
++unix: LIBS += -ljpeg + win32: {
+
+ !contains(DEFINES, WIN32_MINGW) {
+--- amanith/plugins/jpeg/gjpegimpexp.cpp ++++ amanith/plugins/jpeg/gjpegimpexp.cpp +@@ -36,7 +36,7 @@ + #include <csetjmp>
+
+ G_EXTERN_C { +- #include "../../3rdpart/libjpeg/jpeglib.h" ++ #include <jpeglib.h> + };
+
+ /**************************************************************************** +--- amanith/plugins/png/build.conf ++++ amanith/plugins/png/build.conf +@@ -25,9 +25,8 @@ + }
+ }
+
+-INCLUDEPATH += $$(AMANITHDIR)/3rdpart/zlib
+
+-unix: LIBS += $$(AMANITHDIR)/lib/libpng.a $$(AMANITHDIR)/lib/libzlib.a
++unix: LIBS += -lpng -lz + win32: {
+
+ !contains(DEFINES, WIN32_MINGW) {
+--- amanith/plugins/png/gpngimpexp.cpp ++++ amanith/plugins/png/gpngimpexp.cpp +@@ -35,7 +35,7 @@ + //#include <csetjmp>
+
+ G_EXTERN_C { +- #include "../../3rdpart/libpng/png.h" ++ #include <png.h> + };
+
+ /**************************************************************************** diff --git a/media-libs/amanith/files/amanith-0.3-gcc4.patch b/media-libs/amanith/files/amanith-0.3-gcc4.patch new file mode 100644 index 000000000000..d1294bd1320d --- /dev/null +++ b/media-libs/amanith/files/amanith-0.3-gcc4.patch @@ -0,0 +1,11 @@ +--- amanith/examples/opengl/vectorizer/drawer.h ++++ amanith/examples/opengl/vectorizer/drawer.h +@@ -71,7 +71,7 @@ + #endif + // destructor + ~QGLWidgetTest(); +- void QGLWidgetTest::timerEvent(QTimerEvent *e); ++ void timerEvent(QTimerEvent *e);
+ }; + + diff --git a/media-libs/amanith/files/digest-amanith-0.3 b/media-libs/amanith/files/digest-amanith-0.3 new file mode 100644 index 000000000000..0b51f88b6fc6 --- /dev/null +++ b/media-libs/amanith/files/digest-amanith-0.3 @@ -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 diff --git a/media-libs/amanith/metadata.xml b/media-libs/amanith/metadata.xml new file mode 100644 index 000000000000..04cfecd9dc9b --- /dev/null +++ b/media-libs/amanith/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>vapier@gentoo.org</email> +</maintainer> +</pkgmetadata> |