/[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.2 - (show annotations) (download)
Mon Mar 30 09:11:33 2015 UTC (3 years, 3 months ago) by idella4
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -2 lines
add patch sourced from upstream, supplied by maintainer in bug #537130, fixes bug

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild,v 1.1 2014/05/30 13:15:03 swift Exp $
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 epatch "${FILESDIR}"/${PV}-remove-deprecated-output.patch
36
37 if ! use openmp; then
38 sed -i "s/-fopenmp//g" Makefile
39 fi
40
41 tc-export CXX
42 }
43
44 src_install() {
45 exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
46 doexe ${PN}
47 }

  ViewVC Help
Powered by ViewVC 1.1.20