git » audacity.git » commit 63e3a68

Upgrade to 3.3.0.

author David Runge
2023-04-25 18:33:08 UTC
committer David Runge
2023-04-25 18:33:08 UTC
parent 732f6247613e3162008fbda174240438aa919000

Upgrade to 3.3.0.

Consolidate dependencies for audacity split package.
Move all cmake options to local bash array for better handling.

PKGBUILD +24 -10

diff --git a/PKGBUILD b/PKGBUILD
index 25d3025..4ad30fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
 _name=Audacity
 pkgbase=audacity
 pkgname=(audacity audacity-docs)
-pkgver=3.2.5
-pkgrel=2
+pkgver=3.3.0
+pkgrel=1
 epoch=1
 pkgdesc="A program that lets you manipulate digital audio waveforms"
 arch=(x86_64)
@@ -49,15 +49,16 @@ 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
+  https://github.com/$pkgbase/$pkgbase/releases/download/$_name-$pkgver/$pkgbase-manual-v$pkgver.tar.gz
 )
-sha512sums=('850ce4dc27e2c6d0b63bf0c0186deb417febc49b561e572a697f0e7ae2a7b2b3f39816b7beeacf9cbfb9525de85923e2ce6d06486fcf1855e34e2ecd1b7e3582'
-            '9bd2f2b3268ff7259f1fa0957ab3f15e7b58d72a3199be4e271bac67d9d0b44967b2b783ea36f9392ed1bdf004274754468b3902c3a72a204d08333a5c07894c')
-b2sums=('b8e48cab1c89cadb343a17fcb1d811a7363231152867f842ffff6dd8329103c9a407beb3f0b587e35e711070230c5c86d5aa97578b5a7c08bdbb029570677a24'
-        'e3c96282b5eeffe5854781cfe316fb40c10212c9bc07a081433cf947363f79892e7397b53a31aa33337b5d0b6a00e14bd420d6f064515455055233a45f5ebf47')
+sha512sums=('f987271f608ead83fde7026bd4fcba7612c5df49a2d87cebd998742ba2587aaa0419392945afc491ad61b06563ff529d11080cc57cb0c1387fd62a361b753fb4'
+            '4aa7ab79cba95bdc8ea17c7c4c07eb10bf7ba1bbebc37191400d6e3cad7de674a182f73446406ea51186f00352a69eae99fe023f401ebc4aa4f09d256231affe')
+b2sums=('5c6086e8526f8d0e1859aeb13166c5694dd2800b46c388e02c4d349cf4e9388fc73daf749e56632c2db6965a078827df36ae421c951cde4e5d6949d6ffcf4281'
+        'd93b56dbfd9ec2520808a67e47e5823453a6e3615c41ebab6c4238dc9caf548ed2b907454006a3dff6a0f3ac02aba5bc765433ad67cd2ebff01afd96f773230e')
 
 build() {
   local cmake_options=(
+    -B build
     -D CMAKE_BUILD_TYPE=None
     -D CMAKE_INSTALL_PREFIX=/usr
     -D AUDACITY_BUILD_LEVEL=2
@@ -69,13 +70,15 @@ build() {
     -D audacity_lib_preference=system
     -D audacity_obey_system_dependencies=ON
     -D audacity_use_vst3sdk=system
+    -S $pkgname-$_name-$pkgver
+    -Wno-dev
   )
 
   export VST3SDK='/usr/share/vst3sdk'
   export CFLAGS+=" -DNDEBUG"
   export CXXFLAGS+=" -DNDEBUG"
-  cmake "${cmake_options[@]}" -B build -S $pkgname-$_name-$pkgver -Wno-dev
-  cmake --build build
+  cmake "${cmake_options[@]}"
+  cmake --build build --verbose
 }
 
 check() {
@@ -87,12 +90,14 @@ package_audacity() {
   groups=(pro-audio)
   depends=(
     alsa-lib libasound.so
+    expat
     flac libFLAC.so libFLAC++.so
     gcc-libs
     glibc
     gdk-pixbuf2 libgdk_pixbuf-2.0.so
     glib2 libglib-2.0.so libgobject-2.0.so
     gtk3 libgdk-3.so libgtk-3.so
+    hicolor-icon-theme
     jack  # likely dlopen'ed
     lame  # likely dlopen'ed
     libid3tag libid3tag.so
@@ -102,6 +107,7 @@ package_audacity() {
     libsndfile libsndfile.so
     libsoxr
     libvorbis libvorbis.so libvorbisenc.so libvorbisfile.so
+    libx11
     lilv liblilv-0.so
     mpg123 libmpg123.so
     portaudio libportaudio.so
@@ -112,15 +118,23 @@ package_audacity() {
     sqlite libsqlite3.so
     suil libsuil-0.so
     twolame libtwolame.so
+    util-linux-libs
     wxwidgets-gtk3
     vamp-plugin-sdk libvamp-hostsdk.so
     wavpack
+    wxwidgets-common
   )
   optdepends=(
     'audacity-docs: for documentation'
     'ffmpeg: for additional import/export capabilities'
   )
-  provides=(ladspa-host lv2-host vamp-host vst-host vst3-host)
+  provides=(
+    ladspa-host
+    lv2-host
+    vamp-host
+    vst-host
+    vst3-host
+  )
 
 
   DESTDIR="$pkgdir" cmake --install build