Skip to content

Commit

Permalink
praat: update to 6.2.09
Browse files Browse the repository at this point in the history
  • Loading branch information
newbluemoon authored and paper42 committed Mar 13, 2022
1 parent edafe13 commit 7519fd5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions srcpkgs/praat/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'praat'
pkgname=praat
version=6.2.04
version=6.2.09
revision=1
create_wrksrc=yes
hostmakedepends="pkg-config"
Expand All @@ -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=65c8a70d02760fdf36e04d892412441d8d338867db30d593aea1c202aa937c24
checksum=3c38b8af267b152a3fda1af78fe8cc26a1717f70a886387e657c55746f666af1

# 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
Expand All @@ -34,13 +34,11 @@ do_build() {

cp makefiles/makefile.defs.linux.${_variant} ./makefile.defs
sed -i -e 's/$(LIBS)/& $(LDFLAGS)/' Makefile
sed -i -e 's/CC = gcc/CC = "${CC}"/' \
-e 's/CXX = g++/CXX = "${CXX}"/' \
-e 's/LINK = g++/LINK = "${CXX}"/' \
-e 's/AR = ar/AR = "${AR}"/' \
sed -i -e 's/AR = ar/AR = "${AR}"/' \
-e 's/-O\(1\|3\)//' \
-e 's/CFLAGS =/CFLAGS +=/' \
-e 's/CXXFLAGS =/CXXFLAGS +=/' \
-e 's/-no-pie//' \
makefile.defs

if [ $XBPS_TARGET_ENDIAN == "le" ]; then
Expand Down

0 comments on commit 7519fd5

Please sign in to comment.