chuck: update to 1.4.0.1.

This commit is contained in:
Duncaen 2020-05-15 14:15:09 +02:00
parent 7bec7800a2
commit 2d2fc24d0e
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -1,21 +1,30 @@
# Template file for 'chuck'
pkgname=chuck
version=1.4.0.0
version=1.4.0.1
revision=1
build_wrksrc=src
build_style=gnu-makefile
make_use_env=yes
make_build_target="linux-jack"
hostmakedepends="bison flex"
makedepends="jack-devel libsndfile-devel liblo-devel"
short_desc="Concurrent, on-the-fly audio programming language"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3"
license="GPL-2.0-or-later"
homepage="http://chuck.cs.princeton.edu"
changelog="https://chuck.cs.princeton.edu/release/VERSIONS"
distfiles="http://chuck.cs.princeton.edu/release/files/$pkgname-$version.tgz"
checksum=2caee332b8d48e2fddad0f8a0a1811b6cf4c5afab73ae8a17b85ec759cce27ac
checksum=11a20c34b385e132bf43d5ae6a562c652f631828cc6b1562a4c029bc9a850ed4
patch_args="-Np1"
do_build() {
make CXX="$CXX" CC="$CC" LD="$CXX" linux-jack
post_extract() {
# use CC, CXX and LD from environment
vsed -e '/^CC=/d' -e '/^CXX=/d' -e '/^LD=/d' -i src/makefile -i src/core/makefile
# fix parallel builds for make in sub directories
vsed -e 's/^\tmake /\t+$(MAKE) /' -i src/makefile
# use CC instead of LD when linking
vsed -e 's/$(LD)/$(CC)/g' -i src/makefile
}
do_install() {