void-packages/srcpkgs/hydrogen/template

22 lines
754 B
Bash

# Template file for 'hydrogen'
pkgname=hydrogen
version=0.9.7
revision=2
build_style=cmake
configure_args="-DWANT_LRDF=ON -DWANT_CPPUNIT=OFF"
hostmakedepends="pkg-config"
makedepends="libsndfile-devel libarchive-devel liblrdf-devel
pulseaudio-devel jack-devel qt-devel"
depends="desktop-file-utils"
short_desc="Advanced drum machine"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="http://www.hydrogen-music.org/"
distfiles="https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz"
checksum=1e0f3d9eae901ef5f11a61e2a446b1d819f3b38e2476a2b382cc02dea693c2b7
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt-host-tools qt-devel"
fi
CXXFLAGS="-std=gnu++11 -Wno-deprecated-register -fno-implement-inlines"