diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2020-11-14 22:47:33 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-11-14 22:47:33 +0100 |
commit | 85529bfb58a5b49669a0a514ef756cd0fba73c31 (patch) | |
tree | 7155321e17151fc45147cec84efbe655a3e95ffe /media-video/parole | |
parent | media-video/kino: update desktop mimeinfo and mime-info cache (diff) | |
download | gentoo-85529bfb58a5b49669a0a514ef756cd0fba73c31.tar.gz gentoo-85529bfb58a5b49669a0a514ef756cd0fba73c31.tar.bz2 gentoo-85529bfb58a5b49669a0a514ef756cd0fba73c31.zip |
media-video/parole: port to xdg eclass, pass .desktop file validation
Closes: https://bugs.gentoo.org/740516
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-video/parole')
-rw-r--r-- | media-video/parole/files/parole-1.0.5-desktop-QA.patch | 23 | ||||
-rw-r--r-- | media-video/parole/parole-1.0.5.ebuild | 19 |
2 files changed, 30 insertions, 12 deletions
diff --git a/media-video/parole/files/parole-1.0.5-desktop-QA.patch b/media-video/parole/files/parole-1.0.5-desktop-QA.patch new file mode 100644 index 000000000000..1b4d387837ec --- /dev/null +++ b/media-video/parole/files/parole-1.0.5-desktop-QA.patch @@ -0,0 +1,23 @@ +--- a/data/desktop/desktop.sh ++++ b/data/desktop/desktop.sh +@@ -18,17 +18,14 @@ echo "[Desktop Action Play]" + echo "Exec=parole --play" + echo "_Name=Play/Pause" + echo "Icon=media-playback-start-symbolic" +-echo "OnlyShowIn=Unity;" + echo "" + echo "[Desktop Action Previous]" + echo "Exec=parole --previous" + echo "_Name=Previous Track" + echo "Icon=media-skip-backward-symbolic" +-echo "OnlyShowIn=Unity;" + echo "" + echo "[Desktop Action Next]" + echo "Exec=parole --next" + echo "_Name=Next Track" + echo "Icon=media-skip-forward-symbolic" +-echo "OnlyShowIn=Unity;" + echo "" +-- +2.26.2 + diff --git a/media-video/parole/parole-1.0.5.ebuild b/media-video/parole/parole-1.0.5.ebuild index 390b7e2c5327..f7e2dcaf64b0 100644 --- a/media-video/parole/parole-1.0.5.ebuild +++ b/media-video/parole/parole-1.0.5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit xdg-utils +inherit xdg DESCRIPTION="A simple Xfce4 media player using GStreamer" HOMEPAGE="https://docs.xfce.org/apps/parole/start" @@ -37,6 +37,11 @@ DEPEND="${COMMON_DEPEND} DOCS=( AUTHORS ChangeLog README THANKS TODO ) +PATCHES=( + # 740516 + "${FILESDIR}"/${P}-desktop-QA.patch +) + src_configure() { local myconf=( # clutter backend does not work with new GTK+3 versions @@ -52,13 +57,3 @@ src_install() { default find "${D}" -name '*.la' -delete || die } - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} |