37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Template file for 'audacity'
|
|
pkgname=audacity
|
|
version=2.3.1
|
|
revision=1
|
|
wrksrc="${pkgname}-Audacity-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--with-ffmpeg=system --with-libsndfile=system --with-expat=system
|
|
--with-libsoxr=system --with-lame=system ac_cv_path_WX_CONFIG=wx-config-gtk3"
|
|
hostmakedepends="pkg-config cmake libtool m4 python"
|
|
makedepends="jack-devel wxWidgets-gtk3-devel gtk+3-devel
|
|
libmad-devel soundtouch-devel libsoxr-devel
|
|
vamp-plugin-sdk-devel lame-devel libid3tag-devel libflac-devel
|
|
ffmpeg-devel twolame-devel portaudio-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
short_desc="Graphical cross-platform audio editor"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.audacityteam.org"
|
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/Audacity-${version}.tar.gz"
|
|
checksum=2ef1c06f9cdc2ee3d315b8e575dc2bea5b372f4f415f3dc6570c3cfca0f93321
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|x86_64*) ;;
|
|
*) configure_args+=" --disable-sse" ;;
|
|
esac
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*)
|
|
makedepends+=" libatomic-devel"
|
|
LDFLAGS="-latomic"
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE.txt
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|