2.5.0 release
parent
00aa8c037a
commit
bdc296a02c
3
.SRCINFO
3
.SRCINFO
|
@ -1,11 +1,10 @@
|
||||||
pkgbase = tidal-hifi-git
|
pkgbase = tidal-hifi-git
|
||||||
pkgdesc = The web version of listen.tidal.com running in electron with hifi support thanks to widevine. If the install fails use nvm to temporarily downgrade npm
|
pkgdesc = The web version of listen.tidal.com running in electron with hifi support thanks to widevine. If the install fails use nvm to temporarily downgrade npm
|
||||||
pkgver = 2.4.0.r0.g5ef6074
|
pkgver = 2.5.0.r0.g662ef6a
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/Mastermindzh/tidal-hifi
|
url = https://github.com/Mastermindzh/tidal-hifi
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom:MIT
|
license = custom:MIT
|
||||||
makedepends = npm
|
|
||||||
makedepends = git
|
makedepends = git
|
||||||
depends = libxss
|
depends = libxss
|
||||||
depends = nss
|
depends = nss
|
||||||
|
|
26
PKGBUILD
26
PKGBUILD
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
pkgname=tidal-hifi-git
|
pkgname=tidal-hifi-git
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgver=2.4.0.r0.g5ef6074
|
pkgver=2.5.0.r0.g662ef6a
|
||||||
pkgdesc="The web version of listen.tidal.com running in electron with hifi support thanks to widevine. If the install fails use nvm to temporarily downgrade npm"
|
pkgdesc="The web version of listen.tidal.com running in electron with hifi support thanks to widevine. If the install fails use nvm to temporarily downgrade npm"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="https://github.com/Mastermindzh/tidal-hifi"
|
url="https://github.com/Mastermindzh/tidal-hifi"
|
||||||
license=("custom:MIT")
|
license=("custom:MIT")
|
||||||
depends=(libxss nss gtk3)
|
depends=(libxss nss gtk3)
|
||||||
makedepends=(npm git)
|
makedepends=(git)
|
||||||
provides=(tidal-hifi)
|
provides=(tidal-hifi)
|
||||||
conflicts=(tidal-hifi)
|
conflicts=(tidal-hifi)
|
||||||
|
|
||||||
|
@ -17,14 +17,36 @@ source=("git+https://github.com/Mastermindzh/tidal-hifi.git"
|
||||||
sha512sums=('SKIP'
|
sha512sums=('SKIP'
|
||||||
'31cf40fb3ac81c4a64a8410a78e97c268a440577bce54347ce62f8a9566c8897f8083cd1e5afa40b0fbe9a149fc4fb4f29cad91a12e5b47cf8e300e56351a4f1')
|
'31cf40fb3ac81c4a64a8410a78e97c268a440577bce54347ce62f8a9566c8897f8083cd1e5afa40b0fbe9a149fc4fb4f29cad91a12e5b47cf8e300e56351a4f1')
|
||||||
|
|
||||||
|
getnvm() {
|
||||||
|
if command -v nvm
|
||||||
|
then
|
||||||
|
echo "nvm command found, using system version.."
|
||||||
|
else
|
||||||
|
echo "nvm could not be found, installing"
|
||||||
|
unset npm_config_prefix
|
||||||
|
git clone https://aur.archlinux.org/nvm.git .nvmdep
|
||||||
|
cd .nvmdep
|
||||||
|
makepkg -si --asdeps
|
||||||
|
source /usr/share/nvm/init-nvm.sh
|
||||||
|
cd ../
|
||||||
|
rm -rf .nvmdep
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "${srcdir}/${pkgname%-git}"
|
cd "${srcdir}/${pkgname%-git}"
|
||||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
getnvm
|
||||||
|
|
||||||
cd "${srcdir}/${pkgname%-git}"
|
cd "${srcdir}/${pkgname%-git}"
|
||||||
|
|
||||||
|
# use correct nodejs/npm versions
|
||||||
|
nvm install lts/gallium
|
||||||
|
nvm use lts/gallium
|
||||||
|
|
||||||
# install build dependencies
|
# install build dependencies
|
||||||
npm install
|
npm install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue