blob: 48d323e2142b07f998c88bb09a36d712b3ab1662 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gtkam/gtkam-0.1.18.ebuild,v 1.5 2012/05/24 13:58:49 ssuominen Exp $
EAPI="4"
GCONF_DEBUG="yes"
inherit eutils gnome2
DESCRIPTION="A frontend for gPhoto 2"
HOMEPAGE="http://gphoto.org/proj/gtkam"
SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc ~sparc x86"
IUSE="gimp gnome nls"
# FIXME: why is exif not optional ?
RDEPEND="x11-libs/gtk+:2
>media-libs/libgphoto2-2.4
>=media-libs/libexif-0.3.2
media-libs/libexif-gtk
gimp? ( >=media-gfx/gimp-2 )
gnome? (
>=gnome-base/libbonobo-2
>=gnome-base/libgnomeui-2 )"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.40
virtual/pkgconfig
app-text/scrollkeeper
nls? ( >=sys-devel/gettext-0.14.1 )"
pkg_setup() {
DOCS="AUTHORS CHANGES NEWS README TODO"
G2CONF="${G2CONF}
$(use_with gimp)
$(use_with gnome)
$(use_with gnome bonobo)
$(use_enable nls)
--disable-scrollkeeper
--with-rpmbuild=/bin/false"
}
src_prepare() {
gnome2_src_prepare
# Fix .desktop validity, bug #271569
epatch "${FILESDIR}/${PN}-0.1.18-desktop-validation.patch"
}
src_install() {
gnome2_src_install
rm -rf "${ED}"/usr/share/doc/gtkam || die "rm failed"
}
|