Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Update deadbeef to 1.9.5
@ 2023-07-01 20:04 Ilia1
  2023-07-01 20:36 ` Bnyro
                   ` (31 more replies)
  0 siblings, 32 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-01 20:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Ilia1/void-packages deadbeef
https://github.com/void-linux/void-packages/pull/44774

Update deadbeef to 1.9.5
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86-64



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

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

From 45c30b80a5219db60467256649036bc6c8675b7e Mon Sep 17 00:00:00 2001
From: Ilia1 <iliaponomaryow@ya.ru>
Date: Sun, 2 Jul 2023 00:56:12 +0500
Subject: [PATCH 1/4] Update template deadbeef

---
 srcpkgs/deadbeef/template | 35 ++++++++++++++++-------------------
 1 file changed, 16 insertions(+), 19 deletions(-)

diff --git a/srcpkgs/deadbeef/template b/srcpkgs/deadbeef/template
index b664bb1b9bd9..bab09db29907 100644
--- a/srcpkgs/deadbeef/template
+++ b/srcpkgs/deadbeef/template
@@ -1,31 +1,24 @@
 # Template file for 'deadbeef'
 pkgname=deadbeef
-version=1.8.8
+version=1.9.5
 revision=1
 create_wrksrc=yes
 build_style=gnu-configure
 configure_args="--disable-oss --disable-lfm --disable-notify --disable-gtk2"
 hostmakedepends="automake libtool gettext gettext-devel intltool pkg-config
- yasm clang glib-devel"
+ yasm clang glib-devel libdispatch"
 makedepends="
  alsa-lib-devel dbus-devel faad2-devel ffmpeg-devel gtk+3-devel imlib2-devel
  jansson-devel libcddb-devel libcdio-devel libcurl-devel libflac-devel
  libmad-devel libpng-devel libsamplerate-devel libsndfile-devel libvorbis-devel
- libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel"
-depends="desktop-file-utils hicolor-icon-theme"
+ libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel pipewire-devel git patch clang"
+depends="desktop-file-utils hicolor-icon-theme libdispatch"
 short_desc="Ultimate Music Player for GNU/Linux"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Orphaned <orphan@voidlinux.org>, Ilya <ISPonomarev@yahoo.com>"
 license="Zlib, GPL-2.0-or-later, LGPL-2.1-or-later"
-_apbuild_commit=c64f490e54447e3902fae54784d01ab59fa7dc95
-_mp4p_commit=77ac9f2ecaa3a2f6e232fb45cd7f8550e13cc3d3
+_release_commit=9239702a0853abd110d71f1368f7b073b232f48f
 homepage="https://deadbeef.sourceforge.io"
 changelog="https://deadbeef.sourceforge.io/news0.html"
-distfiles="https://github.com/DeaDBeeF-Player/deadbeef/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz
- https://github.com/DeaDBeeF-Player/apbuild/archive/${_apbuild_commit}.tar.gz>apbuild-${_apbuild_commit}.tar.gz
- https://github.com/DeaDBeeF-Player/mp4p/archive/${_mp4p_commit}.tar.gz>mp4p-${_mp4p_commit}.tar.gz"
-checksum="a667d55b787d76bc9d3593882b57ae9a449a99e93e1c11f85ec638566e10877d
- c5eeb3fa116d51d251fe7c7e5c44798680f6478c43a1fffdcb28c4caf1c68286
- d0ba1b4ad062cb5c056c4a59ed55769d79371fc9b3bf9aaa0ca48f508e3eba75"
 LDFLAGS+=" -Wl,-z,stack-size=1048576"
 
 # The soundtouchup plugin was made default in 1.8.4 and fails to build on i686.
@@ -38,18 +31,22 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi
 
