mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-07-27 16:12:29 +02:00
fixed artists retrieval, removed arch build steps
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
pkgbase = tidal-hifi-git
|
||||
pkgdesc = The web version of listen.tidal.com running in electron with hifi support thanks to widevine.
|
||||
pkgver = 2.1.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/Mastermindzh/tidal-hifi
|
||||
arch = x86_64
|
||||
license = custom:MIT
|
||||
makedepends = npm
|
||||
makedepends = git
|
||||
depends = libxss
|
||||
depends = nss
|
||||
depends = gtk3
|
||||
provides = tidal-hifi
|
||||
source = https://github.com/Mastermindzh/tidal-hifi/archive/2.1.1.zip
|
||||
source = tidal-hifi.desktop
|
||||
sha512sums = 510c94d9db8573103ee900dcd75b0416ea06ea62af7ed21818d2a5a77ab009a2737c852e7e20b97f846e14b07754a9e5a36ac5b9d0cd0a2a8d0aff3bbc75e622
|
||||
sha512sums = 35f38ac308b871c1822d7f6f760f2fb54c3748cf769822cb0f0dfb90f0f5754ba9316da5e903a0d2e9839de3a43ec76f238f3f2e44021956fa1da19142081349
|
||||
|
||||
pkgname = tidal-hifi-git
|
||||
|
@@ -1,56 +0,0 @@
|
||||
# Maintainer: Rick van Lieshout <info@rickvanlieshout.com>
|
||||
|
||||
_pkgname=tidal-hifi
|
||||
pkgname="$_pkgname-git"
|
||||
pkgver=2.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="The web version of listen.tidal.com running in electron with hifi support thanks to widevine."
|
||||
arch=("x86_64")
|
||||
url="https://github.com/Mastermindzh/tidal-hifi"
|
||||
license=("custom:MIT")
|
||||
|
||||
depends=("libxss" "nss" "gtk3")
|
||||
makedepends=("npm" "git")
|
||||
provides=("$_pkgname")
|
||||
|
||||
source=("https://github.com/Mastermindzh/tidal-hifi/archive/$pkgver.zip"
|
||||
"${_pkgname}.desktop")
|
||||
sha512sums=('510c94d9db8573103ee900dcd75b0416ea06ea62af7ed21818d2a5a77ab009a2737c852e7e20b97f846e14b07754a9e5a36ac5b9d0cd0a2a8d0aff3bbc75e622'
|
||||
'35f38ac308b871c1822d7f6f760f2fb54c3748cf769822cb0f0dfb90f0f5754ba9316da5e903a0d2e9839de3a43ec76f238f3f2e44021956fa1da19142081349')
|
||||
|
||||
cdToPkg(){
|
||||
cd "tidal-hifi-$pkgver"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cdToPkg
|
||||
|
||||
# install build dependencies
|
||||
npm install
|
||||
}
|
||||
|
||||
build() {
|
||||
cdToPkg
|
||||
|
||||
# We are not using the systems Electron as we need castlab's Electron.
|
||||
npm run build-arch
|
||||
}
|
||||
|
||||
package() {
|
||||
cdToPkg
|
||||
|
||||
install -d "${pkgdir}/opt/${_pkgname}/" "${pkgdir}/usr/bin" "${pkgdir}/usr/share/doc" "${pkgdir}/usr/share/licenses"
|
||||
|
||||
cp -r dist/linux-unpacked/* "${pkgdir}/opt/${_pkgname}/"
|
||||
chmod +x "${pkgdir}/opt/${_pkgname}/${_pkgname}"
|
||||
|
||||
ln -s "/opt/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
|
||||
|
||||
install -Dm 644 "build/icon.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
|
||||
install -Dm 644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
|
||||
|
||||
install -Dm 644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
||||
install -Dm 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
ln -s "/opt/${_pkgname}/LICENSE.electron.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.electron.txt"
|
||||
ln -s "/opt/${_pkgname}/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html"
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Will generate a correctly formatted SRCINFO file
|
||||
|
||||
SCRIPT_DIST=".SRCINFO"
|
||||
|
||||
# generate SRCINFO
|
||||
makepkg --printsrcinfo > $SCRIPT_DIST
|
||||
|
||||
# replace pkgbase with tidal-hifi-git
|
||||
pkgName="tidal-hifi-git"
|
||||
sed -i "1s/.*/pkgbase = $pkgName/" $SCRIPT_DIST
|
||||
|
||||
# replace pkgbase with tidal-hifi-git
|
||||
sed -i '/^pkgname/ d' $SCRIPT_DIST
|
||||
echo "pkgname = $pkgName" >> $SCRIPT_DIST
|
||||
|
||||
# remove double line breaks and replace with single line breaks
|
||||
sed -i '/^$/N;/^\n$/D' $SCRIPT_DIST
|
@@ -1,13 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=tidal-hifi
|
||||
GenericName=tidal-hifi
|
||||
Comment=The web version of listen.tidal.com running in electron with hifi support thanks to widevine.
|
||||
Exec=tidal-hifi %u
|
||||
Icon=tidal-hifi.png
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;Application;Audio;Video
|
||||
StartupWMClass=tidal-hifi
|
||||
X-PulseAudio-Properties=media.role=music
|
Reference in New Issue
Block a user