diff options
-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 -} |