-post_extract() {
-	mv deadbeef-${version}/* .
-	rm -rf external/apbuild
-	rm -rf external/mp4p
-	mv -v apbuild-${_apbuild_commit} external/apbuild
-	mv -v mp4p-${_mp4p_commit} external/mp4p
+do_fetch() {
+       rm -rf deadbeef-${version}
+       git clone --recurse-submodules https://github.com/DeaDBeeF-Player/deadbeef 
+       mv deadbeef deadbeef-${version}
+       cd deadbeef-${version}
+       git checkout ${_release_commit}
 }
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
 
+do_configure() {
+        CC=clang CXX=clang++ ./configure ${configure_args}
+}
+
 post_install() {
 	vlicense COPYING
 }

From fed52920168c3ec604fb03e45b393544c202c612 Mon Sep 17 00:00:00 2001
From: Ilia1 <iliaponomaryow@ya.ru>
Date: Sun, 2 Jul 2023 00:57:13 +0500
Subject: [PATCH 2/4] Create pw.patch

---
 srcpkgs/deadbeef/patches/pw.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 srcpkgs/deadbeef/patches/pw.patch

diff --git a/srcpkgs/deadbeef/patches/pw.patch b/srcpkgs/deadbeef/patches/pw.patch
new file mode 100644
index 000000000000..b3a1ad987519
--- /dev/null
+++ b/srcpkgs/deadbeef/patches/pw.patch
@@ -0,0 +1,11 @@
+--- a/external/ddb_output_pw/pw.c
++++ b/external/ddb_output_pw/pw.c
+@@ -23,7 +23,7 @@
+ #include <errno.h>
+ #include <string.h>
+ #include <stdbool.h>
+-#include <deadbeef/deadbeef.h>
++#include <deadbeef.h>
+ 
+ #define OP_ERROR_SUCCESS 0
+ #define OP_ERROR_INTERNAL -1

From f5cd4fe7a5ecbf9397f7eb51890d03f309b7c6a0 Mon Sep 17 00:00:00 2001
From: Ilia1 <iliaponomaryow@ya.ru>
Date: Sun, 2 Jul 2023 00:57:51 +0500
Subject: [PATCH 3/4] Create libretro.patch

---
 srcpkgs/deadbeef/patches/libretro.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 srcpkgs/deadbeef/patches/libretro.patch

diff --git a/srcpkgs/deadbeef/patches/libretro.patch b/srcpkgs/deadbeef/patches/libretro.patch
new file mode 100644
index 000000000000..86e13fcbbbe8
--- /dev/null
+++ b/srcpkgs/deadbeef/patches/libretro.patch
@@ -0,0 +1,10 @@
+--- a/external/ddb_dsp_libretro/libretro.cpp
++++ b/external/ddb_dsp_libretro/libretro.cpp
+@@ -22,7 +22,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <assert.h>
+-#include <deadbeef/deadbeef.h>
++#include <deadbeef.h>
+ 
+ static DB_dsp_t *_plugin;

From d2630ba0f8873b5dd0b848ce8a51d9c93d66f632 Mon Sep 17 00:00:00 2001
From: Ilia1 <iliaponomaryow@ya.ru>
Date: Sun, 2 Jul 2023 01:02:30 +0500
Subject: [PATCH 4/4] enable last.fm plugin

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

diff --git a/srcpkgs/deadbeef/template b/srcpkgs/deadbeef/template
index bab09db29907..38d61a76fd67 100644
--- a/srcpkgs/deadbeef/template
+++ b/srcpkgs/deadbeef/template
@@ -4,7 +4,7 @@ version=1.9.5
 revision=1
 create_wrksrc=yes
 build_style=gnu-configure
-configure_args="--disable-oss --disable-lfm --disable-notify --disable-gtk2"
+configure_args="--disable-oss --disable-notify --disable-gtk2"
 hostmakedepends="automake libtool gettext gettext-devel intltool pkg-config
  yasm clang glib-devel libdispatch"
 makedepends="

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

* Re: Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
@ 2023-07-01 20:36 ` Bnyro
  2023-07-01 20:48 ` Chocimier
                   ` (30 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Bnyro @ 2023-07-01 20:36 UTC (permalink / raw)
  To: ml

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

New comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#issuecomment-1616103922

Comment:
Please follow the commit message style from https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#updating-a-template, and only do one commit per updated package.

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

* Re: Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
  2023-07-01 20:36 ` Bnyro
@ 2023-07-01 20:48 ` Chocimier
  2023-07-01 20:49 ` [PR REVIEW] " Chocimier
                   ` (29 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Chocimier @ 2023-07-01 20:48 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#issuecomment-1616108384

Comment:
Fetching tarballs of submodules is done for ability to quick rebuild and for publishing source at sources.voidlinux.org. Please revert.

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
  2023-07-01 20:36 ` Bnyro
  2023-07-01 20:48 ` Chocimier
@ 2023-07-01 20:49 ` Chocimier
  2023-07-01 22:07 ` classabbyamp
                   ` (28 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Chocimier @ 2023-07-01 20:49 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1248972477

Comment:
This break cross compilation.

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

* Re: Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (2 preceding siblings ...)
  2023-07-01 20:49 ` [PR REVIEW] " Chocimier
@ 2023-07-01 22:07 ` classabbyamp
  2023-07-01 22:07 ` classabbyamp
                   ` (27 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: classabbyamp @ 2023-07-01 22:07 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#issuecomment-1616155910

Comment:
you probably shouldn't be using github's file upload for creating PRs. it's very inflexible, and will make it harder to respond to feedback.

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

* Re: Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (3 preceding siblings ...)
  2023-07-01 22:07 ` classabbyamp
@ 2023-07-01 22:07 ` classabbyamp
  2023-07-02 10:15 ` [PR REVIEW] " Ilia1
                   ` (26 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: classabbyamp @ 2023-07-01 22:07 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#issuecomment-1616155910

Comment:
you probably shouldn't be using github's file upload for creating PRs. it's very inflexible, and will make it harder to adjust the changes based on feedback.

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (4 preceding siblings ...)
  2023-07-01 22:07 ` classabbyamp
@ 2023-07-02 10:15 ` Ilia1
  2023-07-02 10:21 ` Ilia1
                   ` (25 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-02 10:15 UTC (permalink / raw)
  To: ml

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

New review comment by Ilia1 on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249409837

Comment:
the new version of deadbeef is only built with clang 
https://github.com/DeaDBeeF-Player/deadbeef/blob/c8e39422eaa72927dee6cb4bafa7208584142f2d/README#L14

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

* Re: Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (5 preceding siblings ...)
  2023-07-02 10:15 ` [PR REVIEW] " Ilia1
@ 2023-07-02 10:21 ` Ilia1
  2023-07-02 10:41 ` [PR PATCH] [Updated] " Ilia1
                   ` (24 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-02 10:21 UTC (permalink / raw)
  To: ml

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

New comment by Ilia1 on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#issuecomment-1616582946

Comment:
> Fetching tarballs of submodules is done for ability to quick rebuild and for publishing source at sources.voidlinux.org. Please revert.

Fetch git with submodule is more easy for maintaince template then tarballs.
OK, I try revert.

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

* Re: [PR PATCH] [Updated] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (6 preceding siblings ...)
  2023-07-02 10:21 ` Ilia1
@ 2023-07-02 10:41 ` Ilia1
  2023-07-02 11:52 ` Ilia1
                   ` (23 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-02 10:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Ilia1/void-packages deadbeef
https://github.com/void-linux/void-packages/pull/44774

Update deadbeef to 1.9.5
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86-64



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

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

From 47f9e212548c2c809eaec180f1ec3b908ec72886 Mon Sep 17 00:00:00 2001
From: ilia <ISPonomarev@yahoo.com>
Date: Sun, 2 Jul 2023 15:39:02 +0500
Subject: [PATCH] Update template deadbeef

---
 srcpkgs/deadbeef/patches/libretro.patch | 10 +++++++
 srcpkgs/deadbeef/patches/pw.patch       | 11 ++++++++
 srcpkgs/deadbeef/template               | 37 ++++++++++++-------------
 3 files changed, 38 insertions(+), 20 deletions(-)
 create mode 100644 srcpkgs/deadbeef/patches/libretro.patch
 create mode 100644 srcpkgs/deadbeef/patches/pw.patch

diff --git a/srcpkgs/deadbeef/patches/libretro.patch b/srcpkgs/deadbeef/patches/libretro.patch
new file mode 100644
index 000000000000..86e13fcbbbe8
--- /dev/null
+++ b/srcpkgs/deadbeef/patches/libretro.patch
@@ -0,0 +1,10 @@
+--- a/external/ddb_dsp_libretro/libretro.cpp
++++ b/external/ddb_dsp_libretro/libretro.cpp
+@@ -22,7 +22,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <assert.h>
+-#include <deadbeef/deadbeef.h>
++#include <deadbeef.h>
+ 
+ static DB_dsp_t *_plugin;
diff --git a/srcpkgs/deadbeef/patches/pw.patch b/srcpkgs/deadbeef/patches/pw.patch
new file mode 100644
index 000000000000..b3a1ad987519
--- /dev/null
+++ b/srcpkgs/deadbeef/patches/pw.patch
@@ -0,0 +1,11 @@
+--- a/external/ddb_output_pw/pw.c
++++ b/external/ddb_output_pw/pw.c
+@@ -23,7 +23,7 @@
+ #include <errno.h>
+ #include <string.h>
+ #include <stdbool.h>
+-#include <deadbeef/deadbeef.h>
++#include <deadbeef.h>
+ 
+ #define OP_ERROR_SUCCESS 0
+ #define OP_ERROR_INTERNAL -1
diff --git a/srcpkgs/deadbeef/template b/srcpkgs/deadbeef/template
index b664bb1b9bd9..38d61a76fd67 100644
--- a/srcpkgs/deadbeef/template
+++ b/srcpkgs/deadbeef/template
@@ -1,31 +1,24 @@
 # Template file for 'deadbeef'
 pkgname=deadbeef
-version=1.8.8
+version=1.9.5
 revision=1
 create_wrksrc=yes
 build_style=gnu-configure
-configure_args="--disable-oss --disable-lfm --disable-notify --disable-gtk2"
+configure_args="--disable-oss --disable-notify --disable-gtk2"
 hostmakedepends="automake libtool gettext gettext-devel intltool pkg-config
- yasm clang glib-devel"
+ yasm clang glib-devel libdispatch"
 makedepends="
  alsa-lib-devel dbus-devel faad2-devel ffmpeg-devel gtk+3-devel imlib2-devel
  jansson-devel libcddb-devel libcdio-devel libcurl-devel libflac-devel
  libmad-devel libpng-devel libsamplerate-devel libsndfile-devel libvorbis-devel
- libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel"
-depends="desktop-file-utils hicolor-icon-theme"
+ libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel pipewire-devel git patch clang"
+depends="desktop-file-utils hicolor-icon-theme libdispatch"
 short_desc="Ultimate Music Player for GNU/Linux"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Orphaned <orphan@voidlinux.org>, Ilya <ISPonomarev@yahoo.com>"
 license="Zlib, GPL-2.0-or-later, LGPL-2.1-or-later"
-_apbuild_commit=c64f490e54447e3902fae54784d01ab59fa7dc95
-_mp4p_commit=77ac9f2ecaa3a2f6e232fb45cd7f8550e13cc3d3
+_release_commit=9239702a0853abd110d71f1368f7b073b232f48f
 homepage="https://deadbeef.sourceforge.io"
 changelog="https://deadbeef.sourceforge.io/news0.html"
-distfiles="https://github.com/DeaDBeeF-Player/deadbeef/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz
- https://github.com/DeaDBeeF-Player/apbuild/archive/${_apbuild_commit}.tar.gz>apbuild-${_apbuild_commit}.tar.gz
- https://github.com/DeaDBeeF-Player/mp4p/archive/${_mp4p_commit}.tar.gz>mp4p-${_mp4p_commit}.tar.gz"
-checksum="a667d55b787d76bc9d3593882b57ae9a449a99e93e1c11f85ec638566e10877d
- c5eeb3fa116d51d251fe7c7e5c44798680f6478c43a1fffdcb28c4caf1c68286
- d0ba1b4ad062cb5c056c4a59ed55769d79371fc9b3bf9aaa0ca48f508e3eba75"
 LDFLAGS+=" -Wl,-z,stack-size=1048576"
 
 # The soundtouchup plugin was made default in 1.8.4 and fails to build on i686.
@@ -38,18 +31,22 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi
 
-post_extract() {
-	mv deadbeef-${version}/* .
-	rm -rf external/apbuild
-	rm -rf external/mp4p
-	mv -v apbuild-${_apbuild_commit} external/apbuild
-	mv -v mp4p-${_mp4p_commit} external/mp4p
+do_fetch() {
+       rm -rf deadbeef-${version}
+       git clone --recurse-submodules https://github.com/DeaDBeeF-Player/deadbeef 
+       mv deadbeef deadbeef-${version}
+       cd deadbeef-${version}
+       git checkout ${_release_commit}
 }
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
 
+do_configure() {
+        CC=clang CXX=clang++ ./configure ${configure_args}
+}
+
 post_install() {
 	vlicense COPYING
 }

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

* Re: [PR PATCH] [Updated] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (7 preceding siblings ...)
  2023-07-02 10:41 ` [PR PATCH] [Updated] " Ilia1
@ 2023-07-02 11:52 ` Ilia1
  2023-07-02 12:30 ` Ilia1
                   ` (22 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-02 11:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Ilia1/void-packages deadbeef
https://github.com/void-linux/void-packages/pull/44774

Update deadbeef to 1.9.5
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86-64



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

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

From 39274a654100924946e392c507a34817de80f41f Mon Sep 17 00:00:00 2001
From: ilia <ISPonomarev@yahoo.com>
Date: Sun, 2 Jul 2023 14:57:15 +0500
Subject: [PATCH 1/2] Create template for libdispatch

---
 common/shlibs                |  2 ++
 srcpkgs/libdispatch/template | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 srcpkgs/libdispatch/template

diff --git a/common/shlibs b/common/shlibs
index 258b257a75c3..aa185f0d6a27 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4277,3 +4277,5 @@ libgsoapssl++-2.8.124.so gsoap-2.8.124_1
 libjxl.so.0.8 libjxl-0.8.2_1
 libjxl_dec.so.0.8 libjxl-0.8.2_1
 libjxl_threads.so.0.8 libjxl-0.8.2_1
+libdispatch.so libdispatch-5.5.3_1
+libBlocksRuntime.so libdispatch-5.5.3_1
diff --git a/srcpkgs/libdispatch/template b/srcpkgs/libdispatch/template
new file mode 100644
index 000000000000..4d689ea5d97e
--- /dev/null
+++ b/srcpkgs/libdispatch/template
@@ -0,0 +1,32 @@
+pkgname=libdispatch
+version=5.5.3
+revision=1
+create_wrksrc=yes
+build_style=cmake
+hostmakedepends="ninja clang git"
+short_desc="Library provides comprehensive support for concurrent code execution on multicore hardware"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
+license="Apache-2.0"
+homepage="https://github.com/apple/swift-corelibs-libdispatch"
+
+do_fetch() {
+       git clone https://github.com/apple/swift-corelibs-libdispatch
+       mv swift-corelibs-libdispatch ${pkgname}-${version}
+}
+
+pre_configure() {
+       mkdir build
+}
+
+do_configure() {
+        cd build
+        cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
+}
+
+libdispatch-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+	}
+}

From 47f9e212548c2c809eaec180f1ec3b908ec72886 Mon Sep 17 00:00:00 2001
From: ilia <ISPonomarev@yahoo.com>
Date: Sun, 2 Jul 2023 15:39:02 +0500
Subject: [PATCH 2/2] Update template deadbeef

---
 srcpkgs/deadbeef/patches/libretro.patch | 10 +++++++
 srcpkgs/deadbeef/patches/pw.patch       | 11 ++++++++
 srcpkgs/deadbeef/template               | 37 ++++++++++++-------------
 3 files changed, 38 insertions(+), 20 deletions(-)
 create mode 100644 srcpkgs/deadbeef/patches/libretro.patch
 create mode 100644 srcpkgs/deadbeef/patches/pw.patch

diff --git a/srcpkgs/deadbeef/patches/libretro.patch b/srcpkgs/deadbeef/patches/libretro.patch
new file mode 100644
index 000000000000..86e13fcbbbe8
--- /dev/null
+++ b/srcpkgs/deadbeef/patches/libretro.patch
@@ -0,0 +1,10 @@
+--- a/external/ddb_dsp_libretro/libretro.cpp
++++ b/external/ddb_dsp_libretro/libretro.cpp
+@@ -22,7 +22,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <assert.h>
+-#include <deadbeef/deadbeef.h>
++#include <deadbeef.h>
+ 
+ static DB_dsp_t *_plugin;
diff --git a/srcpkgs/deadbeef/patches/pw.patch b/srcpkgs/deadbeef/patches/pw.patch
new file mode 100644
index 000000000000..b3a1ad987519
--- /dev/null
+++ b/srcpkgs/deadbeef/patches/pw.patch
@@ -0,0 +1,11 @@
+--- a/external/ddb_output_pw/pw.c
++++ b/external/ddb_output_pw/pw.c
+@@ -23,7 +23,7 @@
+ #include <errno.h>
+ #include <string.h>
+ #include <stdbool.h>
+-#include <deadbeef/deadbeef.h>
++#include <deadbeef.h>
+ 
+ #define OP_ERROR_SUCCESS 0
+ #define OP_ERROR_INTERNAL -1
diff --git a/srcpkgs/deadbeef/template b/srcpkgs/deadbeef/template
index b664bb1b9bd9..38d61a76fd67 100644
--- a/srcpkgs/deadbeef/template
+++ b/srcpkgs/deadbeef/template
@@ -1,31 +1,24 @@
 # Template file for 'deadbeef'
 pkgname=deadbeef
-version=1.8.8
+version=1.9.5
 revision=1
 create_wrksrc=yes
 build_style=gnu-configure
-configure_args="--disable-oss --disable-lfm --disable-notify --disable-gtk2"
+configure_args="--disable-oss --disable-notify --disable-gtk2"
 hostmakedepends="automake libtool gettext gettext-devel intltool pkg-config
- yasm clang glib-devel"
+ yasm clang glib-devel libdispatch"
 makedepends="
  alsa-lib-devel dbus-devel faad2-devel ffmpeg-devel gtk+3-devel imlib2-devel
  jansson-devel libcddb-devel libcdio-devel libcurl-devel libflac-devel
  libmad-devel libpng-devel libsamplerate-devel libsndfile-devel libvorbis-devel
- libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel"
-depends="desktop-file-utils hicolor-icon-theme"
+ libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel pipewire-devel git patch clang"
+depends="desktop-file-utils hicolor-icon-theme libdispatch"
 short_desc="Ultimate Music Player for GNU/Linux"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Orphaned <orphan@voidlinux.org>, Ilya <ISPonomarev@yahoo.com>"
 license="Zlib, GPL-2.0-or-later, LGPL-2.1-or-later"
-_apbuild_commit=c64f490e54447e3902fae54784d01ab59fa7dc95
-_mp4p_commit=77ac9f2ecaa3a2f6e232fb45cd7f8550e13cc3d3
+_release_commit=9239702a0853abd110d71f1368f7b073b232f48f
 homepage="https://deadbeef.sourceforge.io"
 changelog="https://deadbeef.sourceforge.io/news0.html"
-distfiles="https://github.com/DeaDBeeF-Player/deadbeef/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz
- https://github.com/DeaDBeeF-Player/apbuild/archive/${_apbuild_commit}.tar.gz>apbuild-${_apbuild_commit}.tar.gz
- https://github.com/DeaDBeeF-Player/mp4p/archive/${_mp4p_commit}.tar.gz>mp4p-${_mp4p_commit}.tar.gz"
-checksum="a667d55b787d76bc9d3593882b57ae9a449a99e93e1c11f85ec638566e10877d
- c5eeb3fa116d51d251fe7c7e5c44798680f6478c43a1fffdcb28c4caf1c68286
- d0ba1b4ad062cb5c056c4a59ed55769d79371fc9b3bf9aaa0ca48f508e3eba75"
 LDFLAGS+=" -Wl,-z,stack-size=1048576"
 
 # The soundtouchup plugin was made default in 1.8.4 and fails to build on i686.
@@ -38,18 +31,22 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi
 
-post_extract() {
-	mv deadbeef-${version}/* .
-	rm -rf external/apbuild
-	rm -rf external/mp4p
-	mv -v apbuild-${_apbuild_commit} external/apbuild
-	mv -v mp4p-${_mp4p_commit} external/mp4p
+do_fetch() {
+       rm -rf deadbeef-${version}
+       git clone --recurse-submodules https://github.com/DeaDBeeF-Player/deadbeef 
+       mv deadbeef deadbeef-${version}
+       cd deadbeef-${version}
+       git checkout ${_release_commit}
 }
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
 
+do_configure() {
+        CC=clang CXX=clang++ ./configure ${configure_args}
+}
+
 post_install() {
 	vlicense COPYING
 }

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

* Re: Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (8 preceding siblings ...)
  2023-07-02 11:52 ` Ilia1
@ 2023-07-02 12:30 ` Ilia1
  2023-07-02 15:51 ` [PR REVIEW] " abenson
                   ` (21 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-02 12:30 UTC (permalink / raw)
  To: ml

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

New comment by Ilia1 on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#issuecomment-1616631257

Comment:
OK, if I change source files to https://sourceforge.net/projects/deadbeef/files/travis/linux/1.9.5/deadbeef-1.9.5.tar.bz2 it will be OK?

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (9 preceding siblings ...)
  2023-07-02 12:30 ` Ilia1
@ 2023-07-02 15:51 ` abenson
  2023-07-02 15:52 ` abenson
                   ` (20 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: abenson @ 2023-07-02 15:51 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249591415

Comment:
These would not gin depends. `pipewire-devel` should go in `makedepends` and `git`, `patch`, and `clang` would go in `hostmakedepends`.

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (10 preceding siblings ...)
  2023-07-02 15:51 ` [PR REVIEW] " abenson
@ 2023-07-02 15:52 ` abenson
  2023-07-02 15:53 ` abenson
                   ` (19 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: abenson @ 2023-07-02 15:52 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249591415

Comment:
These would not go in depends. `git`, `patch`, and `clang` would go in `hostmakedepends`.

Edit: I misread part of the diff.

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (11 preceding siblings ...)
  2023-07-02 15:52 ` abenson
@ 2023-07-02 15:53 ` abenson
  2023-07-02 15:54 ` abenson
                   ` (18 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: abenson @ 2023-07-02 15:53 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249592542

Comment:
I don't think we'll accept this style of fetch.

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (12 preceding siblings ...)
  2023-07-02 15:53 ` abenson
@ 2023-07-02 15:54 ` abenson
  2023-07-02 15:56 ` abenson
                   ` (17 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: abenson @ 2023-07-02 15:54 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249593025

Comment:
Don't add to this field, "Orphaned" isn't a real person.

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (13 preceding siblings ...)
  2023-07-02 15:54 ` abenson
@ 2023-07-02 15:56 ` abenson
  2023-07-02 15:56 ` abenson
                   ` (16 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: abenson @ 2023-07-02 15:56 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249593703

Comment:
We only accept releases, not building from the master branch.

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (14 preceding siblings ...)
  2023-07-02 15:56 ` abenson
@ 2023-07-02 15:56 ` abenson
  2023-07-02 16:00 ` abenson
                   ` (15 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: abenson @ 2023-07-02 15:56 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249594057

Comment:
Can't this be done with the `build_style=cmake`

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (15 preceding siblings ...)
  2023-07-02 15:56 ` abenson
@ 2023-07-02 16:00 ` abenson
  2023-07-02 16:01 ` abenson
                   ` (14 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: abenson @ 2023-07-02 16:00 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249595801

Comment:
I don't see the `libdispatch-devel` symlink

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (16 preceding siblings ...)
  2023-07-02 16:00 ` abenson
@ 2023-07-02 16:01 ` abenson
  2023-07-02 16:02 ` abenson
                   ` (13 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: abenson @ 2023-07-02 16:01 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249596681

Comment:
I don't see anything in that package that would be used on the host.

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (17 preceding siblings ...)
  2023-07-02 16:01 ` abenson
@ 2023-07-02 16:02 ` abenson
  2023-07-02 17:47 ` Ilia1
                   ` (12 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: abenson @ 2023-07-02 16:02 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249597430

Comment:
If the package links to this library, it will automatically add it to `depends`. If the library is dynamically loaded, it won't likely need to go into `common/shlibs`.

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (18 preceding siblings ...)
  2023-07-02 16:02 ` abenson
@ 2023-07-02 17:47 ` Ilia1
  2023-07-02 18:03 ` Ilia1
                   ` (11 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-02 17:47 UTC (permalink / raw)
  To: ml

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

New review comment by Ilia1 on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249660717

Comment:
Build from release failed, from master successful

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (19 preceding siblings ...)
  2023-07-02 17:47 ` Ilia1
@ 2023-07-02 18:03 ` Ilia1
  2023-07-02 18:14 ` [PR PATCH] [Updated] " Ilia1
                   ` (10 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-02 18:03 UTC (permalink / raw)
  To: ml

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

New review comment by Ilia1 on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249670296

Comment:
It must be libdispatch-devel

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

* Re: [PR PATCH] [Updated] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (20 preceding siblings ...)
  2023-07-02 18:03 ` Ilia1
@ 2023-07-02 18:14 ` Ilia1
  2023-07-03  0:45 ` [PR REVIEW] " abenson
                   ` (9 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-02 18:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Ilia1/void-packages deadbeef
https://github.com/void-linux/void-packages/pull/44774

Update deadbeef to 1.9.5
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86-64



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

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

From 09dac2e02a111d3f0d0d9a4da20436221dc03a57 Mon Sep 17 00:00:00 2001
From: ilia <ISPonomarev@yahoo.com>
Date: Sun, 2 Jul 2023 23:11:47 +0500
Subject: [PATCH] Update template deadbeef

---
 srcpkgs/deadbeef/template    | 28 +++++++++-------------------
 srcpkgs/libdispatch-devel    |  1 +
 srcpkgs/libdispatch/template | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 19 deletions(-)
 create mode 120000 srcpkgs/libdispatch-devel
 create mode 100644 srcpkgs/libdispatch/template

diff --git a/srcpkgs/deadbeef/template b/srcpkgs/deadbeef/template
index b664bb1b9bd9f..1f6b46a83ef9e 100644
--- a/srcpkgs/deadbeef/template
+++ b/srcpkgs/deadbeef/template
@@ -1,31 +1,25 @@
 # Template file for 'deadbeef'
 pkgname=deadbeef
-version=1.8.8
+version=1.9.5
 revision=1
 create_wrksrc=yes
 build_style=gnu-configure
-configure_args="--disable-oss --disable-lfm --disable-notify --disable-gtk2"
+configure_args="--disable-oss --disable-notify --disable-gtk2"
 hostmakedepends="automake libtool gettext gettext-devel intltool pkg-config
- yasm clang glib-devel"
+ yasm clang glib-devel libdispatch-devel"
 makedepends="
  alsa-lib-devel dbus-devel faad2-devel ffmpeg-devel gtk+3-devel imlib2-devel
  jansson-devel libcddb-devel libcdio-devel libcurl-devel libflac-devel
  libmad-devel libpng-devel libsamplerate-devel libsndfile-devel libvorbis-devel
- libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel"
+ libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel pipewire-devel git patch clang"
 depends="desktop-file-utils hicolor-icon-theme"
 short_desc="Ultimate Music Player for GNU/Linux"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
 license="Zlib, GPL-2.0-or-later, LGPL-2.1-or-later"
-_apbuild_commit=c64f490e54447e3902fae54784d01ab59fa7dc95
-_mp4p_commit=77ac9f2ecaa3a2f6e232fb45cd7f8550e13cc3d3
 homepage="https://deadbeef.sourceforge.io"
 changelog="https://deadbeef.sourceforge.io/news0.html"
-distfiles="https://github.com/DeaDBeeF-Player/deadbeef/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz
- https://github.com/DeaDBeeF-Player/apbuild/archive/${_apbuild_commit}.tar.gz>apbuild-${_apbuild_commit}.tar.gz
- https://github.com/DeaDBeeF-Player/mp4p/archive/${_mp4p_commit}.tar.gz>mp4p-${_mp4p_commit}.tar.gz"
-checksum="a667d55b787d76bc9d3593882b57ae9a449a99e93e1c11f85ec638566e10877d
- c5eeb3fa116d51d251fe7c7e5c44798680f6478c43a1fffdcb28c4caf1c68286
- d0ba1b4ad062cb5c056c4a59ed55769d79371fc9b3bf9aaa0ca48f508e3eba75"
+distfiles="https://sourceforge.net/projects/deadbeef/files/travis/linux/${version}/deadbeef-${version}.tar.bz2"
+checksum="74c4478edccfee8a978d4adbeeb208f049bef63982f4df19ee208aaad8a6cd26"
 LDFLAGS+=" -Wl,-z,stack-size=1048576"
 
 # The soundtouchup plugin was made default in 1.8.4 and fails to build on i686.
@@ -40,14 +34,10 @@ fi
 
 post_extract() {
 	mv deadbeef-${version}/* .
-	rm -rf external/apbuild
-	rm -rf external/mp4p
-	mv -v apbuild-${_apbuild_commit} external/apbuild
-	mv -v mp4p-${_mp4p_commit} external/mp4p
 }
 
-pre_configure() {
-	NOCONFIGURE=1 ./autogen.sh
+do_configure() {
+        CC=clang CXX=clang++ ./configure ${configure_args}
 }
 
 post_install() {
diff --git a/srcpkgs/libdispatch-devel b/srcpkgs/libdispatch-devel
new file mode 120000
index 0000000000000..b66e96a6610ff
--- /dev/null
+++ b/srcpkgs/libdispatch-devel
@@ -0,0 +1 @@
+libdispatch/
\ No newline at end of file
diff --git a/srcpkgs/libdispatch/template b/srcpkgs/libdispatch/template
new file mode 100644
index 0000000000000..4d689ea5d97e1
--- /dev/null
+++ b/srcpkgs/libdispatch/template
@@ -0,0 +1,32 @@
+pkgname=libdispatch
+version=5.5.3
+revision=1
+create_wrksrc=yes
+build_style=cmake
+hostmakedepends="ninja clang git"
+short_desc="Library provides comprehensive support for concurrent code execution on multicore hardware"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
+license="Apache-2.0"
+homepage="https://github.com/apple/swift-corelibs-libdispatch"
+
+do_fetch() {
+       git clone https://github.com/apple/swift-corelibs-libdispatch
+       mv swift-corelibs-libdispatch ${pkgname}-${version}
+}
+
+pre_configure() {
+       mkdir build
+}
+
+do_configure() {
+        cd build
+        cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
+}
+
+libdispatch-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+	}
+}

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (21 preceding siblings ...)
  2023-07-02 18:14 ` [PR PATCH] [Updated] " Ilia1
@ 2023-07-03  0:45 ` abenson
  2023-07-03 19:09 ` [PR PATCH] [Updated] " Ilia1
                   ` (8 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: abenson @ 2023-07-03  0:45 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1249955225

Comment:
If there are patches that are needed, they can be included, but it would be preferred that there be a new, working release.

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

* Re: [PR PATCH] [Updated] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (22 preceding siblings ...)
  2023-07-03  0:45 ` [PR REVIEW] " abenson
@ 2023-07-03 19:09 ` Ilia1
  2023-07-04  5:57 ` [PR REVIEW] " abenson
                   ` (7 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-03 19:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Ilia1/void-packages deadbeef
https://github.com/void-linux/void-packages/pull/44774

Update deadbeef to 1.9.5
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86-64



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

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

From 2c6be1f9415914aea9619e64fb83875de3301496 Mon Sep 17 00:00:00 2001
From: ilia <ISPonomarev@yahoo.com>
Date: Tue, 4 Jul 2023 00:06:12 +0500
Subject: [PATCH] Update template libdispatch

---
 srcpkgs/deadbeef/template                     | 28 ++++++----------
 srcpkgs/libdispatch-devel                     |  1 +
 .../libdispatch/patches/disable-warn.patch    | 20 ++++++++++++
 srcpkgs/libdispatch/template                  | 32 +++++++++++++++++++
 4 files changed, 62 insertions(+), 19 deletions(-)
 create mode 120000 srcpkgs/libdispatch-devel
 create mode 100644 srcpkgs/libdispatch/patches/disable-warn.patch
 create mode 100644 srcpkgs/libdispatch/template

diff --git a/srcpkgs/deadbeef/template b/srcpkgs/deadbeef/template
index b664bb1b9bd9..1f6b46a83ef9 100644
--- a/srcpkgs/deadbeef/template
+++ b/srcpkgs/deadbeef/template
@@ -1,31 +1,25 @@
 # Template file for 'deadbeef'
 pkgname=deadbeef
-version=1.8.8
+version=1.9.5
 revision=1
 create_wrksrc=yes
 build_style=gnu-configure
-configure_args="--disable-oss --disable-lfm --disable-notify --disable-gtk2"
+configure_args="--disable-oss --disable-notify --disable-gtk2"
 hostmakedepends="automake libtool gettext gettext-devel intltool pkg-config
- yasm clang glib-devel"
+ yasm clang glib-devel libdispatch-devel"
 makedepends="
  alsa-lib-devel dbus-devel faad2-devel ffmpeg-devel gtk+3-devel imlib2-devel
  jansson-devel libcddb-devel libcdio-devel libcurl-devel libflac-devel
  libmad-devel libpng-devel libsamplerate-devel libsndfile-devel libvorbis-devel
- libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel"
+ libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel pipewire-devel git patch clang"
 depends="desktop-file-utils hicolor-icon-theme"
 short_desc="Ultimate Music Player for GNU/Linux"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
 license="Zlib, GPL-2.0-or-later, LGPL-2.1-or-later"
-_apbuild_commit=c64f490e54447e3902fae54784d01ab59fa7dc95
-_mp4p_commit=77ac9f2ecaa3a2f6e232fb45cd7f8550e13cc3d3
 homepage="https://deadbeef.sourceforge.io"
 changelog="https://deadbeef.sourceforge.io/news0.html"
-distfiles="https://github.com/DeaDBeeF-Player/deadbeef/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz
- https://github.com/DeaDBeeF-Player/apbuild/archive/${_apbuild_commit}.tar.gz>apbuild-${_apbuild_commit}.tar.gz
- https://github.com/DeaDBeeF-Player/mp4p/archive/${_mp4p_commit}.tar.gz>mp4p-${_mp4p_commit}.tar.gz"
-checksum="a667d55b787d76bc9d3593882b57ae9a449a99e93e1c11f85ec638566e10877d
- c5eeb3fa116d51d251fe7c7e5c44798680f6478c43a1fffdcb28c4caf1c68286
- d0ba1b4ad062cb5c056c4a59ed55769d79371fc9b3bf9aaa0ca48f508e3eba75"
+distfiles="https://sourceforge.net/projects/deadbeef/files/travis/linux/${version}/deadbeef-${version}.tar.bz2"
+checksum="74c4478edccfee8a978d4adbeeb208f049bef63982f4df19ee208aaad8a6cd26"
 LDFLAGS+=" -Wl,-z,stack-size=1048576"
 
 # The soundtouchup plugin was made default in 1.8.4 and fails to build on i686.
@@ -40,14 +34,10 @@ fi
 
 post_extract() {
 	mv deadbeef-${version}/* .
-	rm -rf external/apbuild
-	rm -rf external/mp4p
-	mv -v apbuild-${_apbuild_commit} external/apbuild
-	mv -v mp4p-${_mp4p_commit} external/mp4p
 }
 
-pre_configure() {
-	NOCONFIGURE=1 ./autogen.sh
+do_configure() {
+        CC=clang CXX=clang++ ./configure ${configure_args}
 }
 
 post_install() {
diff --git a/srcpkgs/libdispatch-devel b/srcpkgs/libdispatch-devel
new file mode 120000
index 000000000000..b66e96a6610f
--- /dev/null
+++ b/srcpkgs/libdispatch-devel
@@ -0,0 +1 @@
+libdispatch/
\ No newline at end of file
diff --git a/srcpkgs/libdispatch/patches/disable-warn.patch b/srcpkgs/libdispatch/patches/disable-warn.patch
new file mode 100644
index 000000000000..073efe20c45f
--- /dev/null
+++ b/srcpkgs/libdispatch/patches/disable-warn.patch
@@ -0,0 +1,20 @@
+comment
+
+--- a/cmake/modules/DispatchCompilerWarnings.cmake
++++ b/cmake/modules/DispatchCompilerWarnings.cmake
+@@ -2,7 +2,6 @@
+ if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
+   # TODO: someone needs to provide the msvc equivalent warning flags
+ else()
+-  add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>)
+ 
+@@ -38,7 +37,6 @@
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wswitch>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunguarded-availability>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunreachable-code>)
+-  add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunused>)
+ 
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-unknown-warning-option>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-trigraphs>)
diff --git a/srcpkgs/libdispatch/template b/srcpkgs/libdispatch/template
new file mode 100644
index 000000000000..4c58a2ec8bd2
--- /dev/null
+++ b/srcpkgs/libdispatch/template
@@ -0,0 +1,32 @@
+# Template file for 'deadbeef'
+pkgname=libdispatch
+version=5.5.3
+revision=1
+create_wrksrc=yes
+build_style=cmake
+hostmakedepends="ninja clang git"
+makedepends="patch"
+short_desc="libdispatch provides comprehensive support for concurrent code execution on multicore hardware"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
+license="Apache-2.0"
+homepage="https://github.com/apple/swift-corelibs-libdispatch"
+distfiles="https://github.com/apple/swift-corelibs-libdispatch/archive/swift-${version}-RELEASE.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="dc0912c2812953c84eea996358abd6a2dbeb97f334d5c1d4064e077ca43d569f"
+
+pre_patch() {
+       mv -v ./*/* ./
+       mkdir build
+}
+
+do_configure() {
+        cd build
+        cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
+}
+
+libdispatch-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+	}
+}

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

