diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-16 11:39:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-16 11:39:24 +0000 |
commit | 67bf6ee5c08a2c40db54d9a5b277cf620eb5158b (patch) | |
tree | 320f16b192506529c96ea087fd277f8033c9ac80 /media-libs | |
parent | Missing inherit flag-o-matic wrt #276142. Remove useless FEATURES="ccache" ch... (diff) | |
download | gentoo-2-67bf6ee5c08a2c40db54d9a5b277cf620eb5158b.tar.gz gentoo-2-67bf6ee5c08a2c40db54d9a5b277cf620eb5158b.tar.bz2 gentoo-2-67bf6ee5c08a2c40db54d9a5b277cf620eb5158b.zip |
Version bump #297104 by Michał Górny.
(Portage version: 2.2_rc55/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/iulib/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/iulib/files/iulib-0.4-scons-build-env.patch | 39 | ||||
-rw-r--r-- | media-libs/iulib/iulib-0.4.ebuild | 36 |
3 files changed, 82 insertions, 1 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/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 +} |