diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2007-03-06 14:45:58 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2007-03-06 14:45:58 +0000 |
commit | 438c715d7117e0c1968c8e390902b23992d8bb74 (patch) | |
tree | 9e8c9f013542905ded8b5e5eb3534694ae22fa66 | |
parent | Cleanup. (diff) | |
download | gentoo-2-438c715d7117e0c1968c8e390902b23992d8bb74.tar.gz gentoo-2-438c715d7117e0c1968c8e390902b23992d8bb74.tar.bz2 gentoo-2-438c715d7117e0c1968c8e390902b23992d8bb74.zip |
New ebuild, thanks to Guido wrt bug #127026
(Portage version: 2.1.2-r11)
-rw-r--r-- | media-libs/openjpeg/ChangeLog | 11 | ||||
-rw-r--r-- | media-libs/openjpeg/Manifest | 20 | ||||
-rw-r--r-- | media-libs/openjpeg/files/digest-openjpeg-1.1.1 | 3 | ||||
-rw-r--r-- | media-libs/openjpeg/files/openjpeg-1.1.1-Makefile.patch | 20 | ||||
-rw-r--r-- | media-libs/openjpeg/metadata.xml | 8 | ||||
-rw-r--r-- | media-libs/openjpeg/openjpeg-1.1.1.ebuild | 36 |
6 files changed, 98 insertions, 0 deletions
diff --git a/media-libs/openjpeg/ChangeLog b/media-libs/openjpeg/ChangeLog new file mode 100644 index 000000000000..3dc3bed63663 --- /dev/null +++ b/media-libs/openjpeg/ChangeLog @@ -0,0 +1,11 @@ +# 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 $ + +*openjpeg-1.1.1 (06 Mar 2007) + + 06 Mar 2007; Timothy Redaelli <drizzt@gentoo.org> + +files/openjpeg-1.1.1-Makefile.patch, +metadata.xml, + +openjpeg-1.1.1.ebuild: + New ebuild, thanks to Guido wrt bug #127026 + diff --git a/media-libs/openjpeg/Manifest b/media-libs/openjpeg/Manifest new file mode 100644 index 000000000000..d9ac4aca8d64 --- /dev/null +++ b/media-libs/openjpeg/Manifest @@ -0,0 +1,20 @@ +AUX openjpeg-1.1.1-Makefile.patch 558 RMD160 485ed66f0db6df3e657fa7fb09a333eae12f9cdb SHA1 5d78c5d2230cc03605e28437a7d84edfb4c230a6 SHA256 216925794ff95f720f910ef414256abf41cf2fb50a1b4cc9e65e3eb812f1b758 +MD5 d9bf3f12260c4e3b78d6baeb9b072e93 files/openjpeg-1.1.1-Makefile.patch 558 +RMD160 485ed66f0db6df3e657fa7fb09a333eae12f9cdb files/openjpeg-1.1.1-Makefile.patch 558 +SHA256 216925794ff95f720f910ef414256abf41cf2fb50a1b4cc9e65e3eb812f1b758 files/openjpeg-1.1.1-Makefile.patch 558 +DIST openjpeg_v1_1_1.tar.gz 1406460 RMD160 08b2318441075a8704d6b9b0ac3d9d277c44d85e SHA1 1de6f9ccebe8844c96416daca521a20a84df23f5 SHA256 6076db131bfaa966a691d718044e5b5cdbec028436be3b7a3f146d1a0e3a7ec6 +EBUILD openjpeg-1.1.1.ebuild 800 RMD160 92f2ff92be606be5daf2c721bb457b65d3a4fc4e SHA1 302e6e458eb1c15df5e9cd474612a10846857318 SHA256 b82f5d6d71866ea13428f5ff2229efc683da6912b02f34f1b54c44c3b85913b1 +MD5 e6a73b4477c14dec3ef58ef3c842b1ce openjpeg-1.1.1.ebuild 800 +RMD160 92f2ff92be606be5daf2c721bb457b65d3a4fc4e openjpeg-1.1.1.ebuild 800 +SHA256 b82f5d6d71866ea13428f5ff2229efc683da6912b02f34f1b54c44c3b85913b1 openjpeg-1.1.1.ebuild 800 +MISC ChangeLog 331 RMD160 a78c002d590a2677e300844fac47756e56162b9c SHA1 0d6a390ea5e2fa06650648d75c23e0203a3bbd9d SHA256 c3a462c0c7e82f65569df0362302a007b4a0fc3eb0b2fa47ced7e08257b37a27 +MD5 31c53237a3bf9b5fbe222cd2a97728a5 ChangeLog 331 +RMD160 a78c002d590a2677e300844fac47756e56162b9c ChangeLog 331 +SHA256 c3a462c0c7e82f65569df0362302a007b4a0fc3eb0b2fa47ced7e08257b37a27 ChangeLog 331 +MISC metadata.xml 222 RMD160 c0fe8198bb72a6bed198a1dd7005ed607711db2a SHA1 a3b2631fffe918fa2b814a269297dfc9e6c355cb SHA256 35319607d0186f4c2b026c636392c56bafa68c71a17a67364e5c530156eb22b4 +MD5 99cf1c24b27d2fe42b99b95fadff0290 metadata.xml 222 +RMD160 c0fe8198bb72a6bed198a1dd7005ed607711db2a metadata.xml 222 +SHA256 35319607d0186f4c2b026c636392c56bafa68c71a17a67364e5c530156eb22b4 metadata.xml 222 +MD5 fcdc3157bb74483f5e444836db0580b6 files/digest-openjpeg-1.1.1 250 +RMD160 f90411a7b6c5b72cc42ab7e7c217f554dad5d4f6 files/digest-openjpeg-1.1.1 250 +SHA256 d1a1fb2cc3299dae27b36b9ef21418fa213b29ee2709dcd67a2dd597498e4155 files/digest-openjpeg-1.1.1 250 diff --git a/media-libs/openjpeg/files/digest-openjpeg-1.1.1 b/media-libs/openjpeg/files/digest-openjpeg-1.1.1 new file mode 100644 index 000000000000..c726c979a9a8 --- /dev/null +++ b/media-libs/openjpeg/files/digest-openjpeg-1.1.1 @@ -0,0 +1,3 @@ +MD5 55ce1119efd3efb3d689ca2105afd10e openjpeg_v1_1_1.tar.gz 1406460 +RMD160 08b2318441075a8704d6b9b0ac3d9d277c44d85e openjpeg_v1_1_1.tar.gz 1406460 +SHA256 6076db131bfaa966a691d718044e5b5cdbec028436be3b7a3f146d1a0e3a7ec6 openjpeg_v1_1_1.tar.gz 1406460 diff --git a/media-libs/openjpeg/files/openjpeg-1.1.1-Makefile.patch b/media-libs/openjpeg/files/openjpeg-1.1.1-Makefile.patch new file mode 100644 index 000000000000..d783e28a0566 --- /dev/null +++ b/media-libs/openjpeg/files/openjpeg-1.1.1-Makefile.patch @@ -0,0 +1,20 @@ +--- OpenJPEG/Makefile.orig 2007-02-13 09:49:00.000000000 +0100 ++++ OpenJPEG/Makefile 2007-02-28 08:28:58.000000000 +0100 +@@ -36,7 +36,7 @@ + dist: OpenJPEG + mkdir -p dist + cp *.a dist +- mv *.so dist ++ cp *.so dist + cp libopenjpeg/openjpeg.h dist + + dos2unix: +@@ -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/metadata.xml b/media-libs/openjpeg/metadata.xml new file mode 100644 index 000000000000..baa93670abe7 --- /dev/null +++ b/media-libs/openjpeg/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>drizzt@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/media-libs/openjpeg/openjpeg-1.1.1.ebuild b/media-libs/openjpeg/openjpeg-1.1.1.ebuild new file mode 100644 index 000000000000..725dd8ce60a6 --- /dev/null +++ b/media-libs/openjpeg/openjpeg-1.1.1.ebuild @@ -0,0 +1,36 @@ +# 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.1.1.ebuild,v 1.1 2007/03/06 14:45:58 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}/OpenJPEG" + +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() { + dodir /usr/$(get_libdir) + emake INSTALLDIR="${D}usr/$(get_libdir)" install || die "install failed" + + insinto /usr/include + doins libopenjpeg/openjpeg.h + + dodoc README.linux +} |