# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools DESCRIPTION="Small GTK util to show EXIF infos hidden in JPEG files" SRC_URI="mirror://sourceforge/libexif/${P}.tar.gz" HOMEPAGE="http://libexif.sf.net" LICENSE="GPL-2" KEYWORDS="~x86" SLOT="0" IUSE="nls" RDEPEND=">=x11-libs/gtk+-2 >=media-libs/libexif-0.5.9 >=media-libs/libexif-gtk-0.3.3 nls? ( sys-devel/gettext )" DEPEND="${RDEPEND}" src_unpack() { unpack ${A} cd ${S} # GTK 2.4 Fix sed -e '/GTK_DISABLE_DEPRECATED/d' gexif/Makefile.am >gexif/Makefile.am.new \ && mv gexif/Makefile.am.new gexif/Makefile.am automake || die "automake failed" } src_compile() { econf $(use_enable nls) || die "configure failed" emake || die "parallel make failed" } src_install () { make DESTDIR=${D} install || die "make install failed" dodoc AUTHORS ChangeLog use nls || rm -fr ${D}/usr/share/locale }