mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
58 lines
1.7 KiB
Bash
58 lines
1.7 KiB
Bash
# Maintainer: David Runge <dave@sleepmap.de>
|
|
# Contributor: Eric Bélanger <eric@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - configure with --disable-sse
|
|
# - explicitly link v5/v6 with libatomic
|
|
|
|
pkgname=audacity
|
|
pkgver=2.3.0
|
|
pkgrel=1
|
|
pkgdesc="A program that lets you manipulate digital audio waveforms"
|
|
arch=('x86_64')
|
|
url="https://audacityteam.org"
|
|
license=('GPL2' 'CCPL')
|
|
groups=('pro-audio')
|
|
# upstream enquired via mail about:
|
|
# vendors/requires older version of portaudio
|
|
# vendors/doesn't detect system version of portmidi
|
|
depends=('libid3tag' 'libmad' 'libsoxr' 'lilv' 'portsmf' 'soundtouch' 'suil' 'twolame'
|
|
'vamp-plugin-sdk' 'wxgtk3')
|
|
makedepends=('cmake' 'ffmpeg')
|
|
optdepends=('ffmpeg: additional import/export capabilities')
|
|
source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz")
|
|
sha512sums=('0b0daece8578fe3b14425f0fd29d984aee7d0c9ab65376b2f415abdac67690765e1601c8c7d7e5b732001f887234efd4b931942a278c454695ad17751ef3f8b7')
|
|
|
|
prepare() {
|
|
mv -v "${pkgname}-Audacity-${pkgver}" "${pkgname}-${pkgver}"
|
|
cd "${pkgname}-${pkgver}"
|
|
autoreconf -vfi
|
|
}
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && LIBS="-latomic"
|
|
WX_CONFIG=wx-config-gtk3 LIBS=$LIBS ./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 \
|
|
--disable-sse
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|