From 7041a5fd29292c2956021fbac1cb43c8a7b42500 Mon Sep 17 00:00:00 2001 From: Markus Meier Date: Tue, 17 Jan 2023 21:44:24 +0100 Subject: media-libs/libpano13: sync with main tree Signed-off-by: Markus Meier --- media-libs/libpano13/Manifest | 3 -- media-libs/libpano13/libpano13-2.9.20-r1.ebuild | 39 ------------------------- media-libs/libpano13/libpano13-2.9.20-r3.ebuild | 39 +++++++++++++++++++++++++ media-libs/libpano13/libpano13-2.9.21-r1.ebuild | 33 +++++++++++++++++++++ 4 files changed, 72 insertions(+), 42 deletions(-) delete mode 100644 media-libs/libpano13/libpano13-2.9.20-r1.ebuild create mode 100644 media-libs/libpano13/libpano13-2.9.20-r3.ebuild create mode 100644 media-libs/libpano13/libpano13-2.9.21-r1.ebuild diff --git a/media-libs/libpano13/Manifest b/media-libs/libpano13/Manifest index f1ddae3..786ee87 100644 --- a/media-libs/libpano13/Manifest +++ b/media-libs/libpano13/Manifest @@ -1,5 +1,2 @@ DIST libpano13-2.9.20.tar.gz 3564544 BLAKE2B aabf9d8a3dac5b01e4a5bdb6d5ad6b56ea3e672f143b002c06b7108fae19cd6a00e8b524a4c18cbe16c65f41242fc12e7b19dd71c00bf6b553db65472fe8798d SHA512 18da5cb3760f06df8007622a64c4121c3acdadf8b02faa2125f319acde30532378cec5d97ccd5a65d6d2c1960c1b4946c80ffa850da2dc790051f5c0b76f8a86 DIST libpano13-2.9.21.tar.gz 2801535 BLAKE2B e4b2ea3894b4b53e6bbaaea39370254ad3bd1a981a1857376ff96e801cf167115ceacbe3ef4c790c3dcd380e3b0ec4a6d2b3d116e212f22cc4a56eb373f3447f SHA512 d344b81b56ba6e7dd38c0826e7e085ad5e20f5d2b09b27369ffae1e30d8f5bc03ab00d656d472069429b843d2e1eeceb173eeac39ee31a3622ca851387daef04 -EBUILD libpano13-2.9.20-r1.ebuild 865 BLAKE2B 80da7ee945400ca2aec7bce606e64bb43628d38a921aa973a6049931f8f91b4920fe55fa41718f7ea790dfd05b5ac74263065b36dd5e12f2861eba98b1c9c5dd SHA512 d86662a87b63ef9c627cb7ac0134bf09c93fe4a726c59f0e7b6394c3611444b5e5d09b064b801442395d28d90f7a5b8f43051fc7e17e61e816efbda113425568 -EBUILD libpano13-2.9.21-r1.ebuild 888 BLAKE2B a9d517b1591febd3aca4d64e2574c8a8c1f3c0be3840b2e7f063dd1483774a0c4b74879c2232e20d4e1ccc535f5012940805b5f6b5783b987d7da5320c92813e SHA512 7b75708fbfff135a6925ab6763d1d52d9de92a952446e768a1924f694c42d4f4e4210e019c4c154b6d9b4260e9e3cf1884a60db3b65d3cd7d18148e46951ef22 -MISC metadata.xml 462 BLAKE2B 2043b0e6c260305e607a04d5d8e541c82408344a00e920c891eb1981aa05b75998f845800bb0a4fd16f3e1c83bcd2f4118e673845e47142a3ec58fa5df86ac3b SHA512 6f05c609c8a8f5a41b18009a1fa5258071328b99b33a670e0e2c56e1aaea398112759c42902b2e822684dc0f5b2979cda7efc59adf97dfe53c27d14707e1a6f0 diff --git a/media-libs/libpano13/libpano13-2.9.20-r1.ebuild b/media-libs/libpano13/libpano13-2.9.20-r1.ebuild deleted file mode 100644 index e5f3b4c..0000000 --- a/media-libs/libpano13/libpano13-2.9.20-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# 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 -} diff --git a/media-libs/libpano13/libpano13-2.9.20-r3.ebuild b/media-libs/libpano13/libpano13-2.9.20-r3.ebuild new file mode 100644 index 0000000..1e77298 --- /dev/null +++ b/media-libs/libpano13/libpano13-2.9.20-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 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:= + media-libs/tiff:= + media-libs/libjpeg-turbo:= + sys-libs/zlib + 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 +} diff --git a/media-libs/libpano13/libpano13-2.9.21-r1.ebuild b/media-libs/libpano13/libpano13-2.9.21-r1.ebuild new file mode 100644 index 0000000..cbb6c48 --- /dev/null +++ b/media-libs/libpano13/libpano13-2.9.21-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit cmake + +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 suitesparse" + +DEPEND="media-libs/libpng:= + media-libs/tiff:= + media-libs/libjpeg-turbo:= + sys-libs/zlib + java? ( >=virtual/jdk-1.8:* ) + suitesparse? ( sci-libs/suitesparse )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-$(ver_cut 1-3)" + +src_configure() { + local mycmakeargs=( + -DSUPPORT_JAVA_PROGRAMS=$(usex java) + -DUSE_SPARSE_LEVMAR=$(usex suitesparse) + ) + cmake_src_configure +} -- cgit v1.2.3-65-gdbad