ardour: update to 6.6.

This commit is contained in:
tibequadorian 2021-03-08 10:27:01 +01:00 committed by Érico Nogueira Rolim
parent afde261268
commit e1543f7548
2 changed files with 12 additions and 19 deletions

View file

@ -1,13 +0,0 @@
On musl libc only __linux__ is defined
--- libs/vst3/pluginterfaces/base/fplatform.h
+++ libs/vst3/pluginterfaces/base/fplatform.h
@@ -86,7 +86,7 @@
//-----------------------------------------------------------------------------
// LINUX
//-----------------------------------------------------------------------------
-#elif __gnu_linux__
+#elif __linux__
#define SMTG_OS_LINUX 1
#define SMTG_OS_MACOS 0
#define SMTG_OS_WINDOWS 0

View file

@ -1,12 +1,12 @@
# Template file for 'ardour'
pkgname=ardour
version=6.5.0
version=6.6
revision=1
wrksrc="Ardour-${version}"
_commit="e4e21f4d073ab00b1a0bb6ff6ca49f28b02fd68a"
build_style=waf3
configure_args="--cxx11 --no-phone-home --with-backends=jack,alsa,dummy
--libjack=weak --optimize --docs --use-external-libs --freedesktop"
hostmakedepends="python3 graphviz doxygen pkg-config clang perl
hostmakedepends="git 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
@ -15,11 +15,9 @@ makedepends="boost-devel liblrdf-devel liblo-devel lilv-devel suil-devel
libltc-devel glibmm-devel"
depends="desktop-file-utils"
short_desc="Professional-grade digital audio workstation"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="tibequadorian <tibequadorian@posteo.de>"
license="GPL-2.0-or-later"
homepage="http://ardour.org"
distfiles="https://community.ardour.org/src/Ardour-${version}.tar.bz2"
checksum=ac981ec7565fa8a171116bc2fbeb3198a01aad4b7d7c846f965e074a8a162bdb
case "$XBPS_TARGET_MACHINE" in
x86_64*) configure_args+=" --dist-target=x86_64" ;;
@ -31,6 +29,14 @@ case "$XBPS_TARGET_MACHINE" in
*) broken="Don't know build target" ;;
esac
# Upstream deletes older release tarballs from their site and
# GitHub tarballs are empty: https://tracker.ardour.org/view.php?id=7328
do_fetch() {
git clone git://github.com/Ardour/ardour ${wrksrc}
cd ${wrksrc}
git checkout ${_commit}
}
post_install() {
vinstall build/gtk2_ardour/ardour.xml 644 usr/share/mime/packages
vinstall "build/gtk2_ardour/ardour${version%%.*}.desktop" \