From 8bea09479338aa16748f06006fb1d54847ed0754 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Wed, 26 Apr 2023 14:33:38 +0200 Subject: [PATCH] New package: furnace-0.6pre4 --- srcpkgs/furnace/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/furnace/template diff --git a/srcpkgs/furnace/template b/srcpkgs/furnace/template new file mode 100644 index 000000000000..8b219c63cef0 --- /dev/null +++ b/srcpkgs/furnace/template @@ -0,0 +1,27 @@ +# Template file for 'furnace' +pkgname=furnace +version=0.6pre4 +revision=1 +_adpcm_commit="ef7a217154badc3b99978ac481b268c8aab67bd8" +build_wrksrc=${pkgname}-${version}-hotfix +build_style=cmake +configure_args="-DSYSTEM_FFTW=ON -DSYSTEM_FMT=ON -DSYSTEM_LIBSNDFILE=ON -DSYSTEM_RTMIDI=ON -DSYSTEM_SDL2=ON -DSYSTEM_ZLIB=ON" +hostmakedepends="pkg-config" +makedepends="fftw-devel fmt-devel jack-devel libsndfile-devel rtmidi-devel zlib-devel SDL2-devel" +short_desc="Multi-system chiptune tracker compatible with DefleMask modules" +maintainer="Marcin Puc " +license="GPL-2.0-or-later" +homepage="https://github.com/tildearrow/furnace" +distfiles="https://github.com/tildearrow/furnace/archive/refs/tags/v${version}-hotfix.tar.gz + https://github.com/superctr/adpcm/archive/${_adpcm_commit}.tar.gz" +checksum="b2d267be9b02cb5c1d0408e705038f15ab8f23fb76ea2079db5e0c7e0600d59a + 46da29342d2968ff222ba00e07c646e038b76af2e6c86de037c653059a056251" + +if [ "${XBPS_TARGET_NO_ATOMIC8}" ]; then + makedepends+=" libatomic-devel" + CXXFLAGS+=" -latomic" +fi + +post_extract() { + mv -T adpcm-${_adpcm_commit} ${pkgname}-${version}-hotfix/extern/adpcm +}