git » audacity.git » commit d6042cb

upgpkg: 1:3.5.1-3: fix crash while scrolling horizontally

author Christian Heusel
2024-05-26 19:50:30 UTC
committer Christian Heusel
2024-05-26 19:50:30 UTC
parent fac5b35edbc22072da78f7752a03f7f249b0b46b

upgpkg: 1:3.5.1-3: fix crash while scrolling horizontally

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

.SRCINFO +4 -1
PKGBUILD +6 -1

diff --git a/.SRCINFO b/.SRCINFO
index b1be5be..a3a6c9a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = audacity
 	pkgdesc = A program that lets you manipulate digital audio waveforms
 	pkgver = 3.5.1
-	pkgrel = 2
+	pkgrel = 3
 	epoch = 1
 	url = https://audacityteam.org
 	arch = x86_64
@@ -50,12 +50,15 @@ pkgbase = audacity
 	makedepends = xcb-util-keysyms
 	source = https://github.com/audacity/audacity/archive/refs/tags/Audacity-3.5.1.tar.gz
 	source = https://github.com/audacity/audacity/releases/download/Audacity-3.5.1/audacity-manual-3.5.1.tar.gz
+	source = audacity-3_5_1-fix-scroll.patch::https://github.com/audacity/audacity/commit/0a2326e404446ef89317d9a0cbb3a64ad24963c9.patch
 	source = audacity_3_4_2_enable_tests_without_conan.patch
 	sha512sums = 053a4b81b0f61e6a3070e8517e9faac47b1597afb81c6a0d993006905dca0cd605e6a40833e85386b24d4957194d6903f025a984b624446957207c7cfde8211e
 	sha512sums = 39f14c23d9ea259ba3a1db2a5fd9c98b41148db86f7803cb132be33bdcc171fc8e45cf49f66d98c65ca2a173154fc1c116bfeeb5fc1ba31690dc96c30ea2b601
+	sha512sums = 857ef88ff183ed4bf7dbdf55692fcc69262a9d12c7f47872ec979815d0b2f9c9ce6dad432acde95c0a583f1435f54a86f592b0b0d9963a648a45ccb89d913efa
 	sha512sums = ab92475e599fd4345d33a7ae6cd47231ab614b92ca9a71e732a073b31ec18ad92f3d1384183b0821e75b4ba1bb4987c5369c1398604d6c4ea01a20f94fb7b976
 	b2sums = fddc01938e137a639eb0b27889f279706cfd0e257f720084a3e2f818cd2e678dda65a28937cc44846ab15b0095ed30bddf5b75be3f254533870303ee830c7683
 	b2sums = 7f1cf4c3e7bb30e307c3029984813f96d00dbab8afb32491777dc8fa3ec2de6b9c59273e98db3c9b232ec5363277589ae890fc2c78555f463f1ba24031558baa
+	b2sums = 61e92b075c623238272400f8f2483aed020cf10a366a0bc916d4420fbaa577874cd70ac40006dff460f1a2c0b1c0ef527057bbfa8fb3c22970c3d3dbc33fe8a0
 	b2sums = 0c176336ca8df12f443e6935e8293afa3408e0e7b6a290417007bbbc0500c8eb8716ae3265665a80d85d689f9b369e5edf7986e8507288af77e8eea4ebedd624
 
 pkgname = audacity
diff --git a/PKGBUILD b/PKGBUILD
index 0534d8a..8eccb10 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=(
   audacity-docs
 )
 pkgver=3.5.1
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc="A program that lets you manipulate digital audio waveforms"
 arch=(x86_64)
@@ -62,19 +62,24 @@ 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.tar.gz
+  audacity-3_5_1-fix-scroll.patch::https://github.com/audacity/audacity/commit/0a2326e404446ef89317d9a0cbb3a64ad24963c9.patch
   audacity_3_4_2_enable_tests_without_conan.patch
 )
 sha512sums=('053a4b81b0f61e6a3070e8517e9faac47b1597afb81c6a0d993006905dca0cd605e6a40833e85386b24d4957194d6903f025a984b624446957207c7cfde8211e'
             '39f14c23d9ea259ba3a1db2a5fd9c98b41148db86f7803cb132be33bdcc171fc8e45cf49f66d98c65ca2a173154fc1c116bfeeb5fc1ba31690dc96c30ea2b601'
+            '857ef88ff183ed4bf7dbdf55692fcc69262a9d12c7f47872ec979815d0b2f9c9ce6dad432acde95c0a583f1435f54a86f592b0b0d9963a648a45ccb89d913efa'
             'ab92475e599fd4345d33a7ae6cd47231ab614b92ca9a71e732a073b31ec18ad92f3d1384183b0821e75b4ba1bb4987c5369c1398604d6c4ea01a20f94fb7b976')
 b2sums=('fddc01938e137a639eb0b27889f279706cfd0e257f720084a3e2f818cd2e678dda65a28937cc44846ab15b0095ed30bddf5b75be3f254533870303ee830c7683'
         '7f1cf4c3e7bb30e307c3029984813f96d00dbab8afb32491777dc8fa3ec2de6b9c59273e98db3c9b232ec5363277589ae890fc2c78555f463f1ba24031558baa'
+        '61e92b075c623238272400f8f2483aed020cf10a366a0bc916d4420fbaa577874cd70ac40006dff460f1a2c0b1c0ef527057bbfa8fb3c22970c3d3dbc33fe8a0'
         '0c176336ca8df12f443e6935e8293afa3408e0e7b6a290417007bbbc0500c8eb8716ae3265665a80d85d689f9b369e5edf7986e8507288af77e8eea4ebedd624')
 
 prepare() {
     cd "$pkgname-$_name-$pkgver"
     # https://github.com/audacity/audacity/discussions/5841#discussioncomment-8138725
     patch --forward --strip=1 --input="${srcdir}/audacity_3_4_2_enable_tests_without_conan.patch"
+    # https://gitlab.archlinux.org/archlinux/packaging/packages/audacity/-/issues/3
+    patch --forward --strip=1 --input="${srcdir}/audacity-3_5_1-fix-scroll.patch"
 }
 
 build() {