void-packages/srcpkgs/audacity/template

32 lines
1.0 KiB
Bash
Raw Normal View History

2014-07-12 21:43:58 +02:00
# Template file for 'audacity'
pkgname=audacity
2016-01-21 13:17:42 +01:00
version=2.1.2
revision=1
2015-07-17 13:23:36 +02:00
wrksrc="${pkgname}-Audacity-${version}"
2014-07-12 21:43:58 +02:00
build_style=gnu-configure
configure_args="--with-libsamplerate"
2016-01-21 13:17:42 +01:00
hostmakedepends="pkg-config cmake libtool m4"
makedepends="jack-devel wxWidgets-devel gtk+-devel expat-devel
2014-07-12 21:43:58 +02:00
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"
2015-07-17 13:23:36 +02:00
homepage="http://audacityteam.org/"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/Audacity-${version}.tar.gz"
2016-01-21 13:17:42 +01:00
checksum=90007b50cdc3885607b1afef2f158777a61c1658e869a88ec4d98c59c133f9bd
2014-07-12 21:43:58 +02:00
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) ;;
*) configure_args+=" --disable-sse" ;;
esac
2016-01-21 13:17:42 +01:00
pre_configure() {
sed -i 's/^OBJCXXLD =/& --tag=CXX/' lib-src/FileDialog/Makefile.in
}
2014-07-12 21:43:58 +02:00
post_install() {
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE.txt
vlicense LICENSE.txt LICENSE
}