Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/hugin: ChangeLog hugin-2013.0.0-r1.ebuild
Date: Mon, 25 Nov 2013 10:40:05
Message-Id: 20131125104000.008832004B@flycatcher.gentoo.org
1 jlec 13/11/25 10:39:59
2
3 Modified: ChangeLog
4 Added: hugin-2013.0.0-r1.ebuild
5 Log:
6 media-gfx/hugin: RevBump to trigger rebuild
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.138 media-gfx/hugin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/hugin/ChangeLog?rev=1.138&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/hugin/ChangeLog?rev=1.138&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/hugin/ChangeLog?r1=1.137&r2=1.138
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v
20 retrieving revision 1.137
21 retrieving revision 1.138
22 diff -u -r1.137 -r1.138
23 --- ChangeLog 25 Nov 2013 00:12:02 -0000 1.137
24 +++ ChangeLog 25 Nov 2013 10:39:59 -0000 1.138
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/hugin
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.137 2013/11/25 00:12:02 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.138 2013/11/25 10:39:59 jlec Exp $
30 +
31 +*hugin-2013.0.0-r1 (25 Nov 2013)
32 +
33 + 25 Nov 2013; Justin Lecher <jlec@g.o> +hugin-2013.0.0-r1.ebuild:
34 + RevBump to trigger rebuild
35
36 25 Nov 2013; Patrick Lauer <patrick@g.o> hugin-2013.0.0.ebuild:
37 Whitespace
38
39
40
41 1.1 media-gfx/hugin/hugin-2013.0.0-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/hugin/hugin-2013.0.0-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/hugin/hugin-2013.0.0-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: hugin-2013.0.0-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-2013.0.0-r1.ebuild,v 1.1 2013/11/25 10:39:59 jlec Exp $
51
52 EAPI=5
53
54 WX_GTK_VER="2.8"
55 PYTHON_COMPAT=( python{2_7,3_2,3_3} )
56
57 inherit base python-single-r1 wxwidgets versionator cmake-utils
58
59 DESCRIPTION="GUI for the creation & processing of panoramic images"
60 HOMEPAGE="http://hugin.sf.net"
61 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
62
63 LICENSE="GPL-2 SIFT"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86"
66
67 LANGS=" bg ca cs da de en_GB es eu fi fr hu it ja ko nl pl pt_BR ro ru sk sl sv uk zh_CN zh_TW"
68 IUSE="lapack python sift debug $(echo ${LANGS//\ /\ linguas_})"
69
70 CDEPEND="
71 !!dev-util/cocom
72 app-arch/zip
73 dev-cpp/tclap
74 >=dev-libs/boost-1.49.0-r1:=
75 dev-libs/zthread
76 >=media-gfx/enblend-4.0
77 media-gfx/exiv2
78 media-libs/freeglut
79 media-libs/glew:=
80 media-libs/lensfun
81 >=media-libs/libpano13-2.9.18
82 media-libs/libpng:0=
83 media-libs/openexr:=
84 media-libs/tiff
85 sci-libs/flann
86 sys-libs/zlib
87 virtual/jpeg
88 x11-libs/wxGTK:2.8=[X,opengl,-odbc]
89 lapack? ( virtual/lapack )
90 sift? ( media-gfx/autopano-sift-C )"
91 RDEPEND="${CDEPEND}
92 media-libs/exiftool"
93 DEPEND="${CDEPEND}
94 virtual/pkgconfig
95 python? ( ${PYTHON_DEPS} >=dev-lang/swig-2.0.4 )"
96
97 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
98
99 S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
100
101 PATCHES=( "${FILESDIR}"/${P}-boost.patch )
102
103 pkg_setup() {
104 DOCS="authors.txt README TODO"
105 mycmakeargs=(
106 $(cmake-utils_use_enable lapack LAPACK)
107 $(cmake-utils_use_build python HSI)
108 )
109 python-single-r1_pkg_setup
110 }
111
112 src_prepare() {
113 sed \
114 -e 's:-O3::g' \
115 -i src/celeste/CMakeLists.txt || die
116 rm CMakeModules/{FindLAPACK,FindPkgConfig}.cmake || die
117
118 cmake-utils_src_prepare
119 }
120
121 src_install() {
122 cmake-utils_src_install
123 python_optimize
124
125 for lang in ${LANGS} ; do
126 case ${lang} in
127 ca) dir=ca_ES;;
128 cs) dir=cs_CZ;;
129 *) dir=${lang};;
130 esac
131 use linguas_${lang} || rm -r "${D}"/usr/share/locale/${dir}
132 done
133 }