From 9906f694c433e7a371783e6b8e3d32822efc0020 Mon Sep 17 00:00:00 2001 From: leeminusminus Date: Sat, 11 Jan 2025 01:01:36 -0500 Subject: [PATCH 1/3] Updated template to match new update --- template | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 template diff --git a/template b/template new file mode 100644 index 00000000000000..53108f5e5c46c3 --- /dev/null +++ b/template @@ -0,0 +1,45 @@ +# Template file for 'spotify' +pkgname=spotify +version=1.2.52 +revision=1 +_subver=442.g01893f92 +archs="x86_64" +create_wrksrc=yes +hostmakedepends="libcurl" +depends="libcurl libayatana-appindicator libatomic" +short_desc="Proprietary music streaming client" +maintainer="Stefan Mühlinghaus " +license="custom:Proprietary" +homepage="https://www.spotify.com" +distfiles="http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_${version}.${_subver}_amd64.deb" +checksum=c26366c253b856cdad552057d565b5f3c5568c443ef379d5044bc12dfdcf2fe7 +repository=nonfree +restricted=yes +nostrip=yes + +do_install() { + vbin "${FILESDIR}/spotify" + + vmkdir usr/share/spotify + vmkdir usr/share/applications + vmkdir usr/libexec/ + vcopy usr/share/spotify usr/libexec/ + + ln -s "../../libexec/spotify/icons" "${DESTDIR}/usr/share/spotify/" + + # install icons + for _s in 16 22 24 32 48 64 128 256 512; do + vmkdir "usr/share/icons/hicolor/${_s}x${_s}/apps" + ln -sf "/usr/share/spotify/icons/spotify-linux-${_s}.png" \ + "${DESTDIR}/usr/share/icons/hicolor/${_s}x${_s}/apps/spotify-client.png" + done + + vmkdir usr/share/applications + mv "${DESTDIR}/usr/libexec/spotify/spotify.desktop" \ + "${DESTDIR}/usr/share/applications/spotify.desktop" + + # provide dynamic libraries + ln -s /usr/lib/libcurl.so.4 ${DESTDIR}/usr/libexec/spotify/libcurl-gnutls.so.4 + + vlicense ${FILESDIR}/EULA +} From 7832af7d5e3b3924e0802dc92ed1518976e93165 Mon Sep 17 00:00:00 2001 From: leeminusminus Date: Sat, 11 Jan 2025 01:15:05 -0500 Subject: [PATCH 2/3] spotify: update to 1.2.52 --- srcpkgs/spotify/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/spotify/template b/srcpkgs/spotify/template index 50a769cd795fa9..53108f5e5c46c3 100644 --- a/srcpkgs/spotify/template +++ b/srcpkgs/spotify/template @@ -1,8 +1,8 @@ # Template file for 'spotify' pkgname=spotify -version=1.2.50 +version=1.2.52 revision=1 -_subver=335.g5e2860a8 +_subver=442.g01893f92 archs="x86_64" create_wrksrc=yes hostmakedepends="libcurl" @@ -12,7 +12,7 @@ maintainer="Stefan Mühlinghaus " license="custom:Proprietary" homepage="https://www.spotify.com" distfiles="http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_${version}.${_subver}_amd64.deb" -checksum=0c1d068c80f3c2d8b1bc19afa253ab14d8b54e638e683b831396be4c39ec245c +checksum=c26366c253b856cdad552057d565b5f3c5568c443ef379d5044bc12dfdcf2fe7 repository=nonfree restricted=yes nostrip=yes From 7501b62423d12cce51e0fe02dc1d2b092c59246a Mon Sep 17 00:00:00 2001 From: leeminusminus Date: Sat, 11 Jan 2025 01:16:30 -0500 Subject: [PATCH 3/3] Delete template --- template | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 template diff --git a/template b/template deleted file mode 100644 index 53108f5e5c46c3..00000000000000 --- a/template +++ /dev/null @@ -1,45 +0,0 @@ -# Template file for 'spotify' -pkgname=spotify -version=1.2.52 -revision=1 -_subver=442.g01893f92 -archs="x86_64" -create_wrksrc=yes -hostmakedepends="libcurl" -depends="libcurl libayatana-appindicator libatomic" -short_desc="Proprietary music streaming client" -maintainer="Stefan Mühlinghaus " -license="custom:Proprietary" -homepage="https://www.spotify.com" -distfiles="http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_${version}.${_subver}_amd64.deb" -checksum=c26366c253b856cdad552057d565b5f3c5568c443ef379d5044bc12dfdcf2fe7 -repository=nonfree -restricted=yes -nostrip=yes - -do_install() { - vbin "${FILESDIR}/spotify" - - vmkdir usr/share/spotify - vmkdir usr/share/applications - vmkdir usr/libexec/ - vcopy usr/share/spotify usr/libexec/ - - ln -s "../../libexec/spotify/icons" "${DESTDIR}/usr/share/spotify/" - - # install icons - for _s in 16 22 24 32 48 64 128 256 512; do - vmkdir "usr/share/icons/hicolor/${_s}x${_s}/apps" - ln -sf "/usr/share/spotify/icons/spotify-linux-${_s}.png" \ - "${DESTDIR}/usr/share/icons/hicolor/${_s}x${_s}/apps/spotify-client.png" - done - - vmkdir usr/share/applications - mv "${DESTDIR}/usr/libexec/spotify/spotify.desktop" \ - "${DESTDIR}/usr/share/applications/spotify.desktop" - - # provide dynamic libraries - ln -s /usr/lib/libcurl.so.4 ${DESTDIR}/usr/libexec/spotify/libcurl-gnutls.so.4 - - vlicense ${FILESDIR}/EULA -}