# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/ristretto/ristretto-0.0.17.ebuild,v 1.1 2008/06/22 20:49:18 drac 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() { econf --disable-dependency-tracking $(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 }