PKGBUILDs/extra/snd/PKGBUILD

59 lines
1.6 KiB
Bash
Raw Normal View History

2012-08-26 16:14:51 +00:00
# $Id: PKGBUILD 165577 2012-08-25 16:01:55Z schiv $
2011-12-05 19:01:04 +00:00
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
2012-08-26 16:14:51 +00:00
# Contributor: see .contrib
2011-12-05 19:01:04 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - build with pulseaudio as sound server, not jack (x86 asm)
pkgname=snd
2013-10-27 21:33:35 +00:00
pkgver=14.1
2013-11-07 23:21:03 +00:00
pkgrel=2
2011-12-05 19:01:04 +00:00
pkgdesc="An advanced sound editor"
arch=('i686' 'x86_64')
url="http://ccrma.stanford.edu/software/snd/"
license=('custom')
2012-08-26 16:14:51 +00:00
depends=('pulseaudio' 'gamin' 'gsl' 'fftw' 'gtk2' 'libmpc')
makedepends=('ladspa' 'wavpack' 'flac' 'speex' 'gmp'
'timidity++' 'mpg123' 'vorbis-tools')
optdepends=('wavpack' 'flac' 'speex' 'mpg123'
'timidity++' 'vorbis-tools')
2013-10-27 21:33:35 +00:00
source=("ftp://ccrma-ftp.stanford.edu/pub/Lisp/$pkgname-$pkgver.tar.gz"
'type_error.patch')
md5sums=('955ca19ca70ac0e4d03cd710516c0174'
2013-11-07 23:21:03 +00:00
'9bfea0dccdfb5da1ba81e721672b11cc')
2013-10-27 21:33:35 +00:00
prepare() {
cd "$srcdir/$pkgname-$pkgver"
2013-11-07 23:21:03 +00:00
# fix incomplete type error
# see http://www.mail-archive.com/cmdist@ccrma.stanford.edu/msg04241.html
2013-10-27 21:33:35 +00:00
patch -Np1 -i "$srcdir/type_error.patch"
}
2011-12-05 19:01:04 +00:00
build() {
cd "$srcdir/$pkgname-$pkgver"
2012-08-26 16:14:51 +00:00
# execstack is probably due to gmp; this is here just for a reminder
2013-02-10 20:14:07 +00:00
LDFLAGS+=" -Wl,-z,noexecstack"
2012-08-26 16:14:51 +00:00
2011-12-05 19:01:04 +00:00
./configure --prefix=/usr \
--with-alsa \
2012-08-26 16:14:51 +00:00
--with-pulseaudio \
--with-gtk \
--with-ladspa \
--with-gmp
2011-12-05 19:01:04 +00:00
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make prefix="$pkgdir/usr" install
install -Dm644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
# vim:set ts=2 sw=2 et: