2018-02-19 16:19:04 +00:00
|
|
|
# Maintainer: David Runge <dave@sleepmap.de>
|
2018-03-23 18:08:24 +00:00
|
|
|
# Contributor: Ray Rashif <schiv@archlinux.org>
|
2011-12-05 19:01:04 +00:00
|
|
|
# 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
|
2019-02-22 19:11:08 +00:00
|
|
|
pkgver=19.1
|
|
|
|
pkgrel=1
|
2011-12-05 19:01:04 +00:00
|
|
|
pkgdesc="An advanced sound editor"
|
2018-01-24 13:53:37 +00:00
|
|
|
arch=('x86_64')
|
2018-02-19 16:19:04 +00:00
|
|
|
url="https://ccrma.stanford.edu/software/snd/"
|
2014-01-02 09:58:46 +00:00
|
|
|
license=('custom:free')
|
2018-06-05 18:02:52 +00:00
|
|
|
groups=('pro-audio')
|
2018-02-19 16:19:04 +00:00
|
|
|
depends=('pulseaudio' 'fftw' 'gsl' 'gtk3' 'libmpc' 'ruby')
|
|
|
|
makedepends=('flac' 'gmp' 'glu' 'ladspa' 'libpulse' 'libxpm' 'mpg123'
|
|
|
|
'openmotif' 'speex' 'timidity++' 'vorbis-tools' 'wavpack')
|
|
|
|
optdepends=('wavpack: For wav support'
|
|
|
|
'flac: For flac support'
|
|
|
|
'speex: For speex support'
|
|
|
|
'mpg123: For MPEG support'
|
|
|
|
'timidity++: For MIDI to WAVE support'
|
|
|
|
'vorbis-tools: For OGG support')
|
|
|
|
source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
2019-02-22 19:11:08 +00:00
|
|
|
sha512sums=('a52e3c8d56c98a0fc60550a3f601e1b07d9c1df9ce73516a22ba8042820e88383fa18ba0f663823728464075361b2d9aad20e07be5e42affd6b96f8b91150459')
|
2011-12-05 19:01:04 +00:00
|
|
|
|
|
|
|
build() {
|
2018-02-19 16:19:04 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
2011-12-05 19:01:04 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-alsa \
|
2018-02-19 16:19:04 +00:00
|
|
|
--with-gmp \
|
2012-08-26 16:14:51 +00:00
|
|
|
--with-gtk \
|
|
|
|
--with-ladspa \
|
2018-02-19 16:19:04 +00:00
|
|
|
--with-pulseaudio \
|
|
|
|
--with-ruby
|
2011-12-05 19:01:04 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-02-19 16:19:04 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make prefix="${pkgdir}/usr" install
|
2018-11-26 19:40:26 +00:00
|
|
|
install -vDm 644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
|
|
|
|
# docs
|
|
|
|
install -vDm 644 {{HISTORY,README}.Snd,NEWS} \
|
|
|
|
-t "${pkgdir}/usr/share/doc/${pkgname}/"
|
|
|
|
install -vDm 644 *.html -t "${pkgdir}/usr/share/doc/${pkgname}/html"
|
|
|
|
install -vDm 644 pix/*.png -t "${pkgdir}/usr/share/doc/${pkgname}/html/pix"
|
2011-12-05 19:01:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|