1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00

Update audio/praat to latest upstream release

We skipped 6.1.{36,37,38,39} and now land at 6.1.40; the release
notes (for all versions) are at
	https://www.fon.hum.uva.nl/praat/manual/What_s_new_.html
and can be summarized as

- handful of fixes probably not relevant to us
- scripting extensions

The FreeBSD makefile with settings and things has been merged
upstream, so we can lose that file from ports and simplify
post-patch ever-so-slightly.
This commit is contained in:
Adriaan de Groot 2021-03-01 14:20:21 +00:00
parent 5dfcf6776d
commit ae15504c5d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566856
3 changed files with 5 additions and 45 deletions

View File

@ -2,8 +2,7 @@
PORTNAME= praat
DISTVERSIONPREFIX= v
DISTVERSION= 6.1.35
PORTREVISION= 1
DISTVERSION= 6.1.40
CATEGORIES= audio science
MAINTAINER= adridg@FreeBSD.org
@ -35,7 +34,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|^CPPFLAGS =|CPPFLAGS +=|' \
${WRKSRC}/*/Makefile \
${WRKSRC}/external/*/Makefile
@${CP} ${FILESDIR}/makefile.defs.freebsd.alsa \
@${CP} ${WRKSRC}/makefiles/makefile.defs.freebsd.alsa \
${WRKSRC}/makefile.defs
do-install:

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1607259331
SHA256 (praat-praat-v6.1.35_GH0.tar.gz) = 60fbd7bb588562f4f9e253e9b3a672351c9d23d465acc2c887db3039b99c104c
SIZE (praat-praat-v6.1.35_GH0.tar.gz) = 32721488
TIMESTAMP = 1614607773
SHA256 (praat-praat-v6.1.40_GH0.tar.gz) = 86bdcbe7810080532ffe65c92d44028cedf54813ec2d31674a53b3e7ceb8e100
SIZE (praat-praat-v6.1.40_GH0.tar.gz) = 33612192

View File

@ -1,39 +0,0 @@
# $FreeBSD$
# File: makefile.defs.freebsd.alsa
# System: FreeBSD
# Paul Boersma, 23 March 2020
# J Bacon, 24 April 2020
# Adriaan de Groot, 30 September 2020
# Where external / third-party software is installed; needs to be
# added to include and linker paths. (In the FreeBSD ports system,
# this is already set so nothing is overridden)
LOCALBASE ?= /usr/local
# FreeBSD defaults to clang, not gcc
CC ?= cc
CXX ?= c++
LINK ?= $(CXX)
# -DALSA or -DJACK: Use ALSA or Jack audio in pa_unix_hostapis.c
AUDIO=-DALSA
# FreeBSD pretends to be Linux for most of the code; add CPPFLAGS
# explicitly because GNU make / gcc uses those preprocessor flags,
# but clang does not.
COMMONFLAGS = -DUNIX -Dlinux $(AUDIO) -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-3.0` -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O1 -g1 -pthread $(CPPFLAGS)
CFLAGS = -DHAVE_SYS_SOUNDCARD_H -std=gnu99 $(COMMONFLAGS) -Werror=implicit
CXXFLAGS = -std=c++17 $(COMMONFLAGS) -Wshadow -DHAVE_SYS_SOUNDCARD_H -Werror=implicit -I$(LOCALBASE)/include -I$(LOCALBASE)/include/unicode
EXECUTABLE = praat
LIBS = `pkg-config --libs gtk+-3.0` -L$(LOCALBASE)/lib -lasound -lm -lpthread -ltinfow -lX11
AR = ar
RANLIB = ls
ICON =
MAIN_ICON =