audacity/PKGBUILD

65 lines
1.9 KiB
Bash
Raw Normal View History

2017-01-13 11:10:00 +09:00
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
2015-11-03 01:12:10 +09:00
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=audacity-git
_pkgname=audacity
2020-05-22 04:23:57 +09:00
pkgver=2.4.1.r0.g1322b40a9
2015-11-03 01:12:10 +09:00
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('i686' 'x86_64')
2017-01-13 11:15:02 +09:00
url="http://www.audacityteam.org/"
2015-11-03 01:12:10 +09:00
license=('GPL')
2020-05-22 04:23:57 +09:00
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')
2015-11-03 01:12:10 +09:00
provides=('audacity')
conflicts=('audacity')
2017-03-15 11:56:38 +09:00
source=("$_pkgname::git+https://github.com/audacity/audacity.git")
sha1sums=('SKIP')
2015-11-03 01:12:10 +09:00
pkgver() {
cd "$srcdir/$_pkgname"
2017-01-13 11:10:00 +09:00
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2-
2015-11-03 01:12:10 +09:00
}
2020-05-22 04:23:57 +09:00
prepare() {
cd $_pkgname
autoreconf -vfi
}
2015-11-03 01:12:10 +09:00
build() {
2020-05-22 04:23:57 +09:00
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
2015-11-03 01:12:10 +09:00
make
}
package() {
2020-05-22 04:23:57 +09:00
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
2015-11-03 01:12:10 +09:00
make DESTDIR="${pkgdir}" install
}