media-libs/libpano13: version bump

Signed-off-by: Markus Meier <maekke@gentoo.org>
This commit is contained in:
Markus Meier
2025-10-24 22:09:34 +02:00
parent d99c10e733
commit 8d8f7c8e79
2 changed files with 49 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST libpano13-2.9.22.tar.gz 2800628 BLAKE2B 9b21efd6e742cf6bc6636d76c085a631fd08b91390adc1fdbe1c099f7031183810b5aa152c3c20a8c48c3321f49c49903433411080a6b88e61f163cf85d243f2 SHA512 dfb8496afd632e284309a1c71df50d75cc51a5815dfd77e9a38d26ce07ee2cf60b15a4b47d300368990cdf58ed03b6fe5bb79ebf880e700fb5ce6222e0b19b35
DIST libpano13-2.9.23.tar.gz 2855115 BLAKE2B 63645b39d792b374e946d661b7fa45a59562077b0a36a1bc5c68bb4a710861dc228aa6810d4aa388c1e9a0c4771f5e4462303f8e73ebdcc36c676fa6cf23e56c SHA512 cac7d889e6565dec25f3e236a8a571a73fa6742578f8f2350420acef8849172fb421506cc44494b71e2642a1ea0f43d0e766bba3f14e65c89547eac5ab4a5418

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
inherit java-pkg-opt-2 cmake
DESCRIPTION="Helmut Dersch's panorama toolbox library"
HOMEPAGE="http://panotools.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/panotools/${P}.tar.gz"
S="${WORKDIR}/${PN}-$(ver_cut 1-3)"
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}"
pkg_setup() {
java-pkg-opt-2_pkg_setup
}
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
}
pkg_preinst() {
java-pkg-opt-2_pkg_preinst
}