Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kill_it:JUCE
SwankyAmp
SwankyAmp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File SwankyAmp.spec of Package SwankyAmp
# # spec file for package SwankyAmp # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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: SwankyAmp Version: 1.4.0 Release: 0 Summary: Tube amplifier simulation License: GPL-3.0-only Group: Productivity/Multimedia/Sound/Midi URL: https://github.com/resonantdsp/SwankyAmp Source0: %{name}-%{version}.tar.xz Source1: generate-lv2-ttl.py Source2: LV2.mak.in Source3: AppConfig.h.in Patch2: 02-climits.patch BuildRequires: gcc-c++ BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(freetype2) BuildRequires: Mesa-libGL-devel BuildRequires: libXrandr-devel BuildRequires: libXcursor-devel BuildRequires: libjack-devel BuildRequires: JUCE6-devel BuildRequires: JUCE6-Projucer BuildRequires: lv2-devel BuildRequires: python %description https://github.com/resonantdsp/SwankyAmp Swanky Amp is a tube amplifier simulation DSP plugin which aims to capture the details in the dynamics of tube amplifiers. %package -n lv2-%{name} Summary: Modern ring modulation plugin (LV2) %description -n lv2-%{name} https://github.com/resonantdsp/SwankyAmp Swanky Amp is a tube amplifier simulation DSP plugin which aims to capture the details in the dynamics of tube amplifiers. %package -n vst-%{name} Summary: Modern ring modulation plugin (VST) %description -n vst-%{name} https://github.com/resonantdsp/SwankyAmp Swanky Amp is a tube amplifier simulation DSP plugin which aims to capture the details in the dynamics of tube amplifiers. %package -n vst3-%{name} Summary: Modern ring modulation plugin (VST3) %description -n vst3-%{name} https://github.com/resonantdsp/SwankyAmp Swanky Amp is a tube amplifier simulation DSP plugin which aims to capture the details in the dynamics of tube amplifiers. %prep %setup -q %autopatch -p0 %build cp %{SOURCE3} JuceLibraryCode/ cp %{SOURCE2} . cp %{SOURCE1} . sed -i -e /'<\/EXPORTFORMATS>/i <LINUX_MAKE targetFolder="Builds/LinuxMakefile" extraCompilerFlags="-DJUCE_MODAL_LOOPS_PERMITTED=1 -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/pluginFormats="buildAAX,buildAU,buildStandalone,buildVST3"/pluginFormats="buildStandalone,buildVST,buildVST3"/' %{name}.jucer sed -i -e 's/JUCEOPTIONS/JUCEOPTIONS JUCE_JACK="1" JUCE_WEB_BROWSER="0" JUCE_USE_CURL="0"/' %{name}.jucer lv2uri="https://github.com/resonantdsp/SwankyAmp" sed "s/_lv2uri_pattern_/${lv2uri//\//\\/}/g" JuceLibraryCode/AppConfig.h.in >JuceLibraryCode/AppConfig.h sed "s/_juce_target_/%{name}/g" LV2.mak.in >LV2.mak %define JUCE_VERSION `ls /usr/lib64/juce/include/` Projucer --set-global-search-path linux defaultJuceModulePath %{_libdir}/juce/include/%{JUCE_VERSION}/modules Projucer --resave %{name}.jucer echo "include ../../LV2.mak" >> Builds/LinuxMakefile/Makefile cd Builds/LinuxMakefile CONFIG=Release make %{?_smp_mflags} %install 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}/lv2 cp -r Builds/LinuxMakefile/build/*.lv2 %{buildroot}%{_libdir}/lv2/ mkdir -p %{buildroot}%{_libdir}/vst3 cp -r Builds/LinuxMakefile/build/*.vst3 %{buildroot}%{_libdir}/vst3/ %files %{_bindir}/%{name} %license LICENSE %doc README.md %files -n lv2-%{name} %{_libdir}/lv2/ %doc README.md %license LICENSE %files -n vst3-%{name} %{_libdir}/vst3/ %doc README.md %license LICENSE %files -n vst-%{name} %{_libdir}/vst/ %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