Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] spotifyd: update to 0.4.1
@ 2025-04-12 19:36 fabienjuif
  2025-04-13 14:03 ` [PR PATCH] [Updated] " fabienjuif
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: fabienjuif @ 2025-04-12 19:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

There is a new pull request by fabienjuif against master on the void-packages repository

https://github.com/fabienjuif/void-packages spotifyd
https://github.com/void-linux/void-packages/pull/55045

spotifyd: update to 0.4.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (aarch64-glibc)



A patch file from https://github.com/void-linux/void-packages/pull/55045.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-spotifyd-55045.patch --]
[-- Type: text/x-diff, Size: 1749 bytes --]

From fdcd0d087b1a7cdc59659adc67c5b955021412c8 Mon Sep 17 00:00:00 2001
From: Fabien JUIF <fabien.juif@gmail.com>
Date: Sat, 12 Apr 2025 21:35:48 +0200
Subject: [PATCH] spotifyd: update to 0.4.1

---
 srcpkgs/spotifyd/template | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/spotifyd/template b/srcpkgs/spotifyd/template
index 9532698f915132..4d0a7043a1a106 100644
--- a/srcpkgs/spotifyd/template
+++ b/srcpkgs/spotifyd/template
@@ -1,7 +1,7 @@
 # Template file for 'spotifyd'
 pkgname=spotifyd
-version=0.3.5
-revision=3
+version=0.4.1
+revision=1
 archs="x86_64* i686* aarch64* arm*" # ring
 build_style=cargo
 configure_args="--no-default-features"
@@ -15,7 +15,7 @@ license="GPL-3.0-or-later"
 homepage="https://github.com/Spotifyd/spotifyd"
 changelog="https://raw.githubusercontent.com/Spotifyd/spotifyd/master/CHANGELOG.md"
 distfiles="https://github.com/Spotifyd/spotifyd/archive/v${version}.tar.gz"
-checksum=59103f7097aa4e2ed960f1cc307ac8f4bdb2f0067aad664af32344aa8a972df7
+checksum=fdbf93c51232d85a0ef29813a02f3c23aacf733444eacf898729593e8837bcfc
 
 build_options="alsa pulseaudio portaudio dbus"
 build_options_default="alsa pulseaudio portaudio dbus"
@@ -25,14 +25,9 @@ export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
 
 _features="$(vopt_if alsa ',alsa_backend')"
 _features+="$(vopt_if pulseaudio ',pulseaudio_backend')"
-_features+="$(vopt_if dbus ',dbus_mpris,dbus_keyring')"
+_features+="$(vopt_if dbus ',dbus_mpris')"
 _features+="$(vopt_if portaudio ',portaudio_backend')"
 
 if [ "$_features" ]; then
 	configure_args+=" --features $_features"
 fi
-
-pre_configure() {
-	cargo update --package rustc-serialize@0.3.24  --precise 0.3.25
-	cargo update --package time@0.3.20 --precise 0.3.35
-}

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] spotifyd: update to 0.4.1
  2025-04-12 19:36 [PR PATCH] spotifyd: update to 0.4.1 fabienjuif
@ 2025-04-13 14:03 ` fabienjuif
  2025-04-17 19:00 ` fabienjuif
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: fabienjuif @ 2025-04-13 14:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

There is an updated pull request by fabienjuif against master on the void-packages repository

https://github.com/fabienjuif/void-packages spotifyd
https://github.com/void-linux/void-packages/pull/55045

spotifyd: update to 0.4.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)



A patch file from https://github.com/void-linux/void-packages/pull/55045.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-spotifyd-55045.patch --]
[-- Type: text/x-diff, Size: 2634 bytes --]

From fdcd0d087b1a7cdc59659adc67c5b955021412c8 Mon Sep 17 00:00:00 2001
From: Fabien JUIF <fabien.juif@gmail.com>
Date: Sat, 12 Apr 2025 21:35:48 +0200
Subject: [PATCH 1/2] spotifyd: update to 0.4.1

---
 srcpkgs/spotifyd/template | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/spotifyd/template b/srcpkgs/spotifyd/template
index 9532698f915132..4d0a7043a1a106 100644
--- a/srcpkgs/spotifyd/template
+++ b/srcpkgs/spotifyd/template
@@ -1,7 +1,7 @@
 # Template file for 'spotifyd'
 pkgname=spotifyd
-version=0.3.5
-revision=3
+version=0.4.1
+revision=1
 archs="x86_64* i686* aarch64* arm*" # ring
 build_style=cargo
 configure_args="--no-default-features"
@@ -15,7 +15,7 @@ license="GPL-3.0-or-later"
 homepage="https://github.com/Spotifyd/spotifyd"
 changelog="https://raw.githubusercontent.com/Spotifyd/spotifyd/master/CHANGELOG.md"
 distfiles="https://github.com/Spotifyd/spotifyd/archive/v${version}.tar.gz"
-checksum=59103f7097aa4e2ed960f1cc307ac8f4bdb2f0067aad664af32344aa8a972df7
+checksum=fdbf93c51232d85a0ef29813a02f3c23aacf733444eacf898729593e8837bcfc
 
 build_options="alsa pulseaudio portaudio dbus"
 build_options_default="alsa pulseaudio portaudio dbus"
@@ -25,14 +25,9 @@ export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
 
 _features="$(vopt_if alsa ',alsa_backend')"
 _features+="$(vopt_if pulseaudio ',pulseaudio_backend')"
-_features+="$(vopt_if dbus ',dbus_mpris,dbus_keyring')"
+_features+="$(vopt_if dbus ',dbus_mpris')"
 _features+="$(vopt_if portaudio ',portaudio_backend')"
 
 if [ "$_features" ]; then
 	configure_args+=" --features $_features"
 fi
-
-pre_configure() {
-	cargo update --package rustc-serialize@0.3.24  --precise 0.3.25
-	cargo update --package time@0.3.20 --precise 0.3.35
-}

From 9b79ac186dde8a3f51275f2fbc2901ceb5df4a61 Mon Sep 17 00:00:00 2001
From: Fabien JUIF <fabien.juif@gmail.com>
Date: Sun, 13 Apr 2025 16:03:26 +0200
Subject: [PATCH 2/2] with cmake?

---
 srcpkgs/spotifyd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/spotifyd/template b/srcpkgs/spotifyd/template
index 4d0a7043a1a106..51d419ff78e947 100644
--- a/srcpkgs/spotifyd/template
+++ b/srcpkgs/spotifyd/template
@@ -6,7 +6,7 @@ archs="x86_64* i686* aarch64* arm*" # ring
 build_style=cargo
 configure_args="--no-default-features"
 hostmakedepends="pkg-config"
-makedepends="openssl-devel $(vopt_if alsa alsa-lib-devel)
+makedepends="cmake openssl-devel $(vopt_if alsa alsa-lib-devel)
  $(vopt_if pulseaudio pulseaudio-devel) $(vopt_if portaudio portaudio-devel)
  $(vopt_if dbus dbus-devel)"
 short_desc="Spotify client running as a UNIX daemon"

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] spotifyd: update to 0.4.1
  2025-04-12 19:36 [PR PATCH] spotifyd: update to 0.4.1 fabienjuif
  2025-04-13 14:03 ` [PR PATCH] [Updated] " fabienjuif
