File TheKissOfShame.spec of Package TheKissOfShame
#
# spec file for package TheKissOfShame
#
# Copyright (c) 2021 SUSE LLC
#
# 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: TheKissOfShame
Version: 1.0.2+git.1.2d43f68
Release: 0
Summary: DSP Magnetic Tape Emulation
License: GPL-3.0-only
URL: https://github.com/hollance/TheKissOfShame
Source0: %{name}-%{version}.tar.gz
Patch0: TKOS-CMakeLists.patch
BuildRequires: JUCE7_12-devel
BuildRequires: Mesa-libGL-devel
BuildRequires: cmake
%if 0%{?is_opensuse} && 0%{?suse_version} < 1600
BuildRequires: gcc12
BuildRequires: gcc12-c++
%else
BuildRequires: gcc-c++
%endif
BuildRequires: libXcursor-devel
BuildRequires: libXrandr-devel
BuildRequires: libcurl-devel
BuildRequires: libjack-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xinerama)
%description
The Kiss of Shame, debuted at the Audio Engineering Society Convention 2014 in Los Angeles, was a pioneering DAW plugin that leveraged commercial UX/UI design principles to shape its magnetic tape + circuitry emulation algorithms.
%package -n vst-%{name}
Summary: DSP Magnetic Tape Emulation (VST)
%description -n vst-%{name}
The Kiss of Shame, debuted at the Audio Engineering Society Convention 2014 in Los Angeles, was a pioneering DAW plugin that leveraged commercial UX/UI design principles to shape its magnetic tape + circuitry emulation algorithms.
%package -n vst3-%{name}
Summary: DSP Magnetic Tape Emulation (VST3)
%description -n vst3-%{name}
The Kiss of Shame, debuted at the Audio Engineering Society Convention 2014 in Los Angeles, was a pioneering DAW plugin that leveraged commercial UX/UI design principles to shape its magnetic tape + circuitry emulation algorithms.
%package -n lv2-%{name}
Summary: DSP Magnetic Tape Emulation (LV2)
%description -n lv2-%{name}
The Kiss of Shame, debuted at the Audio Engineering Society Convention 2014 in Los Angeles, was a pioneering DAW plugin that leveraged commercial UX/UI design principles to shape its magnetic tape + circuitry emulation algorithms.
%prep
%autosetup -p1
%build
%cmake \
%if 0%{?is_opensuse} && 0%{?suse_version} < 1600
-DCMAKE_CXX_COMPILER=g++-12 \
%endif
\
%cmake_build
%install
mkdir -p %{buildroot}%{_bindir}
install build/%{name}_artefacts/RelWithDebInfo/Standalone/* %{buildroot}%{_bindir}/
mkdir -p %{buildroot}%{_libdir}/vst
install build/%{name}_artefacts/RelWithDebInfo/VST/*.so %{buildroot}%{_libdir}/vst/
mkdir -p %{buildroot}%{_libdir}/vst3
cp -r build/%{name}_artefacts/RelWithDebInfo/VST3/*.vst3 %{buildroot}%{_libdir}/vst3/
mkdir -p %{buildroot}%{_libdir}/lv2
cp -r build/%{name}_artefacts/RelWithDebInfo/LV2/*.lv2 %{buildroot}%{_libdir}/lv2/
%files
%{_bindir}/*
%license LICENSE.txt
%doc README.md
%files -n vst-%{name}
%dir %{_libdir}/vst
%{_libdir}/vst/
%doc README.md
%license LICENSE.txt
%files -n vst3-%{name}
%{_libdir}/vst3/
%doc README.md
%license LICENSE.txt
%files -n lv2-%{name}
%{_libdir}/lv2/
%doc README.md
%license LICENSE.txt
%changelog