void-packages/srcpkgs/audacity/template
2015-03-30 11:30:04 +02:00

26 lines
971 B
Bash

# Template file for 'audacity'
pkgname=audacity
version=2.1.0
revision=1
wrksrc="${pkgname}-minsrc-${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=b0d98d89b38be233e88af81e1add649732484b6f8feec95dc5977accdde042b3
post_install() {
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE.txt
vlicense LICENSE.txt LICENSE
}