blob: da8eebc28c415b026b90dbf2612132829c5d1e5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gthumb/gthumb-2.11.2.1.ebuild,v 1.3 2010/05/15 17:05:22 armin76 Exp $
EAPI=2
inherit autotools eutils gnome2
DESCRIPTION="Image viewer and browser for Gnome"
HOMEPAGE="http://gthumb.sourceforge.net"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="exif gnome-keyring gstreamer http raw tiff test"
# clutter
RDEPEND=">=dev-libs/glib-2.16:2
>=x11-libs/gtk+-2.16:2
>=gnome-base/gconf-2.6
>=dev-libs/libunique-1
media-libs/jpeg
exif? ( >=media-gfx/exiv2-0.18 )
gnome-keyring? ( >=gnome-base/gnome-keyring-2.28 )
gstreamer? (
>=media-libs/gstreamer-0.10
>=media-libs/gst-plugins-base-0.10 )
http? (
>=net-libs/libsoup-2.26:2.4
>=net-libs/libsoup-gnome-2.26:2.4 )
tiff? ( media-libs/tiff )
raw? ( >=media-libs/libopenraw-0.0.8 )
!raw? ( media-gfx/dcraw )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
app-text/scrollkeeper
>=dev-util/intltool-0.35
app-text/gnome-doc-utils
test? ( ~app-text/docbook-xml-dtd-4.1.2 )"
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
G2CONF="${G2CONF}
--disable-static
--disable-clutter
$(use_enable exif exiv2)
$(use_enable gstreamer)
$(use_enable gnome-keyring)
$(use_enable http libsoup)
$(use_enable raw libopenraw)
$(use_enable test test-suite)
$(use_enable tiff)"
}
src_prepare() {
gnome2_src_prepare
# Do not require unstable libunique
epatch "${FILESDIR}/${P}-configure.patch"
intltoolize --force --copy --automake || die "intltoolize failed"
eautoreconf
}
src_install() {
gnome2_src_install
# gthumb does not need *.la files
find "${D}" -name "*.la" -delete || die "*.la files removal failed"
}
|