git » audacity.git » commit 8583b0a

Upgrade to 3.2.4.

author David Runge
2023-01-27 18:32:12 UTC
committer David Runge
2023-01-27 18:32:12 UTC
parent 9c09075b1987b3a6e1523dbcd29baf3c19f17bd5

Upgrade to 3.2.4.

Reduce the amount of rpath removal (only one file affected by now):
https://github.com/audacity/audacity/issues/3289

PKGBUILD +9 -18

diff --git a/PKGBUILD b/PKGBUILD
index 9327cfc..73d71bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 _name=Audacity
 pkgbase=audacity
 pkgname=(audacity audacity-docs)
-pkgver=3.2.3
+pkgver=3.2.4
 pkgrel=1
 epoch=1
 pkgdesc="A program that lets you manipulate digital audio waveforms"
@@ -51,10 +51,10 @@ 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
 )
-sha512sums=('759eb951ecbc690501c32a7cfc78b3c6f083ed62a4b57cc7935eef7b5dfd930ab4022c54e90de9523a4664ae7749868303fc4e597f19b319f23b07a9776a23cb'
-            '6978ac874f9318fd283098ea5a4b6aa7096acdab229c7bb96c8da33413ed326b1de0c262132e03e4e8127cf0a430a182fb718c9c753556832aea7c527bf5c2cb')
-b2sums=('3b74c381c9d8e5cbd22e3e53a2e497a45cc48f61b79395b1e17c15e4c645c661ad544cd050885f104562f0f05d08c9e52821f1b9737c32f5f7942d6b8f3102fb'
-        '7b9441a7d6c2ca05d1be0a2635a7685cff3960f03380c04229a6b2155453a8da861f185adf38f430f2c23214a6fc794533ed7ee23362801fb31eef32977e4a25')
+sha512sums=('d69459839760f0db7d23ad5ee5601e0a0b8e918a7f9ad6773bb45b525f732d09ff0fc6ca59c6400b62d7b0b905411dd97673b6d6f2102c9ed549e9f833b60a96'
+            '6f2d6339dfe150a1eb57a42a957154237c6ade0beb0a2a06ed2c59b5d23ff6b40d1dea0bc91851951a7df26aeb1c43c79f85ac71ba5361165f8524dbf1301424')
+b2sums=('df36f5f7162cc6303b2bcb4861f0b418fd3dfd97a8d664b9c0fe1e84b57df5342864a82e7652c2e706e723b6eb6faded50a0ce4fb96f36ac1e6ba48726db40a7'
+        'ba2cf1a3b13f59bf03014fd301e3e50654d39fa0a79076760b68edca725513ea18c7be6e68452471e25274597e0629fff2964a135a81d1c54e0c0ae7b55f94fc')
 
 build() {
   local cmake_options=(
@@ -93,8 +93,8 @@ package_audacity() {
     gdk-pixbuf2 libgdk_pixbuf-2.0.so
     glib2 libglib-2.0.so libgobject-2.0.so
     gtk3 libgdk-3.so libgtk-3.so
-    jack libjack.so
-    lame libmp3lame.so
+    jack  # likely dlopen'ed
+    lame  # likely dlopen'ed
     libid3tag libid3tag.so
     libmad
     libogg libogg.so
@@ -128,18 +128,9 @@ package_audacity() {
 
   # remove unsafe RPATH: https://github.com/audacity/audacity/issues/3289
   (
-  cd "$pkgdir/usr/lib/$pkgname"
-  for _lib in *.so; do
-    chrpath --delete "$_lib"
-    chmod 755 "$_lib"
-  done
-  )
-  (
   cd "$pkgdir/usr/lib/$pkgname/modules"
-  for _lib in *.so; do
-    chrpath --delete "$_lib"
-    chmod 755 "$_lib"
-  done
+  chrpath --delete mod-script-pipe.so
+  chmod 755 mod-script-pipe.so
   )
   # NOTE: private libraries are public: https://github.com/audacity/audacity/issues/3812
 }