Merge remote-tracking branch 'upstream/master'
commit
8478ea5efd
6
.SRCINFO
6
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
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 = 3.1.0.r0.g374f3da
|
pkgver = 4.1.0.r0.g1439a11
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/Mastermindzh/tidal-hifi
|
url = https://github.com/Mastermindzh/tidal-hifi
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -14,7 +14,9 @@ pkgbase = tidal-hifi-git
|
||||||
conflicts = tidal-hifi
|
conflicts = tidal-hifi
|
||||||
source = git+https://github.com/Mastermindzh/tidal-hifi.git
|
source = git+https://github.com/Mastermindzh/tidal-hifi.git
|
||||||
source = tidal-hifi.desktop
|
source = tidal-hifi.desktop
|
||||||
|
source = tidal-hifi.xml
|
||||||
sha512sums = SKIP
|
sha512sums = SKIP
|
||||||
sha512sums = 31cf40fb3ac81c4a64a8410a78e97c268a440577bce54347ce62f8a9566c8897f8083cd1e5afa40b0fbe9a149fc4fb4f29cad91a12e5b47cf8e300e56351a4f1
|
sha512sums = 402a73f4bc4c543208d518044607af8b71da428d58b37397a2d74bad1f0d4b854a0a037fd2d29ac157e7185165afe13865a87c57abe8019617de73a767087918
|
||||||
|
sha512sums = e06fce55c2d9fcaeff514b97e8b003dca4c1a0aa8c8e14c3e3b99febbc2e8af7402d2e2009147f3f57a9b6447fafd23dd69e7b4de63cf43c5d67825836ebecb5
|
||||||
|
|
||||||
pkgname = tidal-hifi-git
|
pkgname = tidal-hifi-git
|
||||||
|
|
|
@ -5,3 +5,5 @@
|
||||||
!PKGBUILD
|
!PKGBUILD
|
||||||
!tidal-hifi.desktop
|
!tidal-hifi.desktop
|
||||||
!src/tidal-hifi.desktop
|
!src/tidal-hifi.desktop
|
||||||
|
!tidal-hifi.xml
|
||||||
|
!src/tidal-hifi.xml
|
||||||
|
|
13
PKGBUILD
13
PKGBUILD
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname=tidal-hifi-git
|
pkgname=tidal-hifi-git
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgver=3.1.0.r0.g374f3da
|
pkgver=4.1.0.r0.g1439a11
|
||||||
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"
|
||||||
|
@ -13,9 +13,11 @@ provides=(tidal-hifi)
|
||||||
conflicts=(tidal-hifi)
|
conflicts=(tidal-hifi)
|
||||||
|
|
||||||
source=("git+https://github.com/Mastermindzh/tidal-hifi.git"
|
source=("git+https://github.com/Mastermindzh/tidal-hifi.git"
|
||||||
"tidal-hifi.desktop")
|
"tidal-hifi.desktop"
|
||||||
|
"tidal-hifi.xml")
|
||||||
sha512sums=('SKIP'
|
sha512sums=('SKIP'
|
||||||
'31cf40fb3ac81c4a64a8410a78e97c268a440577bce54347ce62f8a9566c8897f8083cd1e5afa40b0fbe9a149fc4fb4f29cad91a12e5b47cf8e300e56351a4f1')
|
'402a73f4bc4c543208d518044607af8b71da428d58b37397a2d74bad1f0d4b854a0a037fd2d29ac157e7185165afe13865a87c57abe8019617de73a767087918'
|
||||||
|
"e06fce55c2d9fcaeff514b97e8b003dca4c1a0aa8c8e14c3e3b99febbc2e8af7402d2e2009147f3f57a9b6447fafd23dd69e7b4de63cf43c5d67825836ebecb5")
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "${srcdir}/${pkgname%-git}" || exit
|
cd "${srcdir}/${pkgname%-git}" || exit
|
||||||
|
@ -26,6 +28,7 @@ prepare() {
|
||||||
# This PKGBUILD is meant to run in a build container, so we can do this
|
# This PKGBUILD is meant to run in a build container, so we can do this
|
||||||
# every time.
|
# every time.
|
||||||
source /usr/share/nvm/init-nvm.sh
|
source /usr/share/nvm/init-nvm.sh
|
||||||
|
|
||||||
cd "${srcdir}/${pkgname%-git}" || exit
|
cd "${srcdir}/${pkgname%-git}" || exit
|
||||||
|
|
||||||
# use correct nodejs/npm versions
|
# use correct nodejs/npm versions
|
||||||
|
@ -54,11 +57,15 @@ package() {
|
||||||
ln -s "/opt/tidal-hifi/tidal-hifi" "${pkgdir}/usr/bin/tidal-hifi"
|
ln -s "/opt/tidal-hifi/tidal-hifi" "${pkgdir}/usr/bin/tidal-hifi"
|
||||||
|
|
||||||
install -Dm 644 "build/icon.png" "${pkgdir}/usr/share/pixmaps/tidal-hifi.png"
|
install -Dm 644 "build/icon.png" "${pkgdir}/usr/share/pixmaps/tidal-hifi.png"
|
||||||
|
install -Dm 644 "build/icon.png" "${pkgdir}/usr/share/icons/${_pkgname}/tidal-hifi.png"
|
||||||
|
install -Dm 644 "build/icon.png" "${pkgdir}/usr/share/icons/hicolor/0x0/apps/tidal-hifi.png"
|
||||||
install -Dm 644 "${srcdir}/tidal-hifi.desktop" "${pkgdir}/usr/share/applications/tidal-hifi.desktop"
|
install -Dm 644 "${srcdir}/tidal-hifi.desktop" "${pkgdir}/usr/share/applications/tidal-hifi.desktop"
|
||||||
|
install -Dm 644 "${srcdir}/tidal-hifi.xml" "${pkgdir}/usr/share/mime/packages/tidal-hifi.xml"
|
||||||
|
|
||||||
install -Dm 644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
install -Dm 644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
||||||
install -Dm 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
install -Dm 644 "build/icon.png" "${pkgdir}/usr/share/icons/hicolor/0x0/apps/tidal-hifi.png"
|
install -Dm 644 "build/icon.png" "${pkgdir}/usr/share/icons/hicolor/0x0/apps/tidal-hifi.png"
|
||||||
|
|
||||||
ln -s "/opt/tidal-hifi/LICENSE.electron.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.electron.txt"
|
ln -s "/opt/tidal-hifi/LICENSE.electron.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.electron.txt"
|
||||||
ln -s "/opt/tidal-hifi/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html"
|
ln -s "/opt/tidal-hifi/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html"
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,10 +4,11 @@ Name=tidal-hifi
|
||||||
GenericName=tidal-hifi
|
GenericName=tidal-hifi
|
||||||
Comment=The web version of listen.tidal.com running in electron with hifi support thanks to widevine.
|
Comment=The web version of listen.tidal.com running in electron with hifi support thanks to widevine.
|
||||||
Exec=tidal-hifi %u
|
Exec=tidal-hifi %u
|
||||||
Icon=/usr/share/icons/hicolor/0x0/apps/tidal-hifi.png
|
Icon=/usr/share/icons/tidal-hifi/tidal-hifi.png
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=Network;Application;Audio;Video
|
Categories=Network;Application;Audio;Video
|
||||||
StartupWMClass=tidal-hifi
|
StartupWMClass=tidal-hifi
|
||||||
X-PulseAudio-Properties=media.role=music
|
X-PulseAudio-Properties=media.role=music
|
||||||
|
MimeType=x-scheme-handler/tidal;
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||||
|
<mime-type type="x-scheme-handler/tidal">
|
||||||
|
<icon name="tidal-hifi" />
|
||||||
|
</mime-type>
|
||||||
|
</mime-info>
|
Loading…
Reference in New Issue