summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/f-spot/f-spot-0.3.2.ebuild')
-rw-r--r--media-gfx/f-spot/f-spot-0.3.2.ebuild71
1 files changed, 71 insertions, 0 deletions
diff --git a/media-gfx/f-spot/f-spot-0.3.2.ebuild b/media-gfx/f-spot/f-spot-0.3.2.ebuild
new file mode 100644
index 000000000000..34db0f887da9
--- /dev/null
+++ b/media-gfx/f-spot/f-spot-0.3.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2007 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.3.2.ebuild,v 1.1 2007/01/24 06:36:20 joem Exp $
+
+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=""
+
+RDEPEND=">=dev-lang/mono-1.1.10
+|| ( >=dev-libs/dbus-glib-0.71
+ ( <sys-apps/dbus-0.90 >=sys-apps/dbus-0.35 ) )
+ >=dev-libs/glib-2
+ >=x11-libs/gtk+-2.6
+ >=dev-dotnet/gtk-sharp-2.7
+ >=dev-dotnet/gtkhtml-sharp-2.7
+ >=dev-dotnet/gconf-sharp-2.7
+ >=dev-dotnet/glade-sharp-2.7
+ >=dev-dotnet/gnomevfs-sharp-2.7
+ >=gnome-base/libgnome-2.2
+ >=gnome-base/libgnomeui-2.2
+ >=media-libs/libexif-0.6
+ <media-libs/libexif-0.7.0
+ >=media-libs/libgphoto2-2.1.4
+ >=media-libs/lcms-1.14
+ media-libs/jpeg
+ >=dev-db/sqlite-3"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=dev-util/intltool-0.29"
+
+USE_DESTDIR="1"
+DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
+
+#pkg_setup()
+#{
+ #if ! built_with_use sys-apps/dbus mono ; then
+ # echo
+ # eerror "In order to compile f-spot, you need to have sys-apps/dbus emerged"
+ # eerror "with 'mono' in your USE flags. Please add that flag, re-emerge"
+ # eerror "dbus, and then emerge f-spot."
+ # die "sys-apps/dbus is missing the .NET binding."
+ #fi
+#}
+
+src_unpack()
+{
+ unpack ${A}
+ cd ${S}
+
+ # Gentoo uses older EXIF so name for now
+ sed -i -e 's/EXIF_SOVERSION=12/EXIF_SOVERSION=10/' configure.in
+
+ # Multilib fix
+ sed -i -e 's:prefix mono`/lib:libdir mono`:' \
+ configure.in || die "sed failed"
+
+ #older versions put headers in wrong spot, see #100269
+ 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
+
+ eautoconf || die "autoconf failed"
+}
+