Skip to content

Commit 026161d

Browse files
committed
praat: update to 6.4.52
1 parent d0b3362 commit 026161d

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

srcpkgs/praat/template

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Template file for 'praat'
22
pkgname=praat
3-
version=6.4.39
3+
version=6.4.52
44
revision=1
55
create_wrksrc=yes
66
hostmakedepends="pkg-config"
77
makedepends="gtk+3-devel $(vopt_if alsa alsa-lib-devel) $(vopt_if jack jack-devel)
8-
$(vopt_if pulseaudio 'alsa-lib-devel pulseaudio-devel')"
8+
$(vopt_if pulseaudio 'alsa-lib-devel jack-devel pulseaudio-devel')"
99
checkdepends="cantarell-fonts"
1010
short_desc="Speech analysis, synthesis, and manipulation"
1111
maintainer="newbluemoon <[email protected]>"
1212
license="GPL-2.0-or-later"
1313
homepage="https://www.fon.hum.uva.nl/praat/"
1414
changelog="https://www.fon.hum.uva.nl/praat/manual/What_s_new_.html"
1515
distfiles="https://github.com/praat/praat/archive/v${version}.tar.gz"
16-
checksum=a432faee3f00710fb969dcc3ef09aec518332a7cf9c6512a320d657a0155fb24
16+
checksum=93df7c5a3d9685086e548a38267538b7175748e64c29421ed5f211658efa6822
1717

1818
# there are a number of pre-defined Makefiles for certain configurations
1919
# build options are used to choose which one to use among a selected few
@@ -30,6 +30,14 @@ vopt_conflict alsa pulseaudio
3030

3131
do_build() {
3232
for _variant in $(vopt_if alsa alsa) $(vopt_if jack jack) $(vopt_if pulseaudio pulse-gcc) nogui; do
33+
# Makefiles have suffix .LE for little endian targets
34+
# and .BE for big endian respectively
35+
if [ $XBPS_TARGET_ENDIAN = "le" ]; then
36+
_variant+=.LE
37+
else
38+
_variant+=.BE
39+
fi
40+
3341
cp -a "praat.github.io-${version}" $_variant
3442
cd $_variant
3543

@@ -42,12 +50,6 @@ do_build() {
4250
-e 's/-no-pie//' \
4351
makefile.defs
4452

45-
if [ $XBPS_TARGET_ENDIAN = "le" ]; then
46-
CFLAGS+=" -DPA_LITTLE_ENDIAN"
47-
else
48-
CFLAGS+=" -DPA_BIG_ENDIAN"
49-
fi
50-
5153
# see https://github.com/praat/praat/issues/2433
5254
case "$XBPS_TARGET_MACHINE" in
5355
i686*)

0 commit comments

Comments
 (0)