void-packages/srcpkgs/rosegarden/template

30 lines
1013 B
Bash

# Template file for 'rosegarden'
pkgname=rosegarden
version=21.06.1
revision=1
build_style=cmake
hostmakedepends="pkg-config shared-mime-info"
makedepends="qt5-devel alsa-lib-devel jack-devel ladspa-sdk liblrdf-devel dssi-devel
liblo-devel fftw-devel libsamplerate-devel libsndfile-devel libSM-devel qt5-tools-devel"
depends="shared-mime-info"
short_desc="Music composition and editing environment"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="http://rosegardenmusic.com/"
distfiles="${SOURCEFORGE_SITE}/rosegarden/rosegarden/${version/*.*.*/${version%.*}}/rosegarden-${version}.tar.bz2"
checksum=87750dc0b55ae27e07acc4effdc25ae5c4f6ba4ccf81ac5112abb0fed211397a
if [ -n "${CROSS_BUILD}" ]; then
hostmakedepends+=" qt5-devel qt5-host-tools"
fi
pre_configure() {
vsed -i CMakeLists.txt -e 's/-Wcast-align//'
}
pre_check() {
mkdir -p ${wrksrc}/check_xdg_runtime_dir
chmod 700 ${wrksrc}/check_xdg_runtime_dir
export XDG_RUNTIME_DIR=${wrksrc}/check_xdg_runtime_dir
}