diff options
author | Joe McCann <joem@gentoo.org> | 2006-02-03 07:50:00 +0000 |
---|---|---|
committer | Joe McCann <joem@gentoo.org> | 2006-02-03 07:50:00 +0000 |
commit | 96e169299d18d66bcf0e43e4f2dee970f9d62880 (patch) | |
tree | de5891d2a3fce06a4aed4d1ce1692ecf81795d7b /media-gfx/f-spot/f-spot-0.1.8.ebuild | |
parent | (#121394) Filter -fweb, because it causes window corruption. (diff) | |
download | gentoo-2-96e169299d18d66bcf0e43e4f2dee970f9d62880.tar.gz gentoo-2-96e169299d18d66bcf0e43e4f2dee970f9d62880.tar.bz2 gentoo-2-96e169299d18d66bcf0e43e4f2dee970f9d62880.zip |
New release with plenty of bug fixes and new features
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'media-gfx/f-spot/f-spot-0.1.8.ebuild')
-rw-r--r-- | media-gfx/f-spot/f-spot-0.1.8.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/media-gfx/f-spot/f-spot-0.1.8.ebuild b/media-gfx/f-spot/f-spot-0.1.8.ebuild new file mode 100644 index 000000000000..9f51e60a45ef --- /dev/null +++ b/media-gfx/f-spot/f-spot-0.1.8.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2006 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.1.8.ebuild,v 1.1 2006/02/03 07:50:00 joem Exp $ + +inherit gnome2 mono eutils + +DESCRIPTION="Personal photo management application for the gnome desktop" +HOMEPAGE="http://f-spot.org" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-1.1.7 + >=sys-apps/dbus-0.30 + >=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-2.8*" + +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 + + autoconf || die "autoconf failed" +} + |