summaryrefslogtreecommitdiff
path: root/media-plugins/gimp-lensfun
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/gimp-lensfun
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/gimp-lensfun')
-rw-r--r--media-plugins/gimp-lensfun/Manifest12
-rw-r--r--media-plugins/gimp-lensfun/files/0.2.3-remove-deprecated-output.patch22
-rw-r--r--media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.2-build.patch34
-rw-r--r--media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r1.ebuild37
-rw-r--r--media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r2.ebuild47
-rw-r--r--media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild46
-rw-r--r--media-plugins/gimp-lensfun/gimp-lensfun-0.2.4.ebuild44
-rw-r--r--media-plugins/gimp-lensfun/metadata.xml15
8 files changed, 257 insertions, 0 deletions
diff --git a/media-plugins/gimp-lensfun/Manifest b/media-plugins/gimp-lensfun/Manifest
new file mode 100644
index 000000000000..e8aae3c43782
--- /dev/null
+++ b/media-plugins/gimp-lensfun/Manifest
@@ -0,0 +1,12 @@
+AUX 0.2.3-remove-deprecated-output.patch 937 SHA256 edae7462e0d094e02c7cb31fbf7c72db9c5d67e3e365681766acd841fd45ad65 SHA512 af58db8e169cdbf147230661d9338590ef6d3667301ff5e059b596ba90682b0dae211cf062ae421425656defcca7499fdffc97d9b01dbdc6238c860cffbbc0d2 WHIRLPOOL 92e247f1c5a1e4437abce4f72ebf0cf00e1eeb49ab9d7a5fc167ce1236b320fe3c2a6ca5dd11191f5a180307c8418c439943a612f7bf679c19fc4d9c04ea4ab3
+AUX gimp-lensfun-0.2.2-build.patch 1044 SHA256 753acdeb828c6157769a3b9cb575d61d0388faacb16ca15c8d34e058cf5de240 SHA512 478ede3fcaed3aa57431d65094c04a06e85dcb12192163f2507edeb750b69e7a40025ca3c7899e6e0a536514edf91989b19e805e1d19735c967acdd32b35b2db WHIRLPOOL d85a0145b38d1bcb0b359a313059d6d61ce42fa56b93c101fba8949223f3450d5ee106dc04cc518d4914eb4bf86b0d09237020c9f1daad9543a219ce651eb249
+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
+EBUILD gimp-lensfun-0.2.2-r1.ebuild 673 SHA256 f0630e6ccaa148c0c2d9f72a4a48c370e6f32416c0b4a5c71e2992f21728365f SHA512 a2b63d5ece71b6cd0845b2bd54a1a81e3decb4368ea59cb23e524ab2d8a97c8dfae3125b69d2d9ddf3c1569a503800c0d3137b2f50eef6d67b71d9c5b470beed WHIRLPOOL c8b8b96c07c16f8ffc7d71b78e55fadaecff819ee6db516d2c1aa22bee8698fea812157411cf5375a91b83f3f0d6c581d8e0ed885c231f2fb12b2bb5ad55b0c9
+EBUILD gimp-lensfun-0.2.2-r2.ebuild 856 SHA256 786ce181e1dfbb526abf08dcaaace299f12c22bfac7a33b6d8498cc175a39b2e SHA512 e0454676aad031939f0be67ca8c1b4a924ae5d3b363bfffecc8f08e30912e8783ba6cd23937eeb780e8d0b17519af62bed85710d03aaf5110ad97a6ac6bfe773 WHIRLPOOL fbd7022003a11b4ddba3fa23edfc99ae84dfcab808a2cb3672103ced8902ec23f6fca58316b8a33f0bb3367769a45e2eecb5db2ddd5dd9cfad93f8bf2950ffaa
+EBUILD gimp-lensfun-0.2.3.ebuild 889 SHA256 f96d1973d75b7cd4443558c8c968c5d8855bbd525d57f432e29fc9bc1e50a356 SHA512 ca81b1d428c9a18493c1bba59bbea4be362ff54442596416a2f8cee6f2ad1a6c0bce0c40e60794f78d1a4d498ec10dff80fc1807eeca2ddfbc6418ba336bbf61 WHIRLPOOL df87621bf7a8b131c8ff4d3d99249198bcf3b48272dcee2ed72ce29dac4c7d5ec98d11e28e7b98320e28de4e4958d67846b1ad5c21c86d8d61f7336ff679a85b
+EBUILD gimp-lensfun-0.2.4.ebuild 837 SHA256 c86c75463db847da13fb69455b50824b0bde2d711ca87701c746c6ddf5417fd2 SHA512 fd62cf72ae5a36210c8e4b8792f9c5113a1c7041e09f195f4d25fa6bcf10dfaab2258dd652dd0674285d8b2820e8acd408256ff77e85bcb30c3a746343e71ff6 WHIRLPOOL bd6a15c3c14a2adef74d6bbdc5669f042f66e16f5b208f711d184583bf834a72f7abac344607880c9157bbc517501a125b1c59d4b9ca4d517a2e73a77d6b8124
+MISC ChangeLog 2883 SHA256 c8c2088de3d7d1e99e275b796d6a172c547a4067c8edc0fbc442ebf1ddc88401 SHA512 b53b9722876e15e7e4b36efe5ba5d46af83ae4008bc0975929fdf1b6978c405cec52552de14bbe3cfc2e53b048c3428d4d9a42dcc8cc465abd8275a37e6b9f71 WHIRLPOOL d215fb58076eaf3dc6f375e1d4c326765e1cefc24975beae71704b0136a746b0eae511646297a2f1097d0c6fdb091daf40f944af821c5dda97742eb790365eca
+MISC ChangeLog-2015 1417 SHA256 c86a6d57c755c06146f3ff7703400e7a09a6474318feed578475f30d21bccc7e SHA512 8fc740489632b992f75d7b682db46384c406123da24953daf0d7daa4133f2421ef252b7ae94909a1f29f756ba60208ad256be43255cd52507d68c726f5936aa5 WHIRLPOOL ca8393cdcd089c5a4c4bbb45bb79e515103fc930e3825f5cbee05b2238351abb2b87ff0eb795328bfb3e8ad587ce1a8e9a7fb37b509daf6e528ceb7d33ca4660
+MISC metadata.xml 437 SHA256 213efa8395100caa57c953351c5aee3e0d8643cebc18654faec0cdb8f15168ab SHA512 853082ec21ffacbac6c0369eae8010246aecd6f6cabc670f524ce05381d29a6ee15559b2009f83d00895ba40c237e825be0625a5c7d46db508d157aae0b94b4e WHIRLPOOL ae5da1ed3152323661424957723383fff375c60ca77ed6f4d73bbcf1fd402bf598d2b481b54e723dda54f6beb113dd9ff31aed17738eb816f4815253907d94fe
diff --git a/media-plugins/gimp-lensfun/files/0.2.3-remove-deprecated-output.patch b/media-plugins/gimp-lensfun/files/0.2.3-remove-deprecated-output.patch
new file mode 100644
index 000000000000..3b4e7162e827
--- /dev/null
+++ b/media-plugins/gimp-lensfun/files/0.2.3-remove-deprecated-output.patch
@@ -0,0 +1,22 @@
+From 730e1280bb1968ec1e31f8c87949187b022a74bb Mon Sep 17 00:00:00 2001
+From: Sebastian Kraft <mail@sebastiankraft.net>
+Date: Mon, 11 Aug 2014 21:30:07 +0200
+Subject: [PATCH] CCI has been removed from lensfun, also remove it here
+
+---
+ src/gimplensfun.cpp | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/gimplensfun.cpp b/src/gimplensfun.cpp
+index 0b4bb8f..6a66a8f 100644
+--- a/src/gimplensfun.cpp
++++ b/src/gimplensfun.cpp
+@@ -297,7 +297,6 @@ static void PrintLens (const lfLens *lens)
+ g_print ("\tFocal: %g-%g\n", lens->MinFocal, lens->MaxFocal);
+ g_print ("\tAperture: %g-%g\n", lens->MinAperture, lens->MaxAperture);
+ g_print ("\tCenter: %g,%g\n", lens->CenterX, lens->CenterY);
+- g_print ("\tCCI: %g/%g/%g\n", lens->RedCCI, lens->GreenCCI, lens->BlueCCI);
+ if (lens->Mounts)
+ for (int j = 0; lens->Mounts [j]; j++)
+ g_print ("\tMount: %s\n", lf_db_mount_name (ldb, lens->Mounts [j]));
+
diff --git a/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.2-build.patch b/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.2-build.patch
new file mode 100644
index 000000000000..41e171e5248f
--- /dev/null
+++ b/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.2-build.patch
@@ -0,0 +1,34 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Sep 30 13:22:40 UTC 2012
+Subject: build system
+
+ respect CC, CFLAGS and LDFLAGS
+ https://bugs.gentoo.org/show_bug.cgi?id=436660
+
+--- Makefile
++++ Makefile
+@@ -1,8 +1,9 @@
+-CFLAGS = -O3 -Wall $(shell gimptool-2.0 --cflags && pkg-config --cflags lensfun exiv2) -fopenmp
++CXXFLAGS ?= -O3
++CXXFLAGS += -Wall $(shell gimptool-2.0 --cflags && pkg-config --cflags lensfun exiv2) -fopenmp
+ LIBS = $(shell gimptool-2.0 --libs && pkg-config --libs lensfun exiv2)
+ PLUGIN = gimplensfun
+ SOURCES = src/gimplensfun.c
+-CC = g++
++CXX ?= g++
+ # END CONFIG ##################################################################
+
+ .PHONY: all install userinstall clean uninstall useruninstall
+@@ -12,10 +13,10 @@
+ OBJECTS = $(subst .c,.o,$(SOURCES))
+
+ $(PLUGIN): $(OBJECTS)
+- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
++ $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS)
+
+ %.o: %.c $(HEADERS)
+- $(CC) $(CFLAGS) -c -o $@ $*.c
++ $(CXX) $(CXXFLAGS) -c -o $@ $*.c
+
+ install: $(PLUGIN)
+ @gimptool-2.0 --install-admin-bin $^
diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r1.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r1.ebuild
new file mode 100644
index 000000000000..5b52f6be1e1c
--- /dev/null
+++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+MY_PN="gimplensfun"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Lensfun plugin for GIMP"
+HOMEPAGE="http://lensfun.sebastiankraft.net/"
+SRC_URI="http://lensfun.sebastiankraft.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="media-gfx/gimp
+ media-gfx/exiv2
+ media-libs/lensfun"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+
+ tc-export CXX
+}
+
+src_install() {
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe ${MY_PN}
+}
diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r2.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r2.ebuild
new file mode 100644
index 000000000000..014af1d7bd8f
--- /dev/null
+++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+MY_PN="gimplensfun"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Lensfun plugin for GIMP"
+HOMEPAGE="http://lensfun.sebastiankraft.net/"
+SRC_URI="http://lensfun.sebastiankraft.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="openmp"
+
+RDEPEND="media-gfx/gimp
+ media-gfx/exiv2
+ media-libs/lensfun"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+
+ if ! use openmp; then
+ sed -i "s/-fopenmp//g" Makefile
+ fi
+
+ tc-export CXX
+}
+
+src_install() {
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe ${MY_PN}
+}
diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild
new file mode 100644
index 000000000000..d07ca702c851
--- /dev/null
+++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+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() {
+ epatch "${FILESDIR}"/${PV}-remove-deprecated-output.patch
+
+ 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}
+}
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 000000000000..07eb3869b18d
--- /dev/null
+++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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}
+}
diff --git a/media-plugins/gimp-lensfun/metadata.xml b/media-plugins/gimp-lensfun/metadata.xml
new file mode 100644
index 000000000000..7388d73f0ddc
--- /dev/null
+++ b/media-plugins/gimp-lensfun/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dev@kicherer.org</email>
+ <name>Mario</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">seebk/GIMP-Lensfun</remote-id>
+ </upstream>
+</pkgmetadata>