spotify: updated to 0.9_4
This commit is contained in:
parent
ce425a80c6
commit
069759b588
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'spotify'.
|
# Template build file for 'spotify'.
|
||||||
pkgname=spotify
|
pkgname=spotify
|
||||||
version=0.9
|
version=0.9
|
||||||
revision=3
|
revision=4
|
||||||
short_desc="Proprietary music streaming client"
|
short_desc="Proprietary music streaming client"
|
||||||
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
||||||
homepage="https://www.spotify.com"
|
homepage="https://www.spotify.com"
|
||||||
|
@ -18,26 +18,33 @@ depends="binutils qt gtk+ nss GConf libXScrnSaver"
|
||||||
if test "${XBPS_TARGET_MACHINE}" = "x86_64"; then
|
if test "${XBPS_TARGET_MACHINE}" = "x86_64"; then
|
||||||
_sversion=".11.27.g2b1a638.81-1_amd64"
|
_sversion=".11.27.g2b1a638.81-1_amd64"
|
||||||
_schecksum="4f93776cac562f622e635c64fa61ee46cb9bdfbda0a2aff0905acf007894d479"
|
_schecksum="4f93776cac562f622e635c64fa61ee46cb9bdfbda0a2aff0905acf007894d479"
|
||||||
|
distfiles+=" http://seblu.net/a/arm/packages/g/gtk2/gtk2-2.24.24-1-x86_64.pkg.tar.xz"
|
||||||
|
checksum+=" 53a7a400050d5c16585fa19f587da9639f05970fd703dc4c6482f9ceb6ccbaee"
|
||||||
depends+=" pango-xft"
|
depends+=" pango-xft"
|
||||||
else
|
else
|
||||||
_sversion=".4.183.g644e24e.428-1_i386"
|
_sversion=".4.183.g644e24e.428-1_i386"
|
||||||
_schecksum="ca45d057357e4c30efee3838dd941222500463ddd0a1db6981e4d48d7ad986f2"
|
_schecksum="ca45d057357e4c30efee3838dd941222500463ddd0a1db6981e4d48d7ad986f2"
|
||||||
|
distfiles+=" http://seblu.net/a/arm/packages/g/gtk2/gtk2-2.24.24-1-i686.pkg.tar.xz"
|
||||||
|
checksum+=" 8d9be115cfe6fb2b26d4ecc837a1aa498cd7492395106e5085d08f6a15862209"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
tar xjf "${XBPS_SRCDISTDIR}/spotify-${version}/libgcrypt-1.5.4.tar.bz2"
|
tar xjf "${XBPS_SRCDISTDIR}/spotify-${version}/libgcrypt-1.5.4.tar.bz2"
|
||||||
|
tar xJf "${XBPS_SRCDISTDIR}/spotify-${version}/gtk2-2.24.24-1-${XBPS_TARGET_MACHINE}.pkg.tar.xz"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd libgcrypt-1.5.4
|
cd libgcrypt-1.5.4
|
||||||
./configure ${configure_args}
|
./configure ${configure_args}
|
||||||
make
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin ${FILESDIR}/spotify
|
vbin ${FILESDIR}/spotify
|
||||||
vmkdir usr/share/spotify/libs
|
vmkdir usr/share/spotify/libs
|
||||||
vinstall libgcrypt-1.5.4/src/.libs/libgcrypt.so.11.8.3 755 usr/share/spotify/libs libgcrypt.so.11
|
vinstall libgcrypt-1.5.4/src/.libs/libgcrypt.so.11.8.3 755 usr/share/spotify/libs libgcrypt.so.11
|
||||||
|
vinstall usr/lib/libgdk-x11-2.0.so.0.2400.24 755 usr/share/spotify/libs libgdk-x11-2.0.so.0
|
||||||
|
vinstall usr/lib/libgtk-x11-2.0.so.0.2400.24 755 usr/share/spotify/libs libgtk-x11-2.0.so.0
|
||||||
echo "export SVERSION=\"${version}${_sversion}\"" >"${DESTDIR}/usr/share/spotify/pkgdata"
|
echo "export SVERSION=\"${version}${_sversion}\"" >"${DESTDIR}/usr/share/spotify/pkgdata"
|
||||||
echo "export SCHECKSUM=\"${_schecksum}\"" >>"${DESTDIR}/usr/share/spotify/pkgdata"
|
echo "export SCHECKSUM=\"${_schecksum}\"" >>"${DESTDIR}/usr/share/spotify/pkgdata"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue