summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2008-06-18 09:11:28 +0000
committerHanno Böck <hanno@gentoo.org>2008-06-18 09:11:28 +0000
commit320f138cd312fead587017c3c39d604f7f10fa2e (patch)
tree8717e57788be3f05f2e79e9839bb5171f735acd2 /media-plugins/gimp-greycstoration
parentVersion bump. (diff)
downloadgentoo-2-320f138cd312fead587017c3c39d604f7f10fa2e.tar.gz
gentoo-2-320f138cd312fead587017c3c39d604f7f10fa2e.tar.bz2
gentoo-2-320f138cd312fead587017c3c39d604f7f10fa2e.zip
gimp-greycstoration bump
(Portage version: 2.1.5.5)
Diffstat (limited to 'media-plugins/gimp-greycstoration')
-rw-r--r--media-plugins/gimp-greycstoration/ChangeLog8
-rw-r--r--media-plugins/gimp-greycstoration/gimp-greycstoration-2.9.ebuild42
2 files changed, 49 insertions, 1 deletions
diff --git a/media-plugins/gimp-greycstoration/ChangeLog b/media-plugins/gimp-greycstoration/ChangeLog
index 313031220d8e..42d822232fa4 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.3 2008/05/30 11:08:12 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-greycstoration/ChangeLog,v 1.4 2008/06/18 09:11:28 hanno Exp $
+
+*gimp-greycstoration-2.9 (18 Jun 2008)
+
+ 18 Jun 2008; Hanno Boeck <hanno@gentoo.org>
+ +gimp-greycstoration-2.9.ebuild:
+ Version bump.
30 May 2008; Denis Dupeyron <calchan@gentoo.org>
gimp-greycstoration-2.8.ebuild:
diff --git a/media-plugins/gimp-greycstoration/gimp-greycstoration-2.9.ebuild b/media-plugins/gimp-greycstoration/gimp-greycstoration-2.9.ebuild
new file mode 100644
index 000000000000..092855d6ffa3
--- /dev/null
+++ b/media-plugins/gimp-greycstoration/gimp-greycstoration-2.9.ebuild
@@ -0,0 +1,42 @@
+# 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.9.ebuild,v 1.1 2008/06/18 09:11:28 hanno Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="GIMP plug-in for denoising through image regularization"
+HOMEPAGE="http://cimg.sourceforge.net/greycstoration/"
+SRC_URI="mirror://sourceforge/cimg/GREYCstoration-${PV}-src.zip"
+LICENSE="CeCILL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="smp"
+RDEPEND=">=media-gfx/gimp-2.4.0"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+S="${WORKDIR}/GREYCstoration-${PV}-src/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"
+}