Gentoo Archives: gentoo-commits

From: "Markus Meier (maekke)" <maekke@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/ufraw: ChangeLog ufraw-0.20.ebuild
Date: Sat, 27 Sep 2014 11:27:34
Message-Id: 20140927112729.E7C2A668A@oystercatcher.gentoo.org
1 maekke 14/09/27 11:27:29
2
3 Modified: ChangeLog
4 Added: ufraw-0.20.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key 072AD062)
9
10 Revision Changes Path
11 1.120 media-gfx/ufraw/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?rev=1.120&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?rev=1.120&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?r1=1.119&r2=1.120
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v
20 retrieving revision 1.119
21 retrieving revision 1.120
22 diff -u -r1.119 -r1.120
23 --- ChangeLog 15 Jun 2014 10:16:57 -0000 1.119
24 +++ ChangeLog 27 Sep 2014 11:27:29 -0000 1.120
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/ufraw
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.119 2014/06/15 10:16:57 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.120 2014/09/27 11:27:29 maekke Exp $
30 +
31 +*ufraw-0.20 (27 Sep 2014)
32 +
33 + 27 Sep 2014; Markus Meier <maekke@g.o> +ufraw-0.20.ebuild:
34 + version bump
35
36 15 Jun 2014; Markus Meier <maekke@g.o> ufraw-0.19.2.ebuild,
37 +files/ufraw-0.19.2-clang.patch:
38
39
40
41 1.1 media-gfx/ufraw/ufraw-0.20.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ufraw-0.20.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ufraw-0.20.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ufraw-0.20.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ufraw-0.20.ebuild,v 1.1 2014/09/27 11:27:29 maekke Exp $
51
52 EAPI=5
53 inherit autotools eutils fdo-mime gnome2-utils toolchain-funcs
54
55 DESCRIPTION="RAW Image format viewer and GIMP plugin"
56 HOMEPAGE="http://ufraw.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
62 IUSE="contrast fits gimp gnome gtk openmp timezone"
63
64 RDEPEND="dev-libs/glib:2
65 >=media-gfx/exiv2-0.11:0=
66 media-libs/lcms:0
67 >=media-libs/lensfun-0.2.5
68 media-libs/libpng:0=
69 media-libs/tiff
70 virtual/jpeg
71 fits? ( sci-libs/cfitsio:0= )
72 gnome? ( >=gnome-base/gconf-2 )
73 gtk? ( >=x11-libs/gtk+-2.6:2
74 >=media-gfx/gtkimageview-1.5 )
75 gimp? ( >=x11-libs/gtk+-2.6:2
76 >=media-gfx/gtkimageview-1.5
77 >=media-gfx/gimp-2 )"
78 DEPEND="${RDEPEND}
79 virtual/pkgconfig"
80
81 src_prepare() {
82 epatch \
83 "${FILESDIR}"/${PN}-0.17-cfitsio-automagic.patch
84 eautoreconf
85 }
86
87 src_configure() {
88 econf \
89 $(use_enable contrast) \
90 $(use_with fits cfitsio) \
91 $(use_with gimp) \
92 $(use_enable gnome mime) \
93 $(use_with gtk) \
94 $(use_enable openmp) \
95 $(use_enable timezone dst-correction) \
96 $(usex gimp --with-gtk "")
97 }
98
99 src_compile() {
100 emake AR="$(tc-getAR)"
101 }
102
103 src_install() {
104 emake DESTDIR="${D}" schemasdir=/etc/gconf/schemas install
105 dodoc README TODO
106 }
107
108 pkg_preinst() {
109 if use gnome; then
110 gnome2_gconf_savelist
111 fi
112 }
113
114 pkg_postinst() {
115 if use gnome; then
116 fdo-mime_mime_database_update
117 fdo-mime_desktop_database_update
118 gnome2_gconf_install
119 fi
120 }
121
122 pkg_postrm() {
123 if use gnome; then
124 fdo-mime_desktop_database_update
125 fdo-mime_mime_database_update
126 fi
127 }