From 0ec6760844247bcc7c3b760cd7212f24e9484ed5 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 17 Nov 2020 22:28:47 +0100 Subject: [PATCH] giada: update to 0.17.0. --- srcpkgs/giada/template | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/srcpkgs/giada/template b/srcpkgs/giada/template index 83d1aab438..558097e3a0 100644 --- a/srcpkgs/giada/template +++ b/srcpkgs/giada/template @@ -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 " 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 }