# Maintainer: Robbert van der Helm pkgname=yabridge pkgver=1.4.1 pkgrel=1 pkgdesc="Yet Another VST bridge, run Windows VST2 plugins under Linux" epoch= arch=('x86_64') url="https://github.com/robbert-vdh/yabridge" license=('GPL3') depends=('wine' 'boost' 'libxcb' 'lib32-boost-libs>=1.72.0' 'lib32-libxcb') optdepends=('yabridgectl: utility for setting up and managing yabridge') makedepends=('meson' 'ninja') install=yabridge.install source=("https://github.com/robbert-vdh/yabridge/archive/$pkgver.tar.gz") sha256sums=('a3730a3c4b19011370286e7f0b69755d3a2300de814059edb934b2ea48edc063') build() { cd "$pkgname-$pkgver" # If you don't want to build lib32-boost-libs and you don't need the 32-bit # bitbridge, then you can leave out the dependency for it and set the # `use-bitbridge` option to false. options=(--buildtype=release -Dwith-bitbridge=true) # Meson won't apply any new options when this is not a clean build if [[ -d build ]]; then meson setup --reconfigure "${options[@]}" build else meson setup --cross-file cross-wine.conf "${options[@]}" build fi ninja -C build } package() { cd "$pkgname-$pkgver/build" install -dm755 "${pkgdir}"/usr/bin install yabridge-{host,group}.exe{,.so} "${pkgdir}"/usr/bin install yabridge-{host,group}-32.exe{,.so} "${pkgdir}"/usr/bin install -dm755 "${pkgdir}"/usr/lib install libyabridge.so "${pkgdir}"/usr/lib } # vim:set ts=2 sw=2 et: