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.22.ebuild
Date: Sat, 27 Jun 2015 12:45:04
Message-Id: 20150627124501.D79B0736@oystercatcher.gentoo.org
1 maekke 15/06/27 12:45:01
2
3 Modified: ChangeLog
4 Added: ufraw-0.22.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 072AD062)
9
10 Revision Changes Path
11 1.135 media-gfx/ufraw/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?rev=1.135&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?rev=1.135&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?r1=1.134&r2=1.135
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v
20 retrieving revision 1.134
21 retrieving revision 1.135
22 diff -u -r1.134 -r1.135
23 --- ChangeLog 22 May 2015 21:28:52 -0000 1.134
24 +++ ChangeLog 27 Jun 2015 12:45:01 -0000 1.135
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/ufraw
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.134 2015/05/22 21:28:52 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.135 2015/06/27 12:45:01 maekke Exp $
30 +
31 +*ufraw-0.22 (27 Jun 2015)
32 +
33 + 27 Jun 2015; Markus Meier <maekke@g.o> +ufraw-0.22.ebuild:
34 + version bump
35
36 *ufraw-0.21-r1 (22 May 2015)
37
38
39
40
41 1.1 media-gfx/ufraw/ufraw-0.22.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ufraw-0.22.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ufraw-0.22.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ufraw-0.22.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-gfx/ufraw/ufraw-0.22.ebuild,v 1.1 2015/06/27 12:45:01 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 REQUIRED_USE="gimp? ( gtk )"
65
66 RDEPEND="
67 dev-libs/glib:2=
68 >=media-gfx/exiv2-0.11:0=
69 media-libs/lcms:2=
70 >=media-libs/lensfun-0.2.5:=
71 media-libs/libpng:0=
72 media-libs/tiff:0=
73 virtual/jpeg:0=
74 fits? ( sci-libs/cfitsio:0= )
75 gnome? ( >=gnome-base/gconf-2 )
76 gtk? ( >=x11-libs/gtk+-2.6:2
77 >=media-gfx/gtkimageview-1.5 )
78 gimp? ( >=media-gfx/gimp-2 )
79 "
80 DEPEND="${RDEPEND}
81 virtual/pkgconfig"
82
83 src_prepare() {
84 epatch "${FILESDIR}"/${PN}-0.17-cfitsio-automagic.patch
85 eautoreconf
86 }
87
88 src_configure() {
89 econf \
90 $(use_enable contrast) \
91 $(use_with fits cfitsio) \
92 $(use_with gimp) \
93 $(use_enable gnome mime) \
94 $(use_with gtk) \
95 $(use_enable openmp) \
96 $(use_enable timezone dst-correction)
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 }