summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-03-30 17:45:48 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-03-30 17:45:48 +0000
commit8ae5045d88af591a1d224e4ed36593f17ea5a09d (patch)
treebee7927ed961c2c1c2bd3843fcd34cafe094ec51 /media-plugins/gimp-greycstoration
parentMove patches here so we get them in releases. (diff)
downloadhistorical-8ae5045d88af591a1d224e4ed36593f17ea5a09d.tar.gz
historical-8ae5045d88af591a1d224e4ed36593f17ea5a09d.tar.bz2
historical-8ae5045d88af591a1d224e4ed36593f17ea5a09d.zip
Version bump. Added smp support.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-plugins/gimp-greycstoration')
-rw-r--r--media-plugins/gimp-greycstoration/ChangeLog8
-rw-r--r--media-plugins/gimp-greycstoration/Manifest4
-rw-r--r--media-plugins/gimp-greycstoration/gimp-greycstoration-2.8.ebuild40
3 files changed, 50 insertions, 2 deletions
diff --git a/media-plugins/gimp-greycstoration/ChangeLog b/media-plugins/gimp-greycstoration/ChangeLog
index a85696611d1a..f4554459041a 100644
--- a/media-plugins/gimp-greycstoration/ChangeLog
+++ b/media-plugins/gimp-greycstoration/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/gimp-greycstoration
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-greycstoration/ChangeLog,v 1.1 2008/02/25 10:08:46 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-greycstoration/ChangeLog,v 1.2 2008/03/30 17:45:48 calchan Exp $
+
+*gimp-greycstoration-2.8 (30 Mar 2008)
+
+ 30 Mar 2008; Denis Dupeyron <calchan@gentoo.org>
+ +gimp-greycstoration-2.8.ebuild:
+ Version bump. Added smp support.
*gimp-greycstoration-1.2.7 (25 Feb 2008)
diff --git a/media-plugins/gimp-greycstoration/Manifest b/media-plugins/gimp-greycstoration/Manifest
index d19a242f414c..82225b40b714 100644
--- a/media-plugins/gimp-greycstoration/Manifest
+++ b/media-plugins/gimp-greycstoration/Manifest
@@ -1,4 +1,6 @@
DIST CImg-1.2.7.tar.gz 5945505 RMD160 6f6cb6c05d126c5408807c8eac5b620dea010cee SHA1 40efd983a7d95cc5dc9b08a04620211f08f29a28 SHA256 ae562feae3b6d900cc959c3bc6742485828ca6f55321e8e94a8df7be041b18f3
+DIST GREYCstoration-2.8.zip 3524726 RMD160 93e7f505d33315b421c4edefe00d181b16d9576c SHA1 bace29d745cbcad4e7eb983c1a611cb72f454405 SHA256 59cdfed273cb82d89f88b2a09eabc237a53db117d8bfdf426d20b3938e8e8969
EBUILD gimp-greycstoration-1.2.7.ebuild 1107 RMD160 f211428f723dd178ee94270397b20c8c3df32b63 SHA1 68b7596970fccb663cbd06bb8ad3e7e288708c00 SHA256 ad8b8bc6274b7a174d5288f547c6293c786a5806603edc527992c658f4e9eadb
-MISC ChangeLog 421 RMD160 1eb463e562c8fada24e66dd9a6ab3da9ccad7908 SHA1 99407c9120715cc841f359106cfc00b3c677c98d SHA256 4610c93b31f15dd30747c2617104f78804cdedb0eb17687f96b65ae41cfdf67d
+EBUILD gimp-greycstoration-2.8.ebuild 1300 RMD160 d0661a236a9de5314b157bc851d284c1883fa9f7 SHA1 986b1a95a910d1fa0a8545694733be164b4377ba SHA256 7893498f2784ed283d4a2c12e02fa2ba48f0e01e5557739e28010e0ae0999abf
+MISC ChangeLog 583 RMD160 2b1ba062daa5bdd5c989dcd686beffda001ebeab SHA1 391242630d575d80e322f80665e503fc800477ca SHA256 4afeb4ef096e7970b06f9b3e0ef4005bdffb8d24cdec96482ef017726d17ee9e
MISC metadata.xml 232 RMD160 4c7ab29da7172e74adfd87ebb5eb6fb5475a82be SHA1 7b98547e067cdaccb43f37be116d5b15befef8e9 SHA256 18d82999ae63f6a95f78867cc239598fd2eb8011c837dcbe85830d022e7e6aea
diff --git a/media-plugins/gimp-greycstoration/gimp-greycstoration-2.8.ebuild b/media-plugins/gimp-greycstoration/gimp-greycstoration-2.8.ebuild
new file mode 100644
index 000000000000..4da9f348a8df
--- /dev/null
+++ b/media-plugins/gimp-greycstoration/gimp-greycstoration-2.8.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-greycstoration/gimp-greycstoration-2.8.ebuild,v 1.1 2008/03/30 17:45:48 calchan Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="GIMP plug-in for denoising through image regularization"
+HOMEPAGE="http://www.greyc.ensicaen.fr/~dtschump/greycstoration/"
+SRC_URI="mirror://sourceforge/cimg/GREYCstoration-${PV}.zip"
+LICENSE="CeCILL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="smp"
+DEPEND=">=media-gfx/gimp-2.2"
+S="${WORKDIR}/GREYCstoration-${PV}/src"
+
+src_unpack() {
+ unpack ${A}
+ sed -i -e "s:plugins/../CImg.h:CImg.h:" "${S}"/greycstoration4gimp.cpp || die "sed failed"
+ if use smp ; then
+ sed -i -e "s:^#define NTHREADS 1:#define NTHREADS 4:" "${S}"/greycstoration4gimp.cpp || die "sed failed"
+ fi
+}
+
+src_compile() {
+ $(tc-getCXX) -o greycstoration greycstoration4gimp.cpp \
+ $(gimptool-2.0 --cflags) $(gimptool-2.0 --libs) \
+ -lpthread ${CXXFLAGS} ${LDFLAGS} \
+ || die "Compilation failed"
+}
+
+src_install() {
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe greycstoration || die "Installation failed"
+}
+
+pkg_postinst() {
+ elog "The GREYCstoration plugin is accessible from the menu :"
+ elog "Filters -> Enhance -> GREYCstoration"
+}