--- libxspf-1.2.0.ebuild +++ libxspf-1.2.0.ebuild @@ -2,8 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libxspf/libxspf-1.2.0.ebuild,v 1.7 2009/06/01 15:32:45 fmccor Exp $ -EAPI=2 -inherit eutils qt4 +EAPI=4 +inherit eutils DESCRIPTION="Playlist handling library" HOMEPAGE="http://libspiff.sourceforge.net" @@ -25,6 +25,10 @@ src_prepare() { epatch "${FILESDIR}"/${P}-gcc44.patch + + # do not install missing files + sed -e 's/gif,//' -i doc/Makefile* \ + -i bindings/c/doc/Makefile* || die "sed failed" } src_configure() { @@ -34,12 +38,3 @@ $(use_enable test) \ $(use_enable doc) } - -src_compile() { - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog NEWS README THANKS -}