Package Details: apple-music-electron-git 3.0.0-1

Git Clone URL: https://aur.archlinux.org/apple-music-electron-git.git (read-only, click to copy)
Package Base: apple-music-electron-git
Description: An open-source, GPU-accelerated Electron application that emulates the Apple Music website in a customizable interface. NOTE: This package has been archived by the development team for the newer native Cider Project.
Upstream URL: https://github.com/CiderApp/Apple-Music-Electron.git
Keywords: apple applemusic electron music
Licenses: MIT
Conflicts: apple-music-electron
Provides: apple-music-electron
Submitter: Core_UK
Maintainer: Core_UK
Last Packager: Core_UK
Votes: 3
Popularity: 0.21
First Submitted: 2021-08-30 23:54
Last Updated: 2022-01-15 00:16

Pinned Comments

Core_UK commented on 2021-11-24 18:15

Use nodejs-lts-galium or nodejs 16.3 or earlier due to a bug with nodegyp.

Latest Comments

1 2 Next › Last »

Core_UK commented on 2021-11-29 15:01

You are using the nodejs-lts build correct?

dawnson commented on 2021-11-29 14:39

Build still fails for me (even on a reinstall) with:

$ node-gyp rebuild
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

                                             errorOut=gyp info it worked if it ends with ok
    gyp info using node-gyp@8.2.0
    gyp info using node@17.1.0 | linux | x64
    gyp info find Python using Python version 3.9.9 found at "/usr/bin/python3"
    gyp info spawn /usr/bin/python3
    gyp info spawn args [
    gyp info spawn args   '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
    gyp info spawn args   'binding.gyp',
    gyp info spawn args   '-f',
    gyp info spawn args   'make',
    gyp info spawn args   '-I',
    gyp info spawn args   '/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/abstract-socket/build/config.gypi',
    gyp info spawn args   '-I',
    gyp info spawn args   '/usr/lib/node_modules/node-gyp/addon.gypi',
    gyp info spawn args   '-I',
    gyp info spawn args   '/home/auryn/.electron-gyp/15.3.2/include/node/common.gypi',
    gyp info spawn args   '-Dlibrary=shared_library',
    gyp info spawn args   '-Dvisibility=default',
    gyp info spawn args   '-Dnode_root_dir=/home/auryn/.electron-gyp/15.3.2',
    gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
    gyp info spawn args   '-Dnode_lib_file=/home/auryn/.electron-gyp/15.3.2/<(target_arch)/node.lib',
    gyp info spawn args   '-Dmodule_root_dir=/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/abstract-socket',
    gyp info spawn args   '-Dnode_engine=v8',
    gyp info spawn args   '--depth=.',
    gyp info spawn args   '--no-parallel',
    gyp info spawn args   '--generator-output',
    gyp info spawn args   'build',
    gyp info spawn args   '-Goutput_dir=.'
    gyp info spawn args ]
    gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
    gyp ERR! configure error 
    gyp ERR! stack Error: `gyp` failed with exit code: 1
    gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:353:16)
    gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
    gyp ERR! System Linux 5.15.5-arch1-1
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/abstract-socket
    gyp ERR! node -v v17.1.0
    gyp ERR! node-gyp -v v8.2.0
    gyp ERR! not ok 
error Command failed with exit code 1.

                                             command=/usr/bin/node /usr/lib/node_modules/yarn/bin/yarn.js run install
                                             workingDir=/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/abstract-socket
  • rebuilding native dependency  name=electron-acrylic-window version=0.5.9
  • rebuilding native dependency  name=register-scheme version=0.0.2
  • rebuilding native dependency  name=naudiodon version=2.3.9
  ⨯ cannot execute  cause=exit status 1
