void-packages/srcpkgs/audacity/template

29 lines
910 B
Bash

# Template file for 'audacity'
pkgname=audacity
version=2.2.0
revision=2
wrksrc="${pkgname}-Audacity-${version}"
build_style=gnu-configure
configure_args="--with-libsoxr"
hostmakedepends="pkg-config cmake libtool m4"
makedepends="jack-devel wxWidgets-devel gtk+-devel
libmad-devel soundtouch-devel
vamp-plugin-sdk-devel lame-devel libid3tag-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Graphical cross-platform audio editor"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="https://www.audacityteam.org"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/Audacity-${version}.tar.gz"
checksum=3e4b6861f45885e4c90db62eb479cab2a9361e1ebb0c567bf8362a2b17c9b727
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) ;;
*) configure_args+=" --disable-sse" ;;
esac
post_install() {
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE.txt
vlicense LICENSE.txt LICENSE
}