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 pkgbase = audacity-git
pkgdesc = A program that lets you manipulate digital audio waveforms 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 pkgrel = 1
url = https://www.audacityteam.org/ url = https://www.audacityteam.org/
arch = i686 arch = i686
@ -8,35 +8,38 @@ pkgbase = audacity-git
groups = pro-audio groups = pro-audio
license = GPL2 license = GPL2
license = CCPL license = CCPL
makedepends = git
makedepends = cmake 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 = 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 = alsa-lib
depends = libx11
depends = gtk3
depends = expat depends = expat
depends = flac
depends = gtk3
depends = libid3tag depends = libid3tag
depends = libmad
depends = libogg depends = libogg
depends = libsndfile depends = libsndfile
depends = libsoxr
depends = libvorbis depends = libvorbis
depends = libx11
depends = lilv depends = lilv
depends = lv2 depends = lv2
depends = portaudio
depends = portsmf depends = portsmf
depends = soundtouch
depends = suil depends = suil
depends = libmad
depends = twolame depends = twolame
depends = vamp-plugin-sdk depends = vamp-plugin-sdk
depends = libsoxr depends = zlib
depends = soundtouch
optdepends = ffmpeg: additional import/export capabilities optdepends = ffmpeg: additional import/export capabilities
provides = audacity provides = audacity
conflicts = 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> # 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: Bernhard Landauer <oberon@manjaro.org>
# Contributor: Eric Bélanger <eric@archlinux.org> # Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=audacity-git pkgname=audacity-git
pkgver=3.1.0.beta.1.r20.g2d5320dd3 pkgver=3.1.0.beta.1.r28.g81bcb372d
pkgrel=1 pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms" pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=(i686 x86_64) arch=(i686 x86_64)
url="https://www.audacityteam.org/" url="https://www.audacityteam.org/"
license=(GPL2 CCPL) license=(GPL2 CCPL)
groups=(pro-audio) groups=(pro-audio)
depends=(alsa-lib libx11 gtk3 expat libid3tag libogg libsndfile depends=(
libvorbis lilv lv2 portsmf suil libmad twolame vamp-plugin-sdk libsoxr soundtouch) alsa-lib
makedepends=(git cmake gcc sdl2 libsoup libnotify gstreamer gst-plugins-bad-libs expat
ffmpeg jack nasm conan) flac
# can't find system lame portmidi 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') optdepends=('ffmpeg: additional import/export capabilities')
provides=(audacity) provides=(audacity)
conflicts=(audacity) conflicts=(audacity)
@ -38,6 +69,7 @@ build() {
-DwxBUILD_TOOLKIT:STRING=gtk3 \ -DwxBUILD_TOOLKIT:STRING=gtk3 \
-Daudacity_use_wxwidgets=local \ -Daudacity_use_wxwidgets=local \
-Daudacity_use_ffmpeg:STRING=loaded \ -Daudacity_use_ffmpeg:STRING=loaded \
-Daudacity_lib_preference=system \
.. ..
cmake --build . cmake --build .
} }