mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-02-03 21:17:16 +08:00
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
pkgname=audacity
|
|
pkgver=2.1.1
|
|
pkgrel=1
|
|
pkgdesc="A program that lets you manipulate digital audio waveforms"
|
|
arch=('x86_64')
|
|
url="http://audacity.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('libvorbis' 'libmad' 'libid3tag' 'wxgtk2.8' 'libsamplerate' 'lame'
|
|
'hicolor-icon-theme' 'shared-mime-info' 'desktop-file-utils' 'redland'
|
|
'jack' 'soundtouch' 'ffmpeg')
|
|
makedepends=('zip' 'python' 'pkgconfig' 'cmake')
|
|
options=('!makeflags')
|
|
install="${pkgname}.install"
|
|
source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz"
|
|
audacity-ffmpeg.patch)
|
|
sha256sums=('15c5ff7ac1c0b19b08f4bdcb0f4988743da2f9ed3fab41d6f07600e67cb9ddb6'
|
|
'ee5ddddee23cd292167d319e0dc61a96fb1477380ffbb225d4103472f7aa69b4')
|
|
|
|
prepare() {
|
|
cd ${pkgname}-Audacity-${pkgver}
|
|
patch -p1 -i "${srcdir}/audacity-ffmpeg.patch"
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-Audacity-${pkgver}
|
|
WX_CONFIG=/usr/bin/wx-config-2.8 \
|
|
./configure --prefix=/usr \
|
|
--enable-unicode \
|
|
--with-libsamplerate
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-Audacity-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|