diff options
Diffstat (limited to 'media-gfx/hugin')
-rw-r--r-- | media-gfx/hugin/Manifest | 6 | ||||
-rw-r--r-- | media-gfx/hugin/hugin-2019.0.0.ebuild | 4 | ||||
-rw-r--r-- | media-gfx/hugin/hugin-2019.2.0.ebuild | 101 | ||||
-rw-r--r-- | media-gfx/hugin/hugin-9999.ebuild | 4 |
4 files changed, 109 insertions, 6 deletions
diff --git a/media-gfx/hugin/Manifest b/media-gfx/hugin/Manifest index 9e2ac510cfb6..84b0349e45bb 100644 --- a/media-gfx/hugin/Manifest +++ b/media-gfx/hugin/Manifest @@ -1,5 +1,7 @@ AUX hugin-2019.0.0-exiv2-0.27.1.patch 998 BLAKE2B fd072b1bfb995f3e63ca78b0ad288c6012e6256d8c268fde7b9d3e1fb346544d34807394ac45b244329d96d6e75347c7e06b8cffa44258dd9b59378f56ead112 SHA512 9127921810b9a3cbc7aa216cb961cf5d8eef04ab5beb6baef94851d25e32314dd0565e507e3e57d2d560b6079afcf54e16330935334835fe664842d337732643 DIST hugin-2019.0.0.tar.bz2 10297887 BLAKE2B 59c4df340f01dc7fa72c08b575fe2449ac40b96ac2e925aaef0d7804df54db25df7b5901cb25a5da4d8e78c93c668081d535517c275cd1ccb40f5159e1c725e5 SHA512 49e945523c290a6bf33f265cd9e29343442a056248fc09aeb15ebb1f4197510c25ff8201b5520a9ed8fcac2342eda8b8fa65b9b82ff3930084546e1fc228d9a5 -EBUILD hugin-2019.0.0.ebuild 2217 BLAKE2B 3a6bf11afcb1d5a70d48facc30faf58e86e6383389fc6066060b82cf27aa9f16f972ea9ec84021ec9bb2163b9f1b3978b4d8df7c376e4c4214b18d8498544180 SHA512 b595aa2b5912850ad5a779ee83465d313c25cf86b9393e7f322bbd728efb89e31c62acf6626826b4a6e4f262864030fefd777f6c6a106fb7eb116b946448c07a -EBUILD hugin-9999.ebuild 2066 BLAKE2B e4f553556bdc38e2b64851510634e565833ee6f2a1e23cfcaa64a2b980249e4caf0daa9834b788e008377fdd289238498c04ffaecdeb6ca473b14a4eb225597a SHA512 d3f9f892292f6596c690a7cbb804fdb30abd800da6c924ea28ae601e3b98dae1d942aa41612570dc3fc4f5e0b65b48bd2bf133e698b3f356c9c57faf3f6fc30a +DIST hugin-2019.2.0.tar.bz2 10335030 BLAKE2B 4fbcb974eea01dbd8d722f64b5cadfd1b3fe101e5e7849d069c531e55e1ea71c226bcb1550b59374bbe8adf111b7c0bc5e48c14f45bdb685486cbeccde5add70 SHA512 2ddfe7468a474c385ef66a88c3a5a2491183765ae431e5044f504d2e95ec3cb99c0b97b98dda282ba7950f6f2001f46b2f2ea39b9025718c2a329dea967685c1 +EBUILD hugin-2019.0.0.ebuild 2213 BLAKE2B b9a6ceedc6b49b493205f5f16ced5ccdc890f6d2f44c0e846a70a09857f5b4ab62b7d64e668f4114d22f3af7d5168cacdbfb95347ff1514b1f0cb64f6b3056f7 SHA512 4b8f7f1107245768e7de1b5ac7a18e65af3a2ec931eafcb525b92374b40894e124bbd6561651e21595a2a1b2f8996e5e3282591fadaef1efc7671afbe64302cc +EBUILD hugin-2019.2.0.ebuild 2188 BLAKE2B 3a8957b1f5c620503b18ad71475e67b01540e9893a9b3d904ba1656f519dc7efca50cce5c8b986909caa86591d91fbe4c0297b4a0b5ccf9fc23400e454d07862 SHA512 7662be470548fdb35376af51088442751bed2f55a612b40df0eb9dfd93a0dfcd62cf6194bc7641c543bb776d87c8ed517d6a299b2031f01ade06d5a31c2af13c +EBUILD hugin-9999.ebuild 2062 BLAKE2B b1b80024aa6ff9133550bc152ebd32232bc9afe5cd0d12363b212d46aea9a7c2b93596753840296702819c5b96d01f53309a6140bf5471a18134cb551bdd6e34 SHA512 fe3f6b2d0a2cbc47737718c59c109530a8b9e764da22982cbcf1c0e4b3f35c6d2a84e66098faf677aa47805a0efc9af92c81db6f21c7cd7fb3fb0e43353f55f4 MISC metadata.xml 519 BLAKE2B bd02923a26374e3bd638778ce8100efc4694ab6bec54fd8c8cbd32d0b8c3d495fc965194692ebaf2fe909e495011978d7bb8f3c995037fc128cfd9626949549c SHA512 d4e0bfb870b5b6e5769be2c28983d914666e413333887ac7a7cdb868d2f45f6b284a99204f6e97b98e65958412c04291f6fbc21deed8de518d3ff64aae6ad01b diff --git a/media-gfx/hugin/hugin-2019.0.0.ebuild b/media-gfx/hugin/hugin-2019.0.0.ebuild index a07dfba592b1..f5dd754fb2f4 100644 --- a/media-gfx/hugin/hugin-2019.0.0.ebuild +++ b/media-gfx/hugin/hugin-2019.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 WX_GTK_VER="3.0" -PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7,3_8} ) +PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} ) inherit python-single-r1 wxwidgets cmake-utils eapi7-ver xdg diff --git a/media-gfx/hugin/hugin-2019.2.0.ebuild b/media-gfx/hugin/hugin-2019.2.0.ebuild new file mode 100644 index 000000000000..d78bbbd573ac --- /dev/null +++ b/media-gfx/hugin/hugin-2019.2.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +WX_GTK_VER="3.0" +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit python-single-r1 wxwidgets cmake-utils eapi7-ver xdg + +MY_PV="${PV/_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="GUI for the creation & processing of panoramic images" +HOMEPAGE="http://hugin.sf.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2+ BSD BSD-2 MIT wxWinLL-3 ZLIB FDL-1.2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +LANGS=" ca ca-valencia cs da de en-GB es eu fi fr hu it ja nl pl pt-BR ro ru sk sv zh-CN zh-TW" +IUSE="debug lapack python raw sift $(echo ${LANGS//\ /\ l10n_})" + +CDEPEND=" + !!dev-util/cocom + dev-db/sqlite:3 + dev-libs/boost:= + dev-libs/zthread + >=media-gfx/enblend-4.0 + media-gfx/exiv2:= + media-libs/freeglut + media-libs/glew:= + >=media-libs/libpano13-2.9.19_beta1:0= + media-libs/libpng:0= + media-libs/openexr:= + media-libs/tiff:0 + >=media-libs/vigra-1.11.0[openexr] + sci-libs/fftw:3.0= + sci-libs/flann + sys-libs/zlib + virtual/glu + virtual/jpeg:0 + virtual/opengl + x11-libs/wxGTK:3.0=[X,opengl] + lapack? ( virtual/blas virtual/lapack ) + python? ( ${PYTHON_DEPS} ) + sift? ( media-gfx/autopano-sift-C )" +RDEPEND="${CDEPEND} + media-libs/exiftool + raw? ( media-gfx/dcraw )" +DEPEND="${CDEPEND} + dev-cpp/tclap + sys-devel/gettext + virtual/pkgconfig + python? ( >=dev-lang/swig-2.0.4 )" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DOCS=( authors.txt README TODO ) + +S=${WORKDIR}/${PN}-$(ver_cut 1-2).0 + +pkg_setup() { + use python && python-single-r1_pkg_setup + setup-wxwidgets +} + +src_prepare() { + sed -i \ + -e "/COMMAND.*GZIP/d" \ + -e "s/\.gz//g" \ + "${S}"/doc/CMakeLists.txt || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_HSI=$(usex python) + -DENABLE_LAPACK=$(usex lapack) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + use python && python_optimize + + local lang + for lang in ${LANGS} ; do + case ${lang} in + ca) dir=ca_ES;; + ca-valencia) dir=ca_ES@valencia;; + cs) dir=cs_CZ;; + *) dir=${lang/-/_};; + esac + if ! use l10n_${lang} ; then + rm -r "${ED%/}"/usr/share/locale/${dir} || die + fi + done +} diff --git a/media-gfx/hugin/hugin-9999.ebuild b/media-gfx/hugin/hugin-9999.ebuild index 50b288d329c4..448faaebbc26 100644 --- a/media-gfx/hugin/hugin-9999.ebuild +++ b/media-gfx/hugin/hugin-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 WX_GTK_VER="3.0" -PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7,3_8} ) +PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} ) inherit mercurial python-single-r1 wxwidgets cmake-utils eapi7-ver xdg |