diff options
author | Markus Meier <maekke@gentoo.org> | 2010-02-14 09:46:43 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2010-02-14 09:46:43 +0000 |
commit | f7fcfdc2cb6f01fe21979c5e8e5720c2ce934687 (patch) | |
tree | dec04660eea62de3beb3883eaf1f0560c5d6cf78 /media-libs/libpano13 | |
parent | version bump (diff) | |
download | gentoo-2-f7fcfdc2cb6f01fe21979c5e8e5720c2ce934687.tar.gz gentoo-2-f7fcfdc2cb6f01fe21979c5e8e5720c2ce934687.tar.bz2 gentoo-2-f7fcfdc2cb6f01fe21979c5e8e5720c2ce934687.zip |
add static-libs USE-flag
(Portage version: 2.2_rc62/cvs/Linux i686)
Diffstat (limited to 'media-libs/libpano13')
-rw-r--r-- | media-libs/libpano13/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/libpano13/libpano13-2.9.17_beta1-r1.ebuild | 42 |
2 files changed, 49 insertions, 1 deletions
diff --git a/media-libs/libpano13/ChangeLog b/media-libs/libpano13/ChangeLog index a9d0f12776c3..dc2e01b5569f 100644 --- a/media-libs/libpano13/ChangeLog +++ b/media-libs/libpano13/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libpano13 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libpano13/ChangeLog,v 1.18 2010/02/03 19:58:04 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpano13/ChangeLog,v 1.19 2010/02/14 09:46:43 maekke Exp $ + +*libpano13-2.9.17_beta1-r1 (14 Feb 2010) + + 14 Feb 2010; Markus Meier <maekke@gentoo.org> + +libpano13-2.9.17_beta1-r1.ebuild: + add static-libs USE-flag *libpano13-2.9.17_beta1 (03 Feb 2010) diff --git a/media-libs/libpano13/libpano13-2.9.17_beta1-r1.ebuild b/media-libs/libpano13/libpano13-2.9.17_beta1-r1.ebuild new file mode 100644 index 000000000000..d3b69e1258b4 --- /dev/null +++ b/media-libs/libpano13/libpano13-2.9.17_beta1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpano13/libpano13-2.9.17_beta1-r1.ebuild,v 1.1 2010/02/14 09:46:43 maekke Exp $ + +inherit eutils versionator java-pkg-opt-2 multilib + +DESCRIPTION="Helmut Dersch's panorama toolbox library" +HOMEPAGE="http://panotools.sf.net" +SRC_URI="mirror://sourceforge/panotools/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="java static-libs" +DEPEND=" + media-libs/jpeg + media-libs/libpng + media-libs/tiff + sys-libs/zlib + java? ( >=virtual/jdk-1.3 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)" + +src_compile() { + econf \ + $(use_with java java ${JAVA_HOME}) \ + $(use_enable static-libs static) + emake || die "Build failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Install failed" + dodoc README README.linux AUTHORS NEWS doc/*.txt + if ! use static-libs; then + find "${D}"/usr/$(get_libdir) -name '*.la' -delete || die + fi +} + +pkg_postinst() { + ewarn "you should remerge all reverse dependencies (media-gfx/hugin and" + ewarn "media-gfx/autopano-sift-C) as they might not work anymore" +} |