giada: update to 0.17.0.

This commit is contained in:
Duncaen 2020-11-17 22:28:47 +01:00
parent f8b684b4a3
commit 0ec6760844
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -1,10 +1,10 @@
# Template file for 'giada'
pkgname=giada
version=0.16.4
version=0.17.0
revision=1
build_style=gnu-configure
configure_args="--target=linux"
hostmakedepends="automake"
build_style=cmake
# configure_args="--target=linux"
hostmakedepends="cmake"
makedepends="fltk-devel jack-devel libsamplerate-devel
libsndfile-devel libXpm-devel pulseaudio-devel rtmidi-devel libXcursor-devel
json-c++"
@ -12,8 +12,9 @@ short_desc="Loop machine, audio tool for DJs, live performers and musicians"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-only"
homepage="https://www.giadamusic.com/"
changelog="https://github.com/monocasual/giada/raw/master/ChangeLog"
distfiles="https://github.com/monocasual/giada/archive/v${version}.tar.gz"
checksum=a425151ff571d4b0e79a3faaa6dd872c8f2693ffcada975b282365c865130b38
checksum=b879f5ba7e9f34d7422aedd89d1d0baa91387b3528e057b4df25e1f2f8d661ef
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
@ -21,7 +22,7 @@ fi
post_extract() {
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
vsed -e 's/\($(ldAdd)\)/\1 -latomic/g' -i Makefile.am
vsed -e '/list(APPEND LIBRARIES)/a list(APPEND LIBRARIES atomic)' -i CMakeLists.txt
fi
vsed -e 's;deps/json/single_include/\(nlohmann/json.hpp\);\1;' -i \
src/core/init.cpp \
@ -30,6 +31,6 @@ post_extract() {
src/core/patch.cpp
}
pre_configure() {
autoreconf -fi
do_install() {
vbin build/giada
}