From 75b9126b042f93ef407e63549d297ed73d0211a2 Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 27 Oct 2023 21:43:29 +0200 Subject: [PATCH] Enable alsa backend in static-compat-fluidsynth --- fluidsynth/static-compat/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fluidsynth/static-compat/PKGBUILD b/fluidsynth/static-compat/PKGBUILD index 7396347e..2f8f8cdd 100644 --- a/fluidsynth/static-compat/PKGBUILD +++ b/fluidsynth/static-compat/PKGBUILD @@ -1,7 +1,7 @@ _pkgname=fluidsynth pkgname=static-compat-$_pkgname pkgver=2.3.4 -pkgrel=1 +pkgrel=2 pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications" arch=(x86_64) url="https://www.fluidsynth.org/" @@ -13,6 +13,7 @@ sha512sums=('79891116d78b9be1c38bce9e5759b9bb732c3d8ee31c6e57d1a3e2b5548879b91d1 b2sums=('5146c1f0243ac1fcc3d4f29ea65bb03b326c59bf9de1f53def447f4a924c7fdde31f8b33300051d2e7765087fb8bbdba3643b03c537e3366b02ca42b3b9d4311') build() { + export CFLAGS+=' -ldl' source static-compat-environment local cmake_options=( -G Ninja @@ -20,7 +21,7 @@ build() { -D LIB_SUFFIX="" -S $_pkgname-$pkgver -W no-dev - -Denable-aufile=0 -Denable-dbus=0 -Denable-ipv6=0 -Denable-jack=0 -Denable-ladspa=0 -Denable-midishare=0 -Denable-opensles=0 -Denable-oboe=0 -Denable-oss=0 -Denable-readline=0 -Denable-winmidi=1 -Denable-waveout=0 -Denable-network=0 -Denable-pulseaudio=0 -Denable-dsound=0 -Denable-alsa=0 -Denable-libinstpatch=0 -Denable-portaudio=0 -Denable-wasapi=0 -Denable-openmp=1 -Denable-libsndfile=0 -Denable-sdl2=0 + -Denable-aufile=0 -Denable-dbus=0 -Denable-ipv6=0 -Denable-jack=0 -Denable-ladspa=0 -Denable-midishare=0 -Denable-opensles=0 -Denable-oboe=0 -Denable-oss=0 -Denable-readline=0 -Denable-winmidi=1 -Denable-waveout=0 -Denable-network=0 -Denable-pulseaudio=0 -Denable-dsound=0 -Denable-alsa=1 -Denable-libinstpatch=0 -Denable-portaudio=0 -Denable-wasapi=0 -Denable-openmp=1 -Denable-libsndfile=0 -Denable-sdl2=0 ) static-compat-cmake "${cmake_options[@]}"