32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'audacity'
|
|
pkgname=audacity
|
|
version=2.1.3
|
|
revision=1
|
|
wrksrc="${pkgname}-Audacity-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--with-libsamplerate"
|
|
hostmakedepends="pkg-config cmake libtool m4"
|
|
makedepends="jack-devel wxWidgets-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="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2"
|
|
homepage="http://audacityteam.org/"
|
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/Audacity-${version}.tar.gz"
|
|
checksum=cb30870b93c7f6f90b2ec70807ab6dcd9c3a3a29015478ae7b19af46d63bbd86
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|x86_64*) ;;
|
|
*) configure_args+=" --disable-sse" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
sed -i 's/^OBJCXXLD =/& --tag=CXX/' lib-src/FileDialog/Makefile.in
|
|
}
|
|
post_install() {
|
|
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE.txt
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|