void-packages/srcpkgs/audacity/template

29 lines
1.0 KiB
Plaintext

# 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/"
update_site="http://audacity.sourceforge.net/download/source"
update_pattern='audacity-minsrc-\K[\d.]+\d+'
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
}