# Contributor: Magnus Sandin # Maintainer: Magnus Sandin pkgname=carla pkgver=2.5.6 pkgrel=0 pkgdesc="Fully-featured audio plugin host" url="https://github.com/falkTX/Carla" options="!check" # No tests available arch="armv7 aarch64 riscv64 x86 x86_64" license="GPL-2.0-or-later" depends=" python3 py3-pyliblo py3-qt5 py3-rdflib qt5-qtsvg " depends_dev="$pkgname" makedepends=" alsa-lib-dev file-dev fluidsynth-dev liblo-dev libsndfile-dev libx11-dev linux-headers musl-fts-dev pulseaudio-dev qt5-qtbase-dev qt5-qtsvg-dev " subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/falkTX/Carla/archive/refs/tags/v$pkgver.tar.gz stats64_2_stats.patch" builddir="$srcdir/Carla-$pkgver" build() { export CFLAGS="$CFLAGS -O3 -flto=auto" export CXXFLAGS="$CXXFLAGS -O3 -flto=auto" export LDFLAGS="$LDFLAGS -lfts" make features make } package() { make install PREFIX=/usr DESTDIR="$pkgdir" } sha512sums=" ed4faf79aa079022c394da6deb7d9dcdcf2738e110dc1591c4441e8c19a474987d5db5df40d5d9f2afb91738d0b35a4dea826de7402272fe69e87c443c6bff4b carla-2.5.6.tar.gz e673f24e79af9869fe4dbddaf4cd503acc31c56022121accddfe59a691db977d1beca46ed090df11d8cca2f021517aaa19e8b2f3901192019dfbc83162bdd793 stats64_2_stats.patch "