diff options
Diffstat (limited to 'media-libs/libpano13/libpano13-2.9.21_rc3.ebuild')
-rw-r--r-- | media-libs/libpano13/libpano13-2.9.21_rc3.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media-libs/libpano13/libpano13-2.9.21_rc3.ebuild b/media-libs/libpano13/libpano13-2.9.21_rc3.ebuild new file mode 100644 index 000000000000..5d5496338675 --- /dev/null +++ b/media-libs/libpano13/libpano13-2.9.21_rc3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 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:0= + media-libs/tiff:0 + sys-libs/zlib + virtual/jpeg:0 + 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 +} |