blob: fa4f39fb4fdd4d2ea396e5d0c71da44e0ebc62c7 (
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
70
71
72
73
74
75
76
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/f-spot-0.6.1.1-r3.ebuild,v 1.1 2009/09/12 23:25:10 flameeyes Exp $
EAPI=2
GENTOO_PATCHLEVEL=1
inherit gnome2 mono eutils autotools multilib
DESCRIPTION="Personal photo management application for the gnome desktop"
HOMEPAGE="http://f-spot.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="beagle flickr"
RDEPEND=">=dev-lang/mono-2.0
>=gnome-base/libgnome-2.2
>=gnome-base/libgnomeui-2.2
>=media-libs/libexif-0.6.16
<media-libs/libexif-0.7.0
>=dev-dotnet/gtk-sharp-2.12.2
>=dev-dotnet/glib-sharp-2.12.2
>=dev-dotnet/glade-sharp-2.12.2
>=dev-dotnet/gnomevfs-sharp-2.12.2
>=x11-libs/gtk+-2.14
>=dev-libs/glib-2.16
>=dev-dotnet/gnome-sharp-2.8
>=dev-dotnet/glib-sharp-2.12
>=dev-dotnet/gconf-sharp-2.12.2
beagle? ( >=app-misc/beagle-0.3.0 )
>=dev-libs/dbus-glib-0.71
>=dev-dotnet/dbus-sharp-0.4.2
>=dev-dotnet/dbus-glib-sharp-0.3.0
media-libs/jpeg
>=media-libs/lcms-1.12
>=media-libs/libgphoto2-2.1.4
>=dev-db/sqlite-3
flickr? ( dev-dotnet/flickrnet-bin )"
DEPEND="${RDEPEND}
>=dev-dotnet/gtk-sharp-gapi-2.12.2
app-text/gnome-doc-utils
dev-util/pkgconfig
>=dev-util/intltool-0.35"
SRC_URI="${SRC_URI}
mirror://gentoo/${P}-gentoo-${GENTOO_PATCHLEVEL}.tar.bz2"
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
SCROLLKEEPER_UPDATE=0
src_prepare() {
sed -r -i -e 's:-D[A-Z]+_DISABLE_DEPRECATED::g' \
lib/libfspot/Makefile.am
epatch "${WORKDIR}/${P}-patches/"*
if ! use flickr; then
sed -i -e '/FlickrExport/d' extensions/Exporters/Makefile.am || die
fi
eautoreconf
}
src_configure() {
gnome2_src_configure --disable-static --disable-scrollkeeper \
--with-flickrnet=/usr/$(get_libdir)/mono/FlickrNet/FlickrNet.dll
}
src_install() {
gnome2_src_install
find "${D}" -name '*.la' -delete || die "la removal failed"
}
|