sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (31c2f52122c1d175f922f9d591f78ea8f5f6fd61)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (31c2f52122c1d175f922f9d591f78ea8f5f6fd61)
- Date: Sun, 1 Aug 2021 14:31:53 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
audio-players/deadbeef/DEPENDS | 13 +++++++++++--
audio-players/deadbeef/DETAILS | 4 ++--
audio-players/deadbeef/HISTORY | 5 +++++
audio-players/deadbeef/PRE_BUILD | 3 +++
audio-players/deadbeef/patches/musl_strdupa.patch | 18 ++++++++++++++++++
5 files changed, 39 insertions(+), 4 deletions(-)
New commits:
commit 31c2f52122c1d175f922f9d591f78ea8f5f6fd61
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
deadbeef: Fix build against musl
commit a7c5da21edc79ca247f857969a992d4beb3a7c25
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
deadbeef: Update dependencies
lastfm plugin requires clang (-fblocks) & libdispatch.
commit 10f75df17ed876e0cb835e2c67e306fabb4c55d0
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
deadbeef 1.8.7
diff --git a/audio-players/deadbeef/DEPENDS b/audio-players/deadbeef/DEPENDS
index 5da15ca..6cbfd12 100755
--- a/audio-players/deadbeef/DEPENDS
+++ b/audio-players/deadbeef/DEPENDS
@@ -81,10 +81,19 @@ else
fi &&
optional_depends curl \
- "--enable-vfs-curl --enable-lfm" \
- "--disable-vfs-curl --disable-lfm" \
+ "--enable-vfs-curl" \
+ "--disable-vfs-curl" \
"For lastfm scrobbler, shoutcast, icecast, podcast support"
&&
+optional_depends libdispatch \
+ "--enable-lfm" \
+ "--disable-lfm" \
+ "for LastFM scrobbler" &&
+
+if is_depends_enabled "$SPELL" libdispatch; then
+ depends -sub CLANG llvm "CC=clang"
+fi &&
+
optional_depends libx11 \
"--enable-hotkeys" \
"--disable-hotkeys" \
diff --git a/audio-players/deadbeef/DETAILS b/audio-players/deadbeef/DETAILS
index 426bdc4..78df734 100755
--- a/audio-players/deadbeef/DETAILS
+++ b/audio-players/deadbeef/DETAILS
@@ -1,8 +1,8 @@
SPELL=deadbeef
- VERSION=0.7.2
+ VERSION=1.8.7
SOURCE=${SPELL}-${VERSION}.tar.bz2
SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/${SPELL}/${SOURCE}
-
SOURCE_HASH=sha512:9ea61a3820d9d57f038b80652ce63bd87e6781259c0f58a93b70607b02e71debbf5598f4a06d607d3840a804c3b7fc5039a4c4b0a8bb01e8e5107bba3f0bd980
+
SOURCE_HASH=sha512:49a9610f8aa8d9853cd4f9a38d103f9a902993a5ae1990937a3ac5a14a4f8533f4233002893875aedf45f737d1a95c7cea189c61d6387bd8be7f3535d60c96eb
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
WEB_SITE="http://deadbeef.sourceforge.net/"
LICENSE[0]="GPLv2"
diff --git a/audio-players/deadbeef/HISTORY b/audio-players/deadbeef/HISTORY
index e67b896..e2f67a1 100644
--- a/audio-players/deadbeef/HISTORY
+++ b/audio-players/deadbeef/HISTORY
@@ -1,3 +1,8 @@
+2021-08-01 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: updated spell to 1.8.7
+ * DEPENDS: updated dependencies, lastfm requires libdispatch & clang
+ * PRE_BUILD, patches/musl_strdupa.patch: fixed build against musl
+
2019-05-18 Ismael Luceno <ismael AT sourcemage.org>
* DEPENDS: Update dependency; s/gettext/GETTEXT/
diff --git a/audio-players/deadbeef/PRE_BUILD
b/audio-players/deadbeef/PRE_BUILD
new file mode 100755
index 0000000..c230ad1
--- /dev/null
+++ b/audio-players/deadbeef/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git a/audio-players/deadbeef/patches/musl_strdupa.patch
b/audio-players/deadbeef/patches/musl_strdupa.patch
new file mode 100644
index 0000000..6b6f5d3
--- /dev/null
+++ b/audio-players/deadbeef/patches/musl_strdupa.patch
@@ -0,0 +1,18 @@
+musl strdupa() fails to compile in c++ due to a missing cast
+use deadbeef's fallback version instead
+
+Origin: Void Linux
+
+--- a/strdupa.h
++++ b/strdupa.h
+@@ -26,6 +26,10 @@
+
+ #include <string.h>
+
++#if defined(__linux__) && !defined(__GLIBC__)
++# undef strdupa
++#endif
++
+ #ifndef strdupa
+ # define strdupa(s)
\
+ ({
\
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (31c2f52122c1d175f922f9d591f78ea8f5f6fd61), Ismael Luceno, 08/01/2021
Archive powered by MHonArc 2.6.24.