From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-plugins/gimp-gmic: ChangeLog gimp-gmic-1.6.0.4.ebuild |
Date: | Sat, 07 Feb 2015 21:36:16 |
Message-Id: | 20150207213543.9A07A11468@oystercatcher.gentoo.org |
1 | radhermit 15/02/07 21:35:43 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gimp-gmic-1.6.0.4.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 | |
10 | Revision Changes Path |
11 | 1.52 media-plugins/gimp-gmic/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gimp-gmic/ChangeLog?rev=1.52&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gimp-gmic/ChangeLog?rev=1.52&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gimp-gmic/ChangeLog?r1=1.51&r2=1.52 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/ChangeLog,v |
20 | retrieving revision 1.51 |
21 | retrieving revision 1.52 |
22 | diff -u -r1.51 -r1.52 |
23 | --- ChangeLog 4 Feb 2015 17:22:19 -0000 1.51 |
24 | +++ ChangeLog 7 Feb 2015 21:35:43 -0000 1.52 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for media-plugins/gimp-gmic |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/ChangeLog,v 1.51 2015/02/04 17:22:19 radhermit Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/ChangeLog,v 1.52 2015/02/07 21:35:43 radhermit Exp $ |
30 | + |
31 | +*gimp-gmic-1.6.0.4 (07 Feb 2015) |
32 | + |
33 | + 07 Feb 2015; Tim Harder <radhermit@g.o> +gimp-gmic-1.6.0.4.ebuild: |
34 | + Version bump. |
35 | |
36 | 04 Feb 2015; Tim Harder <radhermit@g.o> metadata.xml: |
37 | Drop myself from metadata. |
38 | |
39 | |
40 | |
41 | 1.1 media-plugins/gimp-gmic/gimp-gmic-1.6.0.4.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.6.0.4.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.6.0.4.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: gimp-gmic-1.6.0.4.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2015 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.6.0.4.ebuild,v 1.1 2015/02/07 21:35:43 radhermit Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | inherit eutils toolchain-funcs flag-o-matic |
55 | |
56 | DESCRIPTION="G'MIC GIMP plugin" |
57 | HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml" |
58 | SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz" |
59 | |
60 | LICENSE="CeCILL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="openmp" |
64 | |
65 | RDEPEND=" |
66 | >=media-gfx/gimp-2.4.0 |
67 | media-libs/libpng:0= |
68 | sci-libs/fftw:3.0[threads] |
69 | sys-libs/zlib |
70 | " |
71 | DEPEND="${RDEPEND}" |
72 | |
73 | S=${WORKDIR}/gmic-${PV}/src |
74 | |
75 | pkg_pretend() { |
76 | if use openmp ; then |
77 | tc-has-openmp || die "Please switch to an openmp compatible compiler" |
78 | fi |
79 | |
80 | if ! test-flag-CXX -std=c++11 ; then |
81 | die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" |
82 | fi |
83 | } |
84 | |
85 | src_prepare() { |
86 | cp "${FILESDIR}"/gmic-1.6.0.2-makefile.patch "${WORKDIR}" || die |
87 | edos2unix "${WORKDIR}"/gmic-1.6.0.2-makefile.patch |
88 | epatch "${WORKDIR}"/gmic-1.6.0.2-makefile.patch |
89 | |
90 | if ! use openmp ; then |
91 | sed -i -r "s/^(OPENMP_(CFLAGS|LIBS) =).*/\1/" Makefile || die |
92 | fi |
93 | } |
94 | |
95 | src_compile() { |
96 | emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= gimp |
97 | } |
98 | |
99 | src_install() { |
100 | emake DESTDIR="${D}" install-gimp |
101 | dodoc ../README |
102 | } |
103 | |
104 | pkg_postinst() { |
105 | elog "The G'MIC plugin is accessible from the menu:" |
106 | elog "Filters -> G'MIC" |
107 | } |