From ef63ef52b4fae5884fbbb2ac65a6a16687c0970c Mon Sep 17 00:00:00 2001 From: Ong Yong Xin Date: Thu, 21 Oct 2021 19:34:42 +0800 Subject: [PATCH] restore cmake flags, update to latest audacity commit --- .SRCINFO | 2 +- PKGBUILD | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 3ac4018..4f8000a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = audacity-git pkgdesc = A program that lets you manipulate digital audio waveforms - pkgver = 3.0.4.r239.g6d3dd0c62 + pkgver = 3.1.0.beta.1.r20.g2d5320dd3 pkgrel = 1 url = https://www.audacityteam.org/ arch = i686 diff --git a/PKGBUILD b/PKGBUILD index 574e0cd..87c4739 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: Eric BĂ©langer pkgname=audacity-git -pkgver=3.0.4.r239.g6d3dd0c62 +pkgver=3.1.0.beta.1.r20.g2d5320dd3 pkgrel=1 pkgdesc="A program that lets you manipulate digital audio waveforms" arch=(i686 x86_64) @@ -30,14 +30,16 @@ pkgver() { } build() { - mkdir audacity/build - cd audacity/build + cd audacity + mkdir build && cd build CC=gcc cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - audacity_use_ffmpeg:STRING=loaded \ + -DwxBUILD_TOOLKIT:STRING=gtk3 \ + -Daudacity_use_wxwidgets=local \ + -Daudacity_use_ffmpeg:STRING=loaded \ .. - make . + cmake --build . } package() {