summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-10-23 21:05:58 +0200
committerPacho Ramos <pacho@gentoo.org>2015-10-23 21:05:58 +0200
commit213506bce99eff6c3a35b292b1d4b6a8209df9b3 (patch)
treea2141957261f85465fe425d1092912237bf21173 /app-cdr
parentx11-misc/netwmpager: Version bump, also fixes bug #500498 by Dmitry Vylegzhan... (diff)
downloadgentoo-213506bce99eff6c3a35b292b1d4b6a8209df9b3.tar.gz
gentoo-213506bce99eff6c3a35b292b1d4b6a8209df9b3.tar.bz2
gentoo-213506bce99eff6c3a35b292b1d4b6a8209df9b3.zip
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
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/nero/nero-4.0.0.0b-r1.ebuild (renamed from app-cdr/nero/nero-4.0.0.0b.ebuild)33
1 files 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
index bd2483dde97..a87e4c1d4a4 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() {