2015-01-19 20:51:40 +00:00
|
|
|
# Template build file for 'spotify'.
|
|
|
|
pkgname=spotify
|
|
|
|
version=0.9
|
2015-01-22 12:52:50 +00:00
|
|
|
revision=3
|
2015-01-19 20:51:40 +00:00
|
|
|
short_desc="Proprietary music streaming client"
|
|
|
|
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
|
|
|
homepage="https://www.spotify.com"
|
|
|
|
license="Proprietary"
|
|
|
|
create_wrksrc=1
|
|
|
|
only_for_archs="x86_64 i686"
|
|
|
|
repository=nonfree
|
|
|
|
build_style=fetch
|
|
|
|
makedepends="libgpg-error-devel"
|
2015-01-21 23:34:14 +00:00
|
|
|
distfiles="ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.5.4.tar.bz2"
|
|
|
|
checksum="d5f88d9f41a46953dc250cdb8575129b37ee2208401b7fa338c897f667c7fb33"
|
|
|
|
depends="binutils qt gtk+ nss GConf libXScrnSaver"
|
2015-01-19 20:51:40 +00:00
|
|
|
|
|
|
|
if test "${XBPS_TARGET_MACHINE}" = "x86_64"; then
|
|
|
|
_sversion=".11.27.g2b1a638.81-1_amd64"
|
|
|
|
_schecksum="4f93776cac562f622e635c64fa61ee46cb9bdfbda0a2aff0905acf007894d479"
|
2015-01-21 23:34:14 +00:00
|
|
|
depends+=" pango-xft"
|
2015-01-19 20:51:40 +00:00
|
|
|
else
|
|
|
|
_sversion=".4.183.g644e24e.428-1_i386"
|
|
|
|
_schecksum="ca45d057357e4c30efee3838dd941222500463ddd0a1db6981e4d48d7ad986f2"
|
|
|
|
fi
|
|
|
|
|
|
|
|
do_extract() {
|
2015-01-21 23:34:14 +00:00
|
|
|
tar xjf "${XBPS_SRCDISTDIR}/spotify-${version}/libgcrypt-1.5.4.tar.bz2"
|
2015-01-19 20:51:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cd libgcrypt-1.5.4
|
|
|
|
./configure ${configure_args}
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2015-01-21 23:34:14 +00:00
|
|
|
vbin ${FILESDIR}/spotify
|
2015-01-19 20:51:40 +00:00
|
|
|
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
|
2015-01-21 23:34:14 +00:00
|
|
|
echo "export SVERSION=\"${version}${_sversion}\"" >"${DESTDIR}/usr/share/spotify/pkgdata"
|
|
|
|
echo "export SCHECKSUM=\"${_schecksum}\"" >>"${DESTDIR}/usr/share/spotify/pkgdata"
|
2015-01-19 20:51:40 +00:00
|
|
|
}
|