audacity/PKGBUILD

49 lines
1.4 KiB
Bash
Raw Normal View History

# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Maintainer: Ong Yong Xin <ongyongxin2020+github AT gmail DOT com>
# Contributor: Bernhard Landauer <oberon@manjaro.org>
2015-11-03 01:12:10 +09:00
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=audacity-git
pkgver=3.1.0.beta.1.r20.g2d5320dd3
pkgrel=1
2015-11-03 01:12:10 +09:00
pkgdesc="A program that lets you manipulate digital audio waveforms"
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)
2021-09-01 00:11:17 +09:00
makedepends=(git cmake gcc sdl2 libsoup libnotify gstreamer gst-plugins-bad-libs
2021-06-19 03:51:08 +09:00
ffmpeg jack nasm conan)
# can't find system lame portmidi
optdepends=('ffmpeg: additional import/export capabilities')
provides=(audacity)
conflicts=(audacity)
source=(
"git+https://github.com/audacity/audacity.git"
)
2021-09-01 00:11:17 +09:00
sha256sums=('SKIP')
2015-11-03 01:12:10 +09:00
pkgver() {
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
}
2015-11-03 01:12:10 +09:00
build() {
cd audacity
mkdir build && cd build
2021-09-01 00:11:17 +09:00
CC=gcc cmake \
2020-06-28 03:42:11 +09:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DwxBUILD_TOOLKIT:STRING=gtk3 \
-Daudacity_use_wxwidgets=local \
-Daudacity_use_ffmpeg:STRING=loaded \
2020-06-28 03:42:11 +09:00
..
cmake --build .
2015-11-03 01:12:10 +09:00
}
package() {
cd audacity/build
2015-11-03 01:12:10 +09:00
make DESTDIR="${pkgdir}" install
}