From 5a89c96695b57dc8cdaa54471eb7dc4033b4bc23 Mon Sep 17 00:00:00 2001 From: m3tav3rse Date: Thu, 9 Nov 2023 15:06:41 +0100 Subject: [PATCH] audacity: update to 3.4.1, disable update checks and crashreports. --- srcpkgs/audacity/patches/armv7l.patch | 16 ++++++++++++++++ srcpkgs/audacity/template | 12 ++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/audacity/patches/armv7l.patch diff --git a/srcpkgs/audacity/patches/armv7l.patch b/srcpkgs/audacity/patches/armv7l.patch new file mode 100644 index 0000000000000..142d593fb68c1 --- /dev/null +++ b/srcpkgs/audacity/patches/armv7l.patch @@ -0,0 +1,16 @@ +https://github.com/audacity/audacity/pull/5541 +Fixed in audacity 3.4.2 + +diff --git a/libraries/lib-time-and-pitch/StaffPad/pffft/pfsimd_macros.h b/libraries/lib-time-and-pitch/StaffPad/pffft/pfsimd_macros.h +index 2e0f0fdee..c3e20acab 100644 +--- a/libraries/lib-time-and-pitch/StaffPad/pffft/pfsimd_macros.h ++++ b/libraries/lib-time-and-pitch/StaffPad/pffft/pfsimd_macros.h +@@ -122,7 +122,7 @@ typedef __m128 v4sf; + /* + ARM NEON support macros + */ +-#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__arm__) || defined(__aarch64__) || defined(__arm64__) || defined(_M_ARM64)) ++#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__aarch64__) || defined(__arm64__) || defined(_M_ARM64)) + # include + typedef float32x4_t v4sf; + # define SIMD_SZ 4 diff --git a/srcpkgs/audacity/template b/srcpkgs/audacity/template index 73314e6232bd6..e4fbedf8aa518 100644 --- a/srcpkgs/audacity/template +++ b/srcpkgs/audacity/template @@ -1,27 +1,31 @@ # Template file for 'audacity' pkgname=audacity -version=3.3.3 +version=3.4.1 revision=1 build_style=cmake build_helper="cmake-wxWidgets-gtk3 qemu" configure_args="-Daudacity_use_ffmpeg=loaded -Daudacity_lib_preference=system -Daudacity_obey_system_dependencies=ON -Daudacity_conan_enabled=OFF -Daudacity_use_portsmf=local -Daudacity_use_sbsms=local - -Daudacity_has_vst3=no" + -Daudacity_has_vst3=OFF -Daudacity_has_crashreports=OFF + -Daudacity_has_networking=OFF -Daudacity_has_sentry_reporting=OFF + -Daudacity_has_updates_check=OFF -DAUDACITY_BUILD_LEVEL=2" hostmakedepends="pkg-config gettext python3" makedepends="wxWidgets-gtk3-devel gtk+3-devel expat-devel lame-devel libsoxr-devel portaudio-devel sqlite-devel libcurl-devel ffmpeg-devel libid3tag-devel libmad-devel vamp-plugin-sdk-devel libogg-devel libvorbis-devel libflac-devel lilv-devel lv2 serd-devel sord-devel sratom-devel suil-devel portmidi-devel soundtouch-devel twolame-devel - zlib-devel libuuid-devel jack-devel wavpack-devel libsndfile-devel" + zlib-devel libuuid-devel jack-devel wavpack-devel libsndfile-devel + opusfile-devel rapidjson" depends="desktop-file-utils hicolor-icon-theme" short_desc="Graphical cross-platform audio editor" maintainer="Orphaned " license="GPL-2.0-or-later, GPL-3.0-or-later, CC-BY-3.0" homepage="https://www.audacityteam.org" +changelog="https://github.com/audacity/audacity/raw/master/CHANGELOG.txt" distfiles="https://github.com/audacity/audacity/releases/download/Audacity-${version}/audacity-sources-${version}.tar.gz" -checksum=3d9ff1fc6a0ecd6591f19445c77c80774d364b268da652760829cf3598e08071 +checksum=4e902a2624cdca5f4e95a19a89f27bc2150463f17a5eacb7cd3ca677d410762b CXXFLAGS="-D_FILE_OFFSET_BITS=64"