commit: 93a31ca745eff5fb3c2665da6146175c4fe9dce8 Author: Ian Delaney <idella4 <AT> gentoo <DOT> org> AuthorDate: Tue Nov 24 08:55:34 2015 +0000 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> CommitDate: Tue Nov 24 08:56:16 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93a31ca7
media-plugins/gimp-lensfun: bump -> vn. 0.2.4, patch via gentoo bug Gentoo bug: #565908 Package-Manager: portage-2.2.24 media-plugins/gimp-lensfun/Manifest | 1 + .../gimp-lensfun/gimp-lensfun-0.2.4.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/media-plugins/gimp-lensfun/Manifest b/media-plugins/gimp-lensfun/Manifest index 713078d..880ab5d 100644 --- a/media-plugins/gimp-lensfun/Manifest +++ b/media-plugins/gimp-lensfun/Manifest @@ -1,2 +1,3 @@ DIST gimp-lensfun-0.2.3.tar.gz 28793 SHA256 08b75b780458e82d2c8efaf2d3cb7a213a4a98d4e6f90c56bc01adfe94aa9ccf SHA512 c9c0dae61ca33f27f46b4a7f5db2bb939eade2f258780e161938aa5cae7262e9ef5ec2057fd07ccbd1492638b91902b9e3647f9b2ab3f38e7697822022642b42 WHIRLPOOL 9d83a861718094eabab4ac7c0bab9ac72e68ec173b7a04650985f8fd42e7cfd6b21dbacd4b176cd0a5c13d058a18d4294b5a01319810a4a4eb017d91015489a5 +DIST gimp-lensfun-0.2.4.tar.gz 29039 SHA256 7a4e6dade910952cdb9afc62f34e286d230dd73c3a1630415c106b5260eb94de SHA512 5a73a00d71c28d92881bfc2b15be7e8adef8756af808f8ae19f0e3208287853fe4f735b1bef23b658f660da8393b68cbe8416804173944d0c844ac284be77671 WHIRLPOOL f287bf422b50ac90e892f58aa2b4e02364286e2a6a2d3a3f861b6fade385aa96db294cb64808a71aedc82971add50e2bb0d43e086f0cff3b7affc0f14b905640 DIST gimplensfun-0.2.2.tar.gz 90562 SHA256 ccc598c662869e12fa49ac77b110166ec79b5aa191b0a46387a56bec164dc7c1 SHA512 7bdddebe91ecdc5c73e748f07606b4de64fea12b79a8c36874a0495a1cb12202d48ff5d7503d615ee937f5e3cc5adabb660ab74ee314a5e4ac6d2b302115d773 WHIRLPOOL 68d4f9ca97771646e64112392c9d347b3333f1d84997bba78c5a14141d4a1e1ca46ccca93f616ae78a08bcd8f53654e1a7da0aa5ace9e194ca007b49b7c9b4a6 diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.4.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.4.ebuild new file mode 100644 index 0000000..8865a8e --- /dev/null +++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils toolchain-funcs + +MY_PN="GIMP-Lensfun" + +DESCRIPTION="Lensfun plugin for GIMP" +HOMEPAGE="http://seebk.github.io/GIMP-Lensfun/" +SRC_URI="https://github.com/seebk/GIMP-Lensfun/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="openmp" + +RDEPEND="media-gfx/gimp + media-gfx/exiv2 + >=media-libs/lensfun-0.3.2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_PN}-${PV} + +pkg_setup() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi +} + +src_prepare() { + if ! use openmp; then + sed -i "s/-fopenmp//g" Makefile + fi + + tc-export CXX +} + +src_install() { + exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins + doexe ${PN} +}