void-packages/srcpkgs/audacity/template
2015-01-15 11:17:37 +00:00

26 lines
960 B
Bash

# Template file for 'audacity'
pkgname=audacity
version=2.0.6
revision=1
wrksrc=${pkgname}-src-${version}
build_style=gnu-configure
configure_args="--with-libsamplerate"
if ! [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
configure_args+=" --disable-sse"
fi
hostmakedepends="pkg-config cmake"
makedepends="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://audacity.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-minsrc-$version.tar.xz"
checksum=3080c190e678e0d682961a36c6e990c572dacd6b5ce499e5cec7362e9fa37d7b
post_install() {
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE.txt
vlicense LICENSE.txt LICENSE
}