* Re: [PR REVIEW] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (23 preceding siblings ...)
  2023-07-03 19:09 ` [PR PATCH] [Updated] " Ilia1
@ 2023-07-04  5:57 ` abenson
  2023-07-07  5:05 ` [PR PATCH] [Updated] " Ilia1
                   ` (6 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: abenson @ 2023-07-04  5:57 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#discussion_r1251518953

Comment:
Get rid of the do_configure() and just add `configure_args="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"`

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

* Re: [PR PATCH] [Updated] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (24 preceding siblings ...)
  2023-07-04  5:57 ` [PR REVIEW] " abenson
@ 2023-07-07  5:05 ` Ilia1
  2023-07-07  5:09 ` Ilia1
                   ` (5 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-07  5:05 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Ilia1/void-packages deadbeef
https://github.com/void-linux/void-packages/pull/44774

Update deadbeef to 1.9.5
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86-64



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

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

From 28d7ef5a92154359c73d080117e1a8daae3c1699 Mon Sep 17 00:00:00 2001
From: ilia <ISPonomarev@yahoo.com>
Date: Fri, 7 Jul 2023 10:03:08 +0500
Subject: [PATCH] Update template libdispatch

---
 srcpkgs/deadbeef/template                     | 28 ++++++----------
 srcpkgs/libdispatch-devel                     |  1 +
 .../libdispatch/patches/disable-warn.patch    | 20 ++++++++++++
 srcpkgs/libdispatch/template                  | 32 +++++++++++++++++++
 4 files changed, 62 insertions(+), 19 deletions(-)
 create mode 120000 srcpkgs/libdispatch-devel
 create mode 100644 srcpkgs/libdispatch/patches/disable-warn.patch
 create mode 100644 srcpkgs/libdispatch/template

diff --git a/srcpkgs/deadbeef/template b/srcpkgs/deadbeef/template
index b664bb1b9bd9..1f6b46a83ef9 100644
--- a/srcpkgs/deadbeef/template
+++ b/srcpkgs/deadbeef/template
@@ -1,31 +1,25 @@
 # Template file for 'deadbeef'
 pkgname=deadbeef
-version=1.8.8
+version=1.9.5
 revision=1
 create_wrksrc=yes
 build_style=gnu-configure
-configure_args="--disable-oss --disable-lfm --disable-notify --disable-gtk2"
+configure_args="--disable-oss --disable-notify --disable-gtk2"
 hostmakedepends="automake libtool gettext gettext-devel intltool pkg-config
- yasm clang glib-devel"
+ yasm clang glib-devel libdispatch-devel"
 makedepends="
  alsa-lib-devel dbus-devel faad2-devel ffmpeg-devel gtk+3-devel imlib2-devel
  jansson-devel libcddb-devel libcdio-devel libcurl-devel libflac-devel
  libmad-devel libpng-devel libsamplerate-devel libsndfile-devel libvorbis-devel
- libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel"
+ libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel pipewire-devel git patch clang"
 depends="desktop-file-utils hicolor-icon-theme"
 short_desc="Ultimate Music Player for GNU/Linux"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
 license="Zlib, GPL-2.0-or-later, LGPL-2.1-or-later"
-_apbuild_commit=c64f490e54447e3902fae54784d01ab59fa7dc95
-_mp4p_commit=77ac9f2ecaa3a2f6e232fb45cd7f8550e13cc3d3
 homepage="https://deadbeef.sourceforge.io"
 changelog="https://deadbeef.sourceforge.io/news0.html"
-distfiles="https://github.com/DeaDBeeF-Player/deadbeef/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz
- https://github.com/DeaDBeeF-Player/apbuild/archive/${_apbuild_commit}.tar.gz>apbuild-${_apbuild_commit}.tar.gz
- https://github.com/DeaDBeeF-Player/mp4p/archive/${_mp4p_commit}.tar.gz>mp4p-${_mp4p_commit}.tar.gz"
-checksum="a667d55b787d76bc9d3593882b57ae9a449a99e93e1c11f85ec638566e10877d
- c5eeb3fa116d51d251fe7c7e5c44798680f6478c43a1fffdcb28c4caf1c68286
- d0ba1b4ad062cb5c056c4a59ed55769d79371fc9b3bf9aaa0ca48f508e3eba75"
+distfiles="https://sourceforge.net/projects/deadbeef/files/travis/linux/${version}/deadbeef-${version}.tar.bz2"
+checksum="74c4478edccfee8a978d4adbeeb208f049bef63982f4df19ee208aaad8a6cd26"
 LDFLAGS+=" -Wl,-z,stack-size=1048576"
 
 # The soundtouchup plugin was made default in 1.8.4 and fails to build on i686.
@@ -40,14 +34,10 @@ fi
 
 post_extract() {
 	mv deadbeef-${version}/* .
-	rm -rf external/apbuild
-	rm -rf external/mp4p
-	mv -v apbuild-${_apbuild_commit} external/apbuild
-	mv -v mp4p-${_mp4p_commit} external/mp4p
 }
 
-pre_configure() {
-	NOCONFIGURE=1 ./autogen.sh
+do_configure() {
+        CC=clang CXX=clang++ ./configure ${configure_args}
 }
 
 post_install() {
diff --git a/srcpkgs/libdispatch-devel b/srcpkgs/libdispatch-devel
new file mode 120000
index 000000000000..b66e96a6610f
--- /dev/null
+++ b/srcpkgs/libdispatch-devel
@@ -0,0 +1 @@
+libdispatch/
\ No newline at end of file
diff --git a/srcpkgs/libdispatch/patches/disable-warn.patch b/srcpkgs/libdispatch/patches/disable-warn.patch
new file mode 100644
index 000000000000..073efe20c45f
--- /dev/null
+++ b/srcpkgs/libdispatch/patches/disable-warn.patch
@@ -0,0 +1,20 @@
+comment
+
+--- a/cmake/modules/DispatchCompilerWarnings.cmake
++++ b/cmake/modules/DispatchCompilerWarnings.cmake
+@@ -2,7 +2,6 @@
+ if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
+   # TODO: someone needs to provide the msvc equivalent warning flags
+ else()
+-  add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>)
+ 
+@@ -38,7 +37,6 @@
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wswitch>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunguarded-availability>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunreachable-code>)
+-  add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunused>)
+ 
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-unknown-warning-option>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-trigraphs>)
diff --git a/srcpkgs/libdispatch/template b/srcpkgs/libdispatch/template
new file mode 100644
index 000000000000..4c58a2ec8bd2
--- /dev/null
+++ b/srcpkgs/libdispatch/template
@@ -0,0 +1,32 @@
+# Template file for 'deadbeef'
+pkgname=libdispatch
+version=5.5.3
+revision=1
+create_wrksrc=yes
+build_style=cmake
+hostmakedepends="ninja clang git"
+makedepends="patch"
+short_desc="libdispatch provides comprehensive support for concurrent code execution on multicore hardware"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
+license="Apache-2.0"
+homepage="https://github.com/apple/swift-corelibs-libdispatch"
+distfiles="https://github.com/apple/swift-corelibs-libdispatch/archive/swift-${version}-RELEASE.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="dc0912c2812953c84eea996358abd6a2dbeb97f334d5c1d4064e077ca43d569f"
+
+pre_patch() {
+       mv -v ./*/* ./
+       mkdir build
+}
+
+do_configure() {
+        cd build
+        cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
+}
+
+libdispatch-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+	}
+}

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

