diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-cdr/nero | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-cdr/nero')
-rw-r--r-- | app-cdr/nero/Manifest | 5 | ||||
-rw-r--r-- | app-cdr/nero/files/nero-4.0.0.0b-qa-desktop-files.patch | 23 | ||||
-rw-r--r-- | app-cdr/nero/metadata.xml | 8 | ||||
-rw-r--r-- | app-cdr/nero/nero-4.0.0.0b-r2.ebuild | 106 |
4 files changed, 142 insertions, 0 deletions
diff --git a/app-cdr/nero/Manifest b/app-cdr/nero/Manifest new file mode 100644 index 000000000000..9518988cbbce --- /dev/null +++ b/app-cdr/nero/Manifest @@ -0,0 +1,5 @@ +AUX nero-4.0.0.0b-qa-desktop-files.patch 1072 BLAKE2B dbf4c8fdd85a6f08bacc7f78b318869b23ebf3c4b5728e7f35f22bc71f4bd2fd9ad2cf45256ae3c87da2302e367384794d20ddf287ddd1ce2c74444b2a18d2cb SHA512 4193e7fd12daac29e99928fd1e117fa5cb110a6ced2c2b294779d8b74b5c9c3bd1c971bd80e6a42d24e818d54cbcf44f827ef8ae22d54795e5e34e732e589afa +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-r2.ebuild 2462 BLAKE2B 9d7138ce92315a9cd9e78f53eefee54f90a8a088e653c82d3975b01303adb37e3cbabce0a333215e72e3f46a8f0f3f604c33e4664796733c52341a7ca6995a41 SHA512 bdcfa17d8a53711e390dd43ecf61b968b5c3d62a854635829928dd360e032b614b7463151fb0f1c5e07722cdb77a700a4261d94cc37219da00276b7279ccd239 +MISC metadata.xml 244 BLAKE2B bd2c6209566a4936a38d9109a9a533aa1669dd50701ff8a96d2a65411aa692517ab70cafd98afcad7058979d62f1a7ac796c5b99a520c0f6ca1ed92cf9e0e207 SHA512 57959095dc10704e073e5517ac49ceee80e42fb1cc3f26b1b7308f872ffda810ce42e0b80ea6da57faa7a759878a9b8d2476fe351fecac1450f9c83751802787 diff --git a/app-cdr/nero/files/nero-4.0.0.0b-qa-desktop-files.patch b/app-cdr/nero/files/nero-4.0.0.0b-qa-desktop-files.patch new file mode 100644 index 000000000000..2145678db0f6 --- /dev/null +++ b/app-cdr/nero/files/nero-4.0.0.0b-qa-desktop-files.patch @@ -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; diff --git a/app-cdr/nero/metadata.xml b/app-cdr/nero/metadata.xml new file mode 100644 index 000000000000..70f78a5392df --- /dev/null +++ b/app-cdr/nero/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>soap@gentoo.org</email> + <name>David Seifert</name> + </maintainer> +</pkgmetadata> diff --git a/app-cdr/nero/nero-4.0.0.0b-r2.ebuild b/app-cdr/nero/nero-4.0.0.0b-r2.ebuild new file mode 100644 index 000000000000..bed8d5a44fb7 --- /dev/null +++ b/app-cdr/nero/nero-4.0.0.0b-r2.ebuild @@ -0,0 +1,106 @@ +# 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? ( ${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 fetch" + +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 /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 +} |