restore cmake flags, update to latest audacity commit

This commit is contained in:
Ong Yong Xin 2021-10-21 19:34:42 +08:00
parent 22679dc8c2
commit ef63ef52b4
2 changed files with 8 additions and 6 deletions

View File

@ -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

View File

@ -4,7 +4,7 @@
# Contributor: Eric Bélanger <eric@archlinux.org>
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() {