Lines 1-12
Link Here
|
1 |
# Copyright 1999-2013 Gentoo Foundation |
1 |
# Copyright 1999-2013 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/lensfun/lensfun-0.2.6.ebuild,v 1.4 2013/03/03 11:05:34 vapier Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
PYTHON_DEPEND="2:2.6" |
7 |
inherit cmake-utils |
8 |
|
|
|
9 |
inherit cmake-utils multilib python |
10 |
|
8 |
|
11 |
DESCRIPTION="lensfun: A library for rectifying and simulating photographic lens distortions" |
9 |
DESCRIPTION="lensfun: A library for rectifying and simulating photographic lens distortions" |
12 |
HOMEPAGE="http://lensfun.berlios.de/" |
10 |
HOMEPAGE="http://lensfun.berlios.de/" |
Lines 14-20
Link Here
|
14 |
|
12 |
|
15 |
LICENSE="LGPL-3 CC-BY-SA-3.0" # See README for reasoning. |
13 |
LICENSE="LGPL-3 CC-BY-SA-3.0" # See README for reasoning. |
16 |
SLOT="0" |
14 |
SLOT="0" |
17 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" |
15 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" |
18 |
IUSE="doc sse sse2" |
16 |
IUSE="doc sse sse2" |
19 |
|
17 |
|
20 |
RDEPEND=">=dev-libs/glib-2.28 |
18 |
RDEPEND=">=dev-libs/glib-2.28 |
Lines 24-41
Link Here
|
24 |
doc? ( app-doc/doxygen )" |
22 |
doc? ( app-doc/doxygen )" |
25 |
|
23 |
|
26 |
PATCHES=( |
24 |
PATCHES=( |
27 |
"${FILESDIR}"/${P}-auxfun.patch |
25 |
"${FILESDIR}"/${PN}-0.2.6-auxfun.patch |
28 |
"${FILESDIR}"/${PN}-0.2.5_p153-build.patch |
26 |
"${FILESDIR}"/${PN}-0.2.7-build.patch |
29 |
"${FILESDIR}"/${PN}-0.2.5_p153-pc.patch |
|
|
30 |
) |
27 |
) |
31 |
|
28 |
|
32 |
DOCS=( README docs/mounts.txt ) |
29 |
DOCS=( README docs/mounts.txt ) |
33 |
|
30 |
|
34 |
pkg_setup() { |
|
|
35 |
python_set_active_version 2 |
36 |
python_pkg_setup |
37 |
} |
38 |
|
39 |
src_configure() { |
31 |
src_configure() { |
40 |
local mycmakeargs=( |
32 |
local mycmakeargs=( |
41 |
-DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html |
33 |
-DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html |