2020-04-23 00:47:22 +10:00
|
|
|
# Description: Audio recording and editing program
|
|
|
|
# URL: https://www.audacityteam.org/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2020-05-10 19:15:49 +10:00
|
|
|
# Depends on: jack-audio-connection-kit lame libid3tag libmad libsoxr lilv soundtouch suil twolame vamp-plugin-sdk wxgtk3
|
2020-04-23 00:47:22 +10:00
|
|
|
# Optional: portsmf
|
|
|
|
|
|
|
|
name=audacity
|
2020-05-24 12:19:47 +10:00
|
|
|
version=2.4.1
|
|
|
|
release=1
|
2020-04-23 00:47:22 +10:00
|
|
|
source=(https://github.com/$name/$name/archive/Audacity-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-Audacity-$version
|
|
|
|
|
|
|
|
CONFIG_SHELL=/bin/bash \
|
2020-05-10 19:15:49 +10:00
|
|
|
WX_CONFIG=wx-config-gtk3 \
|
2020-04-23 00:47:22 +10:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--with-libsndfile="system" \
|
|
|
|
--with-ffmpeg="system" \
|
|
|
|
--with-expat="system" \
|
|
|
|
--with-lame="system" \
|
|
|
|
--with-libsoxr="system" \
|
|
|
|
--with-libflac \
|
|
|
|
--with-libsamplerate \
|
|
|
|
--with-lv2 \
|
|
|
|
--disable-dynamic-loading
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2020-05-24 12:19:47 +10:00
|
|
|
install -vDm 644 plug-ins/*.ny -t $PKG/usr/share/$name/plug-ins
|
|
|
|
install -vDm 644 nyquist/*.lsp -t $PKG/usr/share/$name/nyquist
|
|
|
|
|
2020-04-23 00:47:22 +10:00
|
|
|
rm -r $PKG/usr/share/{doc,locale}
|
|
|
|
}
|