summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-06-06 21:57:56 +0000
committerMichael Weber <xmw@gentoo.org>2013-06-06 21:57:56 +0000
commitea682633dd391f5678935ab52590ced6fc7cd603 (patch)
treecee9074578031c9c55fc5a03d0aed9a51c966e9f /media-libs/openjpeg
parentStable for amd64 wrt bug #472340 (diff)
downloadgentoo-2-ea682633dd391f5678935ab52590ced6fc7cd603.tar.gz
gentoo-2-ea682633dd391f5678935ab52590ced6fc7cd603.tar.bz2
gentoo-2-ea682633dd391f5678935ab52590ced6fc7cd603.zip
Add live ebuild as requested by tman as bug 374137
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'media-libs/openjpeg')
-rw-r--r--media-libs/openjpeg/ChangeLog8
-rw-r--r--media-libs/openjpeg/files/openjpeg-9999-build.patch16
-rw-r--r--media-libs/openjpeg/openjpeg-9999.ebuild38
3 files changed, 61 insertions, 1 deletions
diff --git a/media-libs/openjpeg/ChangeLog b/media-libs/openjpeg/ChangeLog
index 78c13daf26df..07addb3f9761 100644
--- a/media-libs/openjpeg/ChangeLog
+++ b/media-libs/openjpeg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/openjpeg
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/ChangeLog,v 1.72 2013/06/06 13:54:04 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/ChangeLog,v 1.73 2013/06/06 21:57:56 xmw Exp $
+
+*openjpeg-9999 (06 Jun 2013)
+
+ 06 Jun 2013; Michael Weber <xmw@gentoo.org> +files/openjpeg-9999-build.patch,
+ +openjpeg-9999.ebuild:
+ Add live ebuild as requested by tman as bug 374137
06 Jun 2013; Michael Weber <xmw@gentoo.org>
files/openjpeg-2.0.0-pkgconfig.patch, openjpeg-2.0.0.ebuild:
diff --git a/media-libs/openjpeg/files/openjpeg-9999-build.patch b/media-libs/openjpeg/files/openjpeg-9999-build.patch
new file mode 100644
index 000000000000..bbb9f89e273f
--- /dev/null
+++ b/media-libs/openjpeg/files/openjpeg-9999-build.patch
@@ -0,0 +1,16 @@
+--- openjpeg-9999/CMakeLists.txt
++++ openjpeg-9999/CMakeLists.txt
+@@ -297,13 +297,6 @@
+ DESTINATION ${OPENJPEG_INSTALL_PACKAGE_DIR}
+ )
+
+-#-----------------------------------------------------------------------------
+-# install CHANGES and LICENSE
+-if(EXISTS ${OPENJPEG_SOURCE_DIR}/CHANGES)
+- install(FILES CHANGES DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
+-endif()
+-install(FILES LICENSE DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
+-
+ include (cmake/OpenJPEGCPack.cmake)
+
+ #-----------------------------------------------------------------------------
diff --git a/media-libs/openjpeg/openjpeg-9999.ebuild b/media-libs/openjpeg/openjpeg-9999.ebuild
new file mode 100644
index 000000000000..e7f29a7e9e08
--- /dev/null
+++ b/media-libs/openjpeg/openjpeg-9999.ebuild
@@ -0,0 +1,38 @@
+# 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-9999.ebuild,v 1.1 2013/06/06 21:57:56 xmw Exp $
+
+EAPI=5
+inherit cmake-utils multilib subversion
+
+DESCRIPTION="An open-source JPEG 2000 library"
+HOMEPAGE="http://code.google.com/p/openjpeg/"
+ESVN_REPO_URI="http://openjpeg.googlecode.com/svn/trunk/"
+
+LICENSE="BSD-2"
+SLOT="2"
+KEYWORDS=""
+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 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
+}