@ 2025-04-17 19:00 ` fabienjuif
  2025-04-17 19:01 ` fabienjuif
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: fabienjuif @ 2025-04-17 19:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

There is an updated pull request by fabienjuif against master on the void-packages repository

https://github.com/fabienjuif/void-packages spotifyd
https://github.com/void-linux/void-packages/pull/55045

spotifyd: update to 0.4.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)



A patch file from https://github.com/void-linux/void-packages/pull/55045.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-spotifyd-55045.patch --]
[-- Type: text/x-diff, Size: 3029 bytes --]

From f74856d52cb0f54bbccec82e08bec2e41d14a716 Mon Sep 17 00:00:00 2001
From: Fabien JUIF <fabien.juif@gmail.com>
Date: Sat, 12 Apr 2025 21:35:48 +0200
Subject: [PATCH] spotifyd: update to 0.4.1.

---
 srcpkgs/spotifyd/template | 19 +++++++++----------
 srcpkgs/zenith/template   | 16 ++++++++++++++++
 2 files changed, 25 insertions(+), 10 deletions(-)
 create mode 100644 srcpkgs/zenith/template

diff --git a/srcpkgs/spotifyd/template b/srcpkgs/spotifyd/template
index 9532698f915132..baf1009dbebdb0 100644
--- a/srcpkgs/spotifyd/template
+++ b/srcpkgs/spotifyd/template
@@ -1,11 +1,11 @@
 # Template file for 'spotifyd'
 pkgname=spotifyd
