SHA256
1
0
forked from pool/audacity

Accepting request 1124809 from home:ecsos

- Use gcc12 in Leap to fix build error.

OBS-URL: https://build.opensuse.org/request/show/1124809
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=213
This commit is contained in:
Dave Plater 2023-11-10 08:48:20 +00:00 committed by Git OBS Bridge
parent 704561f525
commit 24466fd27f
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 10 08:06:47 UTC 2023 - ecsos <ecsos@opensuse.org>
- Use gcc12 in Leap to fix build error.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 9 10:17:39 UTC 2023 - Dave Plater <davejplater@gmail.com> Thu Nov 9 10:17:39 UTC 2023 - Dave Plater <davejplater@gmail.com>

View File

@ -45,7 +45,13 @@ Patch94: vst3sdk-fix-include-cstdint-for-gcc13.patch
Patch95: vst3sdk-fix-limits-include-moduleinfoparser.patch Patch95: vst3sdk-fix-limits-include-moduleinfoparser.patch
BuildRequires: cmake >= 3.16 BuildRequires: cmake >= 3.16
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%if 0%{?suse_version} <= 1600
BuildRequires: gcc12
BuildRequires: gcc12-c++
%else
BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%endif
#!BuildIgnore: gstreamer-0_10-plugins-base #!BuildIgnore: gstreamer-0_10-plugins-base
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
BuildRequires: libmp3lame-devel BuildRequires: libmp3lame-devel
@ -141,6 +147,10 @@ tar xf %{SOURCE3} --strip-components=1 --one-top-level=vst3sdk
%endif %endif
%build %build
%if 0%{?suse_version} <= 1600
export CC=gcc-12
export CXX=g++-12
%endif
if ! test -e %{_libdir}/pkgconfig/lame.pc if ! test -e %{_libdir}/pkgconfig/lame.pc
then then
export PKG_CONFIG_PATH="`echo $PWD`:%{_libdir}/pkgconfig" export PKG_CONFIG_PATH="`echo $PWD`:%{_libdir}/pkgconfig"