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
This commit is contained in:
parent
8ba8a345d5
commit
393e635865
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'spotify'
|
# Template file for 'spotify'
|
||||||
pkgname=spotify
|
pkgname=spotify
|
||||||
version=1.1.84
|
version=1.1.84
|
||||||
revision=3
|
revision=4
|
||||||
archs="x86_64"
|
archs="x86_64"
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
hostmakedepends="curl w3m libcurl"
|
hostmakedepends="curl w3m libcurl"
|
||||||
|
@ -36,8 +36,7 @@ do_install() {
|
||||||
vmkdir usr/libexec/
|
vmkdir usr/libexec/
|
||||||
vcopy usr/share/spotify usr/libexec/
|
vcopy usr/share/spotify usr/libexec/
|
||||||
|
|
||||||
# move icons to /usr/share
|
ln -s "../../libexec/spotify/icons" "${DESTDIR}/usr/share/spotify/"
|
||||||
mv "${DESTDIR}/usr/libexec/spotify/icons" "${DESTDIR}/usr/share/spotify/"
|
|
||||||
|
|
||||||
# install icons
|
# install icons
|
||||||
for _s in 16 22 24 32 48 64 128 256 512; do
|
for _s in 16 22 24 32 48 64 128 256 512; do
|
||||||
|
|
Loading…
Reference in New Issue