--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -, +, @@ --- /usr/portage/app-cdr/dvdisaster/dvdisaster-0.72.2.ebuild 2011-09-20 16:55:08.106419049 +0200 +++ /usr/portage/app-cdr/dvdisaster/dvdisaster-0.72.1.ebuild 2011-09-20 17:06:20.053318543 +0200 @@ -1,15 +1,15 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdisaster/dvdisaster-0.72.2.ebuild,v 1.1 2011/09/16 23:39:27 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdisaster/dvdisaster-0.72.1.ebuild,v 1.3 2011/09/15 02:24:21 ssuominen Exp $ -EAPI=2 +EAPI=4 inherit eutils gnome2-utils versionator MY_P=${PN}-$(replace_version_separator 2 '.') DESCRIPTION="Data-protection and recovery tool for DVDs" -HOMEPAGE="http://dvdisaster.net/" -SRC_URI="http://dvdisaster.net/downloads/${P}.tar.bz2" +HOMEPAGE="http://dvdisaster.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" LICENSE="GPL-2" KEYWORDS="~amd64 ~ppc ~x86" @@ -24,6 +24,10 @@ S=${WORKDIR}/${MY_P} +src_prepare() { + epatch "${FILESDIR}"/${P}-libpng15.patch +} + # - There is no autotools, use_ functions won't work # - NLS disabled because sys-devel/gettext fails, if you enable it # you need also virtual/libintl because it links to it for FreeBSD @@ -47,12 +51,11 @@ --localedir=/usr/share/locale \ --buildroot="${D}" \ --with-nls=no \ - ${myconf} \ - || die "./configure failed" + ${myconf} || die } src_install() { - emake install || die "emake install failed" + emake install newicon contrib/${PN}48.png ${PN}.png make_desktop_entry ${PN} ${PN} ${PN} "System;Utility"