summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-06-06 12:10:10 +0000
committerMichael Weber <xmw@gentoo.org>2013-06-06 12:10:10 +0000
commit192fa0ffd2345c89cd1d8a03ee650a81221c0f77 (patch)
tree5e678847a8fa7b7ab48f6818ba967180b8078d76 /media-libs/openjpeg/openjpeg-1.5.1.ebuild
parentpatch from upstream applied, fix to one tests, wrt Bug #457740 by mgorny (diff)
downloadgentoo-2-192fa0ffd2345c89cd1d8a03ee650a81221c0f77.tar.gz
gentoo-2-192fa0ffd2345c89cd1d8a03ee650a81221c0f77.tar.bz2
gentoo-2-192fa0ffd2345c89cd1d8a03ee650a81221c0f77.zip
Version bump (bug 440086), non-maint commit
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'media-libs/openjpeg/openjpeg-1.5.1.ebuild')
-rw-r--r--media-libs/openjpeg/openjpeg-1.5.1.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/media-libs/openjpeg/openjpeg-1.5.1.ebuild b/media-libs/openjpeg/openjpeg-1.5.1.ebuild
new file mode 100644
index 000000000000..a7418a85cf0f
--- /dev/null
+++ b/media-libs/openjpeg/openjpeg-1.5.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/openjpeg-1.5.1.ebuild,v 1.1 2013/06/06 12:10:10 xmw Exp $
+
+EAPI=5
+inherit cmake-utils multilib
+
+DESCRIPTION="An open-source JPEG 2000 library"
+HOMEPAGE="http://code.google.com/p/openjpeg/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc test"
+
+RDEPEND="media-libs/lcms:2=
+ media-libs/libpng:0=
+ media-libs/tiff:0=
+ sys-libs/zlib:="
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+DOCS=( AUTHORS CHANGES NEWS README THANKS )
+
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
+
+RESTRICT="test" #409263
+
+src_configure() {
+ local mycmakeargs=(
+ -DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)"
+ $(cmake-utils_use_build doc)
+ $(cmake-utils_use_build test TESTING)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ # See broken -E create_symlink(s) in the -build.patch!
+ dosym openjpeg-1.5/openjpeg.h /usr/include/openjpeg.h
+ dosym libopenjpeg1.pc /usr/$(get_libdir)/pkgconfig/libopenjpeg.pc
+}