/[gentoo-x86]/media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild
Gentoo

Contents of /media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri May 30 13:15:03 2014 UTC (4 years, 2 months ago) by swift
Branch: MAIN
New version of GIMP Lensfun (0.2.3), thanks to Mario Kicherer (bug #468788)

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="5"
6
7 inherit eutils toolchain-funcs
8
9 MY_PN="GIMP-Lensfun"
10
11 DESCRIPTION="Lensfun plugin for GIMP"
12 HOMEPAGE="http://seebk.github.io/GIMP-Lensfun/"
13 SRC_URI="https://github.com/seebk/GIMP-Lensfun/archive/${PV}.tar.gz -> ${P}.tar.gz"
14
15 LICENSE="GPL-3"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="openmp"
19
20 RDEPEND="media-gfx/gimp
21 media-gfx/exiv2
22 media-libs/lensfun"
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig"
25
26 S=${WORKDIR}/${MY_PN}-${PV}
27
28 pkg_setup() {
29 if use openmp ; then
30 tc-has-openmp || die "Please switch to an openmp compatible compiler"
31 fi
32 }
33
34 src_prepare() {
35 if ! use openmp; then
36 sed -i "s/-fopenmp//g" Makefile
37 fi
38
39 tc-export CXX
40 }
41
42 src_install() {
43 exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
44 doexe ${PN}
45 }

  ViewVC Help
Powered by ViewVC 1.1.20