# Template file for 'hydrogen' pkgname=hydrogen version=1.0.1 revision=1 build_style=cmake # Our flags has -g already, DEBUG=ON will add -O0 configure_args="-DWANT_DEBUG=OFF" hostmakedepends="pkg-config qt5-host-tools qt5-devel qt5-tools" makedepends="libsndfile-devel libarchive-devel liblrdf-devel pulseaudio-devel jack-devel qt5-devel qt5-xmlpatterns-devel qt5-tools-devel ladspa-sdk liblo-devel libcppunit-devel" depends="desktop-file-utils" short_desc="Advanced drum machine" maintainer="Orphaned " license="GPL-2.0-or-later" homepage="http://www.hydrogen-music.org/" distfiles="https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz" checksum=de6e8ba259ff340037f24e80f8b34592138603b080b02cfa3214ef9b0d66ac63 post_patch() { vsed -i '/INSTALL/s,"data,"/usr/share/hydrogen/data,' \ data/i18n/CMakeLists.txt } do_check() { H2_HOME=$wrksrc ./build/src/tests/tests } post_install() { rm -rf $DESTDIR/usr/include }