parent
0a6e743672
commit
5420ea2cdd
|
@ -1,16 +1,11 @@
|
|||
diff --git libs/pbd/pbd/pthread_utils.h libs/pbd/pbd/pthread_utils.h
|
||||
index 6eedbd9..c459a97 100644
|
||||
--- libs/pbd/pbd/pthread_utils.h
|
||||
+++ libs/pbd/pbd/pthread_utils.h
|
||||
@@ -49,7 +49,7 @@
|
||||
#include "pbd/signals.h"
|
||||
|
||||
--- libs/pbd/pbd/pthread_utils.h.orig 2020-09-18 22:30:18.353441907 +0700
|
||||
+++ libs/pbd/pbd/pthread_utils.h 2020-09-18 22:37:07.059363532 +0700
|
||||
@@ -54,7 +54,7 @@
|
||||
# define PBD_RT_STACKSIZE_PROC 0x20000 // 128kB
|
||||
#endif
|
||||
|
||||
-#define PBD_RT_STACKSIZE_HELP 0x08000 // 32kB
|
||||
+#define PBD_RT_STACKSIZE_HELP PBD_RT_STACKSIZE_PROC
|
||||
+#define PBD_RT_STACKSIZE_HELP PBD_RT_STACKSIZE_PROC // 32kB
|
||||
|
||||
/* these are relative to sched_get_priority_max()
|
||||
* see pbd_absolute_rt_priority()
|
||||
--
|
||||
2.26.2
|
||||
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
From a5ec4fa3acd4837e5c5914d9ce67b7bc32d4fcfb Mon Sep 17 00:00:00 2001
|
||||
From: Guido Aulisi <guido.aulisi@gmail.com>
|
||||
Date: Wed, 27 May 2020 17:23:04 +0200
|
||||
Subject: [PATCH] Do not install wscript
|
||||
|
||||
---
|
||||
share/plugin_metadata/wscript | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git share/plugin_metadata/wscript share/plugin_metadata/wscript
|
||||
index b7aaa92ac1..9f2559095c 100644
|
||||
--- share/plugin_metadata/wscript
|
||||
+++ share/plugin_metadata/wscript
|
||||
@@ -9,7 +9,7 @@ def configure(conf):
|
||||
pass
|
||||
|
||||
def build(bld):
|
||||
- maps = bld.path.ant_glob ('*')
|
||||
+ maps = bld.path.ant_glob ('plugin*')
|
||||
bld.install_files (os.path.join(bld.env['DATADIR'], 'plugin_metadata'),
|
||||
maps)
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
From 2a456c19214ce82c257a222e8de31af6113aa8d7 Mon Sep 17 00:00:00 2001
|
||||
From: Nils Philippsen <nils@tiptoe.de>
|
||||
Date: Wed, 3 Jun 2020 10:23:03 +0200
|
||||
Subject: [PATCH] Add `cycles_t` type definition on ppc64
|
||||
|
||||
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
|
||||
---
|
||||
libs/ardour/ardour/cycles.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/libs/ardour/ardour/cycles.h b/libs/ardour/ardour/cycles.h
|
||||
index 646dd9d67a..ee0f926534 100644
|
||||
--- libs/ardour/ardour/cycles.h
|
||||
+++ libs/ardour/ardour/cycles.h
|
||||
@@ -74,6 +74,7 @@ static inline cycles_t get_cycles (void)
|
||||
|
||||
#elif defined(__powerpc64__)
|
||||
|
||||
+typedef uint64_t cycles_t;
|
||||
static inline cycles_t get_cycles(void)
|
||||
{
|
||||
#warning You are compiling libardour on a platform for which ardour/cycles.h needs work
|
|
@ -1,22 +1,49 @@
|
|||
# Template file for 'ardour'
|
||||
pkgname=ardour
|
||||
version=6.0
|
||||
version=6.3.0
|
||||
revision=1
|
||||
wrksrc="Ardour-${version}"
|
||||
build_style=waf3
|
||||
configure_args="--cxx11 --no-phone-home --with-backends=jack,alsa,dummy
|
||||
--libjack=weak --optimize --docs --use-external-libs"
|
||||
hostmakedepends="python3 git graphviz doxygen pkg-config clang perl"
|
||||
--libjack=weak --optimize --docs --use-external-libs --freedesktop"
|
||||
hostmakedepends="python3 graphviz doxygen pkg-config clang perl
|
||||
itstool gettext tar readline-devel"
|
||||
makedepends="boost-devel liblrdf-devel liblo-devel lilv-devel suil-devel
|
||||
taglib-devel aubio-devel rubberband-devel alsa-lib-devel libsndfile-devel
|
||||
vamp-plugin-sdk-devel fftw-devel jack-devel libsamplerate-devel lv2
|
||||
sratom-devel gtkmm2-devel libarchive-devel fluidsynth-devel hidapi-devel
|
||||
libltc-devel"
|
||||
libltc-devel glibmm-devel"
|
||||
short_desc="Professional-grade digital audio workstation"
|
||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://ardour.org"
|
||||
nocross="executes test binaries during configure"
|
||||
distfiles="https://community.ardour.org/src/Ardour-${version}.tar.bz2"
|
||||
checksum=93418636d7d93f66bdf479ed5bf3c6b0cc0198dc8f76c5555110d3147e4ec74b
|
||||
|
||||
do_fetch() {
|
||||
git clone --depth 1 --branch=$version https://github.com/Ardour/ardour $pkgname-$version
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*) configure_args+=" --dist-target=x86_64" ;;
|
||||
i686*) configure_args+=" --dist-target=i686" ;;
|
||||
aarch64*) configure_args+=" --dist-target=aarch64" ;;
|
||||
ppc64*) configure_args+=" --dist-target=ppc64" ;;
|
||||
ppc) configure_args+=" --dist-target=ppc" ;;
|
||||
# Seriously, build system for arm is broken
|
||||
# They don't use cflags from pkg-config
|
||||
# We need to append output of
|
||||
# pkg-config --cflags glibmm-2.4 libxml-2.0
|
||||
# into both CFLAGS and CXXFLAGS, and it's still run into failure.
|
||||
# Maybe better with NEON on, I don't know
|
||||
arm*) broken="You are compiling libardour on a platform for which ardour/cycles.h needs work" ;;
|
||||
*) broken="Don't know build target" ;;
|
||||
esac
|
||||
|
||||
post_install() {
|
||||
vinstall build/gtk2_ardour/ardour.xml 644 usr/share/mime/packages
|
||||
vinstall "build/gtk2_ardour/ardour${version%%.*}.desktop" \
|
||||
644 usr/share/applications
|
||||
for size in 16 22 32 48 256 512; do
|
||||
vinstall gtk2_ardour/resources/Ardour-icon_${size}px.png 644 \
|
||||
usr/share/icons/hicolor/${size}x${size}/apps \
|
||||
ardour${version%%.*}.png
|
||||
done
|
||||
vman ardour.1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue