diff --git a/.SRCINFO b/.SRCINFO index a9e0cd4..0350a6c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ -pkgbase = audacity +pkgbase = audacity-git pkgdesc = A program that lets you manipulate digital audio waveforms - pkgver = 3.1.3 + pkgver = 3.0.2.r299.ge6e81399f pkgrel = 1 url = https://www.audacityteam.org/ arch = i686 @@ -8,42 +8,40 @@ pkgbase = audacity groups = pro-audio license = GPL2 license = CCPL - makedepends = cmake - makedepends = conan - makedepends = ffmpeg - makedepends = gcc makedepends = git - makedepends = gst-plugins-bad-libs - makedepends = gstreamer - makedepends = jack - makedepends = libnotify - makedepends = libsoup - makedepends = nasm + 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 depends = alsa-lib - depends = expat - depends = flac + depends = libx11 depends = gtk3 + depends = expat 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 = zlib + depends = libsoxr + depends = soundtouch optdepends = ffmpeg: additional import/export capabilities provides = audacity conflicts = audacity - source = git+https://github.com/audacity/audacity.git#tag=ff6d6739fbe73de9c9ad3aa4e07642653604af44 + source = git+https://github.com/audacity/audacity.git sha256sums = SKIP -pkgname = audacity +pkgname = audacity-git + diff --git a/PKGBUILD b/PKGBUILD index a85fd1c..d5a8145 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,72 +1,43 @@ -# Maintainer: Ong Yong Xin -# Contributor: Fabio 'Lolix' Loli -> https://github.com/FabioLolix +# Maintainer: Fabio 'Lolix' Loli -> https://github.com/FabioLolix # Contributor: Bernhard Landauer # Contributor: Eric Bélanger -pkgname=audacity -pkgver=3.1.3 +pkgname=audacity-git +pkgver=3.0.2.r299.ge6e81399f 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 - 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 -) +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 optdepends=('ffmpeg: additional import/export capabilities') provides=(audacity) conflicts=(audacity) -source=( - "git+https://github.com/audacity/audacity.git#tag=ff6d6739fbe73de9c9ad3aa4e07642653604af44" -) +source=("git+https://github.com/audacity/audacity.git") sha256sums=('SKIP') -build() { +pkgver() { cd audacity - mkdir build && cd build - CONAN_REVISIONS_ENABLED=1 CC=gcc cmake \ + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2- +} + +build() { + mkdir audacity/build + cd audacity/build + CC=clang cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DwxBUILD_TOOLKIT:STRING=gtk3 \ -Daudacity_use_wxwidgets=local \ - -Daudacity_use_ffmpeg:STRING=loaded \ - -Daudacity_lib_preference=system \ + audacity_use_ffmpeg:STRING=loaded \ .. cmake --build . + make . } package() {