From accac7ed2a12e2c555a543d903825b91bf04a5a0 Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Thu, 21 May 2020 21:23:57 +0200 Subject: [PATCH] 2.4.1 --- .SRCINFO | 62 +++++++++++++++++++++++++++++++++++++++++++++++--------- PKGBUILD | 46 +++++++++++++++++++++++++++++++++-------- 2 files changed, 89 insertions(+), 19 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a1ad7a6..05c3dc2 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,24 +1,39 @@ pkgbase = audacity-git pkgdesc = A program that lets you manipulate digital audio waveforms - pkgver = 2.3.3.r1073.g9827d4a75 + pkgver = 2.4.1.r0.g1322b40a9 pkgrel = 1 url = http://www.audacityteam.org/ arch = i686 arch = x86_64 license = GPL + makedepends = alsa-lib makedepends = cmake + makedepends = ffmpeg + makedepends = flac makedepends = git + makedepends = glib2 + makedepends = gtk3 + makedepends = jack + makedepends = lame + makedepends = libid3tag + makedepends = libogg + makedepends = libsndfile + makedepends = libvorbis + makedepends = lilv + makedepends = lv2 + makedepends = portsmf + makedepends = suil + makedepends = twolame + makedepends = vamp-plugin-sdk + depends = expat + depends = gcc-libs + depends = gdk-pixbuf2 + depends = glibc depends = libmad - depends = libid3tag - depends = wxgtk3 - depends = lame + depends = libsoxr depends = soundtouch - depends = ffmpeg - depends = vamp-plugin-sdk - depends = portsmf - depends = twolame - depends = suil - depends = lilv + depends = wxgtk3 + optdepends = ffmpeg: additional import/export capabilities optdepends = audacity-extras: nyquist plugins for audacity provides = audacity conflicts = audacity @@ -26,4 +41,31 @@ pkgbase = audacity-git sha1sums = SKIP pkgname = audacity-git + depends = expat + depends = gcc-libs + depends = gdk-pixbuf2 + depends = glibc + depends = libmad + depends = libsoxr + depends = soundtouch + depends = wxgtk3 + depends = libFLAC.so + depends = libFLAC++.so + depends = libasound.so + depends = libgdk-3.so + depends = libglib-2.0.so + depends = libgobject-2.0.so + depends = libgtk-3.so + depends = libid3tag.so + depends = libjack.so + depends = liblilv-0.so + depends = libogg.so + depends = libsndfile.so + depends = libsuil-0.so + depends = libtwolame.so + depends = libvamp-hostsdk.so + depends = libvorbis.so + depends = libvorbisenc.so + depends = libvorbisfile.so + depends = libportSMF.so diff --git a/PKGBUILD b/PKGBUILD index cdf3323..8132542 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,17 +3,19 @@ pkgname=audacity-git _pkgname=audacity -pkgver=2.3.3.r1073.g9827d4a75 +pkgver=2.4.1.r0.g1322b40a9 pkgrel=1 pkgdesc="A program that lets you manipulate digital audio waveforms" arch=('i686' 'x86_64') url="http://www.audacityteam.org/" license=('GPL') -depends=('libmad' 'libid3tag' 'wxgtk3' 'lame' 'soundtouch' - 'ffmpeg' 'vamp-plugin-sdk' 'portsmf' 'twolame' 'suil' 'lilv') -makedepends=('cmake' 'git') -optdepends=('audacity-extras: nyquist plugins for audacity') -#options=('!makeflags') +depends=('expat' 'gcc-libs' 'gdk-pixbuf2' 'glibc' 'libmad' + 'libsoxr' 'soundtouch' 'wxgtk3') +makedepends=('alsa-lib' 'cmake' 'ffmpeg' 'flac' 'git' 'glib2' 'gtk3' 'jack' 'lame' + 'libid3tag' 'libogg' 'libsndfile' 'libvorbis' 'lilv' 'lv2' 'portsmf' 'suil' + 'twolame' 'vamp-plugin-sdk') +optdepends=('ffmpeg: additional import/export capabilities' + 'audacity-extras: nyquist plugins for audacity') provides=('audacity') conflicts=('audacity') source=("$_pkgname::git+https://github.com/audacity/audacity.git") @@ -24,13 +26,39 @@ pkgver() { git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2- } +prepare() { + cd $_pkgname + autoreconf -vfi +} + build() { - cd "$srcdir/$_pkgname" - WX_CONFIG=wx-config-gtk3 ./configure --prefix=/usr --with-libsamplerate + cd $_pkgname + 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 "$srcdir/$_pkgname" + 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 make DESTDIR="${pkgdir}" install }