[arch-commits] Commit in yabridge/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Apr 4 16:32:14 UTC 2022
Date: Monday, April 4, 2022 @ 16:32:13
Author: dvzrv
Revision: 1181312
upgpkg: yabridge 3.8.1-3: Rebuild to fix issue with link flags.
Fix https://bugs.archlinux.org/task/74260 by adding required linker flag which
is otherwise overriden.
Modified:
yabridge/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-04 16:23:15 UTC (rev 1181311)
+++ PKGBUILD 2022-04-04 16:32:13 UTC (rev 1181312)
@@ -4,7 +4,7 @@
pkgname=(yabridge yabridgectl)
pkgver=3.8.1
_commit=b2ac08436f15382129127b524872c289f10566ec # 3.8.1^{}
-pkgrel=2
+pkgrel=3
pkgdesc="A modern and transparent way to use Windows VST2 and VST3 plugins on Linux"
arch=(x86_64)
url="https://github.com/robbert-vdh/yabridge"
@@ -11,6 +11,7 @@
license=(GPL3)
makedepends=(bitsery boost cmake function2 git lib32-boost lib32-libxcb libxcb meson rust tomlplusplus vst3sdk wine)
# if LTO is enabled the cmake detection will explode because of wine
+# NOTE: debug package includes garbae because of rust
options=(!lto)
source=(
git+https://github.com/robbert-vdh/$pkgbase.git#commit=$_commit
@@ -34,6 +35,7 @@
}
build() {
+ # NOTE: we need to add -mwindows to cpp_link_args as we are otherwise overriding it
local _options=(
--cross-file=$pkgname/cross-wine.conf
-Dwith-bitbridge=true
@@ -40,7 +42,7 @@
-Db_lto=false
-Db_pie=false
-Dbuild.cpp_link_args="$LDFLAGS"
- -Dcpp_link_args="$LDFLAGS"
+ -Dcpp_link_args="$LDFLAGS -mwindows"
)
arch-meson "$pkgname" build "${_options[@]}"
More information about the arch-commits
mailing list