* Re: [PR PATCH] [Updated] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (25 preceding siblings ...)
  2023-07-07  5:05 ` [PR PATCH] [Updated] " Ilia1
@ 2023-07-07  5:09 ` Ilia1
  2023-07-09 15:01 ` Ilia1
                   ` (4 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-07  5:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Ilia1/void-packages deadbeef
https://github.com/void-linux/void-packages/pull/44774

Update deadbeef to 1.9.5
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86-64



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

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

From eac5f75cf96da4c0b59abb962997c4695e26eeb6 Mon Sep 17 00:00:00 2001
From: ilia <ISPonomarev@yahoo.com>
Date: Fri, 7 Jul 2023 10:08:28 +0500
Subject: [PATCH] Update template libdispatch

---
 srcpkgs/deadbeef/template                     | 28 ++++++------------
 srcpkgs/libdispatch-devel                     |  1 +
 .../libdispatch/patches/disable-warn.patch    | 20 +++++++++++++
 srcpkgs/libdispatch/template                  | 29 +++++++++++++++++++
 4 files changed, 59 insertions(+), 19 deletions(-)
 create mode 120000 srcpkgs/libdispatch-devel
 create mode 100644 srcpkgs/libdispatch/patches/disable-warn.patch
 create mode 100644 srcpkgs/libdispatch/template

diff --git a/srcpkgs/deadbeef/template b/srcpkgs/deadbeef/template
index b664bb1b9bd9..1f6b46a83ef9 100644
--- a/srcpkgs/deadbeef/template
+++ b/srcpkgs/deadbeef/template
@@ -1,31 +1,25 @@
 # Template file for 'deadbeef'
 pkgname=deadbeef
-version=1.8.8
+version=1.9.5
 revision=1
 create_wrksrc=yes
 build_style=gnu-configure
-configure_args="--disable-oss --disable-lfm --disable-notify --disable-gtk2"
+configure_args="--disable-oss --disable-notify --disable-gtk2"
 hostmakedepends="automake libtool gettext gettext-devel intltool pkg-config
- yasm clang glib-devel"
+ yasm clang glib-devel libdispatch-devel"
 makedepends="
  alsa-lib-devel dbus-devel faad2-devel ffmpeg-devel gtk+3-devel imlib2-devel
  jansson-devel libcddb-devel libcdio-devel libcurl-devel libflac-devel
  libmad-devel libpng-devel libsamplerate-devel libsndfile-devel libvorbis-devel
- libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel"
+ libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel pipewire-devel git patch clang"
 depends="desktop-file-utils hicolor-icon-theme"
 short_desc="Ultimate Music Player for GNU/Linux"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
 license="Zlib, GPL-2.0-or-later, LGPL-2.1-or-later"
-_apbuild_commit=c64f490e54447e3902fae54784d01ab59fa7dc95
-_mp4p_commit=77ac9f2ecaa3a2f6e232fb45cd7f8550e13cc3d3
 homepage="https://deadbeef.sourceforge.io"
 changelog="https://deadbeef.sourceforge.io/news0.html"
-distfiles="https://github.com/DeaDBeeF-Player/deadbeef/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz
- https://github.com/DeaDBeeF-Player/apbuild/archive/${_apbuild_commit}.tar.gz>apbuild-${_apbuild_commit}.tar.gz
- https://github.com/DeaDBeeF-Player/mp4p/archive/${_mp4p_commit}.tar.gz>mp4p-${_mp4p_commit}.tar.gz"
-checksum="a667d55b787d76bc9d3593882b57ae9a449a99e93e1c11f85ec638566e10877d
- c5eeb3fa116d51d251fe7c7e5c44798680f6478c43a1fffdcb28c4caf1c68286
- d0ba1b4ad062cb5c056c4a59ed55769d79371fc9b3bf9aaa0ca48f508e3eba75"
+distfiles="https://sourceforge.net/projects/deadbeef/files/travis/linux/${version}/deadbeef-${version}.tar.bz2"
+checksum="74c4478edccfee8a978d4adbeeb208f049bef63982f4df19ee208aaad8a6cd26"
 LDFLAGS+=" -Wl,-z,stack-size=1048576"
 
 # The soundtouchup plugin was made default in 1.8.4 and fails to build on i686.
@@ -40,14 +34,10 @@ fi
 
 post_extract() {
 	mv deadbeef-${version}/* .
-	rm -rf external/apbuild
-	rm -rf external/mp4p
-	mv -v apbuild-${_apbuild_commit} external/apbuild
-	mv -v mp4p-${_mp4p_commit} external/mp4p
 }
 
-pre_configure() {
-	NOCONFIGURE=1 ./autogen.sh
+do_configure() {
+        CC=clang CXX=clang++ ./configure ${configure_args}
 }
 
 post_install() {
diff --git a/srcpkgs/libdispatch-devel b/srcpkgs/libdispatch-devel
new file mode 120000
index 000000000000..b66e96a6610f
--- /dev/null
+++ b/srcpkgs/libdispatch-devel
@@ -0,0 +1 @@
+libdispatch/
\ No newline at end of file
diff --git a/srcpkgs/libdispatch/patches/disable-warn.patch b/srcpkgs/libdispatch/patches/disable-warn.patch
new file mode 100644
index 000000000000..073efe20c45f
--- /dev/null
+++ b/srcpkgs/libdispatch/patches/disable-warn.patch
@@ -0,0 +1,20 @@
+comment
+
+--- a/cmake/modules/DispatchCompilerWarnings.cmake
++++ b/cmake/modules/DispatchCompilerWarnings.cmake
+@@ -2,7 +2,6 @@
+ if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
+   # TODO: someone needs to provide the msvc equivalent warning flags
+ else()
+-  add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>)
+ 
+@@ -38,7 +37,6 @@
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wswitch>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunguarded-availability>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunreachable-code>)
+-  add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunused>)
+ 
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-unknown-warning-option>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-trigraphs>)
diff --git a/srcpkgs/libdispatch/template b/srcpkgs/libdispatch/template
new file mode 100644
index 000000000000..bfda6ee6d391
--- /dev/null
+++ b/srcpkgs/libdispatch/template
@@ -0,0 +1,29 @@
+# Template file for 'libdispatch'
+pkgname=libdispatch
+version=5.5.3
+revision=1
+create_wrksrc=yes
+build_style=cmake
+configure_args="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX:PATH=/usr "
+hostmakedepends="ninja clang git"
+makedepends="patch"
+short_desc="Libdispatch - library for concurrent code execution on multicore"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
+license="Apache-2.0"
+homepage="https://github.com/apple/swift-corelibs-libdispatch"
+distfiles="https://github.com/apple/swift-corelibs-libdispatch/archive/swift-${version}-RELEASE.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="dc0912c2812953c84eea996358abd6a2dbeb97f334d5c1d4064e077ca43d569f"
+
+pre_patch() {
+       mv -v ./*/* ./
+       mkdir build
+}
+
+
+libdispatch-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+	}
+}

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

