Package Details: tidal-hifi-git 5.17.0.r0.gae69988-1

Git Clone URL: https://aur.archlinux.org/tidal-hifi-git.git (read-only, click to copy)
Package Base: tidal-hifi-git
Description: 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
Upstream URL: https://github.com/Mastermindzh/tidal-hifi
Keywords: hifi tidal tidal-hifi
Licenses: custom:MIT
Conflicts: tidal-hifi
Provides: tidal-hifi
Submitter: mastermindzh
Maintainer: mastermindzh
Last Packager: mastermindzh
Votes: 9
Popularity: 0.158711
First Submitted: 2021-06-26 14:03 (UTC)
Last Updated: 2024-10-27 21:49 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

mastermindzh commented on 2022-06-24 07:19 (UTC)

Hey Guys,

Deimidis is on the right track. Nothing in the PKGBUILD actually changed and I accidentally have rpm-tools installed so I didn't notice it :/

The update of electron-builder does indeed mean that some of the configs have to change which we also didn't notice before deployment.

As for now, you can temporarily install the rpm-tools package to finish the install. I will have time later this evening (after work, CEST) to figure out the new build configs and update this repo.

Sorry for the inconvenience!

@papavlos:

Glad you like it. I specifically included a temporary nvm setup to work around the downgrade of npm :) Shouldn't be something the user worries about!

deimidis commented on 2022-06-23 21:39 (UTC)

I see that PKGBUILD says npm run build-arch but it seems it's built everything. I think the problem is that electron-builder.pacman.yml extends electron-builder.yml (and this build everything)

deimidis commented on 2022-06-23 21:05 (UTC)

I have the same problem that @papavlos. I tried to check if can find the part of the code that creates rpm, and see there's an Appimage created as well. So I will use it in the meantime.

papavlos commented on 2022-06-23 17:50 (UTC) (edited on 2022-06-23 17:57 (UTC) by papavlos)

Thanks a lot @mastermindzh for maintaining it! As a matter of fact the package builds without any need of downgrading npm.

Missing dependence on rpm-tools detected - please add this. The building process fails without the package being installed.

By the way, please review if we really need all these builds like rpm, deb, freebsd, snap, etc? They are very time (and energy) consuming. I suspect that they are useless for us here on Arch.

mastermindzh commented on 2022-03-14 09:18 (UTC)

@blakerateliff,

Your error log indicates that installing nvm (which is a dependency) is failing because you didn't provide pacman with a password: See:

==> Installing package nvm with pacman -U...
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required

blakerateliff commented on 2022-03-13 18:08 (UTC) (edited on 2022-03-13 18:10 (UTC) by blakerateliff)

Package is broken as-is. Manually installing package: "nvm" resolved the issue. It should probably be added as a dependency.


Building tidal-hifi...
==> Making package: tidal-hifi 2.7.2-1 (Sun 13 Mar 2022 01:00:24 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading tidal-hifi-2.7.2.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   137  100   137    0     0    660      0 --:--:-- --:--:-- --:--:--   661

100   97k    0   97k    0     0   157k      0 --:--:-- --:--:-- --:--:--  157k
100 2897k    0 2897k    0     0  3442k      0 --:--:-- --:--:-- --:--:-- 12.4M
  -> Found tidal-hifi.desktop
==> Validating source files with md5sums...
    tidal-hifi-2.7.2.zip ... Passed
    tidal-hifi.desktop ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting tidal-hifi-2.7.2.zip with bsdtar
==> Starting prepare()...
nvm could not be found, installing
Cloning into '01801b4cb7ec'...
==> Making package: nvm 0.39.1-1 (Sun 13 Mar 2022 01:00:27 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading nvm-0.39.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   129  100   129    0     0    665      0 --:--:-- --:--:-- --:--:--   668

100  162k    0  162k    0     0   257k      0 --:--:-- --:--:-- --:--:--  257k
  -> Found init-nvm.sh
  -> Found install-nvm-exec
==> Validating source files with sha256sums...
    nvm-0.39.1.tar.gz ... Passed
    init-nvm.sh ... Passed
    install-nvm-exec ... Passed
==> Extracting sources...
  -> Extracting nvm-0.39.1.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "nvm"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: nvm 0.39.1-1 (Sun 13 Mar 2022 01:00:28 PM CDT)
==> Installing package nvm with pacman -U...
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
==> WARNING: Failed to install built package(s).
==> ERROR: A failure occurred in prepare().
    Aborting...

mastermindzh commented on 2022-02-23 16:17 (UTC)

Hey @deimidis,

Some dependencies have been moved to libxcrypt-compat, I will add it as a dependency of tidal-hifi.

All in all, the build works again :)

deimidis commented on 2022-02-22 15:05 (UTC) (edited on 2022-02-22 15:06 (UTC) by deimidis)

I'm having problems updating this package with yay. I tried with a cleanbuild too, but the same error (it's working with the old version):

