[arch-commits] Commit in yabridge/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sun Jun 12 16:29:09 UTC 2022
Date: Sunday, June 12, 2022 @ 16:29:09
Author: dvzrv
Revision: 1236987
archrelease: copy trunk to multilib-x86_64
Added:
yabridge/repos/multilib-x86_64/PKGBUILD
(from rev 1236986, yabridge/trunk/PKGBUILD)
Deleted:
yabridge/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 161 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 75 insertions(+), 86 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-12 16:28:49 UTC (rev 1236986)
+++ PKGBUILD 2022-06-12 16:29:09 UTC (rev 1236987)
@@ -1,86 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgbase=yabridge
-pkgname=(yabridge yabridgectl)
-_commit=b826f800374d0b6392ac17847fb599e47ec2accc # 4.0.0^{}
-pkgver=4.0.0
-pkgrel=4
-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)
-makedepends=(asio bitsery cmake function2 ghc-filesystem git lib32-libxcb libxcb meson rust tomlplusplus vst3sdk wine)
-# if LTO is enabled the cmake detection will explode because of wine
-# NOTE: debug package includes garbage because of rust
-options=(debug !lto)
-source=(
- git+https://github.com/robbert-vdh/$pkgbase.git#commit=$_commit
- $pkgbase-4.0.0-asio_detection.patch::https://github.com/robbert-vdh/yabridge/commit/c4c4bacd14e22b0e3d5e442e23196abfec83fdf7.patch
- $pkgbase-4.0.0-ghc_filesystem_detection.patch::https://github.com/robbert-vdh/yabridge/commit/84ab5a4cd5f7ab55aaa67f21bb4a145f57e1d8df.patch
- $pkgbase-4.0.0-vst3sdk_meson.build::https://raw.githubusercontent.com/robbert-vdh/vst3sdk/7a30caa588ff48eabae5f4f8cdac2c7c053800fa/meson.build
-)
-sha512sums=('SKIP'
- 'be12b6018a6d101f62e91de90d7acdb0df4fcf30855683e82d78812f55d110564e17b0acae03cc2ce0b9ec4a5bc979c40f3ca9e1ad333750ecbc35d9f96afdf1'
- 'e4cd898238a0488a338c8de5ae3283306cca1c8c09f4a5ec04ab6fba9920cbd2d571e125d24bf4117ba1987a70701d1e039a3d0f91341d7c65093eb17f16b94a'
- '0b59cd5929434cadfcf3a2ad2cddbc1ad82f38a1d778040619b825439d6acb4f1fafa17512ad2eb5fc1c5b3ba45656f12e77e57834d85ee7f23e5754a9b8cb13')
-b2sums=('SKIP'
- '5d60521954b453fb0fee30f963ca01450f7905d8615ffb8ceb32b2863e72721161d20e48a13060b44e1f92d47416ba6ac1ab1c26c19a4cf62ad1abadd3283c3e'
- '35c08043b6c546118aa21cf4df2fa0d209cd16a182740ea6c22b61654abffd23c9ee6150dd6a5e6b26276aa26beb0d7bd510fa5ce9ddfeecdaf4dc3ba54bff06'
- '4bf8b6c2390db5657026539869cada55accd38aee8d514d84a34c5c4b56bdc5e1ea3d1d4b2e323ed304b9f28eb767f29d316622a73dc2af9f5587da8e75c85f8')
-
-prepare() {
- # fix detection of asio
- patch -Np1 -d $pkgbase -i ../$pkgbase-4.0.0-asio_detection.patch
- # fix detection of ghc-filesystem
- patch -Np1 -d $pkgbase -i ../$pkgbase-4.0.0-ghc_filesystem_detection.patch
-
- # remove all wraps as they are ignored anyways
- rm -rv $pkgname/subprojects/*
-
- # put system-installed vst3sdk in place and add upstream meson.build file from https://github.com/robbert-vdh/vst3sdk/
- mkdir -vp $pkgname/subprojects/vst3
- cp -av /usr/include/vst3sdk/* $pkgname/subprojects/vst3/
- cp -v $pkgbase-*-vst3sdk_meson.build $pkgname/subprojects/vst3/meson.build
-
- cd $pkgname/tools/yabridgectl
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-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
- -Dbitbridge=true
- -Dsystem-asio=true
- -Db_lto=false
- -Db_pie=false
- -Dbuild.cpp_link_args="$LDFLAGS"
- -Dcpp_link_args="$LDFLAGS -mwindows"
- )
-
- arch-meson $pkgbase build "${_options[@]}"
- ninja -C build
-
- cd $pkgname/tools/yabridgectl
- cargo build --frozen --release --all-features
-}
-
-package_yabridge() {
- groups=(pro-audio)
- depends=(lib32-libxcb libxcb wine)
- optdepends=(
- 'libnotify: for notification integration'
- 'yabridgectl: for optional setup and management utility'
- )
-
- # project has no install target
- install -vDm 755 build/$pkgname-host{,-32}.exe{,.so} -t "$pkgdir/usr/bin"
- install -vDm 755 build/lib$pkgname-{,chainloader-}{vst2,vst3}.so -t "$pkgdir/usr/lib/"
-}
-
-package_yabridgectl() {
- depends=(gcc-libs glibc)
- pkgdesc="Optional utility to help set up and manage yabridge"
-
- install -vDm 755 $pkgbase/tools/$pkgname/target/release/$pkgname -t "$pkgdir/usr/bin"
-}
Copied: yabridge/repos/multilib-x86_64/PKGBUILD (from rev 1236986, yabridge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-12 16:29:09 UTC (rev 1236987)
@@ -0,0 +1,75 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgbase=yabridge
+pkgname=(yabridge yabridgectl)
+_commit=67747531ccc566871cf3c409a45eaf509041e06d # 4.0.0^{}
+pkgver=4.0.1
+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)
+makedepends=(asio bitsery cmake function2 ghc-filesystem git lib32-libxcb libxcb meson rust tomlplusplus vst3sdk wine)
+# if LTO is enabled the cmake detection will explode because of wine
+# NOTE: debug package includes garbage because of rust
+options=(debug !lto)
+source=(
+ git+https://github.com/robbert-vdh/$pkgbase.git#commit=$_commit
+ $pkgbase-4.0.0-vst3sdk_meson.build::https://raw.githubusercontent.com/robbert-vdh/vst3sdk/7a30caa588ff48eabae5f4f8cdac2c7c053800fa/meson.build
+)
+sha512sums=('SKIP'
+ '0b59cd5929434cadfcf3a2ad2cddbc1ad82f38a1d778040619b825439d6acb4f1fafa17512ad2eb5fc1c5b3ba45656f12e77e57834d85ee7f23e5754a9b8cb13')
+b2sums=('SKIP'
+ '4bf8b6c2390db5657026539869cada55accd38aee8d514d84a34c5c4b56bdc5e1ea3d1d4b2e323ed304b9f28eb767f29d316622a73dc2af9f5587da8e75c85f8')
+
+prepare() {
+ # remove all wraps as they are ignored anyways
+ rm -rv $pkgname/subprojects/*
+
+ # put system-installed vst3sdk in place and add upstream meson.build file from https://github.com/robbert-vdh/vst3sdk/
+ mkdir -vp $pkgname/subprojects/vst3
+ cp -av /usr/include/vst3sdk/* $pkgname/subprojects/vst3/
+ cp -v $pkgbase-*-vst3sdk_meson.build $pkgname/subprojects/vst3/meson.build
+
+ cd $pkgname/tools/yabridgectl
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+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
+ -Dbitbridge=true
+ -Dsystem-asio=true
+ -Db_lto=false
+ -Db_pie=false
+ -Dbuild.cpp_link_args="$LDFLAGS"
+ -Dcpp_link_args="$LDFLAGS -mwindows"
+ )
+
+ arch-meson $pkgbase build "${_options[@]}"
+ ninja -C build
+
+ cd $pkgname/tools/yabridgectl
+ cargo build --frozen --release --all-features
+}
+
+package_yabridge() {
+ groups=(pro-audio)
+ depends=(lib32-libxcb libxcb wine)
+ optdepends=(
+ 'libnotify: for notification integration'
+ 'yabridgectl: for optional setup and management utility'
+ )
+
+ # project has no install target
+ install -vDm 755 build/$pkgname-host{,-32}.exe{,.so} -t "$pkgdir/usr/bin"
+ install -vDm 755 build/lib$pkgname-{,chainloader-}{vst2,vst3}.so -t "$pkgdir/usr/lib/"
+}
+
+package_yabridgectl() {
+ depends=(gcc-libs glibc)
+ pkgdesc="Optional utility to help set up and manage yabridge"
+
+ install -vDm 755 $pkgbase/tools/$pkgname/target/release/$pkgname -t "$pkgdir/usr/bin"
+}
More information about the arch-commits
mailing list