Skip to content

Commit

Permalink
spotify: Fix missing icon in KDE task manager
Browse files Browse the repository at this point in the history
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
  • Loading branch information
crtxcr authored and classabbyamp committed Dec 12, 2022
1 parent 8ba8a34 commit 393e635
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions srcpkgs/spotify/template
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 393e635

Please sign in to comment.