commit:     213506bce99eff6c3a35b292b1d4b6a8209df9b3
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 23 19:05:58 2015 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Oct 23 19:05:58 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=213506bc

app-cdr/nero: This is now fetch restricted, also bump eapi (#510594 by Ben 
Kohler, Gokturk Yuksek, Brendan Horan and Leonid Kopylov)

Package-Manager: portage-2.2.23

 ...ero-4.0.0.0b.ebuild => nero-4.0.0.0b-r1.ebuild} | 33 ++++++++++++++--------
 1 file changed, 21 insertions(+), 12 deletions(-)

diff --git a/app-cdr/nero/nero-4.0.0.0b.ebuild 
b/app-cdr/nero/nero-4.0.0.0b-r1.ebuild
similarity index 79%
rename from app-cdr/nero/nero-4.0.0.0b.ebuild
rename to app-cdr/nero/nero-4.0.0.0b-r1.ebuild
index bd2483d..a87e4c1 100644
--- a/app-cdr/nero/nero-4.0.0.0b.ebuild
+++ b/app-cdr/nero/nero-4.0.0.0b-r1.ebuild
@@ -2,25 +2,29 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils fdo-mime rpm multilib gnome2-utils linux-info
 
 DESCRIPTION="Nero Burning ROM for Linux"
 HOMEPAGE="http://nerolinux.nero.com";
-SRC_URI="x86? ( mirror://${PN}/${PN}linux-${PV}-x86.rpm )
-       amd64? ( mirror://${PN}/${PN}linux-${PV}-x86_64.rpm )"
+SRC_URI="
+       x86? ( ${PN}linux-${PV}-x86.rpm )
+       amd64? ( ${PN}/${PN}linux-${PV}-x86_64.rpm )
+"
 
 LICENSE="Nero-EULA-US"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc"
 
-RESTRICT="strip mirror test"
+RESTRICT="strip mirror test fetch"
 
-RDEPEND="x11-libs/gtk+:2
+RDEPEND="
+       x11-libs/gtk+:2
        x11-libs/libX11
        x11-libs/libXinerama
-       x11-libs/pango[X]"
+       x11-libs/pango[X]
+"
 DEPEND=""
 
 QA_TEXTRELS="opt/${PN}/$(get_libdir)/${PN}/*
@@ -33,7 +37,17 @@ QA_PREBUILT="opt/${PN}/${PN}.*
        opt/${PN}/$(get_libdir)/${PN}/plug-ins/*
        usr/share/${PN}/helpers/splash/nerosplash"
 
-S=${WORKDIR}
+S="${WORKDIR}"
+
+pkg_nofetch() {
+       local nero_arch
+       use amd64 && nero_arch=64
+       use x86 && ner_arch=32
+
+       einfo "Please visit 
http://www.nero.com/enu/downloads/previous-versions/download-linux4-update.php";
+       einfo " and use the 'RPM package ${nero_arch} bit' download then place 
${A}"
+       einfo " into ${DISTDIR}"
+}
 
 pkg_setup() {
        CONFIG_CHECK="~CHR_DEV_SG"
@@ -78,11 +92,6 @@ pkg_postinst() {
        fdo-mime_mime_database_update
        gnome2_icon_cache_update
        nero --perform-post-installation
-
-       elog "Technical support for NeroLINUX is provided by CDFreaks"
-       elog "Linux forum at http://club.cdfreaks.com/forumdisplay.php?f=104";
-       elog
-       elog "You also need to setup your user to cdrom group."
 }
 
 pkg_postrm() {

Reply via email to