git » audacity.git » commit 9fbcd11

upgpkg: 1:3.4.2-4

author Christian Heusel
2024-03-27 12:05:17 UTC
committer Christian Heusel
2024-03-27 12:21:00 UTC
parent 8a0c3696a1f9d8c7860718a606cf8ef832d066bd

upgpkg: 1:3.4.2-4

fixes https://gitlab.archlinux.org/archlinux/packaging/packages/audacity/-/issues/1

.SRCINFO +4 -1
PKGBUILD +8 -1

diff --git a/.SRCINFO b/.SRCINFO
index 1981e08..74c8e13 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = audacity
 	pkgdesc = A program that lets you manipulate digital audio waveforms
 	pkgver = 3.4.2
-	pkgrel = 3
+	pkgrel = 4
 	epoch = 1
 	url = https://audacityteam.org
 	arch = x86_64
@@ -50,14 +50,17 @@ pkgbase = audacity
 	makedepends = xcb-util-keysyms
 	source = https://github.com/audacity/audacity/archive/refs/tags/Audacity-3.4.2.tar.gz
 	source = https://github.com/audacity/audacity/releases/download/Audacity-3.4.2/audacity-manual-3.4.2.zip
+	source = audacity_3_4_2_force_xwayland.patch::https://github.com/audacity/audacity/commit/7f2b47ba45b13227b250102befca27cbbd4b3a65.patch
 	source = audacity_3_4_2_update_vst3_cmake_args.patch
 	source = audacity_3_4_2_enable_tests_without_conan.patch
 	sha512sums = a4a3bc68e46988e5538edbe6d8f42428b69e3f294b8d65337600e6806b516100d20a92135954f073c863d29767b904b781bd3a09cec40b8a85ee4463f52e1759
 	sha512sums = a840409a98ba570113e445264feac22555585c9a6e64191a3d90d693f55325d9bf0a028869828f0ad3074e451087563ef47064d2774348184fe62bbd88dfde5f
+	sha512sums = 16c16d98b972e6425262bc29d7a43a91d951f391d7872bf762e75fc2a0e9a862ed083e5ca44b1008e5079fbc6ad73f76bdaf724e2af528adb84aa1c57a2a7f79
 	sha512sums = 075ab510b28ce96be049bc62d11d4f978090268376e76865fc41424d2f76ec79f9625ab5479aee488bf357c773346fefd2e0cc3884acb5ba14083c4e79276e35
 	sha512sums = ab92475e599fd4345d33a7ae6cd47231ab614b92ca9a71e732a073b31ec18ad92f3d1384183b0821e75b4ba1bb4987c5369c1398604d6c4ea01a20f94fb7b976
 	b2sums = f5bcf6adb925c22b74d6bb1f9605e428f00d776715dd221ae2e2026ffe65a03410279f01690c9b671df9a4924940e5a93dc3535b6a41626663ccdda5ccf7554f
 	b2sums = 3b49bd9ac0ceb8ee36ac8506fbec159ad6ed884ed1a1b5619a7f309c951400699fd92e1e79771bd5ca23055e2b6d24138007e613eddd8cc97ed4b443da4b5f6d
+	b2sums = 369fabfe54894019d96c123a7e3cfdfb3142f43a22e824ee39c5edeb325335590217bb64bae8c2bcd5fbc334fb79dc3648c27e45f18f73ee4f60e50bc895748c
 	b2sums = c3da5f1c01f712053ada2101d489dfab0dcd2a6cafa65a29c17de12274a4373d2e63de65888b1ffaccac85b64508f260596beb301d36d7e305002cd3a76eb679
 	b2sums = 0c176336ca8df12f443e6935e8293afa3408e0e7b6a290417007bbbc0500c8eb8716ae3265665a80d85d689f9b369e5edf7986e8507288af77e8eea4ebedd624
 
diff --git a/PKGBUILD b/PKGBUILD
index 578564b..1c0b9d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=(
   audacity-docs
 )
 pkgver=3.4.2
-pkgrel=3
+pkgrel=4
 epoch=1
 pkgdesc="A program that lets you manipulate digital audio waveforms"
 arch=(x86_64)
@@ -62,21 +62,28 @@ makedepends=(
 source=(
   https://github.com/audacity/audacity/archive/refs/tags/$_name-$pkgver.tar.gz
   https://github.com/$pkgbase/$pkgbase/releases/download/$_name-$pkgver/$pkgbase-manual-$pkgver.zip
+  audacity_3_4_2_force_xwayland.patch::https://github.com/audacity/audacity/commit/7f2b47ba45b13227b250102befca27cbbd4b3a65.patch
   audacity_3_4_2_update_vst3_cmake_args.patch
   audacity_3_4_2_enable_tests_without_conan.patch
 )
 sha512sums=('a4a3bc68e46988e5538edbe6d8f42428b69e3f294b8d65337600e6806b516100d20a92135954f073c863d29767b904b781bd3a09cec40b8a85ee4463f52e1759'
             'a840409a98ba570113e445264feac22555585c9a6e64191a3d90d693f55325d9bf0a028869828f0ad3074e451087563ef47064d2774348184fe62bbd88dfde5f'
+            '16c16d98b972e6425262bc29d7a43a91d951f391d7872bf762e75fc2a0e9a862ed083e5ca44b1008e5079fbc6ad73f76bdaf724e2af528adb84aa1c57a2a7f79'
             '075ab510b28ce96be049bc62d11d4f978090268376e76865fc41424d2f76ec79f9625ab5479aee488bf357c773346fefd2e0cc3884acb5ba14083c4e79276e35'
             'ab92475e599fd4345d33a7ae6cd47231ab614b92ca9a71e732a073b31ec18ad92f3d1384183b0821e75b4ba1bb4987c5369c1398604d6c4ea01a20f94fb7b976')
 b2sums=('f5bcf6adb925c22b74d6bb1f9605e428f00d776715dd221ae2e2026ffe65a03410279f01690c9b671df9a4924940e5a93dc3535b6a41626663ccdda5ccf7554f'
         '3b49bd9ac0ceb8ee36ac8506fbec159ad6ed884ed1a1b5619a7f309c951400699fd92e1e79771bd5ca23055e2b6d24138007e613eddd8cc97ed4b443da4b5f6d'
+        '369fabfe54894019d96c123a7e3cfdfb3142f43a22e824ee39c5edeb325335590217bb64bae8c2bcd5fbc334fb79dc3648c27e45f18f73ee4f60e50bc895748c'
         'c3da5f1c01f712053ada2101d489dfab0dcd2a6cafa65a29c17de12274a4373d2e63de65888b1ffaccac85b64508f260596beb301d36d7e305002cd3a76eb679'
         '0c176336ca8df12f443e6935e8293afa3408e0e7b6a290417007bbbc0500c8eb8716ae3265665a80d85d689f9b369e5edf7986e8507288af77e8eea4ebedd624')
 
 prepare() {
     cd "$pkgname-$_name-$pkgver"
+    # https://gitlab.archlinux.org/archlinux/packaging/packages/audacity/-/issues/1
+    patch --forward --strip=1 --input="${srcdir}/audacity_3_4_2_force_xwayland.patch"
+
     patch --forward --strip=1 --input="${srcdir}/audacity_3_4_2_update_vst3_cmake_args.patch"
+
     # https://github.com/audacity/audacity/discussions/5841#discussioncomment-8138725
     patch --forward --strip=1 --input="${srcdir}/audacity_3_4_2_enable_tests_without_conan.patch"
 }