From 393e635865f354c7d5028203ee79c92538b033a7 Mon Sep 17 00:00:00 2001 From: Albert Schwarzkopf Date: Sat, 3 Dec 2022 21:20:03 +0100 Subject: [PATCH] spotify: Fix missing icon in KDE task manager Spotify onlys get a generic "X11" icon in the task manager. No window title is shown either. Previously, the template moved the icons. Symlink /usr/share/spotify/icons to /usr/libexec/spotify/icons so spotify finds the icons again. This makes the spotify icon appear in the KDE taskbar. It also sets the title of the spotify window. Fixes: #36615 --- srcpkgs/spotify/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/spotify/template b/srcpkgs/spotify/template index 50c28fc7672..843c95dd8b0 100644 --- a/srcpkgs/spotify/template +++ b/srcpkgs/spotify/template @@ -1,7 +1,7 @@ # Template file for 'spotify' pkgname=spotify version=1.1.84 -revision=3 +revision=4 archs="x86_64" create_wrksrc=yes hostmakedepends="curl w3m libcurl" @@ -36,8 +36,7 @@ do_install() { vmkdir usr/libexec/ vcopy usr/share/spotify usr/libexec/ - # move icons to /usr/share - mv "${DESTDIR}/usr/libexec/spotify/icons" "${DESTDIR}/usr/share/spotify/" + ln -s "../../libexec/spotify/icons" "${DESTDIR}/usr/share/spotify/" # install icons for _s in 16 22 24 32 48 64 128 256 512; do