50 lines
1.6 KiB
Bash
50 lines
1.6 KiB
Bash
# Template file for 'ardour'
|
|
pkgname=ardour
|
|
version=8.1
|
|
revision=1
|
|
build_style=waf3
|
|
configure_args="--cxx11 --no-phone-home --with-backends=jack,alsa,dummy
|
|
--configdir=/etc
|
|
--libjack=weak --optimize --docs --use-external-libs --freedesktop"
|
|
hostmakedepends="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 glibmm-devel libflac-devel"
|
|
depends="desktop-file-utils"
|
|
short_desc="Professional-grade digital audio workstation"
|
|
maintainer="Benjamín Albiñana <benalb@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://ardour.org"
|
|
|
|
CXXFLAGS="-fpermissive"
|
|
export PATH="/usr/libexec/chroot-git:$PATH"
|
|
conf_files="/etc/ardour8/*"
|
|
|
|
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" ;;
|
|
arm*) configure_args+=" --dist-target=armhf" ;;
|
|
*) 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() {
|
|
rm -rf ${wrksrc}
|
|
git clone \
|
|
--filter=blob:none \
|
|
https://github.com/Ardour/ardour ${wrksrc}
|
|
cd ${wrksrc}
|
|
git checkout ${version}
|
|
}
|
|
|
|
post_install() {
|
|
vman ardour.1
|
|
}
|