/[gentoo-x86]/media-plugins/gimp-gmic/gimp-gmic-1.5.1.6.ebuild
Gentoo

Contents of /media-plugins/gimp-gmic/gimp-gmic-1.5.1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jun 21 21:10:48 2012 UTC (2 years, 5 months ago) by radhermit
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="4"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="G'MIC GIMP plugin"
10 HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml"
11 SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz"
12
13 LICENSE="CeCILL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 RDEPEND=">=media-gfx/gimp-2.4.0
19 media-libs/libpng
20 sci-libs/fftw:3.0
21 sys-libs/zlib"
22 DEPEND="${RDEPEND}"
23
24 S=${WORKDIR}/gmic-${PV}/src
25
26 src_prepare() {
27 epatch "${FILESDIR}"/gmic-${PV}-makefile.patch
28 }
29
30 src_compile() {
31 emake CC="$(tc-getCXX)" gimp
32 }
33
34 src_install() {
35 exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
36 doexe gmic_gimp
37 dodoc ../README
38 }
39
40 pkg_postinst() {
41 elog "The G'MIC plugin is accessible from the menu:"
42 elog "Filters -> G'MIC"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20