libspotify: remove package.

This commit is contained in:
mhmdanas 2023-03-24 19:15:52 +00:00 committed by Andrew Benson
parent 641e681b54
commit a35d839541
3 changed files with 0 additions and 60 deletions

View File

@ -2673,7 +2673,6 @@ libc++abi.so.1 libcxxabi-3.8.0_1
libfastjson.so.4 libfastjson-0.99.3_1
libdcadec.so.0 dcadec-0.2.0_1
libcmark.so.0 cmark-0.24.1_1
libspotify.so.12 libspotify-12.1.51_1
libvidstab.so.1.1 libvidstab-1.1.0_1
libxdo.so.3 xdotool-3.20150503.1_1
libabigail.so.1 libabigail-2.1_1

View File

@ -1 +0,0 @@
libspotify

View File

@ -1,58 +0,0 @@
# Template file for 'libspotify'
pkgname=libspotify
reverts="12.1.103_1"
version=12.1.51
revision=2
archs="x86_64 i686 armv5tel armv6l armv7l"
short_desc="Spotify library for building your own streaming apps"
maintainer="noah <nsawyer1993@gmail.com>"
license="custom:Proprietary"
homepage="https://developer.spotify.com/technologies/libspotify/"
repository="nonfree"
_libspotify_mopidy="https://github.com/mopidy/libspotify-archive/raw/master"
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
checksum=43a14e0732ba6ae30078fac105d0e2998d04d5f5c396a4968386bc4e22491058
distfiles="${_libspotify_mopidy}/libspotify-${version}-Linux-x86_64-release.tar.gz"
elif [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then
checksum=941ab4ba10bcd6ec4e96127afd095a39e11bc955de0882734c97e4f588b155ae
distfiles="${_libspotify_mopidy}/libspotify-${version}-Linux-i686-release.tar.gz"
elif [ "${XBPS_TARGET_MACHINE}" = "armv7l" ]; then
checksum=ad27b6c5aee5382b66b39bfea3b1752076b7abcc445979ce25c1ec9d7ff3aeda
distfiles="${_libspotify_mopidy}/libspotify-${version}-Linux-armv7-release.tar.gz"
elif [ "${XBPS_TARGET_MACHINE}" = "armv6l" ]; then
# Even though the library version is different, xbps-src breaks if
# the versioning of packages across archs is not consistent
_libversion=12.1.103
checksum=d658e6c1978fb46cf33376eb8367a51d024f4014f21beac1dd264532bcc54b24
distfiles="${_libspotify_mopidy}/libspotify-${_libversion}-Linux-armv6-bcm2708hardfp-release.tar.gz"
elif [ "${XBPS_TARGET_MACHINE}" = "armv5tel" ]; then
checksum=4d96efcb1423864683917f40fb4df481491250a76cb29be3a235b3732a64fefc
distfiles="${_libspotify_mopidy}/libspotify-${version}-Linux-armv5-release.tar.gz"
fi
do_build() {
vsed -i 's/ldconfig//' Makefile
}
do_install() {
make prefix=${DESTDIR}/usr install
}
post_install() {
#Install our licenses
vlicense licenses.xhtml
vlicense LICENSE
#Fix the pkgconfig file
sed -i s:PKG_PREFIX:/usr:g lib/pkgconfig/libspotify.pc
}
libspotify-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}