mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
libspotify: distfiles mirror location; add armv5
This commit is contained in:
parent
d995d5eff3
commit
35ff97c5cd
1 changed files with 20 additions and 14 deletions
|
@ -4,30 +4,36 @@ version=12.1.51
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="Spotify library for building your own streaming apps"
|
short_desc="Spotify library for building your own streaming apps"
|
||||||
maintainer="noah <nsawyer1993@gmail.com>"
|
maintainer="noah <nsawyer1993@gmail.com>"
|
||||||
archs="x86_64 i686 armv6l armv7l"
|
archs="x86_64 i686 armv5tel armv6l armv7l"
|
||||||
wrksrc="libspotify-${version}-Linux-${XBPS_TARGET_MACHINE}-release"
|
wrksrc="libspotify-${version}-Linux-${XBPS_TARGET_MACHINE}-release"
|
||||||
repository="nonfree"
|
repository="nonfree"
|
||||||
license="custom"
|
license="custom"
|
||||||
homepage="https://developer.spotify.com/technologies/libspotify/"
|
homepage="https://developer.spotify.com/technologies/libspotify/"
|
||||||
distfiles="http://developer.spotify.com/download/libspotify/libspotify-${version}-Linux-${XBPS_TARGET_MACHINE}-release.tar.gz"
|
_libspotify_mopidy="https://github.com/mopidy/libspotify-archive/raw/master"
|
||||||
|
|
||||||
if [ "${XBPS_TARGET_MACHINE}" == "armv6l" ]; then
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
|
||||||
distfiles="https://developer.spotify.com/download/libspotify/libspotify-12.1.103-Linux-armv6-bcm2708hardfp-release.tar.gz"
|
checksum=43a14e0732ba6ae30078fac105d0e2998d04d5f5c396a4968386bc4e22491058
|
||||||
version=12.1.103
|
distfiles="${_libspotify_mopidy}/libspotify-${version}-Linux-x86_64-release.tar.gz"
|
||||||
checksum=d658e6c1978fb46cf33376eb8367a51d024f4014f21beac1dd264532bcc54b24
|
elif [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then
|
||||||
wrksrc="libspotify-${version}-Linux-armv6-bcm2708hardfp-release"
|
checksum=941ab4ba10bcd6ec4e96127afd095a39e11bc955de0882734c97e4f588b155ae
|
||||||
elif [ "${XBPS_TARGET_MACHINE}" == "armv7l" ]; then
|
distfiles="${_libspotify_mopidy}/libspotify-${version}-Linux-i686-release.tar.gz"
|
||||||
distfiles="https://developer.spotify.com/download/libspotify/libspotify-${version}-Linux-armv7-release.tar.gz"
|
elif [ "${XBPS_TARGET_MACHINE}" = "armv7l" ]; then
|
||||||
checksum=ad27b6c5aee5382b66b39bfea3b1752076b7abcc445979ce25c1ec9d7ff3aeda
|
checksum=ad27b6c5aee5382b66b39bfea3b1752076b7abcc445979ce25c1ec9d7ff3aeda
|
||||||
wrksrc="libspotify-${version}-Linux-armv7-release"
|
wrksrc="libspotify-${version}-Linux-armv7-release"
|
||||||
elif [ "${XBPS_TARGET_MACHINE}" == "x86_64" ]; then
|
distfiles="${_libspotify_mopidy}/libspotify-${version}-Linux-armv7-release.tar.gz"
|
||||||
checksum=43a14e0732ba6ae30078fac105d0e2998d04d5f5c396a4968386bc4e22491058
|
elif [ "${XBPS_TARGET_MACHINE}" = "armv6l" ]; then
|
||||||
elif [ "${XBPS_TARGET_MACHINE}" == "i686" ]; then
|
version=12.1.103
|
||||||
checksum=941ab4ba10bcd6ec4e96127afd095a39e11bc955de0882734c97e4f588b155ae
|
wrksrc="libspotify-${version}-Linux-armv6-bcm2708hardfp-release"
|
||||||
|
checksum=d658e6c1978fb46cf33376eb8367a51d024f4014f21beac1dd264532bcc54b24
|
||||||
|
distfiles="${_libspotify_mopidy}/libspotify-${version}-Linux-armv6-bcm2708hardfp-release.tar.gz"
|
||||||
|
elif [ "${XBPS_TARGET_MACHINE}" = "armv5tel" ]; then
|
||||||
|
wrksrc="libspotify-${version}-Linux-armv5-release"
|
||||||
|
checksum=4d96efcb1423864683917f40fb4df481491250a76cb29be3a235b3732a64fefc
|
||||||
|
distfiles="${_libspotify_mopidy}/libspotify-${version}-Linux-armv5-release.tar.gz"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i 's/ldconfig//' Makefile
|
vsed -i 's/ldconfig//' Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue