diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-cdr/nero |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-cdr/nero')
-rw-r--r-- | app-cdr/nero/Manifest | 7 | ||||
-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, 144 insertions, 0 deletions
diff --git a/app-cdr/nero/Manifest b/app-cdr/nero/Manifest new file mode 100644 index 000000000000..d5f9e703a057 --- /dev/null +++ b/app-cdr/nero/Manifest @@ -0,0 +1,7 @@ +AUX nero-4.0.0.0b-qa-desktop-files.patch 1072 SHA256 af24bdf8b83bfd0b43223aacd457aba8bc083a3c931166c1d71b422a2059fcd8 SHA512 4193e7fd12daac29e99928fd1e117fa5cb110a6ced2c2b294779d8b74b5c9c3bd1c971bd80e6a42d24e818d54cbcf44f827ef8ae22d54795e5e34e732e589afa WHIRLPOOL 6205085f7e13e97e2473bc3b5ec4cad505c38afd7e4bc27d5b7295ebae64d6ac1e8356bf62cb6c0a1233cb3e9d7fb0ae9762593c0dbbc80787b58f13390d30f7 +DIST nerolinux-4.0.0.0b-x86.rpm 17391650 SHA256 03ec02c35f6f6dce4315d396b79b50031e507194475d2e6e24326f96dbfe9465 SHA512 2168f87d329054803b6ac33f671aeaee59f5b9e22fb07c23347ae519d63fc4547db9d6e535f58468f2fba4ac274399f934a34d828892ae93e75cf2c2b46d44c7 WHIRLPOOL 9125e2873b35f13595780eb13b38cf3cfae7a3e119869253d329d1bb2452f5ad6b93d2fa9a390be8f4832e7b82147b915c33641134fee6244f52675ee119add3 +DIST nerolinux-4.0.0.0b-x86_64.rpm 17559298 SHA256 a68101eca1095cf523cd7cb39132f5c0b2ae98cc7fe0a8d89590285b59e78965 SHA512 0e5d6c1c9f99b6c149a72f544c6ec7608e9ded4c0d31a7754785a0d16fb3ad77d9d82cc210617104ac6dc2470b3df778cdf132be86a0591813e7a867d3c75a51 WHIRLPOOL a44e9e1fd6aea7d2fb8a95c7e02e5537dd55cb2b4ad85bb0696fae77d346e71fb5ce81b1843f2c198c13fe32dbbdb55a4a28cbeec7d81194e9ba3edba083c855 +EBUILD nero-4.0.0.0b-r2.ebuild 2473 SHA256 559090819fa2842dd9dca72315361c727ff7fb98511a9935900e37db80470b0b SHA512 8bdfac22773c3aff2fec5a5e19998738d30b4acbfc4b63e4ebadaed4b6fca59f3f06385b350b198cbb3c756478d170941b1b5650a73cb86a8c88115f8894a06b WHIRLPOOL 4964bf54467cc92ade21a4c560db4f045f9c3146c4c98221b6c43b19ce850df0fd82016a1a9b679931f0d2350b64b71c09a72bc8414b208f3a74ac36ea695094 +MISC ChangeLog 3087 SHA256 e6a623dea46ddd2381fa8e8bafa92235dfbe99c87edfbd5f1d4fc80dac51ca9d SHA512 56260f321521f9611fa8b179e18cf0f6833479ed0016adcd2fbce18338c52607a325761c09abf2f924248b570b5ee6f673ad6054f5a4de5c89a9c6911dba3e4c WHIRLPOOL 5390c108b11f44f5b71ff697d1bbe5ed1e2dd9e9f1f761a3d87478877707f1911c5639c184f6191fdcfa86ee5a3062f1e8e187a13033a639eaf9b354ef28bf5c +MISC ChangeLog-2015 7675 SHA256 b6a9ce1a59bcde863b04c6bc1d622af0f60839e309c906c26c6096027e274e5b SHA512 623037759390a3541be7e1d2dde28ec5c47d1877d6a5227556f941ec4a28764788344011b7dfc488e3068698fffd197f7a99b6b7d4529cd1a14fbf035f8754af WHIRLPOOL 0cb73e1e9b9f8e642d6284f44d023c913f170e465b95feee7cad41eebfe75630d27b7076ea39f651e52e394a2f51c81a65a988d55bba166d7a4aeef7f525b147 +MISC metadata.xml 244 SHA256 661482c5fb5bb0a23bb408e224dfd515578eb10f126a63270328234249a8cbea SHA512 57959095dc10704e073e5517ac49ceee80e42fb1cc3f26b1b7308f872ffda810ce42e0b80ea6da57faa7a759878a9b8d2476fe351fecac1450f9c83751802787 WHIRLPOOL 55331f519593ee058ccbda2884d7ac1e864b1aeb19bcdb332211dd831789697368a58630aa8118cd1a7ab970b401afb43f9bf7a3dfd47c746abeee394c559b84 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..0e03fce26b68 --- /dev/null +++ b/app-cdr/nero/nero-4.0.0.0b-r2.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils fdo-mime gnome2-utils linux-info rpm + +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() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update + + nero --perform-post-installation || die +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} |