New package: furnace-0.6pre7

This commit is contained in:
Marcin Puc 2023-04-26 14:33:38 +02:00 committed by Piraty
parent aeefa17cc3
commit 6e2588f33d
1 changed files with 27 additions and 0 deletions

27
srcpkgs/furnace/template Normal file
View File

@ -0,0 +1,27 @@
# Template file for 'furnace'
pkgname=furnace
version=0.6pre7
revision=1
_adpcm_commit="ef7a217154badc3b99978ac481b268c8aab67bd8"
build_wrksrc=${pkgname}-${version}
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 <tranzystorek.io@protonmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/tildearrow/furnace"
distfiles="https://github.com/tildearrow/furnace/archive/refs/tags/v${version}.tar.gz
https://github.com/superctr/adpcm/archive/${_adpcm_commit}.tar.gz"
checksum="27700fc0655cb16b37d113448e32e9621201d54197ec3e24d837c7c16fc22e2e
46da29342d2968ff222ba00e07c646e038b76af2e6c86de037c653059a056251"
if [ "${XBPS_TARGET_NO_ATOMIC8}" ]; then
makedepends+=" libatomic-devel"
CXXFLAGS+=" -latomic"
fi
post_extract() {
mv -T adpcm-${_adpcm_commit} ${pkgname}-${version}/extern/adpcm
}