mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
praat: update to 6.0.43 (#2569)
- improve do_build() - make pulseaudio default build option
This commit is contained in:
parent
6599bd2bd1
commit
34ee1c5c2c
1 changed files with 5 additions and 7 deletions
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'praat'
|
# Template file for 'praat'
|
||||||
pkgname=praat
|
pkgname=praat
|
||||||
version=6.0.42
|
version=6.0.43
|
||||||
revision=1
|
revision=1
|
||||||
|
create_wrksrc=yes
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="alsa-lib-devel gtk+-devel $(vopt_if pulseaudio pulseaudio-devel)"
|
makedepends="alsa-lib-devel gtk+-devel $(vopt_if pulseaudio pulseaudio-devel)"
|
||||||
short_desc="Speech analysis, synthesis, and manipulation"
|
short_desc="Speech analysis, synthesis, and manipulation"
|
||||||
|
@ -10,17 +11,14 @@ license="GPL-2.0-or-later"
|
||||||
homepage="http://www.praat.org/"
|
homepage="http://www.praat.org/"
|
||||||
changelog="http://www.fon.hum.uva.nl/praat/manual/What_s_new_.html"
|
changelog="http://www.fon.hum.uva.nl/praat/manual/What_s_new_.html"
|
||||||
distfiles="https://github.com/praat/praat/archive/v${version}.tar.gz"
|
distfiles="https://github.com/praat/praat/archive/v${version}.tar.gz"
|
||||||
checksum=9bdd2a5159b9fb8c6d8c58d52e984f6fda444983ba4d69b2a5c04c8259908cd2
|
checksum=4e933f4255fade38952144326c979176ab0f570062985fb4d968eb43ed5e23d0
|
||||||
|
|
||||||
build_options="pulseaudio"
|
build_options="pulseaudio"
|
||||||
|
build_options_default="pulseaudio"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
mkdir /tmp/original
|
|
||||||
mv * /tmp/original/
|
|
||||||
mv /tmp/original .
|
|
||||||
|
|
||||||
for _variant in $(vopt_if pulseaudio pulse alsa) nogui; do
|
for _variant in $(vopt_if pulseaudio pulse alsa) nogui; do
|
||||||
cp -a original $_variant
|
cp -a "${pkgname}-${version}" $_variant
|
||||||
cd $_variant
|
cd $_variant
|
||||||
|
|
||||||
cp makefiles/makefile.defs.linux.${_variant} ./makefile.defs
|
cp makefiles/makefile.defs.linux.${_variant} ./makefile.defs
|
||||||
|
|
Loading…
Add table
Reference in a new issue