void-packages/srcpkgs/audacity/template

27 lines
972 B
Plaintext

# Template file for 'audacity'
pkgname=audacity
version=2.0.5
revision=4
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="http://audacity.googlecode.com/files/${pkgname}-minsrc-${version}.tar.xz"
checksum=e287541dd017f523fd9a06d5140b8f72fe9a0450709de7c398baffa106db2b79
post_install() {
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE.txt
vlicense LICENSE.txt LICENSE
}