# Template file for 'audacity' pkgname=audacity version=2.2.1 revision=2 wrksrc="${pkgname}-Audacity-${version}" build_style=gnu-configure hostmakedepends="pkg-config cmake libtool m4" makedepends="jack-devel wxWidgets-devel gtk+-devel libmad-devel soundtouch-devel libsoxr-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 " license="GPL-2" homepage="https://www.audacityteam.org" distfiles="https://github.com/${pkgname}/${pkgname}/archive/Audacity-${version}.tar.gz" checksum=ff346e7a68a57a05089813efd78a81439f5419d211f80bb472c9d94c16ca05d8 case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) ;; *) configure_args+=" --disable-sse" ;; esac if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" python" fi post_install() { rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE.txt vlicense LICENSE.txt LICENSE }