Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/ufraw: ChangeLog ufraw-0.18.ebuild
Date: Sun, 01 May 2011 17:27:10
Message-Id: 20110501172659.9D04B20054@flycatcher.gentoo.org
1 robbat2 11/05/01 17:26:59
2
3 Modified: ChangeLog
4 Added: ufraw-0.18.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.86 media-gfx/ufraw/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?rev=1.86&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?rev=1.86&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?r1=1.85&r2=1.86
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v
20 retrieving revision 1.85
21 retrieving revision 1.86
22 diff -p -w -b -B -u -u -r1.85 -r1.86
23 --- ChangeLog 12 Mar 2011 10:28:18 -0000 1.85
24 +++ ChangeLog 1 May 2011 17:26:59 -0000 1.86
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/ufraw
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.85 2011/03/12 10:28:18 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.86 2011/05/01 17:26:59 robbat2 Exp $
30 +
31 +*ufraw-0.18 (01 May 2011)
32 +
33 + 01 May 2011; Robin H. Johnson <robbat2@g.o> +ufraw-0.18.ebuild:
34 + Version bump.
35
36 12 Mar 2011; Tim Harder <radhermit@g.o> -ufraw-0.15-r1.ebuild,
37 -files/ufraw-0.15-configure.patch, -files/ufraw-0.15-glibc-2.10.patch:
38
39
40
41 1.1 media-gfx/ufraw/ufraw-0.18.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ufraw-0.18.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ufraw-0.18.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ufraw-0.18.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.18.ebuild,v 1.1 2011/05/01 17:26:59 robbat2 Exp $
51
52 EAPI=2
53 inherit fdo-mime gnome2-utils eutils autotools
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 ~sh ~sparc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
62 IUSE="contrast fits gimp gnome gtk openmp timezone"
63
64 RDEPEND="
65 >=media-gfx/exiv2-0.11
66 virtual/jpeg
67 =media-libs/lcms-1*
68 >=media-libs/lensfun-0.2.5
69 media-libs/tiff
70 fits? ( sci-libs/cfitsio )
71 gnome? ( gnome-base/gconf )
72 gtk? ( >=x11-libs/gtk+-2.6:2
73 >=media-gfx/gtkimageview-1.5.0 )
74 gimp? ( >=x11-libs/gtk+-2.6:2
75 >=media-gfx/gtkimageview-1.5.0
76 >=media-gfx/gimp-2.0 )"
77 DEPEND="${RDEPEND}
78 dev-util/pkgconfig"
79
80 src_prepare() {
81 epatch "${FILESDIR}"/${PN}-0.17-cfitsio-automagic.patch
82 eautoreconf
83 }
84
85 src_configure() {
86 local myconf
87 use gimp && myconf="--with-gtk"
88
89 econf \
90 --without-cinepaint \
91 $(use_enable contrast) \
92 $(use_with fits cfitsio) \
93 $(use_with gimp) \
94 $(use_enable gnome mime) \
95 $(use_with gtk) \
96 $(use_enable openmp) \
97 $(use_enable timezone dst-correction) \
98 ${myconf}
99 }
100
101 src_install() {
102 emake DESTDIR="${D}" install || die
103 dodoc README TODO || die
104 }
105
106 pkg_postinst() {
107 if use gnome; then
108 fdo-mime_mime_database_update
109 fdo-mime_desktop_database_update
110 gnome2_gconf_install
111 fi
112 }
113
114 pkg_postrm() {
115 if use gnome; then
116 fdo-mime_desktop_database_update
117 fdo-mime_mime_database_update
118 fi
119 }