From 3e4deca341ee6d5a1ea5ab2bb287a53bb7b15764 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 | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 srcpkgs/yabridge/template diff --git a/srcpkgs/yabridge/template b/srcpkgs/yabridge/template new file mode 100644 index 000000000000..a49c8eff226c --- /dev/null +++ b/srcpkgs/yabridge/template @@ -0,0 +1,40 @@ +# Template file for 'yabridge' +pkgname=yabridge +version=4.0.2 +revision=1 +archs="x86_64" +build_style=meson +hostmakedepends="ninja pkg-config cmake git $(vopt_if with_32bit "gcc-multilib")" +## chroot-grep missing perl-regexp . grep includes perl-regexp +makedepends="wine-tools wine-devel libxcb-devel libxcb grep $(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 795b9506c3d0ef4be3c6bb6aeea44bdbedd39785 Mon Sep 17 00:00:00 2001 From: Anthony Thompson Date: Sun, 2 Oct 2022 11:03:45 +1100 Subject: [PATCH 2/2] move grep to hostdepend --- srcpkgs/steam-fonts/template | 3 ++- srcpkgs/stfl/template | 2 +- srcpkgs/yabridge/template | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/steam-fonts/template b/srcpkgs/steam-fonts/template index 3b9de3c61c8b..a61a3c7abea2 100644 --- a/srcpkgs/steam-fonts/template +++ b/srcpkgs/steam-fonts/template @@ -3,13 +3,14 @@ pkgname=steam-fonts version=1.0.0 revision=4 create_wrksrc=yes +hostmakedepends="gzip unzip" depends="font-util" short_desc="Fonts to fix scrambled or missing text in steam menus" maintainer="Andrea Brancaleoni " license="custom:proprietary" homepage="https://support.steampowered.com/kb_article.php?ref=1974-YFKL-4947" distfiles="https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip" -checksum=a03bcc9581f2896cac39967633fc43546af5ed9d73d505a10cae4016797dfeb1 +checksum=ccaf62fa39b7dd3c2cc4382b1b312019cdf94d1d8786c5beefabb0bbab6474e0 font_dirs="/usr/share/fonts/steam-fonts" restricted=yes diff --git a/srcpkgs/stfl/template b/srcpkgs/stfl/template index 0d970c9d2c26..fc9dfec614c2 100644 --- a/srcpkgs/stfl/template +++ b/srcpkgs/stfl/template @@ -10,7 +10,7 @@ maintainer="Logen K " license="GPL-3.0-or-later" homepage="http://www.clifford.at/stfl/" distfiles="http://www.clifford.at/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090 +checksum=9c0dd5f88256609e8af8c44e0195cc53e09f6777457ec81b53fcddf4a18fef10 post_install() { ln -sf libstfl.so.${version} ${DESTDIR}/usr/lib/libstfl.so.0 diff --git a/srcpkgs/yabridge/template b/srcpkgs/yabridge/template index a49c8eff226c..2c2ea97db2b9 100644 --- a/srcpkgs/yabridge/template +++ b/srcpkgs/yabridge/template @@ -4,9 +4,9 @@ version=4.0.2 revision=1 archs="x86_64" build_style=meson -hostmakedepends="ninja pkg-config cmake git $(vopt_if with_32bit "gcc-multilib")" +hostmakedepends="ninja pkg-config cmake git grep $(vopt_if with_32bit "gcc-multilib")" ## chroot-grep missing perl-regexp . grep includes perl-regexp -makedepends="wine-tools wine-devel libxcb-devel libxcb grep $(vopt_if with_32bit "wine-devel-32bit") $(vopt_if with_32bit "libxcb-devel-32bit")" +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 "