SHA256
1
0
forked from pool/audacity

Accepting request 1124811 from multimedia:apps

OBS-URL: https://build.opensuse.org/request/show/1124811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/audacity?expand=0&rev=116
This commit is contained in:
Ana Guerrero 2023-11-10 11:33:39 +00:00 committed by Git OBS Bridge
commit 3ca2cfa304
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>

View File

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