void-packages/srcpkgs/traverso/template

26 lines
1008 B
Bash

# Template file for 'traverso'
pkgname=traverso
version=0.49.6
revision=2
build_style=cmake
configure_args="-DWANT_MP3_ENCODE=ON -DDETECT_HOST_CPU_FEATURES=OFF"
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
makedepends="jack-devel wavpack-devel libvorbis-devel libflac-devel
libmad-devel lame-devel fftw-devel qt5-devel lilv-devel libsndfile-devel
libsamplerate-devel"
depends="hicolor-icon-theme"
short_desc="Digital Audio Workstation with an innovative user Interface"
maintainer="Lorem <notloremipsum@protonmail.com>"
license="GPL-2.0-or-later"
homepage="http://traverso-daw.org/"
distfiles="http://traverso-daw.org/traverso-${version}.tar.gz"
checksum=f850b88cbb64529655514b7cfe01c56133e21929374b3e3b90813bc227eac789
post_install() {
vdoc resources/help.text
vinstall resources/traverso.desktop 644 usr/share/applications
vinstall resources/x-traverso.xml 644 usr/share/mime/packages
vmkdir usr/share/icons/hicolor
cp -a resources/freedesktop/icons/* ${DESTDIR}/usr/share/icons/hicolor
}