Skip to content
Snippets Groups Projects
Commit 5c820558 authored by David Runge's avatar David Runge :chipmunk:
Browse files

Upgrade to 3.8.1.

Remove unneeded quotes and curly braces.
parent e36d66c3
No related branches found
Tags 3.8.1-1
No related merge requests found
......@@ -2,8 +2,8 @@
pkgbase=yabridge
pkgname=(yabridge yabridgectl)
pkgver=3.8.0
_commit=28217f6c20898aef14b9d835b66571e6d4b8822b # 3.8.0^{}
pkgver=3.8.1
_commit=b2ac08436f15382129127b524872c289f10566ec # 3.8.1^{}
pkgrel=1
pkgdesc="A modern and transparent way to use Windows VST2 and VST3 plugins on Linux"
arch=(x86_64)
......@@ -13,8 +13,8 @@ makedepends=(bitsery boost cmake function2 git lib32-boost lib32-libxcb libxcb m
# if LTO is enabled the cmake detection will explode because of wine
options=(!lto)
source=(
"git+https://github.com/robbert-vdh/${pkgbase}.git#commit=${_commit}"
"${pkgbase}-3.8.0-vst3sdk_meson.build::https://raw.githubusercontent.com/robbert-vdh/vst3sdk/a129e37aa9996d58c4d6cc1bdf428f7b29392a6d/meson.build"
git+https://github.com/robbert-vdh/$pkgbase.git#commit=$_commit
$pkgbase-3.8.0-vst3sdk_meson.build::https://raw.githubusercontent.com/robbert-vdh/vst3sdk/a129e37aa9996d58c4d6cc1bdf428f7b29392a6d/meson.build
)
sha512sums=('SKIP'
'4e0013c911cc7e145853fc8ac33c71a8a0bb17d8d915cd5f9a1b9f51e830769c567e7edd2f0e91c68cb03cc708a5d46b7bb191a4576b862b8f319dd1e307aa13')
......@@ -23,19 +23,19 @@ b2sums=('SKIP'
prepare() {
# remove all wraps as they are ignored anyways
rm -rv ${pkgname}/subprojects/*
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}-3.8.0-vst3sdk_meson.build" ${pkgname}/subprojects/vst3/meson.build
mkdir -vp $pkgname/subprojects/vst3
cp -av /usr/include/vst3sdk/* $pkgname/subprojects/vst3/
cp -v $pkgbase-3.8.0-vst3sdk_meson.build $pkgname/subprojects/vst3/meson.build
cd ${pkgname}/tools/yabridgectl
cd $pkgname/tools/yabridgectl
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() {
local _options=(
--cross-file=${pkgname}/cross-wine.conf
--cross-file=$pkgname/cross-wine.conf
-Dwith-bitbridge=true
-Db_lto=false
-Db_pie=false
......@@ -46,7 +46,7 @@ build() {
arch-meson "$pkgname" build "${_options[@]}"
ninja -C build
cd ${pkgname}/tools/yabridgectl
cd $pkgname/tools/yabridgectl
cargo build --frozen --release --all-features
}
......@@ -56,13 +56,13 @@ package_yabridge() {
optdepends=('yabridgectl: for optional setup and management utility')
# project has no install target
install -vDm 755 build/${pkgname}-{host,group}{,-32}.exe{,.so} -t "$pkgdir/usr/bin"
install -vDm 755 build/lib${pkgname}-{vst2,vst3}.so -t "${pkgdir}/usr/lib/"
install -vDm 755 build/$pkgname-{host,group}{,-32}.exe{,.so} -t "$pkgdir/usr/bin"
install -vDm 755 build/lib$pkgname-{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"
install -vDm 755 $pkgbase/tools/$pkgname/target/release/$pkgname -t "$pkgdir/usr/bin"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment