diff --git a/audacity.changes b/audacity.changes index 74af475..4c8778e 100644 --- a/audacity.changes +++ b/audacity.changes @@ -2,6 +2,7 @@ Sun Jun 28 11:54:42 UTC 2020 - Dave Plater - Update to 2.4.2, now uses cmake to build. +- Create lame.pc in spec file. - Remove audacity-implicit-fortify-decl.patch and audacity-flacversion.patch, fixed upstream - Add two more false positives to diff --git a/audacity.spec b/audacity.spec index e129f1a..0fe4f8c 100644 --- a/audacity.spec +++ b/audacity.spec @@ -100,6 +100,8 @@ cp -f %{SOURCE1} LICENSE_NYQUIST.txt rm -rf lib-src/{expat,libvamp,libsoxr,ffmpeg,lame}/ # Audacity's cmake can't find libmp3lame without a .pc file # This is a temporary workaround. +if ! test -e %{_libdir}/pkgconfig/lame.pc +then echo "prefix=/usr" > lame.pc echo "libdir=/usr/lib64" >> lame.pc echo "includedir=/usr/include/lame" >> lame.pc @@ -110,6 +112,7 @@ echo "Requires: " >> lame.pc echo "Version: 3.100" >> lame.pc echo "Libs: -L${libdir} -lmp3lame " >> lame.pc echo "Cflags: -I${includedir} " >> lame.pc +fi #Included in src/AboutDialog.cpp but not supplied touch include/RevisionIdent.h