void-packages/srcpkgs/rosegarden/template

28 lines
1.1 KiB
Bash

# Template file for 'rosegarden'
pkgname=rosegarden
version=23.06
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/"
changelog="https://raw.githubusercontent.com/tedfelix/rosegarden-official/master/CHANGELOG"
distfiles="${SOURCEFORGE_SITE}/rosegarden/rosegarden/${version/*.*.*/${version%.*}}/rosegarden-${version}.tar.xz"
checksum=1f34578bf47bac364faf1c6c14daaedaa387a4f3b19704f5ba868f4ecd2d72cc
if [ -n "${CROSS_BUILD}" ]; then
hostmakedepends+=" qt5-devel qt5-host-tools"
fi
pre_configure() {
vsed -i CMakeLists.txt -e 's/-Wcast-align//'
# disable failing test, see
# https://bugs.gentoo.org/show_bug.cgi?id=701682
vsed -i test/CMakeLists.txt -e '/\s*test_notationview_selection/d'
}