diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2007-06-30 10:34:49 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2007-06-30 10:34:49 +0000 |
commit | d58aa63b055f96951d95adc344173f5cf310f864 (patch) | |
tree | 7bced8891816eae9addf7ccab1f81895fd217af2 /media-libs/openjpeg | |
parent | Keyworded ~ppc; bug #177426. (diff) | |
download | gentoo-2-d58aa63b055f96951d95adc344173f5cf310f864.tar.gz gentoo-2-d58aa63b055f96951d95adc344173f5cf310f864.tar.bz2 gentoo-2-d58aa63b055f96951d95adc344173f5cf310f864.zip |
Version bump.
Thanks to Matsuu Takuto for reporting wrt bug #183698.
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'media-libs/openjpeg')
-rw-r--r-- | media-libs/openjpeg/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/openjpeg/files/digest-openjpeg-1.2 | 3 | ||||
-rw-r--r-- | media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch | 11 | ||||
-rw-r--r-- | media-libs/openjpeg/openjpeg-1.2.ebuild | 32 |
4 files changed, 54 insertions, 1 deletions
diff --git a/media-libs/openjpeg/ChangeLog b/media-libs/openjpeg/ChangeLog index 3dc3bed63663..d9ced6e3b77b 100644 --- a/media-libs/openjpeg/ChangeLog +++ b/media-libs/openjpeg/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/openjpeg # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/ChangeLog,v 1.1 2007/03/06 14:45:58 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/ChangeLog,v 1.2 2007/06/30 10:34:49 drizzt Exp $ + +*openjpeg-1.2 (30 Jun 2007) + + 30 Jun 2007; Timothy Redaelli <drizzt@gentoo.org> + +files/openjpeg-1.2-Makefile.patch, +openjpeg-1.2.ebuild: + Version bump. + Thanks to Matsuu Takuto for reporting wrt bug #183698. *openjpeg-1.1.1 (06 Mar 2007) diff --git a/media-libs/openjpeg/files/digest-openjpeg-1.2 b/media-libs/openjpeg/files/digest-openjpeg-1.2 new file mode 100644 index 000000000000..b6d9e9d70b70 --- /dev/null +++ b/media-libs/openjpeg/files/digest-openjpeg-1.2 @@ -0,0 +1,3 @@ +MD5 4973c564c96683a921a7f6759906da4e openjpeg_v1_2.tar.gz 929866 +RMD160 3ac46e0f4cd16bbb52e05ad23e0b4d395c333c27 openjpeg_v1_2.tar.gz 929866 +SHA256 20294c8aefc15b455abfc8ab73747ac5345a1cbf6f7035dd36ef690d2188e2c4 openjpeg_v1_2.tar.gz 929866 diff --git a/media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch b/media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch new file mode 100644 index 000000000000..1b3e5373e79e --- /dev/null +++ b/media-libs/openjpeg/files/openjpeg-1.2-Makefile.patch @@ -0,0 +1,11 @@ +--- trunk/Makefile.orig 2007-02-13 09:49:00.000000000 +0100 ++++ trunk/Makefile 2007-02-28 08:28:58.000000000 +0100 +@@ -51,7 +51,7 @@ + $(AR) r $@ $(MODULES) + + $(SHAREDLIB): $(MODULES) +- $(CC) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES) ++ $(CC) $(LDFLAGS) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES) + + install: + install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR) diff --git a/media-libs/openjpeg/openjpeg-1.2.ebuild b/media-libs/openjpeg/openjpeg-1.2.ebuild new file mode 100644 index 000000000000..c91ee77230c5 --- /dev/null +++ b/media-libs/openjpeg/openjpeg-1.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/openjpeg-1.2.ebuild,v 1.1 2007/06/30 10:34:49 drizzt Exp $ + +inherit flag-o-matic toolchain-funcs multilib + +DESCRIPTION="An open-source JPEG 2000 codec written in C" +HOMEPAGE="http://www.openjpeg.org/" +SRC_URI="http://www.openjpeg.org/openjpeg_v${PV//./_}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}/trunk" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/${P}-Makefile.patch +} + +src_compile() { + append-flags -fPIC + emake CC="$(tc-getCC)" AR="$(tc-getAR)" COMPILERFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" INSTALL_LIBDIR="/usr/$(get_libdir)" install || die "install failed" + + dodoc ChangeLog README.linux +} |