summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-12-16 11:39:24 +0000
committerMike Frysinger <vapier@gentoo.org>2009-12-16 11:39:24 +0000
commitc352a064c50c75e1b1ee796457baa2a89c22091a (patch)
tree5afeaf2d43b308c4c3eb6d166b78faea09dbdff5 /media-libs/iulib
parentMissing inherit flag-o-matic wrt #276142. Remove useless FEATURES="ccache" ch... (diff)
downloadhistorical-c352a064c50c75e1b1ee796457baa2a89c22091a.tar.gz
historical-c352a064c50c75e1b1ee796457baa2a89c22091a.tar.bz2
historical-c352a064c50c75e1b1ee796457baa2a89c22091a.zip
Version bump #297104 by Michał Górny.
Package-Manager: portage-2.2_rc55/cvs/Linux x86_64
Diffstat (limited to 'media-libs/iulib')
-rw-r--r--media-libs/iulib/ChangeLog8
-rw-r--r--media-libs/iulib/Manifest11
-rw-r--r--media-libs/iulib/files/iulib-0.4-scons-build-env.patch39
-rw-r--r--media-libs/iulib/iulib-0.4.ebuild36
4 files changed, 89 insertions, 5 deletions
diff --git a/media-libs/iulib/ChangeLog b/media-libs/iulib/ChangeLog
index c07097a52fc3..bf4f4fb3a592 100644
--- a/media-libs/iulib/ChangeLog
+++ b/media-libs/iulib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/iulib
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/ChangeLog,v 1.4 2009/12/04 07:20:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/ChangeLog,v 1.5 2009/12/16 11:39:24 vapier Exp $
+
+*iulib-0.4 (16 Dec 2009)
+
+ 16 Dec 2009; Mike Frysinger <vapier@gentoo.org> +iulib-0.4.ebuild,
+ +files/iulib-0.4-scons-build-env.patch:
+ Version bump #297104 by Michał Górny.
04 Dec 2009; Mike Frysinger <vapier@gentoo.org> iulib-0.3.ebuild:
Mark amd64/x86 stable #283960 by Pierre.
diff --git a/media-libs/iulib/Manifest b/media-libs/iulib/Manifest
index 8ab7e8f573a2..b66721c87618 100644
--- a/media-libs/iulib/Manifest
+++ b/media-libs/iulib/Manifest
@@ -2,14 +2,17 @@
Hash: SHA1
AUX iulib-0.3-install.patch 1452 RMD160 065341be8a0efefa762eec5f690a324dee5d00d4 SHA1 651e3dd4c630a4b29c68453aaea5efa657c50802 SHA256 fca7d3266362490ce1ba40da0f847e0b45c047165cc6fe47a97820629c47f810
+AUX iulib-0.4-scons-build-env.patch 1381 RMD160 9807dfe606df789fd023bc43573ecba0b672fbd1 SHA1 4b63d7418b8504c5e7b9eb674d803065526061b4 SHA256 61a711df3e57c6eab924e455d1bc21fecf0a285273b8e7d8b39aed2bd752e8bc
DIST iulib-0.3.tar.gz 3065868 RMD160 0d37a19fb003762479b1f9a2222e6ad0062e8514 SHA1 04c1ee3130df94c8d1439cac0d3f3183193a3dce SHA256 229f6c6b3724a442efd7306def6d2b35cd7ad38ec725adc6446632c9e8cd20f2
+DIST iulib-0.4.tgz 3288112 RMD160 a50f6cd539d3a87ab5ccca925c5f6b80edd87a32 SHA1 96a006f806a650886fdd59b1239f6e56d1a864c1 SHA256 c70dab420f5ce0ff0185c922881576f4a82eacec3feb0befa66bd7468151d99b
EBUILD iulib-0.3.ebuild 808 RMD160 c35450fa0a483a95751b8295259489392613e1af SHA1 0aa60aa6696490dc354037f76d2e0d5d479d5f5b SHA256 7e21e0b96bc813e9c3f628cc703a22b4faab5f5d7c729b11675a17f8456bcfea
-MISC ChangeLog 607 RMD160 b67d8d3de30302e85c3639197caa539c0a8d3c6a SHA1 cbef6a159bfe6a3b90c96b641276cc9ceb722c53 SHA256 fbeda6d04c07f85c4a5ae5b8b6a3ff3022f3048de47e4e337ab2cf818a5bbdaa
+EBUILD iulib-0.4.ebuild 815 RMD160 c6c129f7b95e7f2f918e57684be98db910402337 SHA1 e4ef388bfda2164287b46f0c72fbb0ce14f1a000 SHA256 42eb55e5b734a7d63d40cd65d0c348a2f351b5743ec49ec38c442d90a1a4e775
+MISC ChangeLog 787 RMD160 dd62cdb7a641ba71934d01b06593101f7245e5d5 SHA1 80b7b2e8886a74dff15032a98f114df87af2f539 SHA256 daa554a998aab60fcb111d8dec52d2cf7ed2e8a0d03388c1580c3eab4d80bb55
MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAksYuXcACgkQlPl3HsVfCDphrgCdHDROMpZY/d7TTzw5WDYshydI
-pAcAn3PzwLYc+f2mu598+0ZpA2YXpO98
-=5wD4
+iEYEARECAAYFAksox00ACgkQlPl3HsVfCDpvEwCfZWMQuvGiaR2fXlr4P107lBr8
+jvsAn2UxBAlfVKDIvvLRMvv8G4TWWs97
+=coNE
-----END PGP SIGNATURE-----
diff --git a/media-libs/iulib/files/iulib-0.4-scons-build-env.patch b/media-libs/iulib/files/iulib-0.4-scons-build-env.patch
new file mode 100644
index 000000000000..3983d9c820b4
--- /dev/null
+++ b/media-libs/iulib/files/iulib-0.4-scons-build-env.patch
@@ -0,0 +1,39 @@
+--- SConstruct
++++ SConstruct
+@@ -36,12 +36,25 @@
+
+ ### Options exposed via SCons
+ opts = Options('custom.py')
+-opts.Add('opt', 'Compiler flags for optimization/debugging', "-g -O3")
++opts.Add('opt', 'Compiler flags for optimization/debugging', "")
+ opts.Add('warn', 'Compiler flags for warnings', "-Wall -D__warn_unused_result__=__far__")
+ opts.Add('prefix', 'The installation root for iulib', "/usr/local")
+
++env = Environment(options=opts)
++
++import SCons.Util
++if os.environ.has_key('CC'):
++ env['CC'] = os.environ['CC']
++if os.environ.has_key('CFLAGS'):
++ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
++if os.environ.has_key('CXX'):
++ env['CXX'] = os.environ['CXX']
++if os.environ.has_key('CXXFLAGS'):
++ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
++if os.environ.has_key('LDFLAGS'):
++ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
++
+ ### globals
+-env = Environment(options=opts, CXXFLAGS="${opt} ${warn}")
+ Help(opts.GenerateHelpText(env))
+ conf = Configure(env)
+ if "-DUNSAFE" in env["opt"]:
+@@ -134,7 +147,7 @@
+ src_suffix = '')
+ progs.Append(BUILDERS={'Test':test_builder})
+
+-if True: #"test" in COMMAND_LINE_TARGETS:
++if "test" in COMMAND_LINE_TARGETS:
+ for file in glob.glob("*/test-*.cc") + glob.glob("*/*/test-*.cc"):
+ if not file.startswith('vidio'):
+ progs.Program(file[:-3],file)
diff --git a/media-libs/iulib/iulib-0.4.ebuild b/media-libs/iulib/iulib-0.4.ebuild
new file mode 100644
index 000000000000..318d22e052a1
--- /dev/null
+++ b/media-libs/iulib/iulib-0.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/iulib-0.4.ebuild,v 1.1 2009/12/16 11:39:24 vapier Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="easy-to-use image and video I/O functions"
+HOMEPAGE="http://code.google.com/p/iulib/"
+SRC_URI="http://iulib.googlecode.com/files/${P}.tgz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="sdl"
+
+DEPEND="sys-libs/zlib
+ media-libs/libpng
+ media-libs/jpeg
+ media-libs/tiff
+ sdl? ( media-libs/libsdl )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.4-scons-build-env.patch
+}
+
+src_compile() {
+ tc-export CC CXX
+ scons prefix=/usr || die
+}
+
+src_install() {
+ scons install prefix="${D}/usr" || die
+ dodoc CHANGES README TODO
+}