diff options
author | Markus Meier <maekke@gentoo.org> | 2018-01-28 21:28:21 +0100 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2018-01-28 21:38:25 +0100 |
commit | b0618cdaff22d351db5c387976ac1f7a46d6ef5e (patch) | |
tree | a623b7f06014c203a58fbed7dc471c89281e3da8 /media-gfx/hugin | |
parent | x11-wm/xpra: Add DEPEND=x11-libs/libxkbfile (thanks Thomas Deutschmann). (diff) | |
download | gentoo-b0618cdaff22d351db5c387976ac1f7a46d6ef5e.tar.gz gentoo-b0618cdaff22d351db5c387976ac1f7a46d6ef5e.tar.bz2 gentoo-b0618cdaff22d351db5c387976ac1f7a46d6ef5e.zip |
media-gfx/hugin: version bump
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-gfx/hugin')
-rw-r--r-- | media-gfx/hugin/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/hugin/hugin-2018.0_rc2.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/media-gfx/hugin/Manifest b/media-gfx/hugin/Manifest index a0fa04ab92b6..f25e50664a56 100644 --- a/media-gfx/hugin/Manifest +++ b/media-gfx/hugin/Manifest @@ -1,2 +1,3 @@ DIST hugin-2016.2.0.tar.bz2 10386216 BLAKE2B 8437a360880903fac33be7dc12fcdff7fbd16b15153de32e127bdc2b5fe5a47e9ebefe8bc4fb088ba2b818743b8bee9348560aaeb53781bfd0eeb57ec1adbe0b SHA512 9c652e685d0135afef6418bdf5fce39cec8ef1ec0dbe3a325151957c91495db0a2a3171ee04a28955a638493913c1bc800a90c37347ad17612584646c8a65510 DIST hugin-2017.0.tar.bz2 9803272 BLAKE2B fa7475347f6b1b561132d5370172fee410afd4f8b15c2c5d7d356023716d15cdcc5ecb8a13d743ce13f3c15ebb7f4b42f0e9653b9f94e752d5e6dea3ecef05b7 SHA512 bfd39135119fddb559ecec220da36a4c15d96bda7f93e738d8815aafca94685ba879239202e2cc81c87787188ee3b1b6dc5cbe8014aa12e2f95d654591dc1969 +DIST hugin-2018.0rc2.tar.bz2 9838518 BLAKE2B dc6d786e4e6a298d4dd4e48b2c42f9c9c297b4c431fbc00fa9090f129a4633f599e222402aef1f2a467aa9b498d356f3bbaca9548954cf697d331950afa6693a SHA512 30061f4af695137f349526272e8c3c2f1f6a167305acb32466a30629c46dabea3818bc2c3a77b6102fcb67aa390a803cdc5ba8d8a2ecc6065f88726392529cbc diff --git a/media-gfx/hugin/hugin-2018.0_rc2.ebuild b/media-gfx/hugin/hugin-2018.0_rc2.ebuild new file mode 100644 index 000000000000..33d44b9ffacf --- /dev/null +++ b/media-gfx/hugin/hugin-2018.0_rc2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +WX_GTK_VER="3.0" +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit python-single-r1 wxwidgets versionator cmake-utils + +DESCRIPTION="GUI for the creation & processing of panoramic images" +HOMEPAGE="http://hugin.sf.net" +SRC_URI="mirror://sourceforge/${PN}/${P/_/}.tar.bz2" + +LICENSE="GPL-2 SIFT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~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 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" +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}-$(get_version_component_range 1-2).0 + +pkg_setup() { + use python && python-single-r1_pkg_setup + setup-wxwidgets +} + +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 +} |