* Re: [PR PATCH] [Updated] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (26 preceding siblings ...)
  2023-07-07  5:09 ` Ilia1
@ 2023-07-09 15:01 ` Ilia1
  2023-07-09 15:02 ` Ilia1
                   ` (3 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-09 15:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Ilia1/void-packages deadbeef
https://github.com/void-linux/void-packages/pull/44774

Update deadbeef to 1.9.5
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86-64



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

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

From 2467e9c7c7fedd342ea2cbea8a86615f125f66a0 Mon Sep 17 00:00:00 2001
From: ilia <ISPonomarev@yahoo.com>
Date: Sun, 9 Jul 2023 19:58:54 +0500
Subject: [PATCH] Update template deadbeef and libdispatch

---
 common/shlibs                                 |  2 ++
 srcpkgs/deadbeef/template                     | 28 ++++++------------
 srcpkgs/libdispatch-devel                     |  1 +
 .../libdispatch/patches/disable-warn.patch    | 20 +++++++++++++
 srcpkgs/libdispatch/template                  | 29 +++++++++++++++++++
 5 files changed, 61 insertions(+), 19 deletions(-)
 create mode 120000 srcpkgs/libdispatch-devel
 create mode 100644 srcpkgs/libdispatch/patches/disable-warn.patch
 create mode 100644 srcpkgs/libdispatch/template

diff --git a/common/shlibs b/common/shlibs
index 258b257a75c3..aa185f0d6a27 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4277,3 +4277,5 @@ libgsoapssl++-2.8.124.so gsoap-2.8.124_1
 libjxl.so.0.8 libjxl-0.8.2_1
 libjxl_dec.so.0.8 libjxl-0.8.2_1
 libjxl_threads.so.0.8 libjxl-0.8.2_1
+libdispatch.so libdispatch-5.5.3_1
+libBlocksRuntime.so libdispatch-5.5.3_1
diff --git a/srcpkgs/deadbeef/template b/srcpkgs/deadbeef/template
index b664bb1b9bd9..1f6b46a83ef9 100644
--- a/srcpkgs/deadbeef/template
+++ b/srcpkgs/deadbeef/template
@@ -1,31 +1,25 @@
 # Template file for 'deadbeef'
 pkgname=deadbeef
-version=1.8.8
+version=1.9.5
 revision=1
 create_wrksrc=yes
 build_style=gnu-configure
-configure_args="--disable-oss --disable-lfm --disable-notify --disable-gtk2"
+configure_args="--disable-oss --disable-notify --disable-gtk2"
 hostmakedepends="automake libtool gettext gettext-devel intltool pkg-config
- yasm clang glib-devel"
+ yasm clang glib-devel libdispatch-devel"
 makedepends="
  alsa-lib-devel dbus-devel faad2-devel ffmpeg-devel gtk+3-devel imlib2-devel
  jansson-devel libcddb-devel libcdio-devel libcurl-devel libflac-devel
  libmad-devel libpng-devel libsamplerate-devel libsndfile-devel libvorbis-devel
- libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel"
+ libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel pipewire-devel git patch clang"
 depends="desktop-file-utils hicolor-icon-theme"
 short_desc="Ultimate Music Player for GNU/Linux"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
 license="Zlib, GPL-2.0-or-later, LGPL-2.1-or-later"
-_apbuild_commit=c64f490e54447e3902fae54784d01ab59fa7dc95
-_mp4p_commit=77ac9f2ecaa3a2f6e232fb45cd7f8550e13cc3d3
 homepage="https://deadbeef.sourceforge.io"
 changelog="https://deadbeef.sourceforge.io/news0.html"
-distfiles="https://github.com/DeaDBeeF-Player/deadbeef/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz
- https://github.com/DeaDBeeF-Player/apbuild/archive/${_apbuild_commit}.tar.gz>apbuild-${_apbuild_commit}.tar.gz
- https://github.com/DeaDBeeF-Player/mp4p/archive/${_mp4p_commit}.tar.gz>mp4p-${_mp4p_commit}.tar.gz"
-checksum="a667d55b787d76bc9d3593882b57ae9a449a99e93e1c11f85ec638566e10877d
- c5eeb3fa116d51d251fe7c7e5c44798680f6478c43a1fffdcb28c4caf1c68286
- d0ba1b4ad062cb5c056c4a59ed55769d79371fc9b3bf9aaa0ca48f508e3eba75"
+distfiles="https://sourceforge.net/projects/deadbeef/files/travis/linux/${version}/deadbeef-${version}.tar.bz2"
+checksum="74c4478edccfee8a978d4adbeeb208f049bef63982f4df19ee208aaad8a6cd26"
 LDFLAGS+=" -Wl,-z,stack-size=1048576"
 
 # The soundtouchup plugin was made default in 1.8.4 and fails to build on i686.
@@ -40,14 +34,10 @@ fi
 
 post_extract() {
 	mv deadbeef-${version}/* .
-	rm -rf external/apbuild
-	rm -rf external/mp4p
-	mv -v apbuild-${_apbuild_commit} external/apbuild
-	mv -v mp4p-${_mp4p_commit} external/mp4p
 }
 
-pre_configure() {
-	NOCONFIGURE=1 ./autogen.sh
+do_configure() {
+        CC=clang CXX=clang++ ./configure ${configure_args}
 }
 
 post_install() {
diff --git a/srcpkgs/libdispatch-devel b/srcpkgs/libdispatch-devel
new file mode 120000
index 000000000000..b66e96a6610f
--- /dev/null
+++ b/srcpkgs/libdispatch-devel
@@ -0,0 +1 @@
+libdispatch/
\ No newline at end of file
diff --git a/srcpkgs/libdispatch/patches/disable-warn.patch b/srcpkgs/libdispatch/patches/disable-warn.patch
new file mode 100644
index 000000000000..073efe20c45f
--- /dev/null
+++ b/srcpkgs/libdispatch/patches/disable-warn.patch
@@ -0,0 +1,20 @@
+comment
+
+--- a/cmake/modules/DispatchCompilerWarnings.cmake
++++ b/cmake/modules/DispatchCompilerWarnings.cmake
+@@ -2,7 +2,6 @@
+ if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
+   # TODO: someone needs to provide the msvc equivalent warning flags
+ else()
+-  add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>)
+ 
+@@ -38,7 +37,6 @@
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wswitch>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunguarded-availability>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunreachable-code>)
+-  add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunused>)
+ 
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-unknown-warning-option>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-trigraphs>)
diff --git a/srcpkgs/libdispatch/template b/srcpkgs/libdispatch/template
new file mode 100644
index 000000000000..bfda6ee6d391
--- /dev/null
+++ b/srcpkgs/libdispatch/template
@@ -0,0 +1,29 @@
+# Template file for 'libdispatch'
+pkgname=libdispatch
+version=5.5.3
+revision=1
+create_wrksrc=yes
+build_style=cmake
+configure_args="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX:PATH=/usr "
+hostmakedepends="ninja clang git"
+makedepends="patch"
+short_desc="Libdispatch - library for concurrent code execution on multicore"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
+license="Apache-2.0"
+homepage="https://github.com/apple/swift-corelibs-libdispatch"
+distfiles="https://github.com/apple/swift-corelibs-libdispatch/archive/swift-${version}-RELEASE.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="dc0912c2812953c84eea996358abd6a2dbeb97f334d5c1d4064e077ca43d569f"
+
+pre_patch() {
+       mv -v ./*/* ./
+       mkdir build
+}
+
+
+libdispatch-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+	}
+}

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

