void-packages/srcpkgs/audacity/template

29 lines
960 B
Bash

# Template file for 'audacity'
pkgname=audacity
version=2.1.1
revision=3
wrksrc="${pkgname}-Audacity-${version}"
build_style=gnu-configure
configure_args="--with-libsamplerate"
hostmakedepends="pkg-config cmake"
makedepends="jack-devel wxGTK-devel gtk+-devel expat-devel
libsndfile-devel libmad-devel libsamplerate-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="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://audacityteam.org/"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/Audacity-${version}.tar.gz"
checksum=15c5ff7ac1c0b19b08f4bdcb0f4988743da2f9ed3fab41d6f07600e67cb9ddb6
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
}