add flac as a dependency, force audacity to use system libs

This commit is contained in:
Ong Yong Xin 2021-10-27 16:57:33 +08:00
parent ef63ef52b4
commit b0c8a6832b
2 changed files with 58 additions and 23 deletions

View File

@ -1,6 +1,6 @@
pkgbase = audacity-git
pkgdesc = A program that lets you manipulate digital audio waveforms
pkgver = 3.1.0.beta.1.r20.g2d5320dd3
pkgver = 3.1.0.beta.1.r28.g81bcb372d
pkgrel = 1
url = https://www.audacityteam.org/
arch = i686
@ -8,35 +8,38 @@ pkgbase = audacity-git
groups = pro-audio
license = GPL2
license = CCPL
makedepends = git
makedepends = cmake
makedepends = gcc
makedepends = sdl2
makedepends = libsoup
makedepends = libnotify
makedepends = gstreamer
makedepends = gst-plugins-bad-libs
makedepends = ffmpeg
makedepends = jack
makedepends = nasm
makedepends = conan
makedepends = ffmpeg
makedepends = gcc
makedepends = git
makedepends = gst-plugins-bad-libs
makedepends = gstreamer
makedepends = jack
makedepends = libnotify
makedepends = libsoup
makedepends = nasm
makedepends = sdl2
depends = alsa-lib
depends = libx11
depends = gtk3
depends = expat
depends = flac
depends = gtk3
depends = libid3tag
depends = libmad
depends = libogg
depends = libsndfile
depends = libsoxr
depends = libvorbis
depends = libx11
depends = lilv
depends = lv2
depends = portaudio
depends = portsmf
depends = soundtouch
depends = suil
depends = libmad
depends = twolame
depends = vamp-plugin-sdk
depends = libsoxr
depends = soundtouch
depends = zlib
optdepends = ffmpeg: additional import/export capabilities
provides = audacity
conflicts = audacity

View File

@ -1,21 +1,52 @@
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Maintainer: Ong Yong Xin <ongyongxin2020+github AT gmail DOT com>
# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Bernhard Landauer <oberon@manjaro.org>
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=audacity-git
pkgver=3.1.0.beta.1.r20.g2d5320dd3
pkgver=3.1.0.beta.1.r28.g81bcb372d
pkgrel=1
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)
makedepends=(git cmake gcc sdl2 libsoup libnotify gstreamer gst-plugins-bad-libs
ffmpeg jack nasm conan)
# can't find system lame portmidi
depends=(
alsa-lib
expat
flac
gtk3
libid3tag
libmad
libogg
libsndfile
libsoxr
libvorbis
libx11
lilv
lv2
portaudio
portsmf
soundtouch
suil
twolame
vamp-plugin-sdk
zlib
)
makedepends=(
cmake
conan
ffmpeg
gcc
git
gst-plugins-bad-libs
gstreamer
jack
libnotify
libsoup
nasm
sdl2
)
optdepends=('ffmpeg: additional import/export capabilities')
provides=(audacity)
conflicts=(audacity)
@ -38,6 +69,7 @@ build() {
-DwxBUILD_TOOLKIT:STRING=gtk3 \
-Daudacity_use_wxwidgets=local \
-Daudacity_use_ffmpeg:STRING=loaded \
-Daudacity_lib_preference=system \
..
cmake --build .
}