diff --git a/srcpkgs/praat/template b/srcpkgs/praat/template index c84d289708b3df..c4e1cbdc96af6e 100644 --- a/srcpkgs/praat/template +++ b/srcpkgs/praat/template @@ -1,11 +1,11 @@ # Template file for 'praat' pkgname=praat -version=6.4.39 +version=6.4.52 revision=1 create_wrksrc=yes hostmakedepends="pkg-config" makedepends="gtk+3-devel $(vopt_if alsa alsa-lib-devel) $(vopt_if jack jack-devel) - $(vopt_if pulseaudio 'alsa-lib-devel pulseaudio-devel')" + $(vopt_if pulseaudio 'alsa-lib-devel jack-devel pulseaudio-devel')" checkdepends="cantarell-fonts" short_desc="Speech analysis, synthesis, and manipulation" maintainer="newbluemoon " @@ -13,7 +13,7 @@ license="GPL-2.0-or-later" homepage="https://www.fon.hum.uva.nl/praat/" changelog="https://www.fon.hum.uva.nl/praat/manual/What_s_new_.html" distfiles="https://github.com/praat/praat/archive/v${version}.tar.gz" -checksum=a432faee3f00710fb969dcc3ef09aec518332a7cf9c6512a320d657a0155fb24 +checksum=93df7c5a3d9685086e548a38267538b7175748e64c29421ed5f211658efa6822 # 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 @@ -30,6 +30,14 @@ vopt_conflict alsa pulseaudio do_build() { for _variant in $(vopt_if alsa alsa) $(vopt_if jack jack) $(vopt_if pulseaudio pulse-gcc) nogui; do + # Makefiles have suffix .LE for little endian targets + # and .BE for big endian respectively + if [ $XBPS_TARGET_ENDIAN = "le" ]; then + _variant+=.LE + else + _variant+=.BE + fi + cp -a "praat.github.io-${version}" $_variant cd $_variant @@ -42,12 +50,6 @@ do_build() { -e 's/-no-pie//' \ makefile.defs - if [ $XBPS_TARGET_ENDIAN = "le" ]; then - CFLAGS+=" -DPA_LITTLE_ENDIAN" - else - CFLAGS+=" -DPA_BIG_ENDIAN" - fi - # see https://github.com/praat/praat/issues/2433 case "$XBPS_TARGET_MACHINE" in i686*)