> tidal-hifi@2.7.2 build-arch
> electron-builder --publish=never -c ./build/electron-builder.pacman.yml

  • electron-builder  version=22.14.5 os=5.15.24-1-MANJARO
  • loaded configuration  file=/home/deimidis/.cache/yay/tidal-hifi-git/src/tidal-hifi/build/electron-builder.pacman.yml
  • loaded parent configuration  file=/home/deimidis/.cache/yay/tidal-hifi-git/src/tidal-hifi/build/electron-builder.yml
  • writing effective config  file=dist/builder-effective-config.yaml
  • rebuilding native dependencies  dependencies=abstract-socket@2.1.1, register-scheme@0.0.2 platform=linux arch=x64
  • packaging       platform=linux arch=x64 electron=8.5.2 appOutDir=dist/linux-unpacked
  • building        target=pacman arch=x64 file=dist/tidal-hifi-2.7.2.pacman
  ⨯ cannot execute  cause=exit status 127
                    errorOut=/home/deimidis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/ruby/bin.real/ruby: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

                    command=/home/deimidis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/fpm -s dir --force -t pacman -d c-ares -d ffmpeg -d gtk3 -d http-parser -d libevent -d libvpx -d libxslt -d libxss -d minizip -d nss -d re2 -d snappy -d libnotify -d libappindicator-gtk3 --pacman-compression xz --architecture amd64 --after-install /tmp/t-8jXgJ5/1-after-install --after-remove /tmp/t-8jXgJ5/0-after-remove --description '
     Tidal on Electron with widevine(hifi) support' --version 2.7.2 --package /home/deimidis/.cache/yay/tidal-hifi-git/src/tidal-hifi/dist/tidal-hifi-2.7.2.pacman --name tidal-hifi --maintainer 'Rick van Lieshout <info@rickvanlieshout.com>' --url https://github.com/Mastermindzh/tidal-hifi --vendor 'Rick van Lieshout <info@rickvanlieshout.com>' --license MIT /home/deimidis/.cache/yay/tidal-hifi-git/src/tidal-hifi/dist/linux-unpacked/=/opt/tidal-hifi /home/deimidis/.cache/yay/tidal-hifi-git/src/tidal-hifi/assets/icon.png=/usr/share/icons/hicolor/0x0/apps/tidal-hifi.png /tmp/t-8jXgJ5/2-tidal-hifi.desktop=/usr/share/applications/tidal-hifi.desktop
                    workingDir=
==> ERROR: A failure occurred in build().

mastermindzh commented on 2022-02-17 15:46 (UTC)

Thanks to Mar0xy the app now adds the flag automatically when starting :) Enjoy!

Batpope commented on 2022-02-16 18:28 (UTC) (edited on 2022-02-16 18:29 (UTC) by Batpope)

To fix the app not launching, start tidal-hifi with the --disable-seccomp-filter-sandbox flag:

$ tidal-hifi --disable-seccomp-filter-sandbox

Credits to Mar0xy on github for the fix: https://github.com/Mastermindzh/tidal-hifi/issues/102#issuecomment-1041444291