David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
yabridge


Commits:
49a9cd4d by David Runge at 2023-12-24T11:52:42+01:00
Split meson options into separate items in the list

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
cb1fe45a by David Runge at 2023-12-24T11:56:38+01:00
Switch to correct SPDX license identifier for project

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
6dc88dfa by David Runge at 2023-12-24T12:10:46+01:00
Add pkgver() function since we are building from git

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -13,7 +13,7 @@ pkgrel=1
 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";
-license=(GPL3)
+license=(GPL-3.0-or-later)
 makedepends=(
   asio
   bitsery
@@ -50,6 +50,11 @@ b2sums=('SKIP'
         'SKIP'
         'SKIP')
 
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;'
+}
+
 prepare() {
   (
     cd $pkgbase
@@ -90,12 +95,12 @@ build() {
   # NOTE: we need to add -mwindows to cpp_link_args as we are otherwise 
overriding it
   local meson_options=(
     --cross-file=$pkgname/cross-wine.conf
-    -Dbitbridge=true
-    -Dsystem-asio=true
-    -Db_lto=false
-    -Db_pie=false
-    -Dbuild.cpp_link_args="$LDFLAGS"
-    -Dcpp_link_args="$LDFLAGS -mwindows"
+    -D bitbridge=true
+    -D system-asio=true
+    -D b_lto=false
+    -D b_pie=false
+    -D build.cpp_link_args="$LDFLAGS"
+    -D cpp_link_args="$LDFLAGS -mwindows"
   )
 
   arch-meson $pkgbase build "${meson_options[@]}"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/yabridge/-/compare/14242c68fa257749c912f3f6c10ebfff81797437...6dc88dfacf2a221c19945725b78778049c3dc353

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/yabridge/-/compare/14242c68fa257749c912f3f6c10ebfff81797437...6dc88dfacf2a221c19945725b78778049c3dc353
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to