%global commit 10acf03046d980f96ed192d5acb9deb812f5c639 %define oname openAV-Fabla Name: lv2-fabla Version: 1.3.2 Release: %mkrel -c git20211211 1 Summary: An LV2 drum sampler Group: Sound/Midi License: GPLv2+ URL: http://openavproductions.com/fabla/ Source0: https://github.com/openAVproductions/%{oname}/archive/%{oname}-%{commit}.zip #Patch0: lv2-fabla-1.3.2-fix-compatibility-with-lv2-1.18.patch BuildRequires: pkgconfig(ntk) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(cairomm-1.0) BuildRequires: pkgconfig(lv2) BuildRequires: cmake Requires: lv2 %description %{name} is a drum sampler plugin instrument. It is ideal for loading up your favorite sampled sounds and bashing away on a MIDI controller. Or if itâs crafty beat programming your after thatâs cool too! The ADSR envelope allows the shaping of hi-hats and kicks while the compressor beefs up the sound for those thumping kicks! Additional presets can be found at: https://github.com/harryhaaren/openAV-presets %prep %setup -q -n openAV-Fabla-%{commit} %autopatch -p1 sed -i -e 's|lib/|%{_lib}/|g' -e 's|\-Wall|%{optflags}|g' CMakeLists.txt %ifnarch %{ix86} x86_64 sed -i -e 's|-msse2 -mfpmath=sse||g' CMakeLists.txt %endif %build %cmake %cmake_build %install mkdir -p %{buildroot}%{_libdir}/lv2 %cmake_install %files %doc README.md CHANGELOG LICENSE %{_libdir}/lv2/* %changelog * Wed Dec 14 2022 philippedidier <philippedidier> 1.3.2-0.git20211211.1.mga9 + Revision: 1922183 - change source URL - last commit - drop merged patch * Fri Apr 01 2022 umeabot <umeabot> 1.3.2-0.git20181216.3.mga9 + Revision: 1838456 - Mageia 9 Mass Rebuild * Sun Jul 26 2020 daviddavid <daviddavid> 1.3.2-0.git20181216.2.mga8 + Revision: 1609030 - add patch to fix build with lv2 1.18 * Sun Feb 23 2020 daviddavid <daviddavid> 1.3.2-0.git20181216.1.mga8 + Revision: 1549674 - new version: 1.3.2-git20181216 * Thu Feb 13 2020 daviddavid <daviddavid> 1.3-0.git20170505.3.mga8 + Revision: 1515027 - use new cmake macros + umeabot <umeabot> - Mageia 8 Mass Rebuild * Sun Sep 23 2018 umeabot <umeabot> 1.3-0.git20170505.2.mga7 + Revision: 1299390 - Mageia 7 Mass Rebuild * Fri May 05 2017 animtim <animtim> 1.3-0.git20170505.1.mga6 + Revision: 1099201 - update and adapt to mageia - imported package lv2-fabla