diff options
author | Markus Meier <maekke@gentoo.org> | 2021-07-12 20:16:51 +0200 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2021-07-12 20:16:51 +0200 |
commit | 85e5c023af7c91a2317d3bbbee71d02ff9c50419 (patch) | |
tree | 8880487aeb368e83e085846bf7f4c5a63c39d858 /media-libs/libpano13 | |
parent | app-emulation/wine-staging: backport AR RANLIB handling from wine-vanilla (diff) | |
download | gentoo-85e5c023af7c91a2317d3bbbee71d02ff9c50419.tar.gz gentoo-85e5c023af7c91a2317d3bbbee71d02ff9c50419.tar.bz2 gentoo-85e5c023af7c91a2317d3bbbee71d02ff9c50419.zip |
media-libs/libpano13: bump virtual/jdk for bug #787425
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Markus Meier <maekke@gentoo.org>
Diffstat (limited to 'media-libs/libpano13')
-rw-r--r-- | media-libs/libpano13/libpano13-2.9.20-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/media-libs/libpano13/libpano13-2.9.20-r1.ebuild b/media-libs/libpano13/libpano13-2.9.20-r1.ebuild new file mode 100644 index 000000000000..dceea6134c5b --- /dev/null +++ b/media-libs/libpano13/libpano13-2.9.20-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit java-pkg-opt-2 + +DESCRIPTION="Helmut Dersch's panorama toolbox library" +HOMEPAGE="http://panotools.sourceforge.net/" +SRC_URI="mirror://sourceforge/panotools/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/3" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="java static-libs" + +DEPEND="media-libs/libpng:0= + media-libs/tiff:0 + sys-libs/zlib + virtual/jpeg:0 + java? ( >=virtual/jdk-1.8:* )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-$(ver_cut 1-3)" + +src_configure() { + LIBS="-lm" econf \ + $(use_with java java ${JAVA_HOME}) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc README README.linux AUTHORS NEWS doc/*.txt + + if ! use static-libs ; then + find "${D}" -name '*.la' -delete || die + fi +} |