# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/media-libs/libexif-gtk/libexif-gtk-0.3.3.ebuild,v 1.6 2004/02/22 15:18:31 brad_mssw Exp $ inherit flag-o-matic IUSE="nls" S=${WORKDIR}/${P} DESCRIPTION="GTK frontend to the libexif library (parsing, editing, and saving EXIF data)" SRC_URI="mirror://sourceforge/libexif/${P}.tar.gz" HOMEPAGE="http://libexif.sf.net/" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ~ppc ~sparc ~alpha amd64" DEPEND="dev-util/pkgconfig >=x11-libs/gtk+-2.0 >=media-libs/libexif-0.5.9" src_compile() { local myconf use nls || myconf="${myconf} --disable-nls" econf ${myconf} #fix gtk+2-4 issues epatch ${FILESDIR}/gtk+-2.4.patch emake || die } src_install() { dodir /usr/lib dodir /usr/include/libexif-gtk dodir /usr/share/locale dodir /usr/lib/pkgconfig einstall || die }