summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2009-06-10 05:41:49 +0000
committerMarkus Meier <maekke@gentoo.org>2009-06-10 05:41:49 +0000
commit07eac1f95190c80b2977b079e10ab4b2ccf57ca2 (patch)
tree56a37a56a5779870b19dac907a1633fc2bafffd4 /media-gfx/hugin
parentVersion bumps. (diff)
downloadgentoo-2-07eac1f95190c80b2977b079e10ab4b2ccf57ca2.tar.gz
gentoo-2-07eac1f95190c80b2977b079e10ab4b2ccf57ca2.tar.bz2
gentoo-2-07eac1f95190c80b2977b079e10ab4b2ccf57ca2.zip
version bump to 0.8.0_rc3, witch (experimental) lapack support
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'media-gfx/hugin')
-rw-r--r--media-gfx/hugin/ChangeLog8
-rw-r--r--media-gfx/hugin/files/hugin-0.8.0_rc3-as-needed.patch27
-rw-r--r--media-gfx/hugin/hugin-0.8.0_rc3.ebuild51
3 files changed, 85 insertions, 1 deletions
diff --git a/media-gfx/hugin/ChangeLog b/media-gfx/hugin/ChangeLog
index ca96526f4d5e..e176b01a1a23 100644
--- a/media-gfx/hugin/ChangeLog
+++ b/media-gfx/hugin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/hugin
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.62 2009/05/24 10:07:59 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.63 2009/06/10 05:41:48 maekke Exp $
+
+*hugin-0.8.0_rc3 (10 Jun 2009)
+
+ 10 Jun 2009; Markus Meier <maekke@gentoo.org> +hugin-0.8.0_rc3.ebuild,
+ +files/hugin-0.8.0_rc3-as-needed.patch:
+ version bump to 0.8.0_rc3, witch (experimental) lapack support
24 May 2009; Markus Meier <maekke@gentoo.org> hugin-0.7.0.ebuild,
hugin-0.7.0-r1.ebuild, +files/hugin-0.7.0-gcc44.patch:
diff --git a/media-gfx/hugin/files/hugin-0.8.0_rc3-as-needed.patch b/media-gfx/hugin/files/hugin-0.8.0_rc3-as-needed.patch
new file mode 100644
index 000000000000..cea4d1241c72
--- /dev/null
+++ b/media-gfx/hugin/files/hugin-0.8.0_rc3-as-needed.patch
@@ -0,0 +1,27 @@
+diff -ru hugin-0.8.0.orig/src/foreign/levmar/CMakeLists.txt hugin-0.8.0/src/foreign/levmar/CMakeLists.txt
+--- hugin-0.8.0.orig/src/foreign/levmar/CMakeLists.txt 2009-06-09 07:38:10.000000000 +0200
++++ hugin-0.8.0/src/foreign/levmar/CMakeLists.txt 2009-06-09 07:38:33.000000000 +0200
+@@ -6,3 +6,5 @@
+ IF(LAPACK_FOUND)
+ ADD_DEFINITIONS(-DHAVE_LAPACK)
+ ENDIF(LAPACK_FOUND)
++
++SET_TARGET_PROPERTIES(huginlevmar PROPERTIES COMPILE_FLAGS -fPIC)
+diff -ru hugin-0.8.0.orig/src/foreign/vigra/vigra_impex/CMakeLists.txt hugin-0.8.0/src/foreign/vigra/vigra_impex/CMakeLists.txt
+--- hugin-0.8.0.orig/src/foreign/vigra/vigra_impex/CMakeLists.txt 2009-06-09 07:38:10.000000000 +0200
++++ hugin-0.8.0/src/foreign/vigra/vigra_impex/CMakeLists.txt 2009-06-09 07:38:33.000000000 +0200
+@@ -9,3 +9,5 @@
+ ELSE (${HUGIN_SHARED_LIBS})
+ add_library(huginvigraimpex STATIC ${VIGRA_IMPEX_SRC})
+ ENDIF (${HUGIN_SHARED_LIBS})
++
++TARGET_LINK_LIBRARIES(huginvigraimpex ${JPEG_LIBRARIES} ${OPENEXR_LIBRARIES} ${PNG_LIBRARIES} ${TIFF_LIBRARIES})
+diff -ru hugin-0.8.0.orig/src/hugin_base/CMakeLists.txt hugin-0.8.0/src/hugin_base/CMakeLists.txt
+--- hugin-0.8.0.orig/src/hugin_base/CMakeLists.txt 2009-06-09 07:38:09.000000000 +0200
++++ hugin-0.8.0/src/hugin_base/CMakeLists.txt 2009-06-09 07:41:05.000000000 +0200
+@@ -65,3 +65,5 @@
+ ENDIF (${HUGIN_SHARED_LIBS})
+
+ add_subdirectory(test)
++
++TARGET_LINK_LIBRARIES(huginbase huginlevmar huginvigraimpex ${Boost_thread_LIBRARIES} ${EXIV2_LIBRARIES} ${PANO_LIBRARIES} ${TIFF_LIBRARIES} ${LAPACK_LIBRARIES})
diff --git a/media-gfx/hugin/hugin-0.8.0_rc3.ebuild b/media-gfx/hugin/hugin-0.8.0_rc3.ebuild
new file mode 100644
index 000000000000..3f2ca22d5755
--- /dev/null
+++ b/media-gfx/hugin/hugin-0.8.0_rc3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-0.8.0_rc3.ebuild,v 1.1 2009/06/10 05:41:48 maekke Exp $
+
+EAPI="2"
+WX_GTK_VER="2.8"
+
+inherit cmake-utils wxwidgets versionator
+
+DESCRIPTION="GUI for the creation & processing of panoramic images"
+HOMEPAGE="http://hugin.sf.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2 SIFT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+LANGS=" bg ca cs de en_GB es fr hu it ja ko nl pl pt_BR ru sk sl sv uk zh_CN zh_TW"
+IUSE="lapack +sift $(echo ${LANGS//\ /\ linguas_})"
+
+DEPEND="
+ app-arch/zip
+ || ( >=dev-libs/boost-1.34 =dev-libs/boost-1.33*[threads] )
+ >=media-gfx/enblend-3.0_p20080807
+ media-gfx/exiv2
+ media-libs/jpeg
+ >=media-libs/libpano13-2.9.14
+ media-libs/libpng
+ media-libs/openexr
+ media-libs/tiff
+ sys-libs/zlib
+ x11-libs/wxGTK:2.8
+ lapack? ( virtual/lapack )
+ sift? ( media-gfx/autopano-sift-C )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
+PATCHES=( "${FILESDIR}"/${P}-as-needed.patch )
+DOCS="AUTHORS README TODO"
+
+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
+}