Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kill_it:JUCE
bitKlavier
bitKlavier.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bitKlavier.spec of Package bitKlavier
# # spec file for package bitKlavier # # Copyright (c) 2023 SUSE LLC # Copyright (c) 2023 Konstantin Voinov konstantin.voinov@gmail.com # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: bitKlavier Version: 3.4 Release: 0 Summary: The prepared digital piano License: GPL-3.0-only Group: Productivity/Multimedia/Sound/Midi URL: https://github.com/Princeton-CDH/bitKlavier Source0: https://github.com/Princeton-CDH/bitKlavier/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: 01-bitKlavier-fix-dirpath.patch Patch1: 02-bitKlavier-fix-std-max-types.patch BuildRequires: JUCE7_09-Projucer BuildRequires: JUCE7_09-devel BuildRequires: gcc-c++ BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xcursor) %if %{defined fedora} BuildRequires: jack-audio-connection-kit-devel %else BuildRequires: jack-devel %endif %description http://bitklavier.com/ Developed by Dan Trueman and Michael Mulshine. bitKlavier takes inspiration from John Cage's prepared piano, but instead of screws and erasers we place a reconfigurable collection of digital machines between the virtual strings of the digital piano. You also need to download a resource package with samples and galleries; this resource folder must be placed in your Documents folder. https://www.dropbox.com/s/tvhad1ecsoycvx6/bK_2.6_installerResources.zip?dl=0 %package -n vst3-%{name} Summary: The prepared digital piano (VST3) %description -n vst3-%{name} http://bitklavier.com/ Developed by Dan Trueman and Michael Mulshine. bitKlavier takes inspiration from John Cage's prepared piano, but instead of screws and erasers we place a reconfigurable collection of digital machines between the virtual strings of the digital piano. You also need to download a resource package with samples and galleries; this resource folder must be placed in your Documents folder. https://www.dropbox.com/s/tvhad1ecsoycvx6/bK_2.6_installerResources.zip?dl=0 %package -n vst-%{name} Summary: The prepared digital piano (VST) %description -n vst-%{name} http://bitklavier.com/ Developed by Dan Trueman and Michael Mulshine. bitKlavier takes inspiration from John Cage's prepared piano, but instead of screws and erasers we place a reconfigurable collection of digital machines between the virtual strings of the digital piano. You also need to download a resource package with samples and galleries; this resource folder must be placed in your Documents folder. https://www.dropbox.com/s/tvhad1ecsoycvx6/bK_2.6_installerResources.zip?dl=0 %package -n lv2-%{name} Summary: The prepared digital piano (LV2) %description -n lv2-%{name} http://bitklavier.com/ Developed by Dan Trueman and Michael Mulshine. bitKlavier takes inspiration from John Cage's prepared piano, but instead of screws and erasers we place a reconfigurable collection of digital machines between the virtual strings of the digital piano. You also need to download a resource package with samples and galleries; this resource folder must be placed in your Documents folder. https://www.dropbox.com/s/tvhad1ecsoycvx6/bK_2.6_installerResources.zip?dl=0 %prep %autosetup -p1 cd bk_JUCE/bitKlavier sed -i -e /'<\/EXPORTFORMATS>/i <LINUX_MAKE targetFolder="Builds/LinuxMakefile" extraCompilerFlags="-fvisibility=hidden" extraLinkerFlags="-fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -Wl,--strip-all">\ <CONFIGURATIONS>\ <CONFIGURATION isDebug="1" name="Debug"/>\ <CONFIGURATION isDebug="0" name="Release"/>\ </CONFIGURATIONS>\ <MODULEPATHS>\ </MODULEPATHS>\ </LINUX_MAKE>' %{name}.jucer sed -i -e 's/<FILE id="jbqoKw" name="SFZero.cpp" compile="1" resource="0" file="Source\/SFZero\/SFZero.cpp"\/>/<FILE id="jbqoKw" name="SFZero.cpp" compile="0" resource="0" file="Source\/SFZero\/SFZero.cpp"\/>/' %{name}.jucer sed -i -e 's/JUCEOPTIONS/JUCEOPTIONS JUCE_JACK="1" JUCE_WEB_BROWSER="0" JUCE_USE_CURL="0"/' %{name}.jucer sed -i -e 's/displaySplashScreen="1"/displaySplashScreen="0"/' %{name}.jucer sed -i -e 's/buildAUv3/buildLV2/' %{name}.jucer %build cd bk_JUCE/bitKlavier lv2uri=%{URL} sed -i -e 's#jucerFormatVersion="1"#jucerFormatVersion="1" lv2Uri='"'$lv2uri'"'#' %{name}.jucer Projucer --set-global-search-path linux defaultJuceModulePath %{_includedir}/JUCE-*/modules/ Projucer --resave %{name}.jucer CONFIG=Release make -C Builds/LinuxMakefile %{?_smp_mflags} %install cd bk_JUCE/bitKlavier mkdir -p %{buildroot}%{_bindir} install Builds/LinuxMakefile/build/%{name} %{buildroot}%{_bindir}/ mkdir -p %{buildroot}%{_libdir}/vst install Builds/LinuxMakefile/build/%{name}.so %{buildroot}%{_libdir}/vst/ mkdir -p %{buildroot}%{_libdir}/vst3 cp -r Builds/LinuxMakefile/build/*.vst3 %{buildroot}%{_libdir}/vst3/ mkdir -p %{buildroot}%{_libdir}/lv2 cp -r Builds/LinuxMakefile/build/*.lv2 %{buildroot}%{_libdir}/lv2/ %files %{_bindir}/%{name} %doc README.md %license LICENSE %files -n vst-%{name} %dir %{_libdir}/vst %{_libdir}/vst/%{name}.so %doc README.md %license LICENSE %files -n vst3-%{name} %dir %{_libdir}/vst3 %{_libdir}/vst3/* %files -n lv2-%{name} %dir %{_libdir}/lv2 %{_libdir}/lv2/* %doc README.md %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor