/[gentoo-x86]/media-gfx/hugin/hugin-2011.0.0.ebuild
Gentoo

Contents of /media-gfx/hugin/hugin-2011.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Oct 17 19:00:41 2011 UTC (3 years, 2 months ago) by xarthisius
Branch: MAIN
Changes since 1.4: +2 -2 lines
ppc stable wrt #379089

(Portage version: 2.2.0_alpha63/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-2011.0.0.ebuild,v 1.4 2011/09/14 18:54:43 nativemad Exp $
4
5 EAPI=4
6 WX_GTK_VER="2.8"
7
8 inherit wxwidgets versionator cmake-utils
9
10 DESCRIPTION="GUI for the creation & processing of panoramic images"
11 HOMEPAGE="http://hugin.sf.net"
12 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
13 LICENSE="GPL-2 SIFT"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86"
16
17 LANGS=" bg ca cs de en_GB es fi fr hu it ja ko nl pl pt_BR ro ru sk sl sv uk zh_CN zh_TW"
18 IUSE="lapack sift $(echo ${LANGS//\ /\ linguas_})"
19
20 CDEPEND="
21 !!dev-util/cocom
22 app-arch/zip
23 >=dev-libs/boost-1.35.0-r5
24 >=media-gfx/enblend-4.0
25 media-gfx/exiv2
26 media-libs/freeglut
27 >=media-libs/libpano13-2.9.18
28 media-libs/libpng
29 media-libs/openexr
30 media-libs/tiff
31 sys-libs/zlib
32 virtual/jpeg
33 x11-libs/wxGTK:2.8[X,opengl,-odbc]
34 lapack? ( virtual/lapack )
35 sift? ( media-gfx/autopano-sift-C )"
36 RDEPEND="${CDEPEND}
37 media-libs/exiftool"
38 DEPEND="${CDEPEND}
39 dev-util/pkgconfig"
40
41 S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
42
43 PATCHES=( "${FILESDIR}"/${P}_rc1-libpng15.patch )
44
45 pkg_setup() {
46 DOCS="authors.txt README TODO"
47 mycmakeargs=( $(cmake-utils_use_enable lapack LAPACK) )
48 }
49
50 src_install() {
51 cmake-utils_src_install
52
53 for lang in ${LANGS} ; do
54 case ${lang} in
55 ca) dir=ca_ES;;
56 cs) dir=cs_CZ;;
57 *) dir=${lang};;
58 esac
59 use linguas_${lang} || rm -r "${D}"/usr/share/locale/${dir}
60 done
61 }

  ViewVC Help
Powered by ViewVC 1.1.20