From 896d8a1c25a815ad642ffd79676e408bf285feb2 Mon Sep 17 00:00:00 2001 From: Mateusz Sylwestrzak Date: Tue, 25 Feb 2025 20:58:55 +0100 Subject: [PATCH] ardour: update to 8.12 --- .../patches/0001-Unset-HAVE_GNU_FTW.patch | 40 +++++++++++++++++++ srcpkgs/ardour/template | 9 ++++- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/ardour/patches/0001-Unset-HAVE_GNU_FTW.patch diff --git a/srcpkgs/ardour/patches/0001-Unset-HAVE_GNU_FTW.patch b/srcpkgs/ardour/patches/0001-Unset-HAVE_GNU_FTW.patch new file mode 100644 index 00000000000..7eceaffc0cc --- /dev/null +++ b/srcpkgs/ardour/patches/0001-Unset-HAVE_GNU_FTW.patch @@ -0,0 +1,40 @@ +From 23d48d140720dfba8553616a2c27caf2b2166aff Mon Sep 17 00:00:00 2001 +From: Oliver Smith +Date: Thu, 18 Jul 2024 23:44:34 +0200 +Subject: [PATCH] Unset HAVE_GNU_FTW + +Don't assume we have GNU_FTW on Alpine. +--- + libs/tk/ydk/config.h | 2 -- + libs/tk/ytk/config.h | 2 -- + 2 files changed, 4 deletions(-) + +diff --git a/libs/tk/ydk/config.h b/libs/tk/ydk/config.h +index d933837df2..009d3303bf 100644 +--- a/libs/tk/ydk/config.h ++++ b/libs/tk/ydk/config.h +@@ -26,8 +26,6 @@ + #endif + + #ifndef __APPLE__ +-/* Have GNU ftw */ +-#define HAVE_GNU_FTW 1 + #endif + + /* Define to 1 if ipc.h is available */ +diff --git a/libs/tk/ytk/config.h b/libs/tk/ytk/config.h +index f9991eee10..9f09e8d88a 100644 +--- a/libs/tk/ytk/config.h ++++ b/libs/tk/ytk/config.h +@@ -23,8 +23,6 @@ + #endif + + #ifndef __APPLE__ +-/* Have GNU ftw */ +-#define HAVE_GNU_FTW 1 + #endif + + /* Define to 1 if ipc.h is available */ +-- +2.45.2 + diff --git a/srcpkgs/ardour/template b/srcpkgs/ardour/template index a2d06acbabd..8b25f3b6385 100644 --- a/srcpkgs/ardour/template +++ b/srcpkgs/ardour/template @@ -1,6 +1,6 @@ # Template file for 'ardour' pkgname=ardour -version=8.1 +version=8.12 revision=1 build_style=waf3 configure_args="--cxx11 --no-phone-home --with-backends=jack,alsa,dummy @@ -23,6 +23,13 @@ CXXFLAGS="-fpermissive" export PATH="/usr/libexec/chroot-git:$PATH" conf_files="/etc/ardour8/*" +case "$XBPS_TARGET_MACHINE" in + *-musl) + makedepends+=" libexecinfo-devel" + LDFLAGS="-lexecinfo" + ;; +esac + case "$XBPS_TARGET_MACHINE" in x86_64*) configure_args+=" --dist-target=x86_64" ;; i686*) configure_args+=" --dist-target=i686" ;;