community/snd to 19.6-1

This commit is contained in:
Kevin Mihelich 2019-07-30 18:13:03 +00:00
parent ab46950001
commit 26292cb48e

View file

@ -7,7 +7,7 @@
# - build with pulseaudio as sound server, not jack (x86 asm)
pkgname=snd
pkgver=19.5
pkgver=19.6
pkgrel=1
pkgdesc="An advanced sound editor"
arch=('x86_64')
@ -15,7 +15,7 @@ url="https://ccrma.stanford.edu/software/snd/"
license=('custom:free')
groups=('pro-audio')
depends=('pulseaudio' 'fftw' 'gsl' 'gtk3' 'libmpc' 'ruby')
makedepends=('flac' 'gmp' 'glu' 'ladspa' 'libpulse' 'libxpm' 'mpg123'
makedepends=('flac' 'gendesk' 'gmp' 'glu' 'ladspa' 'libpulse' 'libxpm' 'mpg123'
'openmotif' 'speex' 'timidity++' 'vorbis-tools' 'wavpack')
optdepends=('wavpack: For wav support'
'flac: For flac support'
@ -24,7 +24,18 @@ 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=('29dac29edb5ff69ff5f34b58fa0376dea5282eb21cf1993dbb21d9c176488e3654972f05dfb7472e625565605b7597990c964385492761b38471ac21fca991b3')
sha512sums=('13dccf3fc41bf4822dbb6b0d164a576dfd19427d6eddc396d38b366922df6cfb853ed69be92528d04556fe11b14ec5bbd101d18dd30c74a6de74ea9eb24d9903')
prepare() {
cd "${pkgname}-${pkgver}"
# create XDG desktop file, as the default is broken
gendesk -f -n \
--pkgname "${pkgname}" \
--name "${pkgname}" \
--exec "${pkgname}" \
--genericname "Sound Editor" \
--categories "AudioVideo;Audio"
}
build() {
cd "${pkgname}-${pkgver}"
@ -41,7 +52,8 @@ build() {
package() {
cd "${pkgname}-${pkgver}"
make prefix="${pkgdir}/usr" install
install -vDm 644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications/"
install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
# docs
install -vDm 644 {{HISTORY,README}.Snd,NEWS} \
-t "${pkgdir}/usr/share/doc/${pkgname}/"