From 482614b34f9627d294e79b8dc45ac26e336c6376 Mon Sep 17 00:00:00 2001 From: newbluemoon Date: Tue, 24 Mar 2020 17:27:35 +0100 Subject: [PATCH] praat: update to 6.1.10 --- srcpkgs/praat/template | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/srcpkgs/praat/template b/srcpkgs/praat/template index ed18ce0db90..dc529da735f 100644 --- a/srcpkgs/praat/template +++ b/srcpkgs/praat/template @@ -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* ..