summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/gimp-gmic/gimp-gmic-1.5.5.1.ebuild')
-rw-r--r--media-plugins/gimp-gmic/gimp-gmic-1.5.5.1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/media-plugins/gimp-gmic/gimp-gmic-1.5.5.1.ebuild b/media-plugins/gimp-gmic/gimp-gmic-1.5.5.1.ebuild
new file mode 100644
index 000000000000..79cd749750f4
--- /dev/null
+++ b/media-plugins/gimp-gmic/gimp-gmic-1.5.5.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.5.5.1.ebuild,v 1.1 2013/03/30 05:54:31 radhermit Exp $
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="G'MIC GIMP plugin"
+HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml"
+SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz"
+
+LICENSE="CeCILL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=media-gfx/gimp-2.4.0
+ media-libs/libpng
+ sci-libs/fftw:3.0
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/gmic-${PV}/src
+
+src_prepare() {
+ epatch "${FILESDIR}"/gmic-1.5.2.2-makefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" gimp
+}
+
+src_install() {
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe gmic_gimp
+ dodoc ../README
+}
+
+pkg_postinst() {
+ elog "The G'MIC plugin is accessible from the menu:"
+ elog "Filters -> G'MIC"
+}