[arch-commits] Commit in audacity/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Sun May 17 17:40:55 UTC 2020


    Date: Sunday, May 17, 2020 @ 17:40:55
  Author: dvzrv
Revision: 628269

archrelease: copy trunk to community-x86_64

Added:
  audacity/repos/community-x86_64/PKGBUILD
    (from rev 628268, audacity/trunk/PKGBUILD)
Deleted:
  audacity/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  120 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 64 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-17 17:40:50 UTC (rev 628268)
+++ PKGBUILD	2020-05-17 17:40:55 UTC (rev 628269)
@@ -1,56 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Eric Bélanger <eric at archlinux.org>
-
-pkgname=audacity
-pkgver=2.3.3
-pkgrel=2
-epoch=1
-pkgdesc="A program that lets you manipulate digital audio waveforms"
-arch=('x86_64')
-url="https://audacityteam.org"
-license=('GPL2' 'CCPL')
-groups=('pro-audio')
-# upstream enquired via mail about:
-# vendors/requires older version of portaudio
-# vendors/doesn't detect system version of portmidi
-depends=('expat' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'gtk3' 'libFLAC.so'
-'libFLAC++.so' 'libid3tag' 'libjack.so' 'liblilv-0.so' 'libmad' 'libogg'
-'libsndfile' 'libsoxr' 'libsuil-0.so' 'libtwolame.so' 'libvamp-hostsdk.so'
-'libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so' 'portsmf' 'soundtouch'
-'wxgtk3')
-makedepends=('cmake' 'ffmpeg' 'lv2')
-optdepends=('ffmpeg: additional import/export capabilities')
-source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz")
-sha512sums=('0789d5bc27933c688b8c99e0d9d9ca65f3b0c59cf74a235feee094a1815bdb59a32a4f50d2938b8fb9d72b0c5ba88451d02f90c5163931774a2088463562c5ef')
-
-prepare() {
-  mv -v "${pkgname}-Audacity-${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  autoreconf -vfi
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  WX_CONFIG=wx-config-gtk3 ./configure --prefix="/usr" \
-    --with-libsndfile="system" \
-    --with-ffmpeg="system" \
-    --with-expat="system" \
-    --with-lame="system" \
-    --with-libsoxr="system" \
-    --with-portaudio \
-    --with-portmidi \
-    --with-libflac \
-    --with-libid3tag \
-    --with-libsamplerate \
-    --with-sbsms \
-    --with-soundtouch \
-    --with-libtwolame \
-    --with-libvorbis \
-    --with-lv2
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}

Copied: audacity/repos/community-x86_64/PKGBUILD (from rev 628268, audacity/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-17 17:40:55 UTC (rev 628269)
@@ -0,0 +1,64 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=audacity
+pkgver=2.4.0
+pkgrel=1
+epoch=1
+pkgdesc="A program that lets you manipulate digital audio waveforms"
+arch=('x86_64')
+url="https://audacityteam.org"
+license=('GPL2' 'CCPL')
+groups=('pro-audio')
+# upstream hard codes/vendors portaudio/portmidi
+# https://github.com/audacity/audacity/issues/522
+depends=('expat' 'gcc-libs' 'gdk-pixbuf2' 'glibc' 'libmad'
+'libsoxr' 'soundtouch' 'wxgtk3')
+makedepends=('alsa-lib' 'cmake' 'ffmpeg' 'flac' 'glib2' 'gtk3' 'jack' 'lame'
+'libid3tag' 'libogg' 'libsndfile' 'libvorbis' 'lilv' 'lv2' 'portsmf' 'suil'
+'twolame' 'vamp-plugin-sdk')
+optdepends=('ffmpeg: additional import/export capabilities')
+source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz")
+sha512sums=('a9f926e3a539c3a052249a7a1e968b629a8a807fa2c74d940bd18df5744c36cb4f18b4b78c56fe7fbabce12ffa732cb413418a512cf91bb5c3c111766c5ba0e3')
+
+prepare() {
+  mv -v "${pkgname}-Audacity-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  # the cmake setup is still more complicated and error-prone than the
+  # autotools setup:
+  # https://github.com/audacity/audacity/issues/519
+  # https://github.com/audacity/audacity/issues/520
+  # https://github.com/audacity/audacity/issues/521
+  WX_CONFIG=wx-config-gtk3 ./configure --prefix="/usr" \
+    --with-libsndfile="system" \
+    --with-ffmpeg="system" \
+    --with-expat="system" \
+    --with-lame="system" \
+    --with-libsoxr="system" \
+    --with-portaudio \
+    --with-portmidi \
+    --with-libflac \
+    --with-libid3tag \
+    --with-libsamplerate \
+    --with-sbsms \
+    --with-soundtouch \
+    --with-libtwolame \
+    --with-libvorbis \
+    --with-lv2
+  make
+}
+
+package() {
+  depends+=('libFLAC.so' 'libFLAC++.so' 'libasound.so' 'libgdk-3.so'
+  'libglib-2.0.so' 'libgobject-2.0.so' 'libgtk-3.so' 'libid3tag.so'
+  'libjack.so' 'liblilv-0.so' 'libogg.so' 'libsndfile.so' 'libsuil-0.so'
+  'libtwolame.so' 'libvamp-hostsdk.so' 'libvorbis.so' 'libvorbisenc.so'
+  'libvorbisfile.so' 'libportSMF.so')
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list