* Re: [PR PATCH] [Updated] Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (27 preceding siblings ...)
  2023-07-09 15:01 ` Ilia1
@ 2023-07-09 15:02 ` Ilia1
  2023-07-10 11:09 ` Ilia1
                   ` (2 subsequent siblings)
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-09 15:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Ilia1/void-packages deadbeef
https://github.com/void-linux/void-packages/pull/44774

Update deadbeef to 1.9.5
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86-64



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

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

From 2467e9c7c7fedd342ea2cbea8a86615f125f66a0 Mon Sep 17 00:00:00 2001
From: ilia <ISPonomarev@yahoo.com>
Date: Sun, 9 Jul 2023 19:58:54 +0500
Subject: [PATCH] Update template deadbeef and libdispatch

---
 common/shlibs                                 |  2 ++
 srcpkgs/deadbeef/template                     | 28 ++++++------------
 srcpkgs/libdispatch-devel                     |  1 +
 .../libdispatch/patches/disable-warn.patch    | 20 +++++++++++++
 srcpkgs/libdispatch/template                  | 29 +++++++++++++++++++
 5 files changed, 61 insertions(+), 19 deletions(-)
 create mode 120000 srcpkgs/libdispatch-devel
 create mode 100644 srcpkgs/libdispatch/patches/disable-warn.patch
 create mode 100644 srcpkgs/libdispatch/template

