summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2012-06-12 19:02:49 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2012-06-12 19:02:49 +0000
commitc4d5996dc7d6aa305db4e8693d33f289fe903f9f (patch)
tree9bf288b1e58e41d7f8430626a4265c9795001114 /media-libs
parentbump (diff)
downloadgentoo-2-c4d5996dc7d6aa305db4e8693d33f289fe903f9f.tar.gz
gentoo-2-c4d5996dc7d6aa305db4e8693d33f289fe903f9f.tar.bz2
gentoo-2-c4d5996dc7d6aa305db4e8693d33f289fe903f9f.zip
New patches, see bug #420349
(Portage version: 2.1.10.65/cvs/Linux i686)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/jasper/ChangeLog8
-rw-r--r--media-libs/jasper/jasper-1.900.1-r5.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/media-libs/jasper/ChangeLog b/media-libs/jasper/ChangeLog
index 1180970e56c5..264a5ce9f8b3 100644
--- a/media-libs/jasper/ChangeLog
+++ b/media-libs/jasper/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/jasper
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/ChangeLog,v 1.65 2012/04/26 21:10:33 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/ChangeLog,v 1.66 2012/06/12 19:02:49 phosphan Exp $
+
+*jasper-1.900.1-r5 (11 Jun 2012)
+
+ 11 Jun 2012; Patrick Kursawe <phosphan@gentoo.org> +jasper-1.900.1-r5.ebuild:
+ Made a new patch bundle because of bug #420349. Used most patches from
+ Fedora.
26 Apr 2012; Alexis Ballier <aballier@gentoo.org> jasper-1.900.1-r4.ebuild:
keyword ~amd64-fbsd
diff --git a/media-libs/jasper/jasper-1.900.1-r5.ebuild b/media-libs/jasper/jasper-1.900.1-r5.ebuild
new file mode 100644
index 000000000000..ca80f4ff97aa
--- /dev/null
+++ b/media-libs/jasper/jasper-1.900.1-r5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/jasper-1.900.1-r5.ebuild,v 1.1 2012/06/12 19:02:49 phosphan Exp $
+
+EAPI=3
+
+inherit libtool eutils
+
+DESCRIPTION="software-based implementation of the codec specified in the JPEG-2000 Part-1 standard"
+HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/"
+SRC_URI="http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-${PV}.zip
+ mirror://gentoo/${P}-fixes-20120611.patch.bz2"
+
+LICENSE="JasPer2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="jpeg opengl static-libs"
+
+RDEPEND="jpeg? ( virtual/jpeg )
+ opengl? ( virtual/opengl media-libs/freeglut )"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_prepare() {
+ epatch "${WORKDIR}"/${P}-fixes-20120611.patch
+ elibtoolize
+}
+
+src_configure() {
+ econf \
+ $(use_enable jpeg libjpeg) \
+ $(use_enable opengl) \
+ $(use_enable static-libs static) \
+ --enable-shared
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc NEWS README doc/*
+ find "${ED}" -name '*.la' -delete
+}