diff options
Diffstat (limited to '')
-rw-r--r-- | dev-python/kaa-imlib2/Manifest | 3 | ||||
-rw-r--r-- | dev-python/kaa-imlib2/files/kaa-imlib2-remove-png-dep.patch | 11 | ||||
-rw-r--r-- | dev-python/kaa-imlib2/kaa-imlib2-0.2.3.ebuild | 31 |
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/kaa-imlib2/Manifest b/dev-python/kaa-imlib2/Manifest new file mode 100644 index 0000000..e35e496 --- /dev/null +++ b/dev-python/kaa-imlib2/Manifest @@ -0,0 +1,3 @@ +AUX kaa-imlib2-remove-png-dep.patch 387 RMD160 bbad3f19303f11726d2ec182990f5c6c790b06fb SHA1 3f517b972a77ab6001a76fdcb534116ce3327f24 SHA256 8f1c578f5b1ff70dba7e6e8a8ca40e89dc6e25d25fb6b0e47b7efbc212765054 +DIST kaa-imlib2-0.2.3.tar.gz 30671 RMD160 21ee968a7895825a176d3683acabdaeecc673d2c SHA1 870c66358c8c9f08416b01b6232a6037655dac3d SHA256 44eec202450edadfdac91a44be191b7fbba6225e90a6595443c422d1928f39c6 +EBUILD kaa-imlib2-0.2.3.ebuild 864 RMD160 b2f165462a27a9fb2909e62c2798af1bf877d0cb SHA1 7ae0a423fd4a31f0ffa8ba1c96313f7c2f842803 SHA256 d48b82348622cd779d87ea5e2033a2f9ab110a5129bf185681c10a02b9d4a7d2 diff --git a/dev-python/kaa-imlib2/files/kaa-imlib2-remove-png-dep.patch b/dev-python/kaa-imlib2/files/kaa-imlib2-remove-png-dep.patch new file mode 100644 index 0000000..0db6fef --- /dev/null +++ b/dev-python/kaa-imlib2/files/kaa-imlib2-remove-png-dep.patch @@ -0,0 +1,11 @@ +--- setup.py.old 2008-07-12 01:43:30.700296071 +0200 ++++ setup.py 2008-07-12 01:43:57.441547566 +0200 +@@ -39,7 +39,7 @@ + sys.exit(1) + + files = [ 'src/imlib2.c', 'src/image.c', 'src/font.c', 'src/rawformats.c' ] +-libraries = [ 'png'] ++libraries = [] + if not os.uname()[0] in ('FreeBSD', 'Darwin'): + libraries.append('rt') + imlib2so = Extension('kaa.imlib2._Imlib2module', files, diff --git a/dev-python/kaa-imlib2/kaa-imlib2-0.2.3.ebuild b/dev-python/kaa-imlib2/kaa-imlib2-0.2.3.ebuild new file mode 100644 index 0000000..a9a0132 --- /dev/null +++ b/dev-python/kaa-imlib2/kaa-imlib2-0.2.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/kaa-imlib2/kaa-imlib2-0.2.3.ebuild,v 1.4 2008/05/01 09:26:12 dertobi123 Exp $ + +inherit python eutils distutils + +DESCRIPTION="Imlib2 wrapper for Python." +HOMEPAGE="http://freevo.sourceforge.net/kaa/" +SRC_URI="mirror://sourceforge/freevo/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND=">=dev-python/kaa-base-0.3.0 + dev-libs/libxml2 + media-libs/imlib2" +RDEPEND="${DEPEND}" + +src_unpack() { + distutils_src_unpack + epatch "${FILESDIR}/kaa-imlib2-remove-png-dep.patch" +} + +pkg_setup() { + if ! built_with_use dev-libs/libxml2 python; then + eerror "dev-libs/libxml2 must be built with the 'python' USE flag" + die "Recompile dev-libs/libxml2 with the 'python' USE flag enabled" + fi +} |