diff --git a/common/shlibs b/common/shlibs
index 258b257a75c3..aa185f0d6a27 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4277,3 +4277,5 @@ libgsoapssl++-2.8.124.so gsoap-2.8.124_1
 libjxl.so.0.8 libjxl-0.8.2_1
 libjxl_dec.so.0.8 libjxl-0.8.2_1
 libjxl_threads.so.0.8 libjxl-0.8.2_1
+libdispatch.so libdispatch-5.5.3_1
+libBlocksRuntime.so libdispatch-5.5.3_1
diff --git a/srcpkgs/deadbeef/template b/srcpkgs/deadbeef/template
index b664bb1b9bd9..1f6b46a83ef9 100644
--- a/srcpkgs/deadbeef/template
+++ b/srcpkgs/deadbeef/template
@@ -1,31 +1,25 @@
 # Template file for 'deadbeef'
 pkgname=deadbeef
-version=1.8.8
+version=1.9.5
 revision=1
 create_wrksrc=yes
 build_style=gnu-configure
-configure_args="--disable-oss --disable-lfm --disable-notify --disable-gtk2"
+configure_args="--disable-oss --disable-notify --disable-gtk2"
 hostmakedepends="automake libtool gettext gettext-devel intltool pkg-config
- yasm clang glib-devel"
+ yasm clang glib-devel libdispatch-devel"
 makedepends="
  alsa-lib-devel dbus-devel faad2-devel ffmpeg-devel gtk+3-devel imlib2-devel
  jansson-devel libcddb-devel libcdio-devel libcurl-devel libflac-devel
  libmad-devel libpng-devel libsamplerate-devel libsndfile-devel libvorbis-devel
- libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel"
+ libzip-devel mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel pipewire-devel git patch clang"
 depends="desktop-file-utils hicolor-icon-theme"
 short_desc="Ultimate Music Player for GNU/Linux"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
 license="Zlib, GPL-2.0-or-later, LGPL-2.1-or-later"
-_apbuild_commit=c64f490e54447e3902fae54784d01ab59fa7dc95
-_mp4p_commit=77ac9f2ecaa3a2f6e232fb45cd7f8550e13cc3d3
 homepage="https://deadbeef.sourceforge.io"
 changelog="https://deadbeef.sourceforge.io/news0.html"
-distfiles="https://github.com/DeaDBeeF-Player/deadbeef/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz
- https://github.com/DeaDBeeF-Player/apbuild/archive/${_apbuild_commit}.tar.gz>apbuild-${_apbuild_commit}.tar.gz
- https://github.com/DeaDBeeF-Player/mp4p/archive/${_mp4p_commit}.tar.gz>mp4p-${_mp4p_commit}.tar.gz"
-checksum="a667d55b787d76bc9d3593882b57ae9a449a99e93e1c11f85ec638566e10877d
- c5eeb3fa116d51d251fe7c7e5c44798680f6478c43a1fffdcb28c4caf1c68286
- d0ba1b4ad062cb5c056c4a59ed55769d79371fc9b3bf9aaa0ca48f508e3eba75"
+distfiles="https://sourceforge.net/projects/deadbeef/files/travis/linux/${version}/deadbeef-${version}.tar.bz2"
+checksum="74c4478edccfee8a978d4adbeeb208f049bef63982f4df19ee208aaad8a6cd26"
 LDFLAGS+=" -Wl,-z,stack-size=1048576"
 
 # The soundtouchup plugin was made default in 1.8.4 and fails to build on i686.
@@ -40,14 +34,10 @@ fi
 
 post_extract() {
 	mv deadbeef-${version}/* .
-	rm -rf external/apbuild
-	rm -rf external/mp4p
-	mv -v apbuild-${_apbuild_commit} external/apbuild
-	mv -v mp4p-${_mp4p_commit} external/mp4p
 }
 
-pre_configure() {
-	NOCONFIGURE=1 ./autogen.sh
+do_configure() {
+        CC=clang CXX=clang++ ./configure ${configure_args}
 }
 
 post_install() {
diff --git a/srcpkgs/libdispatch-devel b/srcpkgs/libdispatch-devel
new file mode 120000
index 000000000000..b66e96a6610f
--- /dev/null
+++ b/srcpkgs/libdispatch-devel
@@ -0,0 +1 @@
+libdispatch/
\ No newline at end of file
diff --git a/srcpkgs/libdispatch/patches/disable-warn.patch b/srcpkgs/libdispatch/patches/disable-warn.patch
new file mode 100644
index 000000000000..073efe20c45f
--- /dev/null
+++ b/srcpkgs/libdispatch/patches/disable-warn.patch
@@ -0,0 +1,20 @@
+comment
+
+--- a/cmake/modules/DispatchCompilerWarnings.cmake
++++ b/cmake/modules/DispatchCompilerWarnings.cmake
+@@ -2,7 +2,6 @@
+ if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
+   # TODO: someone needs to provide the msvc equivalent warning flags
+ else()
+-  add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>)
+ 
+@@ -38,7 +37,6 @@
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wswitch>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunguarded-availability>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunreachable-code>)
+-  add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wunused>)
+ 
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-unknown-warning-option>)
+   add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wno-trigraphs>)
diff --git a/srcpkgs/libdispatch/template b/srcpkgs/libdispatch/template
new file mode 100644
index 000000000000..bfda6ee6d391
--- /dev/null
+++ b/srcpkgs/libdispatch/template
@@ -0,0 +1,29 @@
+# Template file for 'libdispatch'
+pkgname=libdispatch
+version=5.5.3
+revision=1
+create_wrksrc=yes
+build_style=cmake
+configure_args="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX:PATH=/usr "
+hostmakedepends="ninja clang git"
+makedepends="patch"
+short_desc="Libdispatch - library for concurrent code execution on multicore"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
+license="Apache-2.0"
+homepage="https://github.com/apple/swift-corelibs-libdispatch"
+distfiles="https://github.com/apple/swift-corelibs-libdispatch/archive/swift-${version}-RELEASE.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="dc0912c2812953c84eea996358abd6a2dbeb97f334d5c1d4064e077ca43d569f"
+
+pre_patch() {
+       mv -v ./*/* ./
+       mkdir build
+}
+
+
+libdispatch-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+	}
+}

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

* Re: Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (28 preceding siblings ...)
  2023-07-09 15:02 ` Ilia1
@ 2023-07-10 11:09 ` Ilia1
  2023-10-09  1:45 ` github-actions
  2023-10-24  1:45 ` [PR PATCH] [Closed]: " github-actions
  31 siblings, 0 replies; 33+ messages in thread
From: Ilia1 @ 2023-07-10 11:09 UTC (permalink / raw)
  To: ml

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

New comment by Ilia1 on void-packages repository

https://github.com/void-linux/void-packages/pull/44774#issuecomment-1628728841

Comment:
I add `configure_args="... -DCMAKE_SYSTEM_PROCESSOR=$XBPS_TARGET_MACHINE"`
Why when specifying the -a flag in xbps-src command does it try to build with gcc?
If I just build libdispatch with the options `cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_SYSTEM_PROCESSOR=aarch64`  the build is successful. 
But if I build via `xbps-src -a aarch64 pkg libdispatch`, the build starts with gcc instead of clang

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

* Re: Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (29 preceding siblings ...)
  2023-07-10 11:09 ` Ilia1
@ 2023-10-09  1:45 ` github-actions
  2023-10-24  1:45 ` [PR PATCH] [Closed]: " github-actions
  31 siblings, 0 replies; 33+ messages in thread
From: github-actions @ 2023-10-09  1:45 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/44774#issuecomment-1752245796

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] 33+ messages in thread

* Re: [PR PATCH] [Closed]: Update deadbeef to 1.9.5
  2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
                   ` (30 preceding siblings ...)
  2023-10-09  1:45 ` github-actions
@ 2023-10-24  1:45 ` github-actions
  31 siblings, 0 replies; 33+ messages in thread
From: github-actions @ 2023-10-24  1:45 UTC (permalink / raw)
  To: ml

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

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

Update deadbeef to 1.9.5
https://github.com/void-linux/void-packages/pull/44774

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


#### Local build testing
- I built this PR locally for my native architecture, x86-64



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

end of thread, other threads:[~2023-10-24  1:45 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-01 20:04 [PR PATCH] Update deadbeef to 1.9.5 Ilia1
2023-07-01 20:36 ` Bnyro
2023-07-01 20:48 ` Chocimier
2023-07-01 20:49 ` [PR REVIEW] " Chocimier
2023-07-01 22:07 ` classabbyamp
2023-07-01 22:07 ` classabbyamp
2023-07-02 10:15 ` [PR REVIEW] " Ilia1
2023-07-02 10:21 ` Ilia1
2023-07-02 10:41 ` [PR PATCH] [Updated] " Ilia1
2023-07-02 11:52 ` Ilia1
2023-07-02 12:30 ` Ilia1
2023-07-02 15:51 ` [PR REVIEW] " abenson
2023-07-02 15:52 ` abenson
2023-07-02 15:53 ` abenson
2023-07-02 15:54 ` abenson
2023-07-02 15:56 ` abenson
2023-07-02 15:56 ` abenson
2023-07-02 16:00 ` abenson
2023-07-02 16:01 ` abenson
2023-07-02 16:02 ` abenson
2023-07-02 17:47 ` Ilia1
2023-07-02 18:03 ` Ilia1
2023-07-02 18:14 ` [PR PATCH] [Updated] " Ilia1
2023-07-03  0:45 ` [PR REVIEW] " abenson
2023-07-03 19:09 ` [PR PATCH] [Updated] " Ilia1
2023-07-04  5:57 ` [PR REVIEW] " abenson
2023-07-07  5:05 ` [PR PATCH] [Updated] " Ilia1
2023-07-07  5:09 ` Ilia1
2023-07-09 15:01 ` Ilia1
2023-07-09 15:02 ` Ilia1
2023-07-10 11:09 ` Ilia1
2023-10-09  1:45 ` github-actions
2023-10-24  1:45 ` [PR PATCH] [Closed]: " github-actions

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).