2021-05-23 03:08:24 +09:00
|
|
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
|
2021-07-02 01:55:00 +09:00
|
|
|
# Maintainer: Ong Yong Xin <ongyongxin2020+github AT gmail DOT com>
|
2021-05-23 03:08:24 +09:00
|
|
|
# Contributor: Bernhard Landauer <oberon@manjaro.org>
|
2015-11-03 01:12:10 +09:00
|
|
|
# Contributor: Eric Bélanger <eric@archlinux.org>
|
|
|
|
|
2021-05-23 03:08:24 +09:00
|
|
|
pkgname=audacity-git
|
2021-07-02 01:55:00 +09:00
|
|
|
pkgver=3.0.2.r317.g3ebd8d401
|
2021-05-23 03:08:24 +09:00
|
|
|
pkgrel=1
|
2015-11-03 01:12:10 +09:00
|
|
|
pkgdesc="A program that lets you manipulate digital audio waveforms"
|
2021-05-23 03:08:24 +09:00
|
|
|
arch=(i686 x86_64)
|
|
|
|
url="https://www.audacityteam.org/"
|
|
|
|
license=(GPL2 CCPL)
|
|
|
|
groups=(pro-audio)
|
|
|
|
depends=(alsa-lib libx11 gtk3 expat libid3tag libogg libsndfile
|
|
|
|
libvorbis lilv lv2 portsmf suil libmad twolame vamp-plugin-sdk libsoxr soundtouch)
|
|
|
|
makedepends=(git cmake clang sdl2 libsoup libnotify gstreamer gst-plugins-bad-libs
|
2021-06-19 03:51:08 +09:00
|
|
|
ffmpeg jack nasm conan)
|
2021-05-23 03:08:24 +09:00
|
|
|
# can't find system lame portmidi
|
|
|
|
optdepends=('ffmpeg: additional import/export capabilities')
|
|
|
|
provides=(audacity)
|
|
|
|
conflicts=(audacity)
|
2021-07-02 01:55:00 +09:00
|
|
|
source=(
|
|
|
|
"git+https://github.com/audacity/audacity.git"
|
|
|
|
"audacity.patch"
|
|
|
|
)
|
|
|
|
sha256sums=('SKIP' 'c06c60a9ae17b9265840fcd619d2c7a5668f26a94cec80c8785c7997afd4bc96')
|
2015-11-03 01:12:10 +09:00
|
|
|
|
|
|
|
pkgver() {
|
2021-05-23 03:08:24 +09:00
|
|
|
cd audacity
|
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
|
|
|
}
|
|
|
|
|
2021-07-02 01:55:00 +09:00
|
|
|
prepare() {
|
|
|
|
cd audacity
|
|
|
|
patch --forward --strip=1 --input="${srcdir}/audacity.patch"
|
|
|
|
}
|
|
|
|
|
2015-11-03 01:12:10 +09:00
|
|
|
build() {
|
2021-05-23 03:08:24 +09:00
|
|
|
mkdir audacity/build
|
|
|
|
cd audacity/build
|
2020-06-28 03:42:11 +09:00
|
|
|
CC=clang cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2021-05-23 03:08:24 +09:00
|
|
|
-DwxBUILD_TOOLKIT:STRING=gtk3 \
|
|
|
|
-Daudacity_use_wxwidgets=local \
|
2020-06-28 03:42:11 +09:00
|
|
|
audacity_use_ffmpeg:STRING=loaded \
|
|
|
|
..
|
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() {
|
2021-05-23 03:08:24 +09:00
|
|
|
cd audacity/build
|
2015-11-03 01:12:10 +09:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|