Noted. I'll apply the patches you mentioned previously. There is a chance in the future this package may get replaced with the Cider 2 launcher. I'll keep you all posted on this. There is also a chance I will no longer be able to update this. Since creating this, I have moved away from arch to nixos, so maintaining this package will be tricky.
Search Criteria
Package Details: cider 1.6.3-9
Package Actions
Git Clone URL: | https://aur.archlinux.org/cider.git (read-only, click to copy) |
---|---|
Package Base: | cider |
Description: | Project Cider. An open-source Apple Music client built from the ground up with Vue.js and Electron. Build from tar file on GitHub releases. |
Upstream URL: | https://github.com/ciderapp/cider.git |
Keywords: | applemusic cider |
Licenses: | AGPL3 |
Conflicts: | cider |
Provides: | cider |
Submitter: | Core_UK |
Maintainer: | Core_UK |
Last Packager: | Core_UK |
Votes: | 23 |
Popularity: | 0.064360 |
First Submitted: | 2021-12-08 22:09 (UTC) |
Last Updated: | 2025-01-15 14:18 (UTC) |
Dependencies (8)
- alsa-lib
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libxcrypt-compat
- nss (nss-hgAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- nvmAUR (nvm-gitAUR) (make)
- libnotify (libnotify-gitAUR) (optional) – Playback notifications
Required by (0)
Sources (1)
Core_UK commented on 2025-01-15 14:05 (UTC) (edited on 2025-01-15 14:12 (UTC) by Core_UK)
Zentino commented on 2025-01-14 00:55 (UTC)
I'd prefer the package beeb reserverd for those who wants an open-source alternative for Apple Music on Linux
Core_UK commented on 2025-01-13 11:01 (UTC)
I was the one who archived it, should the package just be removed then?
FabioLolix commented on 2025-01-12 18:47 (UTC)
Btw the source repo archived on 2024/12/10
Zentino commented on 2025-01-12 02:59 (UTC)
Latest release depends on node.js v20.2.0, which can't fetch static resources from googleapi CDN in a network environment that prefers IPv6 but can't actually connect with v6. Issue is as https://github.com/nodejs/node/issues/47822 .
Also the rpmbuild
always fails.
Here's my patch to workaround issues above.
diff --git a/.SRCINFO b/.SRCINFO
index 097a800..c10768b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,7 +8,6 @@ pkgbase = cider
makedepends = nvm
makedepends = fontconfig
makedepends = git
- makedepends = rpm-tools
depends = gtk3
depends = nss
depends = alsa-lib
diff --git a/PKGBUILD b/PKGBUILD
index f344976..136843c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ url="https://github.com/ciderapp/${pkgname}.git"
license=(AGPL3)
depends=(gtk3 nss alsa-lib libxcrypt-compat)
optdepends=('libnotify: Playback notifications')
-makedepends=(nvm fontconfig git rpm-tools)
+makedepends=(nvm fontconfig git)
provides=(${pkgname})
conflicts=(${pkgname})
source_x86_64=("https://github.com/ciderapp/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
@@ -29,6 +29,7 @@ _ensure_local_nvm() {
prepare() {
cd "${srcdir}/${pkgname^}-${pkgver}"
_ensure_local_nvm
+ echo "20.18.1" > .nvmrc # fix https://github.com/nodejs/node/issues/47822
nvm install
corepack enable
corepack prepare yarn@stable --activate
@@ -37,7 +38,7 @@ prepare() {
build() {
cd "${srcdir}/${pkgname^}-${pkgver}"
_ensure_local_nvm
- npx -y check-engine && yarn install && yarn dist && mv dist/*.deb "${srcdir}/" && cd "${srcdir}"
+ npx -y check-engine && yarn install && yarn dist --linux deb && mv dist/*.deb "${srcdir}/" && cd "${srcdir}"
ar x ${pkgname}_${pkgver}_amd64.deb data.tar.xz
}
Soltra45 commented on 2024-12-10 02:12 (UTC)
Keep getting rpmbuild failed
during build:
cannot execute cause=exit status 1
out={:timestamp=>"2024-12-09T21:10:04.701342-0500", :message=>"Process failed: rpmbuild failed (exit code 1). Full command was:[\"rpmbuild\", \"-bb\", \"--target\", \"x86_64-unknown-linux\", \"--define\", \"buildroot /tmp/package-rpm-build-05531becaba69d09f16abb48c75e4baea8430d8c179b92bee30defcf58db/BUILD\", \"--define\", \"_topdir /tmp/package-rpm-build-05531becaba69d09f16abb48c75e4baea8430d8c179b92bee30defcf58db\", \"--define\", \"_sourcedir /tmp/package-rpm-build-05531becaba69d09f16abb48c75e4baea8430d8c179b92bee30defcf58db\", \"--define\", \"_rpmdir /tmp/package-rpm-build-05531becaba69d09f16abb48c75e4baea8430d8c179b92bee30defcf58db/RPMS\", \"--define\", \"_tmppath /tmp\", \"/tmp/package-rpm-build-05531becaba69d09f16abb48c75e4baea8430d8c179b92bee30defcf58db/SPECS/cider.spec\"]", :level=>:error}
Core_UK commented on 2024-06-05 22:05 (UTC)
Added the rpm-tools dep, I forgot it was a required dependency for deb building. As for the error that petronny is experiencing, I'm leaning towards an issue with Electron-Builder or a fault with your actions runner.
Zollerboy1 commented on 2024-06-05 13:57 (UTC)
The build fails with this error:
to build rpm, executable rpmbuild is required, please install: sudo apt-get install rpm
After manually installing rpm-tools
, it builds fine again, so maybe this package should be added to the make dependencies.
petronny commented on 2024-06-01 13:40 (UTC)
Getting this error:
Exit code:
1 failedTask=build stackTrace=Error: /build/cider/src/Cider-1.6.3/node_modules/app-builder-bin/linux/x64/app-builder process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1
at ChildProcess.<anonymous> (/build/cider/src/Cider-1.6.3/node_modules/builder-util/src/util.ts:252:14)
at Object.onceWrapper (node:events:626:26)
at ChildProcess.emit (node:events:511:28)
at maybeClose (node:internal/child_process:1098:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
ar: cider_1.6.3_amd64.deb: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
https://github.com/arch4edu/cactus/actions/runs/9315477029/job/25684529644
Pinned Comments
Core_UK commented on 2022-11-30 13:42 (UTC) (edited on 2023-06-09 01:31 (UTC) by Core_UK)
Use the
CIDER_PORT
environment variable to set the port of the renderer.