# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils libtool 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 ~ppc ~sparc ~alpha" SLOT="0" IUSE="nls" DEPEND=">=x11-libs/gtk+-2 >=media-libs/libexif-0.5.9 >=media-libs/libexif-gtk-0.3.3" src_unpack() { unpack ${A} cd ${S} # Apply gexif-0.5-gtk_2.4_fix-1.patch epatch ${FILESDIR}/${P}-gtk_2.4_fix-1.patch } src_compile() { elibtoolize local myconf econf \ ${myconf} \ $(use_enable nls) \ || die "configure failed" emake || die "parallel make failed" } src_install () { make DESTDIR=${D} install || die dodoc AUTHORS ChangeLog README NEWS use nls || rm -rf ${D}/usr/share/locale }