# Disable production of debug package. %global debug_package %{nil} # Global variables for github repository %global commit0 8b47a7bcd1f7cdce772297b6fa9bb4387c959127 %global gittag0 master %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: picoloop Version: 0.77e.%{shortcommit0} Release: 1%{?dist} Summary: An audio sequencer Group: Applications/Multimedia License: GPLv2+ URL: https://github.com/yoyz/audio Source0: https://github.com/yoyz/audio/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz #Patch0: picoloop-0001-fix-makefile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc gcc-c++ BuildRequires: alsa-lib-devel BuildRequires: jack-audio-connection-kit-devel BuildRequires: SDL2-devel BuildRequires: SDL2_image-devel BuildRequires: SDL2_gfx-devel BuildRequires: SDL2_ttf-devel BuildRequires: pulseaudio-libs-devel %description Picoloop is a synth Stepsequencer (a nanoloop clone). A pattern of 16 notes is played repeatedly while these notes can be edited in various respects like volume, pitch, filter, lfo etc. All parameters are set step-wise, so you can make huge variation of sound on the same pattern. There are four channels, playing simultaneously. %prep %setup -qn %{name}-%{commit0} #%patch0 -p1 %build cd picoloop %make_build -f Makefile.RtMidi_debian_sdl20 clean %make_build -f Makefile.RtAudio_debian_sdl20 clean %make_build -f Makefile.PatternPlayer_debian_RtAudio_sdl20 clean mkdir -p debianrtaudio_sdl20/Machine/Lgptsampler # CFLAGS="-std=c++11 -O3 -D__LINUX__ -DLINUX -I. -LSDL/lib -D__RTAUDIO__ -D __RTMIDI__ -DPC_DESKTOP -D__SDL20__ -DSCREEN_MULT=2 -fpermissive -DHAVE_GETTIMEOFDAY -D__LINUX_ALSA__ -D__LINUX_JACK__ -D__LINUX_PULSE__" %make_build -f Makefile.RtMidi_debian_sdl20 %make_build -f Makefile.RtAudio_debian_sdl20 #%make_build -f Makefile.PatternPlayer_debian_RtAudio_sdl20 DIRTOCREATE %make_build -f Makefile.PatternPlayer_debian_RtAudio_sdl20 #CFLAGS="-std=c++11 -O3 -D__LINUX__ -DLINUX -I. -LSDL/lib -D__RTAUDIO__ -D __RTMIDI__ -DPC_DESKTOP -D__SDL20__ -DSCREEN_MULT=2 -fpermissive" # -D__LINUX_ALSA__ -D__LINUX_JACK__ -D__LINUX_PULSE__ -DHAVE_GETTIMEOFDAY %install install -m 755 -d %{buildroot}/%{_datadir}/applications/ cat > %{buildroot}/%{_datadir}/applications/%{name}.desktop < - 0.77e - update to 0.77e * Mon Oct 15 2018 Yann Collette - 0.70d - update for Fedora 29 * Sun May 13 2018 Yann Collette - 0.70d * Sat Jun 06 2015 Yann Collette - 0.67 - Initial build