Gentoo Archives: gentoo-commits

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