update repo
This commit is contained in:
5
app-cdr/nero/Manifest
Normal file
5
app-cdr/nero/Manifest
Normal file
@@ -0,0 +1,5 @@
|
||||
AUX nero-4.0.0.0b-qa-desktop-files.patch 1072 BLAKE2B dbf4c8fdd85a6f08bacc7f78b318869b23ebf3c4b5728e7f35f22bc71f4bd2fd9ad2cf45256ae3c87da2302e367384794d20ddf287ddd1ce2c74444b2a18d2cb SHA512 4193e7fd12daac29e99928fd1e117fa5cb110a6ced2c2b294779d8b74b5c9c3bd1c971bd80e6a42d24e818d54cbcf44f827ef8ae22d54795e5e34e732e589afa
|
||||
AUX nero.conf 3 BLAKE2B 35b0eb8092de32b42087817682cb2aec1464a23710bbeb04dd09fdd9b96caba7769cb834d2062b7e74b0d123de8bf879ceb608886f1b3b897e74530d12ad320b SHA512 a0a16b7bfe763b0a4431cd3e54061b5ab9468f0a6dfff05c92cee4db36f16818e58438d2ec8389b92bb2081b67c0dc66d3becc1b041291969a2117feb07b0069
|
||||
DIST nerolinux-4.0.0.0b-x86.rpm 17391650 BLAKE2B 4d78b4fa09ba45709af0ff87dea28cf24e1d04f8dee2fab1432215ee0707e398f9564c05f5f6999da912ff1e163d08687c8db99498a0c90e469a524684543759 SHA512 2168f87d329054803b6ac33f671aeaee59f5b9e22fb07c23347ae519d63fc4547db9d6e535f58468f2fba4ac274399f934a34d828892ae93e75cf2c2b46d44c7
|
||||
DIST nerolinux-4.0.0.0b-x86_64.rpm 17559298 BLAKE2B 5e7cc99c4710bcafbc9b6eebfa7b5670534a4f6b4011d3ff756fc936375b7ef6a466c474f3065516a09455b8bf35b8f3db145aedca497293e2915a53ef2dbae5 SHA512 0e5d6c1c9f99b6c149a72f544c6ec7608e9ded4c0d31a7754785a0d16fb3ad77d9d82cc210617104ac6dc2470b3df778cdf132be86a0591813e7a867d3c75a51
|
||||
EBUILD nero-4.0.0.0b-r3.ebuild 2605 BLAKE2B eb48ce2e25c44d6cfa79b4f77cc42011383c7a0e53ec73d95e94a5998e241e9b9154b04eecf136243ef6c73ec9a0d0de9b8462a80a62b874dc283b8ba2c2eda0 SHA512 1901fe97536a9db0a0cc7754c4ae4ddef981914817e93f35848243c2cba49ac1e4232ccda62ef9677d946597fe77b47b49df59e8e17f456039cb74cc93f13297
|
||||
23
app-cdr/nero/files/nero-4.0.0.0b-qa-desktop-files.patch
Normal file
23
app-cdr/nero/files/nero-4.0.0.0b-qa-desktop-files.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
Fix QA issues caused by outdated .desktop files:
|
||||
* QA Notice: This package installs one or more .desktop files that do not
|
||||
* pass validation.
|
||||
*
|
||||
* /usr/share/applications/nerolinux.desktop: warning:
|
||||
* key "Categories" in group "Desktop Entry" contains a deprecated value "Application"
|
||||
|
||||
--- a/usr/share/applications/nerolinux.desktop
|
||||
+++ b/usr/share/applications/nerolinux.desktop
|
||||
@@ -53,4 +53,4 @@
|
||||
Icon=nerolinux
|
||||
MimeType=application/x-cd-image;application/x-iso;application/x-cue;application/x-nero-disc-image;application/x-nero-linux-compilation
|
||||
Terminal=false
|
||||
-Categories=Application;AudioVideo;DiscBurning;Recorder;
|
||||
+Categories=AudioVideo;DiscBurning;Recorder;
|
||||
--- a/usr/share/applications/nerolinuxexpress.desktop
|
||||
+++ b/usr/share/applications/nerolinuxexpress.desktop
|
||||
@@ -53,4 +53,4 @@
|
||||
Icon=nerolinuxexpress
|
||||
MimeType=application/x-cd-image;application/x-iso;application/x-cue;application/x-nero-disc-image;application/x-nero-linux-compilation
|
||||
Terminal=false
|
||||
-Categories=Application;AudioVideo;DiscBurning;Recorder;
|
||||
+Categories=AudioVideo;DiscBurning;Recorder;
|
||||
1
app-cdr/nero/files/nero.conf
Normal file
1
app-cdr/nero/files/nero.conf
Normal file
@@ -0,0 +1 @@
|
||||
sg
|
||||
109
app-cdr/nero/nero-4.0.0.0b-r3.ebuild
Normal file
109
app-cdr/nero/nero-4.0.0.0b-r3.ebuild
Normal file
@@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils gnome2-utils linux-info rpm xdg-utils
|
||||
|
||||
DESCRIPTION="Nero Burning ROM for Linux"
|
||||
HOMEPAGE="http://nerolinux.nero.com"
|
||||
SRC_URI="
|
||||
x86? ( http://d.alexhaack.de/archiv/linux/nero-linux/${PN}linux-${PV}-x86.rpm )
|
||||
amd64? ( http://d.alexhaack.de/archiv/linux/nero-linux/${PN}/${PN}linux-${PV}-x86_64.rpm )"
|
||||
|
||||
LICENSE="Nero-EULA-US"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc"
|
||||
|
||||
RESTRICT="strip mirror test"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXinerama
|
||||
x11-libs/pango[X]"
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-qa-desktop-files.patch )
|
||||
|
||||
pkg_nofetch() {
|
||||
local nero_arch
|
||||
use amd64 && nero_arch=64
|
||||
use x86 && ner_arch=32
|
||||
|
||||
einfo "Please visit https://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() {
|
||||
QA_TEXTRELS="opt/${PN}/$(get_libdir)/${PN}/*
|
||||
opt/${PN}/$(get_libdir)/libNeroAPI.so"
|
||||
QA_EXECSTACK="opt/${PN}/$(get_libdir)/nero/*"
|
||||
QA_PREBUILT="opt/${PN}/${PN}.*
|
||||
opt/${PN}/${PN}
|
||||
opt/${PN}/$(get_libdir)/.*so
|
||||
opt/${PN}/$(get_libdir)/${PN}/*
|
||||
opt/${PN}/$(get_libdir)/${PN}/plug-ins/*
|
||||
usr/share/${PN}/helpers/splash/nerosplash"
|
||||
|
||||
CONFIG_CHECK="~CHR_DEV_SG"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc
|
||||
doins -r etc/nero
|
||||
|
||||
insinto /etc/modules-load.d
|
||||
doins ${FILESDIR}/nero.conf
|
||||
|
||||
insinto /opt/nero
|
||||
doins -r usr/$(get_libdir)
|
||||
dosym /opt/nero/$(get_libdir)/nero /usr/$(get_libdir)/nero
|
||||
|
||||
exeinto /opt/nero
|
||||
doexe usr/bin/nero*
|
||||
|
||||
insinto /usr/share
|
||||
doins -r usr/share/nero usr/share/locale usr/share/icons
|
||||
|
||||
domenu usr/share/applications/*.desktop
|
||||
doicon usr/share/pixmaps/nerolinux.xpm
|
||||
|
||||
doman usr/share/man/man1/*
|
||||
|
||||
use doc && local DOCS+=( usr/share/doc/nero/*.pdf )
|
||||
einstalldocs
|
||||
|
||||
make_wrapper nero ./nero /opt/nero /opt/${PN}/$(get_libdir)
|
||||
make_wrapper nerocmd ./nerocmd /opt/nero /opt/nero/$(get_libdir)
|
||||
make_wrapper neroexpress ./neroexpress /opt/nero /opt/nero/$(get_libdir)
|
||||
|
||||
# This is a ugly hack to fix burning in x86_64
|
||||
# http://club.cdfreaks.com/showthread.php?t=218041
|
||||
if use amd64; then
|
||||
cp usr/share/nero/Nero*.txt "${ED%/}"/opt/nero/$(get_libdir)/nero || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
nero --perform-post-installation || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user