blob: dcda56ab851010d79beed882fba0b80f8da8cdf3 (
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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/ristretto/ristretto-0.0.22.ebuild,v 1.1 2009/05/18 20:50:38 angelos 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
>=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
}
|