diff --git a/.SRCINFO b/.SRCINFO index 0350a6c..a9e0cd4 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index d5a8145..a85fd1c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,43 +1,72 @@ -# Maintainer: Fabio 'Lolix' Loli -> https://github.com/FabioLolix +# Maintainer: Ong Yong Xin +# Contributor: Fabio 'Lolix' Loli -> https://github.com/FabioLolix # Contributor: Bernhard Landauer # Contributor: Eric Bélanger -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() {