Compare commits

...

5 Commits

Author SHA1 Message Date
Yiyang Kang 8356100b95
switch to release version 3.1.3 2022-05-29 17:23:51 +08:00
Ong Yong Xin b0c8a6832b add flac as a dependency, force audacity to use system libs 2021-10-27 16:57:33 +08:00
Ong Yong Xin ef63ef52b4 restore cmake flags, update to latest audacity commit 2021-10-21 19:34:42 +08:00
Ong Yong Xin 22679dc8c2 remove patch 2021-08-31 23:22:40 +08:00
Ong Yong Xin 599315c20a patch portaudio-v19 so clang can compile it 2021-07-02 00:55:00 +08:00
2 changed files with 70 additions and 39 deletions

View File

@ -1,6 +1,6 @@
pkgbase = audacity-git
pkgbase = audacity
pkgdesc = A program that lets you manipulate digital audio waveforms
pkgver = 3.0.2.r299.ge6e81399f
pkgver = 3.1.3
pkgrel = 1
url = https://www.audacityteam.org/
arch = i686
@ -8,40 +8,42 @@ pkgbase = audacity-git
groups = pro-audio
license = GPL2
license = CCPL
makedepends = git
makedepends = cmake
makedepends = clang
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
source = git+https://github.com/audacity/audacity.git
source = git+https://github.com/audacity/audacity.git#tag=ff6d6739fbe73de9c9ad3aa4e07642653604af44
sha256sums = SKIP
pkgname = audacity-git
pkgname = audacity

View File

@ -1,43 +1,72 @@
# 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.0.2.r299.ge6e81399f
pkgname=audacity
pkgver=3.1.3
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 clang 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)
source=("git+https://github.com/audacity/audacity.git")
source=(
"git+https://github.com/audacity/audacity.git#tag=ff6d6739fbe73de9c9ad3aa4e07642653604af44"
)
sha256sums=('SKIP')
pkgver() {
cd audacity
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2-
}
build() {
mkdir audacity/build
cd audacity/build
CC=clang cmake \
cd audacity
mkdir build && cd build
CONAN_REVISIONS_ENABLED=1 CC=gcc cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DwxBUILD_TOOLKIT:STRING=gtk3 \
-Daudacity_use_wxwidgets=local \
audacity_use_ffmpeg:STRING=loaded \
-Daudacity_use_ffmpeg:STRING=loaded \
-Daudacity_lib_preference=system \
..
cmake --build .
make .
}
package() {