-version=0.3.5
-revision=3
+version=0.4.1
+revision=1
 archs="x86_64* i686* aarch64* arm*" # ring
 build_style=cargo
 configure_args="--no-default-features"
-hostmakedepends="pkg-config"
+hostmakedepends="cmake pkg-config"
 makedepends="openssl-devel $(vopt_if alsa alsa-lib-devel)
  $(vopt_if pulseaudio pulseaudio-devel) $(vopt_if portaudio portaudio-devel)
  $(vopt_if dbus dbus-devel)"
@@ -15,24 +15,23 @@ license="GPL-3.0-or-later"
 homepage="https://github.com/Spotifyd/spotifyd"
 changelog="https://raw.githubusercontent.com/Spotifyd/spotifyd/master/CHANGELOG.md"
 distfiles="https://github.com/Spotifyd/spotifyd/archive/v${version}.tar.gz"
-checksum=59103f7097aa4e2ed960f1cc307ac8f4bdb2f0067aad664af32344aa8a972df7
+checksum=fdbf93c51232d85a0ef29813a02f3c23aacf733444eacf898729593e8837bcfc
 
 build_options="alsa pulseaudio portaudio dbus"
 build_options_default="alsa pulseaudio portaudio dbus"
 
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" clang"
+fi
+
 export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
 export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
 
 _features="$(vopt_if alsa ',alsa_backend')"
 _features+="$(vopt_if pulseaudio ',pulseaudio_backend')"
-_features+="$(vopt_if dbus ',dbus_mpris,dbus_keyring')"
+_features+="$(vopt_if dbus ',dbus_mpris')"
 _features+="$(vopt_if portaudio ',portaudio_backend')"
 
 if [ "$_features" ]; then
 	configure_args+=" --features $_features"
 fi
-
-pre_configure() {
-	cargo update --package rustc-serialize@0.3.24  --precise 0.3.25
-	cargo update --package time@0.3.20 --precise 0.3.35
-}
diff --git a/srcpkgs/zenith/template b/srcpkgs/zenith/template
new file mode 100644
index 00000000000000..ff1442ba2b4eca
--- /dev/null
+++ b/srcpkgs/zenith/template
@@ -0,0 +1,16 @@
+# Template file for 'zenith'
+pkgname=zenith
+version=0.14.1
+revision=1
+archs="x86_64*"
+build_style=cargo
+configure_args="--no-default-features"
+hostmakedepends="pkg-config"
+makedepends="clang"
+short_desc="Sort of like top or htop but with zoom-able charts, CPU, GPU, network, and disk usage"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://github.com/bvaisvil/zenith"
+changelog="https://raw.githubusercontent.com/bvaisvil/zenith/refs/heads/master/Changes.md"
+distfiles="https://github.com/bvaisvil/zenith/archive/refs/tags/${version}.tar.gz"
+checksum=73d704b3cbf93506c22f3a7d98ae1a75011434a27a978dd0a7b6b30c7794423b

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: spotifyd: update to 0.4.1.
  2025-04-12 19:36 [PR PATCH] spotifyd: update to 0.4.1 fabienjuif
  2025-04-13 14:03 ` [PR PATCH] [Updated] " fabienjuif
  2025-04-17 19:00 ` fabienjuif
@ 2025-04-17 19:01 ` fabienjuif
  2025-04-17 19:02 ` [PR PATCH] [Updated] " fabienjuif
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: fabienjuif @ 2025-04-17 19:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

New comment by fabienjuif on void-packages repository

https://github.com/void-linux/void-packages/pull/55045#issuecomment-2813791370

Comment:
I've added clang and tested some cross-platform compilation locally
So I am :crossed_fingers: 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] spotifyd: update to 0.4.1.
  2025-04-12 19:36 [PR PATCH] spotifyd: update to 0.4.1 fabienjuif
                   ` (2 preceding siblings ...)
  2025-04-17 19:01 ` fabienjuif
@ 2025-04-17 19:02 ` fabienjuif
  2025-04-21 18:18 ` tranzystorekk
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: fabienjuif @ 2025-04-17 19:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

