summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2009-07-26 13:41:31 +0000
committerMarkus Meier <maekke@gentoo.org>2009-07-26 13:41:31 +0000
commitdb5da134e6dcee3f7423a439aef7a60ebf1271c1 (patch)
treea3adcc2f4d03009cecf6d0772503a2fed0f95cfd /media-gfx/hugin
parentfixed metadata.xml wrt bug 279152 (diff)
downloadgentoo-2-db5da134e6dcee3f7423a439aef7a60ebf1271c1.tar.gz
gentoo-2-db5da134e6dcee3f7423a439aef7a60ebf1271c1.tar.bz2
gentoo-2-db5da134e6dcee3f7423a439aef7a60ebf1271c1.zip
bump to 0.8.0 final release
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'media-gfx/hugin')
-rw-r--r--media-gfx/hugin/ChangeLog12
-rw-r--r--media-gfx/hugin/files/hugin-0.8.0_beta1-as-needed.patch39
-rw-r--r--media-gfx/hugin/files/hugin-0.8.0_rc3-unset_lapack.patch10
-rw-r--r--media-gfx/hugin/hugin-0.8.0.ebuild (renamed from media-gfx/hugin/hugin-0.8.0_rc5.ebuild)2
-rw-r--r--media-gfx/hugin/hugin-0.8.0_beta1.ebuild38
-rw-r--r--media-gfx/hugin/hugin-0.8.0_beta2.ebuild49
-rw-r--r--media-gfx/hugin/hugin-0.8.0_beta3.ebuild50
-rw-r--r--media-gfx/hugin/hugin-0.8.0_beta4.ebuild50
-rw-r--r--media-gfx/hugin/hugin-0.8.0_rc1.ebuild50
-rw-r--r--media-gfx/hugin/hugin-0.8.0_rc3.ebuild51
-rw-r--r--media-gfx/hugin/hugin-0.8.0_rc4.ebuild65
11 files changed, 12 insertions, 404 deletions
diff --git a/media-gfx/hugin/ChangeLog b/media-gfx/hugin/ChangeLog
index 56c31f8643ca..2d3c2e3be3b4 100644
--- a/media-gfx/hugin/ChangeLog
+++ b/media-gfx/hugin/ChangeLog
@@ -1,6 +1,16 @@
# 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.68 2009/07/09 05:47:59 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.69 2009/07/26 13:41:31 maekke Exp $
+
+*hugin-0.8.0 (26 Jul 2009)
+
+ 26 Jul 2009; Markus Meier <maekke@gentoo.org> -hugin-0.8.0_beta1.ebuild,
+ -hugin-0.8.0_beta2.ebuild, -hugin-0.8.0_beta3.ebuild,
+ -hugin-0.8.0_beta4.ebuild, -hugin-0.8.0_rc1.ebuild,
+ -hugin-0.8.0_rc3.ebuild, -hugin-0.8.0_rc4.ebuild, -hugin-0.8.0_rc5.ebuild,
+ +hugin-0.8.0.ebuild, -files/hugin-0.8.0_beta1-as-needed.patch,
+ -files/hugin-0.8.0_rc3-unset_lapack.patch:
+ bump to 0.8.0 final release
*hugin-0.8.0_rc5 (09 Jul 2009)
diff --git a/media-gfx/hugin/files/hugin-0.8.0_beta1-as-needed.patch b/media-gfx/hugin/files/hugin-0.8.0_beta1-as-needed.patch
deleted file mode 100644
index 95f706fa37d6..000000000000
--- a/media-gfx/hugin/files/hugin-0.8.0_beta1-as-needed.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -ru hugin-0.8.0.orig/src/foreign/jhead/CMakeLists.txt hugin-0.8.0/src/foreign/jhead/CMakeLists.txt
---- hugin-0.8.0.orig/src/foreign/jhead/CMakeLists.txt 2009-02-25 00:33:09.000000000 +0100
-+++ hugin-0.8.0/src/foreign/jhead/CMakeLists.txt 2009-02-25 00:35:44.000000000 +0100
-@@ -7,3 +7,5 @@
- ELSE (${HUGIN_SHARED_LIBS})
- add_library(huginjhead STATIC ${HUGIN_JHEAD_SRC})
- ENDIF (${HUGIN_SHARED_LIBS})
-+
-+TARGET_LINK_LIBRARIES(huginjhead huginbase)
-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-02-25 00:33:09.000000000 +0100
-+++ hugin-0.8.0/src/foreign/levmar/CMakeLists.txt 2009-02-25 00:36:08.000000000 +0100
-@@ -1,4 +1,6 @@
- add_library(huginlevmar STATIC lm.c Axb.c misc.c lmlec.c lmbc.c)
- IF (NOT MSVC)
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
--ENDIF (NOT MSVC)
-\ No newline at end of file
-+ENDIF (NOT MSVC)
-+
-+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-02-25 00:33:09.000000000 +0100
-+++ hugin-0.8.0/src/foreign/vigra/vigra_impex/CMakeLists.txt 2009-02-25 00:34:48.000000000 +0100
-@@ -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-02-25 00:33:08.000000000 +0100
-+++ hugin-0.8.0/src/hugin_base/CMakeLists.txt 2009-02-25 00:33:54.000000000 +0100
-@@ -64,3 +64,5 @@
- ENDIF (${HUGIN_SHARED_LIBS})
-
- add_subdirectory(test)
-+
-+TARGET_LINK_LIBRARIES(huginbase huginlevmar huginvigraimpex ${Boost_thread_LIBRARIES} ${EXIV2_LIBRARIES} ${PANO_LIBRARIES} ${TIFF_LIBRARIES})
diff --git a/media-gfx/hugin/files/hugin-0.8.0_rc3-unset_lapack.patch b/media-gfx/hugin/files/hugin-0.8.0_rc3-unset_lapack.patch
deleted file mode 100644
index 4cf2f715dd04..000000000000
--- a/media-gfx/hugin/files/hugin-0.8.0_rc3-unset_lapack.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- CMakeModules/FindLAPACK.cmake.orig 2009-06-19 11:13:06.922006535 +0200
-+++ CMakeModules/FindLAPACK.cmake 2009-06-19 11:13:38.566170050 +0200
-@@ -17,5 +17,6 @@
-
- IF(LAPACK_LIBRARIES)
- SET( LAPACK_FOUND "YES" )
-+ELSE(LAPACK_LIBRARIES)
-+ SET( LAPACK_LIBRARIES "")
- ENDIF(LAPACK_LIBRARIES)
--
diff --git a/media-gfx/hugin/hugin-0.8.0_rc5.ebuild b/media-gfx/hugin/hugin-0.8.0.ebuild
index e34191ea5cf9..b69fefb7fbc6 100644
--- a/media-gfx/hugin/hugin-0.8.0_rc5.ebuild
+++ b/media-gfx/hugin/hugin-0.8.0.ebuild
@@ -1,6 +1,6 @@
# 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_rc5.ebuild,v 1.1 2009/07/09 05:47:59 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-0.8.0.ebuild,v 1.1 2009/07/26 13:41:31 maekke Exp $
EAPI="2"
WX_GTK_VER="2.8"
diff --git a/media-gfx/hugin/hugin-0.8.0_beta1.ebuild b/media-gfx/hugin/hugin-0.8.0_beta1.ebuild
deleted file mode 100644
index ebf6e8da4e45..000000000000
--- a/media-gfx/hugin/hugin-0.8.0_beta1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# 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_beta1.ebuild,v 1.1 2009/02/25 07:11:24 maekke Exp $
-
-EAPI="2"
-WX_GTK_VER="2.8"
-
-inherit cmake-utils eutils 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"
-IUSE="+sift"
-
-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
- media-libs/libpng
- media-libs/openexr
- media-libs/tiff
- sys-libs/zlib
- x11-libs/wxGTK:2.8
- sift? ( media-gfx/autopano-sift-C )"
-RDEPEND="${DEPEND}"
-
-DOCS="AUTHORS README TODO"
-S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-as-needed.patch
-}
diff --git a/media-gfx/hugin/hugin-0.8.0_beta2.ebuild b/media-gfx/hugin/hugin-0.8.0_beta2.ebuild
deleted file mode 100644
index c33f5c0127e4..000000000000
--- a/media-gfx/hugin/hugin-0.8.0_beta2.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# 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_beta2.ebuild,v 1.2 2009/03/11 22:19:19 maekke Exp $
-
-EAPI="2"
-WX_GTK_VER="2.8"
-
-inherit cmake-utils eutils 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"
-
-# TODO ca_ES cs_CZ zn_CN
-LANGS=" bg de en_GB es fr hu it ja ko nl pl pt_BR ru sk sv uk"
-IUSE="+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_beta1
- media-libs/libpng
- media-libs/openexr
- media-libs/tiff
- sys-libs/zlib
- x11-libs/wxGTK:2.8
- sift? ( media-gfx/autopano-sift-C )"
-RDEPEND="${DEPEND}"
-
-DOCS="AUTHORS README TODO"
-S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.8.0_beta1-as-needed.patch
-}
-
-src_install() {
- cmake-utils_src_install
-
- for lang in ${LANGS} ; do
- use linguas_${lang} || rm -r "${D}"/usr/share/locale/${lang}
- done
-}
diff --git a/media-gfx/hugin/hugin-0.8.0_beta3.ebuild b/media-gfx/hugin/hugin-0.8.0_beta3.ebuild
deleted file mode 100644
index 6c346e53ac6e..000000000000
--- a/media-gfx/hugin/hugin-0.8.0_beta3.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# 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_beta3.ebuild,v 1.1 2009/04/04 10:23:39 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"
-IUSE="+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_beta1
- media-libs/libpng
- media-libs/openexr
- media-libs/tiff
- sys-libs/zlib
- x11-libs/wxGTK:2.8
- sift? ( media-gfx/autopano-sift-C )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
-PATCHES=( "${FILESDIR}"/${PN}-0.8.0_beta1-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
-}
diff --git a/media-gfx/hugin/hugin-0.8.0_beta4.ebuild b/media-gfx/hugin/hugin-0.8.0_beta4.ebuild
deleted file mode 100644
index 6d444c02db8e..000000000000
--- a/media-gfx/hugin/hugin-0.8.0_beta4.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# 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_beta4.ebuild,v 1.1 2009/05/01 13:19:49 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"
-IUSE="+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_beta1
- media-libs/libpng
- media-libs/openexr
- media-libs/tiff
- sys-libs/zlib
- x11-libs/wxGTK:2.8
- sift? ( media-gfx/autopano-sift-C )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
-PATCHES=( "${FILESDIR}"/${PN}-0.8.0_beta1-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
-}
diff --git a/media-gfx/hugin/hugin-0.8.0_rc1.ebuild b/media-gfx/hugin/hugin-0.8.0_rc1.ebuild
deleted file mode 100644
index 648aec2f4f2e..000000000000
--- a/media-gfx/hugin/hugin-0.8.0_rc1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# 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_rc1.ebuild,v 1.1 2009/05/07 20:56:18 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"
-IUSE="+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_beta1
- media-libs/libpng
- media-libs/openexr
- media-libs/tiff
- sys-libs/zlib
- x11-libs/wxGTK:2.8
- sift? ( media-gfx/autopano-sift-C )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
-PATCHES=( "${FILESDIR}"/${PN}-0.8.0_beta1-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
-}
diff --git a/media-gfx/hugin/hugin-0.8.0_rc3.ebuild b/media-gfx/hugin/hugin-0.8.0_rc3.ebuild
deleted file mode 100644
index 019b0c260866..000000000000
--- a/media-gfx/hugin/hugin-0.8.0_rc3.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# 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.2 2009/06/19 09:20:29 dev-zero 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 "${FILESDIR}"/${P}-unset_lapack.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
-}
diff --git a/media-gfx/hugin/hugin-0.8.0_rc4.ebuild b/media-gfx/hugin/hugin-0.8.0_rc4.ebuild
deleted file mode 100644
index 63d826782d46..000000000000
--- a/media-gfx/hugin/hugin-0.8.0_rc4.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# 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_rc4.ebuild,v 1.2 2009/06/28 22:33:59 dev-zero Exp $
-
-EAPI="2"
-WX_GTK_VER="2.8"
-
-inherit base 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.35.0-r5
- >=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}
- media-libs/exiftool"
-
-S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
-PATCHES=(
- "${FILESDIR}"/${PN}-0.8.0_rc3-as-needed.patch
- "${FILESDIR}"/${P}-use_system_cmake_findboost.patch
-)
-
-src_prepare() {
- base_src_prepare
-
- # Remove faulty module and force usage of system cmake FindBoost
- rm CMakeModules/FindBoost.cmake
-}
-
-pkg_setup() {
- DOCS="AUTHORS README TODO"
- mycmakeargs="$(cmake-utils_use_enable lapack)"
-}
-
-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
-}