diff options
author | Robbert van der Helm | 2020-09-28 23:11:40 +0200 |
---|---|---|
committer | Robbert van der Helm | 2020-09-28 23:11:40 +0200 |
commit | 84de13876d69682a09791c5bef0a0a674f5d257b (patch) | |
tree | 31473efda0b34823677cc2e9231bb19d447015c9 | |
parent | 0cdd769b0a5871629176a3ba7568f105dd2018be (diff) | |
download | aur-84de13876d69682a09791c5bef0a0a674f5d257b.tar.gz |
Update for yabridge 1.6.1
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 14 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = yabridge-git pkgdesc = Yet Another VST bridge, run Windows VST2 plugins under Linux - pkgver = 1.6.0.r1.g2ad78a9 + pkgver = 1.6.1.r0.g59c9a23 pkgrel = 1 url = https://github.com/robbert-vdh/yabridge install = yabridge.install @@ -2,7 +2,7 @@ pkgname=yabridge-git _pkgname=yabridge -pkgver=1.6.0.r1.g2ad78a9 +pkgver=1.6.1.r0.g59c9a23 pkgrel=1 pkgdesc="Yet Another VST bridge, run Windows VST2 plugins under Linux" arch=('x86_64') @@ -25,17 +25,21 @@ pkgver() { build() { cd "$_pkgname" + # Meson won't apply any new options or update wraps if they already exist, so + # if we're building from a dirty src/ directory we'll just nuke any cached + # files + if [[ -d build ]]; then + rm -rf build + + # Can't use `git clean` here since the entire src/ directory will be + # gitignored + find ./subprojects -mindepth 1 -maxdepth 1 -type d -exec rm -rf '{}' ';' + fi + # 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 + meson setup --cross-file cross-wine.conf --buildtype=release -Dwith-bitbridge=true build ninja -C build } |