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
|
2020-06-28 03:42:11 +09:00
|
|
|
pkgname=$_pkgname-git
|
|
|
|
pkgver=2.4.2.r0.g16d52f63a
|
2020-06-28 09:26:57 +09:00
|
|
|
pkgrel=2
|
2015-11-03 01:12:10 +09:00
|
|
|
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-06-28 03:42:11 +09:00
|
|
|
depends=('expat'
|
|
|
|
'gcc-libs'
|
|
|
|
'gdk-pixbuf2'
|
|
|
|
'glibc'
|
|
|
|
'libmad'
|
|
|
|
'libFLAC++.so'
|
|
|
|
'libFLAC.so'
|
|
|
|
'libasound.so'
|
|
|
|
'libgdk-3.so'
|
|
|
|
'libsoxr'
|
|
|
|
'soundtouch'
|
|
|
|
'wxgtk3'
|
|
|
|
'libglib-2.0.so'
|
|
|
|
'libgobject-2.0.so'
|
|
|
|
'libgtk-3.so'
|
|
|
|
'libid3tag.so'
|
|
|
|
'libjack.so'
|
|
|
|
'liblilv-0.so'
|
|
|
|
'libogg.so'
|
|
|
|
'libportSMF.so'
|
|
|
|
'libsndfile.so'
|
|
|
|
'libsuil-0.so'
|
|
|
|
'libtwolame.so'
|
|
|
|
'libvamp-hostsdk.so'
|
|
|
|
'libvorbis.so'
|
|
|
|
'libvorbisenc.so'
|
2020-06-28 09:26:57 +09:00
|
|
|
'libvorbisfile.so'
|
|
|
|
'wxgtk2')
|
2020-06-28 03:42:11 +09:00
|
|
|
makedepends=('alsa-lib'
|
2020-06-28 09:26:57 +09:00
|
|
|
'clang'
|
2020-06-28 03:42:11 +09:00
|
|
|
'cmake'
|
|
|
|
'ffmpeg'
|
|
|
|
'flac'
|
|
|
|
'git'
|
|
|
|
'glib2'
|
|
|
|
'gtk3'
|
|
|
|
'jack'
|
|
|
|
'lame'
|
|
|
|
'libid3tag'
|
|
|
|
'libogg'
|
|
|
|
'libsndfile'
|
|
|
|
'libvorbis'
|
|
|
|
'lilv'
|
|
|
|
'lv2'
|
|
|
|
'portsmf'
|
|
|
|
'suil'
|
|
|
|
'twolame'
|
|
|
|
'vamp-plugin-sdk')
|
2020-05-22 04:23:57 +09:00
|
|
|
optdepends=('ffmpeg: additional import/export capabilities'
|
|
|
|
'audacity-extras: nyquist plugins for audacity')
|
2020-06-28 03:42:11 +09:00
|
|
|
provides=("$_pkgname")
|
|
|
|
conflicts=("$_pkgname")
|
|
|
|
source=("$_pkgname::git+https://github.com/$_pkgname/$_pkgname.git")
|
2017-03-15 11:56:38 +09:00
|
|
|
sha1sums=('SKIP')
|
2015-11-03 01:12:10 +09:00
|
|
|
|
|
|
|
pkgver() {
|
2020-05-22 04:23:57 +09:00
|
|
|
cd $_pkgname
|
2020-06-28 03:42:11 +09:00
|
|
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2-
|
2020-05-22 04:23:57 +09:00
|
|
|
}
|
|
|
|
|
2015-11-03 01:12:10 +09:00
|
|
|
build() {
|
2020-06-28 03:42:11 +09:00
|
|
|
mkdir $_pkgname/build
|
|
|
|
cd $_pkgname/build
|
|
|
|
CC=clang cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
audacity_use_sndfile:STRING=system \
|
|
|
|
audacity_use_ffmpeg:STRING=loaded \
|
|
|
|
audacity_use_expat:STRING=system \
|
|
|
|
audacity_use_lame:STRING=local \
|
|
|
|
audacity_use_portaudio:STRING=local \
|
|
|
|
audacity_use_midi:STRING=local \
|
|
|
|
audacity_use_flac:STRING=system \
|
|
|
|
audacity_use_id3tag:STRING=system \
|
|
|
|
audacity_use_sbsms:STRING=local \
|
|
|
|
audacity_use_soundtouch:STRING=system \
|
|
|
|
audacity_use_twolame:STRING=system \
|
|
|
|
audacity_use_vorbis:STRING=system \
|
|
|
|
audacity_use_lv2:STRING=local \
|
|
|
|
..
|
2020-06-28 09:26:57 +09:00
|
|
|
cmake --build .
|
2020-06-28 03:42:11 +09:00
|
|
|
make .
|
2015-11-03 01:12:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-06-28 03:42:11 +09:00
|
|
|
cd $_pkgname/build
|
2015-11-03 01:12:10 +09:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2020-06-28 03:42:11 +09:00
|
|
|
cd ..
|
2020-05-22 16:13:10 +09:00
|
|
|
install -vDm 644 plug-ins/*.ny -t "${pkgdir}/usr/share/${pkgname}/plug-ins"
|
2015-11-03 01:12:10 +09:00
|
|
|
}
|