There is an updated pull request by fabienjuif against master on the void-packages repository

https://github.com/fabienjuif/void-packages spotifyd
https://github.com/void-linux/void-packages/pull/55045

spotifyd: update to 0.4.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)



A patch file from https://github.com/void-linux/void-packages/pull/55045.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-spotifyd-55045.patch --]
[-- Type: text/x-diff, Size: 2092 bytes --]

From 20653727caf796a9c9655b96a1a5f193439eee4d Mon Sep 17 00:00:00 2001
From: Fabien JUIF <fabien.juif@gmail.com>
Date: Sat, 12 Apr 2025 21:35:48 +0200
Subject: [PATCH] spotifyd: update to 0.4.1.

---
 srcpkgs/spotifyd/template | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/spotifyd/template b/srcpkgs/spotifyd/template
index 9532698f915132..baf1009dbebdb0 100644
--- a/srcpkgs/spotifyd/template
+++ b/srcpkgs/spotifyd/template
@@ -1,11 +1,11 @@
 # Template file for 'spotifyd'
 pkgname=spotifyd
-version=0.3.5
-revision=3
+version=0.4.1
+revision=1
 archs="x86_64* i686* aarch64* arm*" # ring
 build_style=cargo
 configure_args="--no-default-features"
-hostmakedepends="pkg-config"
+hostmakedepends="cmake pkg-config"
 makedepends="openssl-devel $(vopt_if alsa alsa-lib-devel)
  $(vopt_if pulseaudio pulseaudio-devel) $(vopt_if portaudio portaudio-devel)
  $(vopt_if dbus dbus-devel)"
@@ -15,24 +15,23 @@ license="GPL-3.0-or-later"
 homepage="https://github.com/Spotifyd/spotifyd"
 changelog="https://raw.githubusercontent.com/Spotifyd/spotifyd/master/CHANGELOG.md"
 distfiles="https://github.com/Spotifyd/spotifyd/archive/v${version}.tar.gz"
-checksum=59103f7097aa4e2ed960f1cc307ac8f4bdb2f0067aad664af32344aa8a972df7
+checksum=fdbf93c51232d85a0ef29813a02f3c23aacf733444eacf898729593e8837bcfc
 
 build_options="alsa pulseaudio portaudio dbus"
 build_options_default="alsa pulseaudio portaudio dbus"
 
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" clang"
+fi
+
 export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
 export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
 
 _features="$(vopt_if alsa ',alsa_backend')"
 _features+="$(vopt_if pulseaudio ',pulseaudio_backend')"
-_features+="$(vopt_if dbus ',dbus_mpris,dbus_keyring')"
+_features+="$(vopt_if dbus ',dbus_mpris')"
 _features+="$(vopt_if portaudio ',portaudio_backend')"
 
 if [ "$_features" ]; then
 	configure_args+=" --features $_features"
 fi
-
-pre_configure() {
-	cargo update --package rustc-serialize@0.3.24  --precise 0.3.25
-	cargo update --package time@0.3.20 --precise 0.3.35
-}

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: spotifyd: update to 0.4.1.
  2025-04-12 19:36 [PR PATCH] spotifyd: update to 0.4.1 fabienjuif
                   ` (3 preceding siblings ...)
  2025-04-17 19:02 ` [PR PATCH] [Updated] " fabienjuif
@ 2025-04-21 18:18 ` tranzystorekk
  2025-04-22 15:42 ` [PR PATCH] [Updated] " fabienjuif
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: tranzystorekk @ 2025-04-21 18:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/55045#issuecomment-2819191688

Comment:
This package has joined the growing group of `aws-lc` users, which is problematic for us as `aws-lc-rs` either [grabs prebuilt objects](https://github.com/aws/aws-lc-rs/blob/main/aws-lc-rs/README.md#use-of-prebuilt-nasm-objects) or forces a static build of that crypto library, neither of which is acceptable from a distro standpoint.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] spotifyd: update to 0.4.1.
  2025-04-12 19:36 [PR PATCH] spotifyd: update to 0.4.1 fabienjuif
                   ` (4 preceding siblings ...)
  2025-04-21 18:18 ` tranzystorekk
@ 2025-04-22 15:42 ` fabienjuif
  2025-04-22 15:43 ` fabienjuif
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: fabienjuif @ 2025-04-22 15:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

There is an updated pull request by fabienjuif against master on the void-packages repository

https://github.com/fabienjuif/void-packages spotifyd
https://github.com/void-linux/void-packages/pull/55045

spotifyd: update to 0.4.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)



