summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-19 03:39:47 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-19 03:39:47 +0000
commitfbe650163ba69f56444544d8a648037fc04ce716 (patch)
tree08efce2ca081c989ac4695d7331940f7748e6a8d /media-libs/amanith
parentRemove hal flag. Bug #147496 (diff)
downloadhistorical-fbe650163ba69f56444544d8a648037fc04ce716.tar.gz
historical-fbe650163ba69f56444544d8a648037fc04ce716.tar.bz2
historical-fbe650163ba69f56444544d8a648037fc04ce716.zip
initial import #115754 by Leo.
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'media-libs/amanith')
-rw-r--r--media-libs/amanith/ChangeLog8
-rw-r--r--media-libs/amanith/Manifest34
-rw-r--r--media-libs/amanith/amanith-0.3.ebuild69
-rw-r--r--media-libs/amanith/files/amanith-0.3-build.patch60
-rw-r--r--media-libs/amanith/files/amanith-0.3-gcc4.patch11
-rw-r--r--media-libs/amanith/files/digest-amanith-0.33
-rw-r--r--media-libs/amanith/metadata.xml8
7 files changed, 193 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..2fa36b7cac26
--- /dev/null
+++ b/media-libs/amanith/Manifest
@@ -0,0 +1,34 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 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
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFD2anamhnQswr0vIRAvzeAJ4iu6i5C5j7yGoHpJQy/00ZBN/UaQCfTbU0
+IxaIOgVVpM0kSfhqzJPmEb4=
+=eMKR
+-----END PGP SIGNATURE-----
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>