--- /dev/null
+# 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 $
+
+*gimp-greycstoration-1.2.7 (25 Feb 2008)
+
+ 25 Feb 2008; Denis Dupeyron <calchan@gentoo.org> +metadata.xml,
+ +gimp-greycstoration-1.2.7.ebuild:
+ Initial commit, see bug #114577.
+
--- /dev/null
+DIST CImg-1.2.7.tar.gz 5945505 RMD160 6f6cb6c05d126c5408807c8eac5b620dea010cee SHA1 40efd983a7d95cc5dc9b08a04620211f08f29a28 SHA256 ae562feae3b6d900cc959c3bc6742485828ca6f55321e8e94a8df7be041b18f3
+EBUILD gimp-greycstoration-1.2.7.ebuild 1107 RMD160 f211428f723dd178ee94270397b20c8c3df32b63 SHA1 68b7596970fccb663cbd06bb8ad3e7e288708c00 SHA256 ad8b8bc6274b7a174d5288f547c6293c786a5806603edc527992c658f4e9eadb
+MISC ChangeLog 421 RMD160 1eb463e562c8fada24e66dd9a6ab3da9ccad7908 SHA1 99407c9120715cc841f359106cfc00b3c677c98d SHA256 4610c93b31f15dd30747c2617104f78804cdedb0eb17687f96b65ae41cfdf67d
+MISC metadata.xml 232 RMD160 4c7ab29da7172e74adfd87ebb5eb6fb5475a82be SHA1 7b98547e067cdaccb43f37be116d5b15befef8e9 SHA256 18d82999ae63f6a95f78867cc239598fd2eb8011c837dcbe85830d022e7e6aea
--- /dev/null
+# 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-1.2.7.ebuild,v 1.1 2008/02/25 10:08:46 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/CImg-${PV}.tar.gz"
+LICENSE="CeCILL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND=">=media-gfx/gimp-2.2"
+S="${WORKDIR}/CImg-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ mv "${S}"/examples/greycstoration4gimp.cpp "${S}"
+}
+
+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"
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>calchan@gentoo.org</email>
+ <name>Denis Dupeyron</name>
+</maintainer>
+</pkgmetadata>