A patch file from https://github.com/void-linux/void-packages/pull/55045.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-spotifyd-55045.patch --]
[-- Type: text/x-diff, Size: 2836 bytes --]

From 657c763b276f71f1754cbf78b77a89819fa7ea68 Mon Sep 17 00:00:00 2001
From: Fabien JUIF <fabien.juif@gmail.com>
Date: Sat, 12 Apr 2025 21:35:48 +0200
Subject: [PATCH] spotifyd: update to 0.4.1.

---
 srcpkgs/spotifyd/template | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/spotifyd/template b/srcpkgs/spotifyd/template
index 9532698f915132..0b8cd09b500404 100644
--- a/srcpkgs/spotifyd/template
+++ b/srcpkgs/spotifyd/template
@@ -1,11 +1,11 @@
 # Template file for 'spotifyd'
 pkgname=spotifyd
-version=0.3.5
-revision=3
+version=0.4.1
+revision=1
 archs="x86_64* i686* aarch64* arm*" # ring
 build_style=cargo
 configure_args="--no-default-features"
-hostmakedepends="pkg-config"
+hostmakedepends="clang cmake pkg-config jq"
 makedepends="openssl-devel $(vopt_if alsa alsa-lib-devel)
  $(vopt_if pulseaudio pulseaudio-devel) $(vopt_if portaudio portaudio-devel)
  $(vopt_if dbus dbus-devel)"
@@ -15,17 +15,18 @@ license="GPL-3.0-or-later"
 homepage="https://github.com/Spotifyd/spotifyd"
 changelog="https://raw.githubusercontent.com/Spotifyd/spotifyd/master/CHANGELOG.md"
 distfiles="https://github.com/Spotifyd/spotifyd/archive/v${version}.tar.gz"
-checksum=59103f7097aa4e2ed960f1cc307ac8f4bdb2f0067aad664af32344aa8a972df7
+checksum=fdbf93c51232d85a0ef29813a02f3c23aacf733444eacf898729593e8837bcfc
 
 build_options="alsa pulseaudio portaudio dbus"
 build_options_default="alsa pulseaudio portaudio dbus"
 
+export AWS_LC_SYS_PREBUILT_NASM=0
 export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
 export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
 
 _features="$(vopt_if alsa ',alsa_backend')"
 _features+="$(vopt_if pulseaudio ',pulseaudio_backend')"
-_features+="$(vopt_if dbus ',dbus_mpris,dbus_keyring')"
+_features+="$(vopt_if dbus ',dbus_mpris')"
 _features+="$(vopt_if portaudio ',portaudio_backend')"
 
 if [ "$_features" ]; then
@@ -33,6 +34,20 @@ if [ "$_features" ]; then
 fi
 
 pre_configure() {
-	cargo update --package rustc-serialize@0.3.24  --precise 0.3.25
-	cargo update --package time@0.3.20 --precise 0.3.35
+	AWS_LC_RS_DEP=$(cargo tree -e features -i aws-lc-rs --depth=1)
+	if [ "${AWS_LC_RS_DEP}" != "" ]; then
+		echo "aws-lc-rs dependency found"
+		
+		AWC_LC_RS_VERSION=$(echo "${AWS_LC_RS_DEP}" | grep -o 'aws-lc-rs v[0-9.]*' | cut -d ' ' -f 2 | tr -d 'v')
+		if [ "${AWC_LC_RS_VERSION}" == "" ]; then
+			echo "aws-lc-rs version not found"
+			exit 1
+		fi
+		
+		AWS_LC_RS_ACTIVE_FEATURES=$(echo "${AWS_LC_RS_DEP}" | grep -o 'aws-lc-rs feature .*' | cut -d ' ' -f 3 | tr -d '"' | grep -v prebuilt-nasm)
+		echo "$AWS_LC_RS_ACTIVE_FEATURES" | grep 'bindgen' || {
+			echo "enabling bindgen feature for aws-lc-rs and removing prebuilt-nasm one"
+			cargo add aws-lc-rs@${AWC_LC_RS_VERSION} --features "bindgen,${AWS_LC_RS_ACTIVE_FEATURES[@]}"
+		}
+	fi
 }

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: spotifyd: update to 0.4.1.
  2025-04-12 19:36 [PR PATCH] spotifyd: update to 0.4.1 fabienjuif
                   ` (5 preceding siblings ...)
  2025-04-22 15:42 ` [PR PATCH] [Updated] " fabienjuif
