From 9d143a6a5cc66396b35f9910b24b4e940075a079 Mon Sep 17 00:00:00 2001 From: Anthony Thompson Date: Mon, 26 Sep 2022 18:05:45 +1000 Subject: [PATCH 1/2] New package: yabridge-4.0.2 --- srcpkgs/yabridge/template | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 srcpkgs/yabridge/template diff --git a/srcpkgs/yabridge/template b/srcpkgs/yabridge/template new file mode 100644 index 000000000000..192e7bb2d590 --- /dev/null +++ b/srcpkgs/yabridge/template @@ -0,0 +1,39 @@ +# Template file for 'yabridge' +pkgname=yabridge +version=4.0.2 +revision=1 +archs="x86_64" +build_style=meson +hostmakedepends="ninja pkg-config cmake grep git $(vopt_if with_32bit "gcc-multilib")" +makedepends="wine-tools wine-devel libxcb-devel libxcb $(vopt_if with_32bit "wine-devel-32bit") $(vopt_if with_32bit "libxcb-devel-32bit")" +depends="wine $(vopt_if with_32bit "wine-32bit")" +short_desc="Use Windows 32bit and 64bit VST2 and VST3 plugins in Linux 64bit host" +maintainer="Anthony Thompson " +license="GPL-3.0-or-later" +homepage="https://github.com/robbert-vdh/yabridge" +distfiles="https://github.com/robbert-vdh/yabridge/archive/refs/tags/${version}.tar.gz" +checksum=86fcd65b6f3dd5cf60c2afa476f63959a2cc4ef4d4629810916739d7af645f01 +build_options="with_32bit" +build_options_default="with_32bit" + +do_configure() { + cd ${wrksrc} + meson setup build --buildtype=release --cross-file=cross-wine.conf --unity=on --unity-size=1000 $(vopt_if with_32bit "-Dbitbridge=true") +} + +do_build() { + ninja -C build/ +} + +do_install() { + cd ${wrksrc}/build + vbin yabridge-host.exe + vbin yabridge-host.exe.so + vopt_if with_32bit vbin yabridge-host-32.exe.so + vopt_if with_32bit vbin yabridge-host-32.exe + vmkdir usr/lib + vcopy libyabridge-chainloader-vst2.so /usr/lib + vcopy libyabridge-vst2.so /usr/lib + vcopy libyabridge-chainloader-vst3.so /usr/lib + vcopy libyabridge-vst3.so /usr/lib +} From df3cc0ace1ea9d399651f5b43d908e631ed01a6a Mon Sep 17 00:00:00 2001 From: Anthony Thompson Date: Sat, 1 Oct 2022 19:15:39 +1000 Subject: [PATCH 2/2] xwinwrap: update checksum --- srcpkgs/xwinwrap/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xwinwrap/template b/srcpkgs/xwinwrap/template index 7dbffb515f54..af7799f592de 100644 --- a/srcpkgs/xwinwrap/template +++ b/srcpkgs/xwinwrap/template @@ -3,13 +3,13 @@ pkgname=xwinwrap version=0.9 revision=1 build_style=gnu-makefile -makedepends="libXrender-devel" +makedepends="libXrender-devel grep" short_desc="X11 Window as background" maintainer="SolitudeSF " license="MIT" homepage="https://github.com/mmhobi7/xwinwrap" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=0e840586deaf6780d426dc49f7a344366198aead96535cc1eb2ac7ce366777df +checksum=1792f59c5d85fc766f356f8f903a2081fe4dccc5e8e61cdd946bae0438d15d9a pre_install() { vsed -i Makefile -e 's|/local||'