summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2011-12-18 22:22:03 +0000
committerMarkus Meier <maekke@gentoo.org>2011-12-18 22:22:03 +0000
commitfb18b48bb4cc95ea143100319ed28d6a1e57f8fa (patch)
tree5ce628cb1e6fc9d3865c0694bd438f1fb18ea860 /media-gfx/hugin
parentarm stable, bug #393009 (diff)
downloadgentoo-2-fb18b48bb4cc95ea143100319ed28d6a1e57f8fa.tar.gz
gentoo-2-fb18b48bb4cc95ea143100319ed28d6a1e57f8fa.tar.bz2
gentoo-2-fb18b48bb4cc95ea143100319ed28d6a1e57f8fa.zip
version bump
(Portage version: 2.1.10.40/cvs/Linux i686)
Diffstat (limited to 'media-gfx/hugin')
-rw-r--r--media-gfx/hugin/ChangeLog7
-rw-r--r--media-gfx/hugin/hugin-2011.4.0.ebuild66
2 files changed, 72 insertions, 1 deletions
diff --git a/media-gfx/hugin/ChangeLog b/media-gfx/hugin/ChangeLog
index 3ce0f626ebe2..ef9fea2dc847 100644
--- a/media-gfx/hugin/ChangeLog
+++ b/media-gfx/hugin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/hugin
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.119 2011/10/17 20:28:41 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.120 2011/12/18 22:22:03 maekke Exp $
+
+*hugin-2011.4.0 (18 Dec 2011)
+
+ 18 Dec 2011; Markus Meier <maekke@gentoo.org> +hugin-2011.4.0.ebuild:
+ version bump
17 Oct 2011; Markus Meier <maekke@gentoo.org> -hugin-2010.2.0.ebuild:
old
diff --git a/media-gfx/hugin/hugin-2011.4.0.ebuild b/media-gfx/hugin/hugin-2011.4.0.ebuild
new file mode 100644
index 000000000000..5fad440e9d41
--- /dev/null
+++ b/media-gfx/hugin/hugin-2011.4.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-2011.4.0.ebuild,v 1.1 2011/12/18 22:22:03 maekke Exp $
+
+EAPI=3
+WX_GTK_VER="2.8"
+PYTHON_DEPEND="python? 2:2.6 3"
+
+inherit python wxwidgets versionator cmake-utils
+
+DESCRIPTION="GUI for the creation & processing of panoramic images"
+HOMEPAGE="http://hugin.sf.net"
+SRC_URI="mirror://sourceforge/${PN}/${P/\.0_/}.tar.bz2"
+LICENSE="GPL-2 SIFT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+LANGS=" bg ca cs da de en_GB es fi fr hu it ja ko nl pl pt_BR ro ru sk sl sv uk zh_CN zh_TW"
+IUSE="lapack python sift $(echo ${LANGS//\ /\ linguas_})"
+
+CDEPEND="
+ !!dev-util/cocom
+ app-arch/zip
+ dev-cpp/tclap
+ >=dev-libs/boost-1.35.0-r5
+ dev-libs/zthread
+ >=media-gfx/enblend-4.0
+ media-gfx/exiv2
+ media-libs/freeglut
+ >=media-libs/libpano13-2.9.18
+ media-libs/libpng
+ media-libs/openexr
+ media-libs/tiff
+ sys-libs/zlib
+ virtual/jpeg
+ x11-libs/wxGTK:2.8[X,opengl,-odbc]
+ lapack? ( virtual/lapack )
+ sift? ( media-gfx/autopano-sift-C )"
+RDEPEND="${CDEPEND}
+ media-libs/exiftool"
+DEPEND="${CDEPEND}
+ dev-util/pkgconfig
+ python? ( >=dev-lang/swig-2.0.4 )"
+
+S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
+
+pkg_setup() {
+ DOCS="authors.txt README TODO"
+ mycmakeargs=(
+ $(cmake-utils_use_enable lapack LAPACK)
+ $(cmake-utils_use_build python HSI)
+ )
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ for lang in ${LANGS} ; do
+ case ${lang} in
+ ca) dir=ca_ES;;
+ cs) dir=cs_CZ;;
+ *) dir=${lang};;
+ esac
+ use linguas_${lang} || rm -r "${D}"/usr/share/locale/${dir}
+ done
+}