From d9225e7d940198fd3b58010060de49cba2556ad5 Mon Sep 17 00:00:00 2001 From: "E. axillaris" Date: Sat, 6 Jun 2020 09:46:26 +0700 Subject: [PATCH] audio/snd: Updated for version 20.3. Signed-off-by: Willy Sudiarto Raharjo --- audio/snd/README | 4 ++-- audio/snd/doinst.sh | 4 ++++ audio/snd/snd.SlackBuild | 11 +++++------ audio/snd/snd.desktop | 7 ++++--- audio/snd/snd.info | 10 +++++----- 5 files changed, 20 insertions(+), 16 deletions(-) diff --git a/audio/snd/README b/audio/snd/README index c30d8d73c7..b7c1bc423e 100644 --- a/audio/snd/README +++ b/audio/snd/README @@ -1,7 +1,7 @@ Snd is a sound editor modelled loosely after Emacs. It is highly programmable, supports a variety of audio and sample file formats, -includes a complete implementation of Common Lisp Music (CLM), can be -run sans GUI as a scripting engine, and more. +includes a complete implementation of Common Lisp Music (CLM), can +be run sans GUI as a scripting engine, and more. This SlackBuild configures Snd to use Scheme (s7), ALSA, and Motif. But using GTK3 instead of Motif is also easy. diff --git a/audio/snd/doinst.sh b/audio/snd/doinst.sh index 5fb28930db..9a8ded3c60 100644 --- a/audio/snd/doinst.sh +++ b/audio/snd/doinst.sh @@ -1,3 +1,7 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi diff --git a/audio/snd/snd.SlackBuild b/audio/snd/snd.SlackBuild index ccc4f67f11..924179f881 100644 --- a/audio/snd/snd.SlackBuild +++ b/audio/snd/snd.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh -# SlackBuild for Snd, 3 December 2019 -# awg +# SlackBuild for Snd, 5 June 2020 +# E. axillaris # All rights reserved. # # Permission to use, copy, modify, or distribute this software for any @@ -16,12 +16,11 @@ # PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. - -## Snd itself remains a copyrighted work. Please see the file COPYING -## in the Snd source distribution. +# +# Please see the Snd license for more information. PRGNAM=snd -VERSION=${VERSION:-19.9} +VERSION=${VERSION:-20.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/audio/snd/snd.desktop b/audio/snd/snd.desktop index e1c44d8983..5e4b8c2665 100644 --- a/audio/snd/snd.desktop +++ b/audio/snd/snd.desktop @@ -1,11 +1,12 @@ [Desktop Entry] -Exec=/usr/bin/snd +Exec=/usr/bin/snd %F Icon=snd_48x48 Name=Snd +Type=Application GenericName=Snd Editor GenericName[fr]=Snd Éditeur GenericName[ja]=Snd エディタ GenericName[ru]=Snd редактор -StartupNotify=true -Type=Application Categories=Audio;AudioVideo; +MimeType=audio/x-wav;audio/x-aiff;audio/x-adpcm; +StartupNotify=true diff --git a/audio/snd/snd.info b/audio/snd/snd.info index 4f74e6440d..72ac7b72b9 100644 --- a/audio/snd/snd.info +++ b/audio/snd/snd.info @@ -1,10 +1,10 @@ PRGNAM="snd" -VERSION="19.9" +VERSION="20.3" HOMEPAGE="https://ccrma.stanford.edu/software/snd/" -DOWNLOAD="ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-19.9.tar.gz" -MD5SUM="7ba9fe1089c1130445ad011da15881cb" +DOWNLOAD="https://ccrma.stanford.edu/software/snd/snd-20.3.tar.gz" +MD5SUM="111246d1b8b03d3da4d022d4277319a0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="awg" -EMAIL="awg@cock.li" +MAINTAINER="E. axillaris" +EMAIL="elanus@i2pmail.org"