Compare commits

...

53 Commits

Author SHA1 Message Date
98d5a316d4 5.20.1 2025-08-25 23:44:59 +02:00
5311e62fbf 5.20.0 2025-07-10 17:07:36 +02:00
9ab9ce6464 5.19.0 2025-04-22 13:53:13 +02:00
6e8c35dd22 5.18.2 2025-03-30 13:35:23 +02:00
a1ff4d71ba 5.18.1 2025-03-29 21:06:38 +01:00
902dcdafba 5.18 2025-03-18 10:48:08 +01:00
8318b0755c 5.17.0 2024-10-27 22:49:24 +01:00
d21a54d7b6 5.16.0 2024-08-10 15:15:26 +02:00
3c3c1f8c75 5.15.0 2024-07-16 00:19:36 +02:00
ed67017684 5.14.1 2024-06-09 19:17:00 +02:00
80ec77cb7c 5.14 2024-06-09 14:28:59 +02:00
5af6495a26 5.13.1 2024-05-27 14:14:00 +02:00
f85bae52be 5.13.0 2024-05-20 16:45:09 +02:00
12b6f7d2c2 5.12.0 2024-05-14 23:24:30 +02:00
c12fe3c24a 5.11 2024-05-05 21:11:04 +02:00
bb8c47d799 5.10.0 2024-03-24 21:36:59 +01:00
6a56e59202 5.9.0 2024-02-12 23:32:13 +01:00
eae6902935 release: 5.8.0 2024-01-07 16:37:33 +01:00
22055ca028 5.7.1 2023-09-11 20:55:33 +02:00
1192c09884 5.7.0 2023-08-28 22:47:42 +02:00
6c11172d95 5.6.0 2023-08-12 16:10:35 +02:00
ddb28a61dc 5.5.0 2023-07-31 21:55:07 +02:00
b29a421cda 5.4.0 2023-07-24 23:09:56 +02:00
98504ce2c4 5.3.0 2023-06-24 13:45:30 +02:00
3ab5b9672b 5.2.0 2023-06-18 22:21:23 +02:00
867422addf 5.1.0 2023-04-27 16:07:35 +02:00
2098f174e9 chore: release 5.0.0 2023-04-22 22:02:03 +02:00
64f4b02242 url fixes 2023-03-07 15:53:55 +01:00
af017c6e97 Merge branch 'master' of github.com:Mastermindzh/tidal-hifi-aur 2023-01-22 23:27:32 +01:00
1bd623ee08 4.4 2023-01-22 23:26:30 +01:00
a30471d5d4 pkgbuild change for image location 2022-11-03 13:36:59 +01:00
2fed805923 4.3.1' 2022-10-24 14:14:33 +02:00
b83599d7d7 4.3.0 2022-10-05 23:01:29 +02:00
14541fb184 4.2.2 2022-09-25 13:40:46 +02:00
46b21177cd 4.1.2 2022-09-11 23:29:20 +02:00
5c7f95485f 4.1.1 2022-08-23 22:04:03 +02:00
f9172ce849 4.1.0 2022-08-07 16:54:53 +02:00
723b210494 typo in pkgver 2022-06-27 11:20:38 +02:00
94d4a3eddb 4.0.1 2022-06-25 22:14:54 +02:00
a72661d8be 4.0.0 release 2022-06-23 17:53:56 +02:00
9416e12835 Merge branch 'master' of github.com:Mastermindzh/tidal-hifi-aur 2022-06-18 11:23:50 +02:00
d8f8d3031c 3.1.1 2022-06-18 11:18:57 +02:00
e8f239da99 3.1.0 2022-05-07 18:48:43 +02:00
5a016adcfd 3.0.0 2022-04-23 23:29:29 +02:00
9ad18e4b0a hotfix 2022-04-22 00:32:44 +02:00
36ae927289 2.8.1 2022-04-21 18:24:00 +02:00
656b4fb92e mutedartists feature release 2022-03-31 18:42:32 +02:00
e911e4beda update with dependencies to fix libcrypt error 2022-02-23 17:17:20 +01:00
36eddd27f3 2.7.2 2022-02-17 16:45:33 +01:00
1234973185 2.7.1 2022-01-23 11:30:54 +01:00
1d645146db 2.7.0 2021-12-28 17:57:13 +01:00
f859d52d33 Merge pull request #3 from Noir-/patch-1 2021-12-28 12:07:24 +01:00
threa4ctor
166b0f8481 make sure npm is available in the env when building
There was the proper environment missing in the build() routine when npm wasn't installed globally. This led the build fail because `npm` could not be found. Calling getnvm to source the NVM env fixes it.
2021-12-23 17:57:53 +01:00
6 changed files with 44 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
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
pkgver = 2.6.0.r0.g0dec967
pkgver = 5.20.1.r0.g604f34b
pkgrel = 1
url = https://github.com/Mastermindzh/tidal-hifi
arch = x86_64
@@ -9,11 +9,15 @@ pkgbase = tidal-hifi-git
depends = libxss
depends = nss
depends = gtk3
depends = libxcrypt-compat
depends = libnotify
provides = tidal-hifi
conflicts = tidal-hifi
source = git+https://github.com/Mastermindzh/tidal-hifi.git
source = tidal-hifi.desktop
source = tidal-hifi.xml
sha512sums = SKIP
sha512sums = 31cf40fb3ac81c4a64a8410a78e97c268a440577bce54347ce62f8a9566c8897f8083cd1e5afa40b0fbe9a149fc4fb4f29cad91a12e5b47cf8e300e56351a4f1
sha512sums = bdfa717818219e1b7b6033ae8217615aad518c119d465639e394a1415df545cecafa794c4a1fa267cb69b62e7026291a0b18bad7cc61ec80814da086413c6df7
sha512sums = e06fce55c2d9fcaeff514b97e8b003dca4c1a0aa8c8e14c3e3b99febbc2e8af7402d2e2009147f3f57a9b6447fafd23dd69e7b4de63cf43c5d67825836ebecb5
pkgname = tidal-hifi-git

