The package rpms/lv2-sorcer.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/lv2-sorcer.git/commit/?id=c3ee654....
Change:
+%ifnarch %{ix86} x86_64
Thanks.
Full change:
============
commit c3ee65411c7bafeb79abaee32fc4cddda45d1d21
Author: Guido Aulisi <guido.aulisi(a)gmail.com>
Date: Sun Jan 31 22:36:20 2021 +0100
Update to 1.1.3
Fix FTBFS with latest LV2
diff --git a/.gitignore b/.gitignore
index fcdc370..01644ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/18e6891.zip
+/lv2-sorcer-0a8cef4.tar.gz
diff --git a/lv2-sorcer-lv2.patch b/lv2-sorcer-lv2.patch
new file mode 100644
index 0000000..876dce0
--- /dev/null
+++ b/lv2-sorcer-lv2.patch
@@ -0,0 +1,13 @@
+diff --git a/gui/sorcer_ui.cxx b/gui/sorcer_ui.cxx
+index 60edbe4..3bd25a3 100644
+--- a/gui/sorcer_ui.cxx
++++ b/gui/sorcer_ui.cxx
+@@ -44,7 +44,7 @@ typedef struct {
+ LV2UI_Controller controller;
+ } SorcerGUI;
+
+-static LV2UI_Handle instantiate(const struct _LV2UI_Descriptor * descriptor,
++static LV2UI_Handle instantiate(const struct LV2UI_Descriptor * descriptor,
+ const char * plugin_uri,
+ const char * bundle_path,
+ LV2UI_Write_Function write_function,
diff --git a/lv2-sorcer.spec b/lv2-sorcer.spec
index ecca434..e441819 100644
--- a/lv2-sorcer.spec
+++ b/lv2-sorcer.spec
@@ -1,20 +1,22 @@
-%global commit 18e68914f2ae19dff01d77ce263a42c31041d0cc
+%global commit 0a8cef484174aae5c1b7be6710f31a643e7d7197
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global prerelease 20131104
+%global prerelease 20171126
Name: lv2-sorcer
-Version: 1.1
-Release: 27%{prerelease}git%{shortcommit}%{?dist}
+Version: 1.1.3
+Release: 0.1.%{prerelease}git%{shortcommit}%{?dist}
Summary: An audio compressor for JACK
License: GPLv3+
URL:
http://openavproductions.com/sorcer/
-Source0:
https://github.com/harryhaaren/openAV-Sorcer/archive/%{shortcommit}.zip
-Patch0: lv2-sorcer-lv2dir.patch
-BuildRequires: make
+Source0:
https://github.com/harryhaaren/openAV-Sorcer/archive/%{commit}/%{name}-%{...
+# Patch from upstream
https://github.com/openAVproductions/openAV-Sorcer/pull/26
+Patch0: %{name}-lv2.patch
+
+BuildRequires: cmake
+BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: lv2-devel
-BuildRequires: faust
BuildRequires: gtkmm24-devel
BuildRequires: cairo-devel
BuildRequires: boost-devel
@@ -37,25 +39,30 @@ Additional presets can be found here:
https://github.com/harryhaaren/openAV-presets
%prep
-%setup -q -n openAV-Sorcer-%{commit}
-%patch0 -p1
-sed -i -e "s|-O3 -Wall|%{optflags}|"\
- -e "s|main.cpp|%{optflags} main.cpp|" \
- makefile
+%autosetup -p1 -n openAV-Sorcer-%{commit}
+sed -i -e 's|lib/lv2|%{_lib}/lv2|g' -e 's|\-Wall|%{optflags}|g' \
+ -e 's|-Wl,-z,nodelete -Wl,--no-undefined|%{__global_ldflags}|g' CMakeLists.txt
+%ifnarch %{ix86} x86_64
+sed -i -e 's|-msse2 -mfpmath=sse||g' CMakeLists.txt
+%endif
%build
-make %{?_smp_mflags} CFLAGS="%{optflags}"
+%cmake .
+%cmake_build
%install
-make install DESTDIR=%{buildroot}%{_libdir}/lv2
-chmod 644 %{buildroot}%{_libdir}/lv2/*/*.ttl
+%cmake_install
%files
-%doc README
+%doc README.md
%license LICENSE
%{_libdir}/lv2/*
%changelog
+* Sun Jan 31 2021 Guido Aulisi <guido.aulisi(a)gmail.com> -
1.1.3-0.1.20171126git0a8cef4
+- Update to 1.1.3
+- Fix FTBFS with latest LV2
+
* Tue Jan 26 2021 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.1-2720131104git18e6891
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
diff --git a/sources b/sources
index 1a608da..363efcd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c28503eeea7f2b40b4d04af61fa8d681 18e6891.zip
+SHA512 (lv2-sorcer-0a8cef4.tar.gz) =
9db140a874f2fe7dcf92db77d36aab2e435841684a4ef6d9f89f4361d03567deab6cd66fb081019a000c71e570510a768c9f8e9ebbb470e6005c77fbcbb96abf