From 7014a5a3ea0feffab9701fdd6b64cc7667a985af Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 30 Jun 2019 17:36:28 +0100 Subject: gentoo resync : 30.06.2019 --- media-plugins/gimp-lensfun/Manifest | 3 +- .../files/gimp-lensfun-0.2.4-exiv2-0.27.1.patch | 12 ++++++ .../gimp-lensfun/gimp-lensfun-0.2.4-r1.ebuild | 50 ++++++++++++++++++++++ .../gimp-lensfun/gimp-lensfun-0.2.4.ebuild | 44 ------------------- 4 files changed, 64 insertions(+), 45 deletions(-) create mode 100644 media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.4-exiv2-0.27.1.patch create mode 100644 media-plugins/gimp-lensfun/gimp-lensfun-0.2.4-r1.ebuild delete mode 100644 media-plugins/gimp-lensfun/gimp-lensfun-0.2.4.ebuild (limited to 'media-plugins/gimp-lensfun') diff --git a/media-plugins/gimp-lensfun/Manifest b/media-plugins/gimp-lensfun/Manifest index da191c134169..e1b3823530d9 100644 --- a/media-plugins/gimp-lensfun/Manifest +++ b/media-plugins/gimp-lensfun/Manifest @@ -1,3 +1,4 @@ +AUX gimp-lensfun-0.2.4-exiv2-0.27.1.patch 243 BLAKE2B b2b113981da41bb7421481fde90d40624855f1a3a920dbcdae96ceb7e4fee512ce8559842b2189fbee8e00c13f7495e0def8955fc8b065950b348ecfb0902324 SHA512 58d486b26c8c55af4a9cbb9c087ae44d9d16100ac7e0fadab84eaa62e165c0a7cff66fc6f7ad0d0c0eafd471b029e344a0fea8b065760c1cc8edaacc895479ed DIST gimp-lensfun-0.2.4.tar.gz 29039 BLAKE2B 30c5abac6e00e74e008a94f0fa23391d9dc336b5a6540ec7a0deb33e250cc2df66821db67b4bd76b36c9745a600838c834c01c27db741f8349f2ac13dc60e963 SHA512 5a73a00d71c28d92881bfc2b15be7e8adef8756af808f8ae19f0e3208287853fe4f735b1bef23b658f660da8393b68cbe8416804173944d0c844ac284be77671 -EBUILD gimp-lensfun-0.2.4.ebuild 856 BLAKE2B 9b4bba7a76d9ff0a69a24b74ef6bf376d85f8ee7a6fcca0081d92e2070c394b0d81f88e957f35c06c28cd9aa698e456836b75e0f8fe54b2afef583b5080bc9d7 SHA512 cdf2055fdc9677531421dfa94062b9e1787539e5b6bb0b31ba779ee7ead14c6a8f60747ba07f2a74a7f7073dbac7e2e8e2eabaa74d0db8748fcc3e61a0bc5c12 +EBUILD gimp-lensfun-0.2.4-r1.ebuild 946 BLAKE2B aa8cdb12f08eeff21f289f0e498673b98e9061e916ef23567a6f5fd1c8ab6b1d0475c7e5442c907f17fe701d12b1d7b686c2e9bd6ce1c7452c869d4ce30045e5 SHA512 13c2401faf147316cc73f51076f171b74c1c3369dac1184327a0828770bc32a82b9a3d5a2e0eb6076048792b5f34eb7f3695971ec7f6da8f6781ddf64695cff2 MISC metadata.xml 249 BLAKE2B 30a93482d9da433af6ed4cabb5bdcc20e297296af8b5e58a4ee18942514d4cae56462b5e61e23db269a20dfdd3b956ba0dc22488e03e4a8222f8d6d64df9918e SHA512 f0120dd9871a00b101f65f11eec65f7bde96cc2641f7913fb24f1633b09f4af36ab70ca48422dd8ce89c81b5819c79d4eb3b04950821816fbc0520525959f8d1 diff --git a/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.4-exiv2-0.27.1.patch b/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.4-exiv2-0.27.1.patch new file mode 100644 index 000000000000..d62f1790d5de --- /dev/null +++ b/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.4-exiv2-0.27.1.patch @@ -0,0 +1,12 @@ +--- a/src/gimplensfun.cpp ++++ b/src/gimplensfun.cpp +@@ -31,8 +31,7 @@ + #include + #include + +-#include +-#include ++#include + + #define VERSIONSTR "0.2.4" + diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.4-r1.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.4-r1.ebuild new file mode 100644 index 000000000000..2756553cbcfa --- /dev/null +++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.4-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Gimp plugin to correct lens distortions" +HOMEPAGE="https://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" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + media-gfx/exiv2 + =media-libs/lensfun-0.3.2 +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.1.patch" ) + +S=${WORKDIR}/GIMP-Lensfun-${PV} + +pkg_setup() { + if use openmp && [[ ${MERGE_TYPE} != binary ]]; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi +} + +src_prepare() { + default + + if ! use openmp; then + sed -i "s/-fopenmp//g" Makefile || die + fi + + tc-export CXX +} + +src_install() { + exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins + doexe ${PN} +} diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.4.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.4.ebuild deleted file mode 100644 index 904ac1bfbb99..000000000000 --- a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.4.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils toolchain-funcs - -MY_PN="GIMP-Lensfun" - -DESCRIPTION="A Gimp plugin to correct lens distortions" -HOMEPAGE="https://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} -} -- cgit v1.2.3