Name: maim Version: 1.0.0 Release: 1%{?dist} Summary: Audio plugin for custom MP3 distortion and digital glitches License: GPL-3.0 URL: https://github.com/ArdenButterfield/Maim Vendor: Audinux Distribution: Audinux # Usage: ./maim-source.sh # ./maim-source.sh v1.0.0 Source0: Maim.tar.gz Source1: maim-source.sh BuildRequires: gcc gcc-c++ BuildRequires: cmake BuildRequires: git BuildRequires: cairo-devel BuildRequires: fontconfig-devel BuildRequires: freetype-devel BuildRequires: libX11-devel BuildRequires: xcb-util-keysyms-devel BuildRequires: xcb-util-devel BuildRequires: libXrandr-devel BuildRequires: xcb-util-cursor-devel BuildRequires: libxkbcommon-x11-devel BuildRequires: libXinerama-devel BuildRequires: libcurl-devel BuildRequires: alsa-lib-devel BuildRequires: jack-audio-connection-kit-devel BuildRequires: mesa-libGL-devel BuildRequires: libXcursor-devel BuildRequires: gtk3-devel BuildRequires: lame-devel BuildRequires: webkit2gtk3-devel %description MAIM is an audio plugin that circuit bends an MP3 encoder in real time, disrupting the control flow sending data down unexpected paths to create digital distortions. With heavily hacked real MP3 encoders at its core, MAIM gives you the full gamut of digital distortion, from the realistic to the fantastical. %package -n vst3-%{name} Summary: VST3 version of %{name} License: GPL-3.0 Requires: %{name} %description -n vst3-%{name} VST3 version of %{name} %prep %autosetup -n Maim %build cd Source/lib/lame/ %configure CFLAGS="-fPIC" --disable-frontend --enable-expopt=full --disable-shared --enable-static %make_build cd ../../.. %cmake -DLAME_LIB=Source/lib/lame/libmp3lame/.libs/libmp3lame.a %cmake_build %install install -m 755 -d %{buildroot}%{_libdir}/vst3/ cp -ra %{__cmake_builddir}/Maim_artefacts/VST3/* %{buildroot}/%{_libdir}/vst3/ install -m 755 -d %{buildroot}%{_datadir}/%{name}/docs/ cp Docs/Manual.md %{buildroot}%{_datadir}/%{name}/docs/ cp -ra Docs/images %{buildroot}%{_datadir}/%{name}/docs/ %files -n vst3-%{name} %doc README.md %license LICENSE %{_libdir}/vst3/* %{_datadir}/%{name}/* %changelog * Wed Dec 06 2023 Yann Collette - 1.0.0-1 - Initial spec file