summaryrefslogtreecommitdiff
path: root/media-libs/libpano13
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libpano13')
-rw-r--r--media-libs/libpano13/Manifest1
-rw-r--r--media-libs/libpano13/libpano13-2.9.21-r2.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/media-libs/libpano13/Manifest b/media-libs/libpano13/Manifest
index 26d428c928fa..25d60171b015 100644
--- a/media-libs/libpano13/Manifest
+++ b/media-libs/libpano13/Manifest
@@ -2,4 +2,5 @@ DIST libpano13-2.9.20.tar.gz 3564544 BLAKE2B aabf9d8a3dac5b01e4a5bdb6d5ad6b56ea3
DIST libpano13-2.9.21.tar.gz 2801535 BLAKE2B e4b2ea3894b4b53e6bbaaea39370254ad3bd1a981a1857376ff96e801cf167115ceacbe3ef4c790c3dcd380e3b0ec4a6d2b3d116e212f22cc4a56eb373f3447f SHA512 d344b81b56ba6e7dd38c0826e7e085ad5e20f5d2b09b27369ffae1e30d8f5bc03ab00d656d472069429b843d2e1eeceb173eeac39ee31a3622ca851387daef04
EBUILD libpano13-2.9.20-r3.ebuild 876 BLAKE2B e38b0ede730cc146a881046c25c2ae8b493be48e6c76249d9c9bc9d62e47d9954c13b365051ec57b71d012dfb0e8da2aa4418f276e42c0562fcf7681e213567f SHA512 d13eb34eeb9440a87a7323e1436a974041c066bac85333a0f32505916f5d3f2887ae633bb5314410a0d4bbf7eec645e7e76186511ad520354f2d9bb714296b55
EBUILD libpano13-2.9.21-r1.ebuild 764 BLAKE2B 0c976d8559b165d36c0d4ac4a4c33fa7d192ee58e3645dd633f312e481ff8cbe0b9df4155ec2ef00b2bfa9f8b6f965c824868e56f948832cdd923bff4fb3fe45 SHA512 d29970c3db1953355ffe12cd83ceaefdde7f10620ac79b77a82b880ab8775b37c212ee4f3ba491a03d68a4e1227fad71a0ebc465859d657d1ce81c705bb034a5
+EBUILD libpano13-2.9.21-r2.ebuild 899 BLAKE2B 7f6e65df8531f79d263a9715e7d8f423d16797b92e173c68758839c496ea003513e42c063aa39d4e336a1221bc2fb704f216ae68dbfc2689b1cebb50a434511d SHA512 14d55e6d134a07bf32e1cb49457066f1de6b98b3f6715fa0c73be893f223803da17b64c1313c2f23e7d286ec73f07de1ca372ecb3ea30ff3a66bcca137f1b08c
MISC metadata.xml 462 BLAKE2B 2043b0e6c260305e607a04d5d8e541c82408344a00e920c891eb1981aa05b75998f845800bb0a4fd16f3e1c83bcd2f4118e673845e47142a3ec58fa5df86ac3b SHA512 6f05c609c8a8f5a41b18009a1fa5258071328b99b33a670e0e2c56e1aaea398112759c42902b2e822684dc0f5b2979cda7efc59adf97dfe53c27d14707e1a6f0
diff --git a/media-libs/libpano13/libpano13-2.9.21-r2.ebuild b/media-libs/libpano13/libpano13-2.9.21-r2.ebuild
new file mode 100644
index 000000000000..1eed41af5ec4
--- /dev/null
+++ b/media-libs/libpano13/libpano13-2.9.21-r2.ebuild
@@ -0,0 +1,41 @@
+# 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 static-libs 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
+}
+
+src_install() {
+ cmake_src_install
+
+ if ! use static-libs ; then
+ find "${D}" -name "*.a" -type f -delete || die
+ fi
+}