From: "Michael Weber (xmw)" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/openjpeg: openjpeg-1.5.1.ebuild ChangeLog
Date: Sat, 8 Jun 2013 00:20:19 +0000 (UTC) [thread overview]
Message-ID: <20130608002019.DB92D2171D@flycatcher.gentoo.org> (raw)
xmw 13/06/08 00:20:19
Modified: openjpeg-1.5.1.ebuild ChangeLog
Log:
Add USE=static-libs
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Revision Changes Path
1.2 media-libs/openjpeg/openjpeg-1.5.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/openjpeg/openjpeg-1.5.1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/openjpeg/openjpeg-1.5.1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/openjpeg/openjpeg-1.5.1.ebuild?r1=1.1&r2=1.2
Index: openjpeg-1.5.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/openjpeg/openjpeg-1.5.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- openjpeg-1.5.1.ebuild 6 Jun 2013 12:10:10 -0000 1.1
+++ openjpeg-1.5.1.ebuild 8 Jun 2013 00:20:19 -0000 1.2
@@ -1,9 +1,9 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/openjpeg-1.5.1.ebuild,v 1.2 2013/06/08 00:20:19 xmw Exp $
EAPI=5
-inherit cmake-utils multilib
+inherit cmake-utils multilib toolchain-funcs
DESCRIPTION="An open-source JPEG 2000 library"
HOMEPAGE="http://code.google.com/p/openjpeg/"
@@ -12,12 +12,12 @@
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"
+IUSE="doc test static-libs"
-RDEPEND="media-libs/lcms:2=
- media-libs/libpng:0=
- media-libs/tiff:0=
- sys-libs/zlib:="
+RDEPEND="media-libs/lcms:2=[static-libs?]
+ media-libs/libpng:0=[static-libs?]
+ media-libs/tiff:0=[static-libs?]
+ sys-libs/zlib:=[static-libs?]"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
@@ -35,12 +35,33 @@
)
cmake-utils_src_configure
+
+ if use static-libs ; then
+ mycmakeargs=(
+ -DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)"
+ $(cmake-utils_use_build test TESTING)
+ -DBUILD_SHARED_LIBS=OFF
+ )
+ BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_configure
+ fi
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use static-libs ; then
+ BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_compile
+ fi
}
src_install() {
+ if use static-libs ; then
+ BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_install
+ #static bins overwritten by shared install
+ fi
+
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
}
1.75 media-libs/openjpeg/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/openjpeg/ChangeLog?rev=1.75&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/openjpeg/ChangeLog?rev=1.75&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/openjpeg/ChangeLog?r1=1.74&r2=1.75
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/openjpeg/ChangeLog,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- ChangeLog 6 Jun 2013 22:19:04 -0000 1.74
+++ ChangeLog 8 Jun 2013 00:20:19 -0000 1.75
@@ -1,6 +1,10 @@
# 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.74 2013/06/06 22:19:04 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/ChangeLog,v 1.75 2013/06/08 00:20:19 xmw Exp $
+
+ 08 Jun 2013; Michael Weber <xmw@gentoo.org> files/openjpeg-1.5.1-build.patch,
+ openjpeg-1.5.1.ebuild:
+ Add USE=static-libs
06 Jun 2013; Michael Weber <xmw@gentoo.org> +files/openjpeg-9999-mupdf.patch,
openjpeg-9999.ebuild:
next reply other threads:[~2013-06-08 0:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-08 0:20 Michael Weber (xmw) [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-08-06 13:12 [gentoo-commits] gentoo-x86 commit in media-libs/openjpeg: openjpeg-1.5.1.ebuild ChangeLog Agostino Sarubbo (ago)
2013-08-04 11:42 Agostino Sarubbo (ago)
2013-08-03 7:49 Agostino Sarubbo (ago)
2013-07-22 21:16 Agostino Sarubbo (ago)
2013-07-22 20:40 Agostino Sarubbo (ago)
2013-07-15 10:28 Jeroen Roovers (jer)
2013-07-14 17:37 Agostino Sarubbo (ago)
2013-07-14 14:21 Agostino Sarubbo (ago)
2013-07-14 9:56 Agostino Sarubbo (ago)
2013-07-14 9:56 Agostino Sarubbo (ago)
2013-06-06 12:10 Michael Weber (xmw)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130608002019.DB92D2171D@flycatcher.gentoo.org \
--to=xmw@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox