|
Lines 3-9
Link Here
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ufraw-0.16.ebuild,v 1.14 2010/01/31 17:45:56 armin76 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ufraw-0.16.ebuild,v 1.14 2010/01/31 17:45:56 armin76 Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI=2 |
5 |
EAPI=2 |
| 6 |
inherit fdo-mime gnome2-utils |
6 |
inherit autotools eutils fdo-mime gnome2-utils |
| 7 |
|
7 |
|
| 8 |
DESCRIPTION="RAW Image format viewer and GIMP plugin" |
8 |
DESCRIPTION="RAW Image format viewer and GIMP plugin" |
| 9 |
HOMEPAGE="http://ufraw.sourceforge.net/" |
9 |
HOMEPAGE="http://ufraw.sourceforge.net/" |
|
Lines 11-23
Link Here
|
| 11 |
|
11 |
|
| 12 |
LICENSE="GPL-2" |
12 |
LICENSE="GPL-2" |
| 13 |
SLOT="0" |
13 |
SLOT="0" |
| 14 |
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" |
14 |
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sh sparc x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" |
| 15 |
IUSE="contrast exif lensfun gimp gnome gtk hotpixels openmp timezone" |
15 |
IUSE="contrast exif fits gimp gnome gtk hotpixels lensfun openmp timezone" |
| 16 |
|
16 |
|
| 17 |
RDEPEND="media-libs/jpeg |
17 |
RDEPEND="media-libs/jpeg |
| 18 |
>=media-libs/lcms-1.13 |
18 |
>=media-libs/lcms-1.13 |
| 19 |
media-libs/tiff |
19 |
media-libs/tiff |
| 20 |
exif? ( >=media-gfx/exiv2-0.11 ) |
20 |
exif? ( >=media-gfx/exiv2-0.11 ) |
|
|
21 |
fits? ( sci-libs/cfitsio ) |
| 21 |
gnome? ( gnome-base/gconf ) |
22 |
gnome? ( gnome-base/gconf ) |
| 22 |
gtk? ( >=x11-libs/gtk+-2.6:2 |
23 |
gtk? ( >=x11-libs/gtk+-2.6:2 |
| 23 |
>=media-gfx/gtkimageview-1.5.0 ) |
24 |
>=media-gfx/gtkimageview-1.5.0 ) |
|
Lines 28-33
Link Here
|
| 28 |
DEPEND="${RDEPEND} |
29 |
DEPEND="${RDEPEND} |
| 29 |
dev-util/pkgconfig" |
30 |
dev-util/pkgconfig" |
| 30 |
|
31 |
|
|
|
32 |
src_prepare() { |
| 33 |
epatch "${FILESDIR}"/${P}-cfitsio-automagic.patch |
| 34 |
eautoreconf |
| 35 |
} |
| 36 |
|
| 31 |
src_configure() { |
37 |
src_configure() { |
| 32 |
local myconf |
38 |
local myconf |
| 33 |
use gimp && myconf="--with-gtk" |
39 |
use gimp && myconf="--with-gtk" |
|
Lines 36-41
Link Here
|
| 36 |
--without-cinepaint \ |
42 |
--without-cinepaint \ |
| 37 |
$(use_enable contrast) \ |
43 |
$(use_enable contrast) \ |
| 38 |
$(use_with exif exiv2) \ |
44 |
$(use_with exif exiv2) \ |
|
|
45 |
$(use_with fits cfitsio) \ |
| 39 |
$(use_with gimp) \ |
46 |
$(use_with gimp) \ |
| 40 |
$(use_enable gnome mime) \ |
47 |
$(use_enable gnome mime) \ |
| 41 |
$(use_with gtk) \ |
48 |
$(use_with gtk) \ |