5
.gitignore vendored
View File

@@ -3,4 +3,7 @@
!.SRCINFO
!package.json
!PKGBUILD
!tidal-hifi-desktop
!tidal-hifi.desktop
!src/tidal-hifi.desktop
!tidal-hifi.xml
!src/tidal-hifi.xml

View File

@@ -2,37 +2,38 @@
pkgname=tidal-hifi-git
pkgrel=1
pkgver=2.6.0.r0.g0dec967
pkgver=5.20.1.r0.g604f34b
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)
url="https://github.com/Mastermindzh/tidal-hifi"
license=("custom:MIT")
depends=(libxss nss gtk3)
depends=(libxss nss gtk3 libxcrypt-compat libnotify)
makedepends=(git)
provides=(tidal-hifi)
conflicts=(tidal-hifi)
source=("git+https://github.com/Mastermindzh/tidal-hifi.git"
"tidal-hifi.desktop")
"tidal-hifi.desktop"
"tidal-hifi.xml")
sha512sums=('SKIP'
'31cf40fb3ac81c4a64a8410a78e97c268a440577bce54347ce62f8a9566c8897f8083cd1e5afa40b0fbe9a149fc4fb4f29cad91a12e5b47cf8e300e56351a4f1')
'bdfa717818219e1b7b6033ae8217615aad518c119d465639e394a1415df545cecafa794c4a1fa267cb69b62e7026291a0b18bad7cc61ec80814da086413c6df7'
"e06fce55c2d9fcaeff514b97e8b003dca4c1a0aa8c8e14c3e3b99febbc2e8af7402d2e2009147f3f57a9b6447fafd23dd69e7b4de63cf43c5d67825836ebecb5")
getnvm() {
if command -v nvm
then
if command -v nvm; then
echo "nvm command found, using system version.."
else
if test -f "/usr/share/nvm/init-nvm.sh"
then
if test -f "/usr/share/nvm/init-nvm.sh"; then
echo "found init-nvm.sh in /usr/share/nvm, sourcing..."
unset npm_config_prefix
source "/usr/share/nvm/init-nvm.sh"
else
echo "nvm could not be found, installing"
unset npm_config_prefix
folderName=$(cat /dev/urandom | tr -cd 'a-f0-9' | head -c 12)
git clone https://aur.archlinux.org/nvm.git "$folderName"
cd "$folderName"
cd "$folderName" || exit
makepkg -si --asdeps
source /usr/share/nvm/init-nvm.sh
cd ../
@@ -42,14 +43,14 @@ getnvm() {
}
pkgver() {
cd "${srcdir}/${pkgname%-git}"
cd "${srcdir}/${pkgname%-git}" || exit
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
getnvm
cd "${srcdir}/${pkgname%-git}"
cd "${srcdir}/${pkgname%-git}" || exit
# use correct nodejs/npm versions
nvm install lts/gallium
@@ -60,14 +61,16 @@ prepare() {
}
build() {
cd "${srcdir}/${pkgname%-git}"
getnvm
cd "${srcdir}/${pkgname%-git}" || exit
# We are not using the systems Electron as we need castlab's Electron.
npm run build-arch
}
package() {
cd "${srcdir}/${pkgname%-git}"
cd "${srcdir}/${pkgname%-git}" || exit
install -d "${pkgdir}/opt/tidal-hifi/" "${pkgdir}/usr/bin" "${pkgdir}/usr/share/doc" "${pkgdir}/usr/share/licenses"
@@ -77,11 +80,15 @@ package() {
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/icons/${pkgname%-git}/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.xml" "${pkgdir}/usr/share/mime/packages/tidal-hifi.xml"
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 "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/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html"
}

View File

@@ -1,13 +1,14 @@
[Desktop Entry]
Encoding=UTF-8
Name=tidal-hifi
GenericName=tidal-hifi
Name=TIDAL Hi-Fi
GenericName=TIDAL Hi-Fi
Comment=The web version of listen.tidal.com running in electron with hifi support thanks to widevine.
Exec=tidal-hifi %u
Icon=/usr/share/icons/hicolor/0x0/apps/tidal-hifi.png
Exec=tidal-hifi --enable-features=UseOzonePlatform --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations %U
Icon=/usr/share/icons/tidal-hifi/tidal-hifi.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Network;Application;Audio;Video
Categories=Network;Application;Audio;Video;AudioVideo
StartupWMClass=tidal-hifi
X-PulseAudio-Properties=media.role=music
MimeType=x-scheme-handler/tidal;

6
tidal-hifi.xml Normal file
View File

@@ -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>