# Status: active # Tag: Drum # Type: Plugin, Standalone, VST3, CLAP # Category: Drum %global debug_package %{nil} Name: onetrick-bboi Version: 1.0.1 Release: 1%{?dist} Summary: A dope drum machine straight outta the '90s. Inspired by the "World's 1st Rap Keyboard" License: GPL-3.0-or-later URL: https://punklabs.com/ot-bboi ExclusiveArch: x86_64 aarch64 Vendor: Audinux Distribution: Audinux Source0: https://punklabs.com/content/projects/ot-bboi/downloads/OneTrickBBOI-Source-v%{version}.zip BuildRequires: gcc gcc-c++ BuildRequires: rustup BuildRequires: git BuildRequires: pkgconfig(jack) BuildRequires: libglvnd-devel BuildRequires: libXcursor-devel BuildRequires: xcb-util-wm-devel BuildRequires: alsa-lib-devel BuildRequires: python3 Requires: license-%{name} %description Feel the funky fresh flow of a dope drum machine straight outta the '90s. Inspired by the "World's 1st Rap Keyboard", get down with some phat record scratches, orchestra hits, vocal chops and vocoder stabs that make you wanna jump! %package -n license-%{name} Summary: License and documentations for %{name} License: GPL-3.0-or-later %description -n license-%{name} License and documentations for %{name} %package -n vst3-%{name} Summary: VST3 version of %{name} License: GPL-3.0-or-later Requires: license-%{name} %description -n vst3-%{name} VST3 version of %{name} %package -n clap-%{name} Summary: CLAP version of %{name} License: GPL-3.0-or-later Requires: license-%{name} %description -n clap-%{name} CLAP version of %{name} %prep %autosetup -c -n %{name}-%{version} sed -i -e "s/OneTrick B-BOI/OneTrick_B-BOI/g" bundler.toml %build %set_build_flags export RUSTFLAGS="-g -O" export CWD=`pwd` export RUSTUP_HOME="$CWD/rustup" export CARGO_HOME="$CWD/cargo" # rustup-init -y --no-modify-path --default-toolchain=1.77.0-x86_64-unknown-linux-gnu # rustup-init -y --no-modify-path --default-toolchain=nightly-x86_64-unknown-linux-gnu # source cargo/env # rustup target list # cargo build --release --bin hexosynth_jack %ifarch x86_64 rustup-init -y --no-modify-path --default-toolchain 1.76.0-x86_64-unknown-linux-gnu %endif %ifarch aarch64 rustup-init -y --no-modify-path --default-toolchain 1.76.0-aarch64-unknown-linux-gnu %endif source cargo/env cargo xtask bundle onetrick_bboi --release %install install -m 755 -d %{buildroot}/%{_bindir}/ install -m 755 'target/bundled/OneTrick_B-BOI' %{buildroot}/%{_bindir}/ install -m 755 -d %{buildroot}/%{_libdir}/vst3/ cp -vfr target/bundled/*.vst3 %{buildroot}/%{_libdir}/vst3/ install -m 755 -d %{buildroot}/%{_libdir}/clap/ cp -vfr target/bundled/*.clap %{buildroot}/%{_libdir}/clap/ %files %{_bindir}/* %files -n license-%{name} %doc README.txt %license LICENSE.txt %files -n vst3-%{name} %{_libdir}/vst3/* %files -n clap-%{name} %{_libdir}/clap/* %changelog * Sat Sep 07 2024 Yann Collette - 1.0.1-1 - Initial spec file