yarn run v1.22.17
$ node-gyp rebuild
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

                    errorOut=gyp info it worked if it ends with ok
    gyp info using node-gyp@8.4.1
    gyp info using node@17.1.0 | linux | x64
    gyp info find Python using Python version 3.9.9 found at "/usr/bin/python3"
    gyp info spawn /usr/bin/python3
    gyp info spawn args [
    gyp info spawn args   '/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/node-gyp/gyp/gyp_main.py',
    gyp info spawn args   'binding.gyp',
    gyp info spawn args   '-f',
    gyp info spawn args   'make',
    gyp info spawn args   '-I',
    gyp info spawn args   '/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/electron-acrylic-window/build/config.gypi',
    gyp info spawn args   '-I',
    gyp info spawn args   '/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/node-gyp/addon.gypi',
    gyp info spawn args   '-I',
    gyp info spawn args   '/home/auryn/.electron-gyp/15.3.2/include/node/common.gypi',
    gyp info spawn args   '-Dlibrary=shared_library',
    gyp info spawn args   '-Dvisibility=default',
    gyp info spawn args   '-Dnode_root_dir=/home/auryn/.electron-gyp/15.3.2',
    gyp info spawn args   '-Dnode_gyp_dir=/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/node-gyp',
    gyp info spawn args   '-Dnode_lib_file=/home/auryn/.electron-gyp/15.3.2/<(target_arch)/node.lib',
    gyp info spawn args   '-Dmodule_root_dir=/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/electron-acrylic-window',
    gyp info spawn args   '-Dnode_engine=v8',
    gyp info spawn args   '--depth=.',
    gyp info spawn args   '--no-parallel',
    gyp info spawn args   '--generator-output',
    gyp info spawn args   'build',
    gyp info spawn args   '-Goutput_dir=.'
    gyp info spawn args ]
    gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
    gyp ERR! configure error 
    gyp ERR! stack Error: `gyp` failed with exit code: 1
    gyp ERR! stack     at ChildProcess.onCpExit (/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/node-gyp/lib/configure.js:259:16)
    gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
    gyp ERR! System Linux 5.15.5-arch1-1
    gyp ERR! command "/usr/bin/node" "/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/electron-acrylic-window/node_modules/.bin/node-gyp" "rebuild"
    gyp ERR! cwd /home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/electron-acrylic-window
    gyp ERR! node -v v17.1.0
    gyp ERR! node-gyp -v v8.4.1
    gyp ERR! not ok 
error Command failed with exit code 1.

                    command=/usr/bin/node /usr/lib/node_modules/yarn/bin/yarn.js run install
                    workingDir=/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/electron-acrylic-window
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'apple-music-electron-git-3.0.0-2': 
error: packages failed to build: apple-music-electron-git-3.0.0-2

Core_UK commented on 2021-11-25 13:27

Apple-Music-Electron was deleted in favour of this package. As from my understanding the AUR prefers packages with -git at the end if they are building from git. The main package did just that but built from the archive created on releases. If you want a package with a binary, use apple-music-electron-bin

OctopusET commented on 2021-11-25 11:21

@Core_UK Why apple-music-electron package is deleted? Even repo provides binary, I think apple-music-electron can be exist.

Core_UK commented on 2021-11-24 18:15

Use nodejs-lts-galium or nodejs 16.3 or earlier due to a bug with nodegyp.

Core_UK commented on 2021-11-15 09:24

I have made a request to CastLabs for an arm64 release to be made. I'll let you know when I get an update. EDIT: Due to the fact that there is no official Widevine CDM for aarch64, a Widevine release of Electron in aarch64 could not be made.

dgy18787 commented on 2021-11-15 08:48

seems that there is no corresponding electron package for aarch64. build failed on manjaro aarch64 (raspberry pi 4b). log:

error /home/user/makepkg/apple-music-electron-git/src/Apple-Music-Electron/node_modules/electron: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /home/user/makepkg/apple-music-electron-git/src/Apple-Music-Electron/node_modules/electron
Output:
HTTPError: Response code 404 (Not Found) for https://github.com/castlabs/electron-releases/releases/download/v16.0.0-beta.9+wvcus/electron-v16.0.0-beta.9+wvcus-linux-arm64.zip

Core_UK commented on 2021-11-09 15:25

If you reinstall the package, it should be all good now.

Core_UK commented on 2021-11-09 15:20

The development team and I are aware of this issue, it is due to the module naudiodon, which is used for audio outputs, being a bit weird on Linux. I suggest you hold off on updating / installing this package until the issue is resolved.

dawnson commented on 2021-11-09 13:56

Latest build fails with

make: *** [naudiodon.target.mk:125: Release/obj.target/naudiodon/src/PaContext.o] Error 1
make: Leaving directory '/home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/naudiodon/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Linux 5.14.16-arch1-1
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/auryn/.cache/paru/clone/apple-music-electron-git/src/Apple-Music-Electron/node_modules/naudiodon
gyp ERR! node -v v16.11.1




==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'apple-music-electron-git-3.0.0-1': 
error: packages failed to build: apple-music-electron-git-3.0.0-1