community/snd to 20.1-1

This commit is contained in:
Kevin Mihelich 2020-02-06 14:26:32 +00:00
parent a779d07c05
commit f4fcfc6186

View file

@ -6,17 +6,19 @@
# - build with pulseaudio as sound server, not jack (x86 asm)
pkgname=snd
pkgver=20.0
pkgver=20.1
pkgrel=1
pkgdesc="An advanced sound editor"
arch=('x86_64')
url="https://ccrma.stanford.edu/software/snd/"
license=('custom:free')
groups=('pro-audio')
depends=('alsa-lib' 'cairo' 'fftw' 'glibc' 'glib2' 'gmp' 'gsl' 'gtk3' 'pulseaudio'
'libmpc' 'libsamplerate' 'pango' 'ruby')
makedepends=('flac' 'gendesk' 'glu' 'ladspa' 'libpulse' 'libxpm' 'mpg123'
'openmotif' 'speex' 'timidity++' 'vorbis-tools' 'wavpack')
depends=('cairo' 'gdk-pixbuf2' 'glibc' 'glib2' 'gmp' 'gsl' 'gtk3' 'libmpc'
'mpfr' 'pango' 'ruby' 'pulseaudio')
# TODO: maybe replace mpg123 with mpg321
makedepends=('alsa-lib' 'fftw' 'flac' 'gendesk' 'glu' 'ladspa'
'libpulse' 'libsamplerate' 'libxpm' 'mpg123' 'openmotif' 'speex' 'timidity++'
'vorbis-tools' 'wavpack')
optdepends=('wavpack: For wav support'
'flac: For flac support'
'speex: For speex support'
@ -24,7 +26,7 @@ optdepends=('wavpack: For wav 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")
sha512sums=('4585df8639488a41fb64ff696fa666dd677623bc59459a178682602b49ed339a86ce9f3f215cba7af0104205edf7f5368c90fd719e28db5af1161d1b159ed25b')
sha512sums=('f0e972ad6fa16765a3e48db2ae5427a3ef690adcbfa87e3e084b4658ff49002015c3e353c1ce156894271bb4752d4c0866c758f2592465d04c13551da14569c6')
prepare() {
cd "${pkgname}-${pkgver}"
@ -50,6 +52,7 @@ build() {
}
package() {
depends+=('libasound.so' 'libfftw3.so' 'libsamplerate.so')
cd "${pkgname}-${pkgver}"
make prefix="${pkgdir}/usr" install
install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications/"