# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gnome2 mono eutils DESCRIPTION="F-Spot Photo Album" HOMEPAGE="http://gnome.org/projects/f-spot/" SRC_URI="http://ftp.gnome.org/Public/GNOME/sources/${PN}/0.1/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-lang/mono-1.1 >=dev-dotnet/gtk-sharp-1.9* >=dev-dotnet/gtkhtml-sharp-1.9* >=dev-dotnet/gconf-sharp-1.9* >=dev-dotnet/glade-sharp-1.9* >=dev-dotnet/gnomevfs-sharp-1.9* >=gnome-base/libgnome-2.2 >=gnome-base/libgnomeui-2.2 >=gnome-base/gconf-2 =media-libs/libgphoto2-2.1.4 media-libs/lcms media-libs/jpeg =dev-db/sqlite-2.8*" DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README" src_unpack() { unpack ${A} cd ${S} if has_version "<=media-libs/lcms-1.13-r1" || has_version "=media-libs/lcms-1.14"; then sed -i "s:lcms.h:lcms/lcms.h:" ${S}/configure.in || die "sed failed" sed -i "s:lcms.h:lcms/lcms.h:" ${S}/libeog/image-view.c || die "sed failed" fi autoconf || die "autoconf failed" }