This commit is contained in:
Bernhard Landauer 2020-05-21 21:23:57 +02:00
parent d83e7f419d
commit accac7ed2a
2 changed files with 89 additions and 19 deletions

View File

@ -1,24 +1,39 @@
pkgbase = audacity-git pkgbase = audacity-git
pkgdesc = A program that lets you manipulate digital audio waveforms pkgdesc = A program that lets you manipulate digital audio waveforms
pkgver = 2.3.3.r1073.g9827d4a75 pkgver = 2.4.1.r0.g1322b40a9
pkgrel = 1 pkgrel = 1
url = http://www.audacityteam.org/ url = http://www.audacityteam.org/
arch = i686 arch = i686
arch = x86_64 arch = x86_64
license = GPL license = GPL
makedepends = alsa-lib
makedepends = cmake makedepends = cmake
makedepends = ffmpeg
makedepends = flac
makedepends = git 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 = libmad
depends = libid3tag depends = libsoxr
depends = wxgtk3
depends = lame
depends = soundtouch depends = soundtouch
depends = ffmpeg depends = wxgtk3
depends = vamp-plugin-sdk optdepends = ffmpeg: additional import/export capabilities
depends = portsmf
depends = twolame
depends = suil
depends = lilv
optdepends = audacity-extras: nyquist plugins for audacity optdepends = audacity-extras: nyquist plugins for audacity
provides = audacity provides = audacity
conflicts = audacity conflicts = audacity
@ -26,4 +41,31 @@ pkgbase = audacity-git
sha1sums = SKIP sha1sums = SKIP
pkgname = audacity-git 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

View File

@ -3,17 +3,19 @@
pkgname=audacity-git pkgname=audacity-git
_pkgname=audacity _pkgname=audacity
pkgver=2.3.3.r1073.g9827d4a75 pkgver=2.4.1.r0.g1322b40a9
pkgrel=1 pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms" pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.audacityteam.org/" url="http://www.audacityteam.org/"
license=('GPL') license=('GPL')
depends=('libmad' 'libid3tag' 'wxgtk3' 'lame' 'soundtouch' depends=('expat' 'gcc-libs' 'gdk-pixbuf2' 'glibc' 'libmad'
'ffmpeg' 'vamp-plugin-sdk' 'portsmf' 'twolame' 'suil' 'lilv') 'libsoxr' 'soundtouch' 'wxgtk3')
makedepends=('cmake' 'git') makedepends=('alsa-lib' 'cmake' 'ffmpeg' 'flac' 'git' 'glib2' 'gtk3' 'jack' 'lame'
optdepends=('audacity-extras: nyquist plugins for audacity') 'libid3tag' 'libogg' 'libsndfile' 'libvorbis' 'lilv' 'lv2' 'portsmf' 'suil'
#options=('!makeflags') 'twolame' 'vamp-plugin-sdk')
optdepends=('ffmpeg: additional import/export capabilities'
'audacity-extras: nyquist plugins for audacity')
provides=('audacity') provides=('audacity')
conflicts=('audacity') conflicts=('audacity')
source=("$_pkgname::git+https://github.com/audacity/audacity.git") 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- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2-
} }
prepare() {
cd $_pkgname
autoreconf -vfi
}
build() { build() {
cd "$srcdir/$_pkgname" cd $_pkgname
WX_CONFIG=wx-config-gtk3 ./configure --prefix=/usr --with-libsamplerate 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 make
} }
package() { 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 make DESTDIR="${pkgdir}" install
} }