blob: a89ce851a715d8675b5ce11df47f872781b9a57d (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/ristretto/ristretto-0.0.21.ebuild,v 1.8 2010/01/15 02:33:27 ssuominen Exp $
inherit fdo-mime gnome2-utils
DESCRIPTION="Image viewer and browser for Xfce4"
HOMEPAGE="http://goodies.xfce.org/projects/applications/ristretto"
SRC_URI="http://goodies.xfce.org/releases/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
IUSE="debug"
RDEPEND="media-libs/libexif
>=x11-libs/gtk+-2.10
>=dev-libs/glib-2.12
dev-libs/dbus-glib
<xfce-base/thunar-1.1.0
>=xfce-base/libxfce4util-4.4
>=xfce-base/libxfcegui4-4.4"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/intltool
sys-devel/gettext"
src_compile() {
local myconf="--disable-dependency-tracking"
if has_version ">=xfce-base/xfdesktop-4.5"; then
myconf+=" --enable-xfce-desktop"
fi
econf ${myconf} $(use_enable debug)
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
}
|