@ 2025-04-22 15:43 ` fabienjuif
  2025-05-17  7:08 ` fabienjuif
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: fabienjuif @ 2025-04-22 15:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

New comment by fabienjuif on void-packages repository

https://github.com/void-linux/void-packages/pull/55045#issuecomment-2821744468

Comment:
@tranzystorekk It's a big ugly but I try to force NOT to use prebuilt-nasm and force using bindgen (which require clang).
I guess you do not want to merge that, but it could be an answer (having something like this -better coded- in xbps-src helpers?)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] spotifyd: update to 0.4.1
  2025-05-11  7:43 [PR PATCH] " silvasch
@ 2025-05-12 13:27 ` silvasch
  0 siblings, 0 replies; 12+ messages in thread
From: silvasch @ 2025-05-12 13:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

There is an updated pull request by silvasch against master on the void-packages repository

https://github.com/silvasch/void-packages spotifyd
https://github.com/void-linux/void-packages/pull/55300

spotifyd: update to 0.4.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x66_64-musl)


A patch file from https://github.com/void-linux/void-packages/pull/55300.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-spotifyd-55300.patch --]
[-- Type: text/x-diff, Size: 3102 bytes --]

From b0bd34631685d1287d99a90b4c1d2af643438a05 Mon Sep 17 00:00:00 2001
From: Silvan Schmidt <mail@silvanschmidt.ch>
Date: Sun, 11 May 2025 09:33:47 +0200
Subject: [PATCH 1/2] spotifyd: update to 0.4.1

---
 srcpkgs/spotifyd/template | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/spotifyd/template b/srcpkgs/spotifyd/template
index 9532698f915132..85f578cd10b04b 100644
--- a/srcpkgs/spotifyd/template
+++ b/srcpkgs/spotifyd/template
@@ -1,6 +1,6 @@
 # Template file for 'spotifyd'
 pkgname=spotifyd
-version=0.3.5
+version=0.4.1
 revision=3
 archs="x86_64* i686* aarch64* arm*" # ring
 build_style=cargo
@@ -15,7 +15,7 @@ license="GPL-3.0-or-later"
 homepage="https://github.com/Spotifyd/spotifyd"
 changelog="https://raw.githubusercontent.com/Spotifyd/spotifyd/master/CHANGELOG.md"
 distfiles="https://github.com/Spotifyd/spotifyd/archive/v${version}.tar.gz"
-checksum=59103f7097aa4e2ed960f1cc307ac8f4bdb2f0067aad664af32344aa8a972df7
+checksum=fdbf93c51232d85a0ef29813a02f3c23aacf733444eacf898729593e8837bcfc
 
 build_options="alsa pulseaudio portaudio dbus"
 build_options_default="alsa pulseaudio portaudio dbus"
@@ -25,14 +25,14 @@ export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
 
 _features="$(vopt_if alsa ',alsa_backend')"
 _features+="$(vopt_if pulseaudio ',pulseaudio_backend')"
-_features+="$(vopt_if dbus ',dbus_mpris,dbus_keyring')"
+_features+="$(vopt_if dbus ',dbus_mpris')"
 _features+="$(vopt_if portaudio ',portaudio_backend')"
 
 if [ "$_features" ]; then
 	configure_args+=" --features $_features"
 fi
 
-pre_configure() {
-	cargo update --package rustc-serialize@0.3.24  --precise 0.3.25
-	cargo update --package time@0.3.20 --precise 0.3.35
-}
+# pre_configure() {
+# 	cargo update --package rustc-serialize@0.3.24  --precise 0.3.25
+# 	cargo update --package time@0.3.20 --precise 0.3.35
+# }

From 48b57d583793e88a9a7b02b082a304f80d561e37 Mon Sep 17 00:00:00 2001
From: Silvan Schmidt <mail@silvanschmidt.ch>
Date: Mon, 12 May 2025 15:27:20 +0200
Subject: [PATCH 2/2] fix: add cmake dependency fro non-standard targets

---
 srcpkgs/spotifyd/template | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/spotifyd/template b/srcpkgs/spotifyd/template
index 85f578cd10b04b..59f818b434d761 100644
--- a/srcpkgs/spotifyd/template
+++ b/srcpkgs/spotifyd/template
@@ -1,11 +1,11 @@
 # Template file for 'spotifyd'
 pkgname=spotifyd
 version=0.4.1
-revision=3
+revision=1
 archs="x86_64* i686* aarch64* arm*" # ring
 build_style=cargo
 configure_args="--no-default-features"
-hostmakedepends="pkg-config"
+hostmakedepends="clang cmake pkg-config"
 makedepends="openssl-devel $(vopt_if alsa alsa-lib-devel)
  $(vopt_if pulseaudio pulseaudio-devel) $(vopt_if portaudio portaudio-devel)
  $(vopt_if dbus dbus-devel)"
@@ -31,8 +31,3 @@ _features+="$(vopt_if portaudio ',portaudio_backend')"
 if [ "$_features" ]; then
 	configure_args+=" --features $_features"
 fi
-
-# pre_configure() {
-# 	cargo update --package rustc-serialize@0.3.24  --precise 0.3.25
-# 	cargo update --package time@0.3.20 --precise 0.3.35
-# }

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: spotifyd: update to 0.4.1.
  2025-04-12 19:36 [PR PATCH] spotifyd: update to 0.4.1 fabienjuif
                   ` (6 preceding siblings ...)
  2025-04-22 15:43 ` fabienjuif
@ 2025-05-17  7:08 ` fabienjuif
  2025-08-16  2:11 ` github-actions
  2025-08-18  9:45 ` [PR PATCH] [Closed]: " fabienjuif
  9 siblings, 0 replies; 12+ messages in thread
