diff --git a/giada.spec b/giada.spec index 94af237..d89e0db 100644 --- a/giada.spec +++ b/giada.spec @@ -2,7 +2,7 @@ Name: giada Version: 0.17.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Your hardcore loop machine # The entire source is GPLv3+, except: @@ -221,9 +221,18 @@ sed -r -i 's/(FLTK)[[:blank:]]+CONFIG/\1/' CMakeLists.txt # 49 | #include # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# VST3 does not build on PPC64LE, and the solution is not obvious: +# /usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref +# /tmp/ccVmiyyc.ltrans32.ltrans.o: in function `juce::PNGHelpers::readImageData(juce::pnglibNamespace::png_struct_def*, juce::pnglibNamespace::png_info_def*, __jmp_buf_tag (&) [1], unsigned char**)': +# :(.text+0x51d8): undefined reference to `juce::pnglibNamespace::png_init_filter_functions_vsx(juce::pnglibNamespace::png_struct_def*, unsigned int) + %cmake \ -DWITH_VST2:BOOL=OFF \ +%ifnarch ppc64le -DWITH_VST3:BOOL=ON \ +%else + -DWITH_VST3:BOOL=OFF \ +%endif -DWITH_TESTS:BOOL=%{?with_tests:ON}%{?!with_tests:OFF} \ -GNinja %cmake_build @@ -268,6 +277,9 @@ find %{buildroot} -type f %changelog +* Tue Feb 23 2021 Benjamin A. Beasley - 0.17.1-2 +- Disable VST3 on PPC64LE due to a non-obvious linker error + * Mon Feb 22 2021 Benjamin A. Beasley - 0.17.1-2 - New upstream release 0.17.1 - Switch to CMake build system