# 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-r2.ebuild,v 1.1 2009/09/12 23:25:10 flameeyes Exp $ EAPI=2 GENTOO_PATCHLEVEL=1 inherit gnome2 mono eutils autotools DESCRIPTION="Personal photo management application for the gnome desktop" HOMEPAGE="http://f-spot.org" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="beagle" RDEPEND=">=dev-lang/mono-2.0 >=gnome-base/libgnome-2.2 >=gnome-base/libgnomeui-2.2 >=media-libs/libexif-0.6.16 =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" 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/"* eautoreconf } src_configure() { gnome2_src_configure --disable-static --disable-scrollkeeper } src_install() { gnome2_src_install find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" }