praat: update to 6.1.10

This commit is contained in:
newbluemoon 2020-03-24 17:27:35 +01:00 committed by Johannes
parent 94c86c7a61
commit 482614b34f
1 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'praat'
pkgname=praat
version=6.1.09
version=6.1.10
revision=1
create_wrksrc=yes
hostmakedepends="pkg-config"
@ -12,7 +12,7 @@ license="GPL-2.0-or-later"
homepage="http://www.praat.org/"
changelog="http://www.fon.hum.uva.nl/praat/manual/What_s_new_.html"
distfiles="https://github.com/praat/praat/archive/v${version}.tar.gz"
checksum=91a83c866749b3e20b3dd31985226368e9bebcafdf330bcd7f88944503fb7d68
checksum=7b0079d6a17fadc6495aee8827e4641392f6067c299b53b3a16b4cf383ec5b71
# there are a number of pre-defined Makefiles for certain configurations
# build options are used to choose which one to use among a selected few
@ -20,6 +20,7 @@ checksum=91a83c866749b3e20b3dd31985226368e9bebcafdf330bcd7f88944503fb7d68
# 'pulseaudio' also includes ALSA
# 'jack' is jack only
# the options are mutually exclusive
# for the Raspberry Pi only jack audio seems to be supported
build_options="alsa jack pulseaudio"
build_options_default="pulseaudio"
vopt_conflict jack alsa
@ -42,6 +43,12 @@ do_build() {
-e 's/CXXFLAGS =/CXXFLAGS +=/' \
makefile.defs
if [ $XBPS_TARGET_ENDIAN == "le" ]; then
CFLAGS+=" -DPA_LITTLE_ENDIAN"
else
CFLAGS+=" -DPA_BIG_ENDIAN"
fi
make ${makejobs} CC="$CC" CXX="$CXX" LD="$LD" AR="$AR"
mv praat* ..