From: fabienjuif @ 2025-05-17  7:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

New comment by fabienjuif on void-packages repository

https://github.com/void-linux/void-packages/pull/55045#issuecomment-2888163798

Comment:
@Duncaen if you are around (since I've seen you are reviewing PRs) what do you think of this solution?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: spotifyd: update to 0.4.1.
  2025-04-12 19:36 [PR PATCH] spotifyd: update to 0.4.1 fabienjuif
                   ` (7 preceding siblings ...)
  2025-05-17  7:08 ` fabienjuif
@ 2025-08-16  2:11 ` github-actions
  2025-08-18  9:45 ` [PR PATCH] [Closed]: " fabienjuif
  9 siblings, 0 replies; 12+ messages in thread
From: github-actions @ 2025-08-16  2:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/55045#issuecomment-3193191817

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Closed]: spotifyd: update to 0.4.1.
  2025-04-12 19:36 [PR PATCH] spotifyd: update to 0.4.1 fabienjuif
                   ` (8 preceding siblings ...)
  2025-08-16  2:11 ` github-actions
@ 2025-08-18  9:45 ` fabienjuif
  9 siblings, 0 replies; 12+ messages in thread
From: fabienjuif @ 2025-08-18  9:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

There's a closed pull request on the void-packages repository

spotifyd: update to 0.4.1.
https://github.com/void-linux/void-packages/pull/55045

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-08-18  9:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-12 19:36 [PR PATCH] spotifyd: update to 0.4.1 fabienjuif
2025-04-13 14:03 ` [PR PATCH] [Updated] " fabienjuif
2025-04-17 19:00 ` fabienjuif
2025-04-17 19:01 ` fabienjuif
2025-04-17 19:02 ` [PR PATCH] [Updated] " fabienjuif
2025-04-21 18:18 ` tranzystorekk
2025-04-22 15:42 ` [PR PATCH] [Updated] " fabienjuif
2025-04-22 15:43 ` fabienjuif
2025-05-17  7:08 ` fabienjuif
2025-08-16  2:11 ` github-actions
2025-08-18  9:45 ` [PR PATCH] [Closed]: " fabienjuif
  -- strict thread matches above, loose matches on Subject: below --
2025-05-11  7:43 [PR PATCH] " silvasch
2025-05-12 13:27 ` [PR PATCH] [Updated] " silvasch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).