2014-07-12 19:43:58 +00:00
|
|
|
# Template file for 'audacity'
|
|
|
|
pkgname=audacity
|
2014-10-11 21:58:22 +00:00
|
|
|
version=2.0.6
|
|
|
|
revision=1
|
2014-07-12 19:43:58 +00:00
|
|
|
wrksrc=${pkgname}-src-${version}
|
|
|
|
build_style=gnu-configure
|
2014-07-13 04:43:37 +00:00
|
|
|
configure_args="--with-libsamplerate"
|
2014-08-24 21:02:46 +00:00
|
|
|
if ! [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
|
|
|
configure_args+=" --disable-sse"
|
|
|
|
fi
|
2014-07-12 19:43:58 +00:00
|
|
|
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/"
|
2014-10-31 14:27:14 +00:00
|
|
|
update_site="http://audacity.sourceforge.net/download/source"
|
|
|
|
update_pattern='audacity-minsrc-\K[\d.]+\d+'
|
2014-10-11 21:58:22 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-minsrc-$version.tar.xz"
|
|
|
|
checksum=3080c190e678e0d682961a36c6e990c572dacd6b5ce499e5cec7362e9fa37d7b
|
2014-07-12 19:43:58 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE.txt
|
|
|
|
vlicense LICENSE.txt LICENSE
|
|
|
|
}
|