aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-07-02 15:01:24 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-07 06:54:21 +0700
commitef9bb9951a5f152237ba2d964665193812fbfb6f (patch)
treeaeb0d2e27462a7906eb579fe2857e4573500fde1 /audio
parentb2540f92927e4f7035f91b6812ef45207dc9a58a (diff)
audio/samplv1: Updated for version 0.9.1, French man page.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/samplv1/samplv1.SlackBuild16
-rw-r--r--audio/samplv1/samplv1.info6
2 files changed, 17 insertions, 5 deletions
diff --git a/audio/samplv1/samplv1.SlackBuild b/audio/samplv1/samplv1.SlackBuild
index 623294bf38d4..78aa890367df 100644
--- a/audio/samplv1/samplv1.SlackBuild
+++ b/audio/samplv1/samplv1.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20180702 bkw: update for 0.9.1, install French man page correctly.
# 20180615 bkw: update for 0.9.0
# 20180101 bkw: update for 0.8.6
# 20171220 bkw: updated for v0.8.5. Skipped 0.8.4 due to compile errors.
@@ -13,7 +14,7 @@
# 20170614 bkw: update for 0.8.2, drop qt5 dep, build with qt4
PRGNAM=samplv1
-VERSION=${VERSION:-0.9.0}
+VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,14 +76,25 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# 20180702 bkw: See comments in synthv1.SlackBuild to understand this.
+
# I dunno what this is actually for, but as of 0.8.5 it got moved. Move
# it back to where it belongs, for Slack 14.2.
[ -d $PKG/usr/share/metainfo ] && \
mv $PKG/usr/share/metainfo $PKG/usr/share/appdata
+mkdir -p $PKG/usr/man/fr/man1 $PKG/usr/man/fr.UTF-8/man1
+mv $PKG/usr/man/man1/$PRGNAM.fr.1.gz $PKG/usr/man/fr.UTF-8/man1/$PRGNAM.1.gz
+zcat $PKG/usr/man/fr.UTF-8/man1/$PRGNAM.1.gz | \
+ iconv -f UTF-8 -t ISO-8859-1 | \
+ gzip -9c \
+ > $PKG/usr/man/fr/man1/$PRGNAM.1.gz
+
# binaries already stripped, man page already gzipped. make symlink
# to man page, to match the actual name of the binary.
-ln -s $PRGNAM.1.gz $PKG/usr/man/man1/${PRGNAM}_jack.1.gz
+for i in man1 fr/man1 fr.UTF-8/man1; do
+ ln -s $PRGNAM.1.gz $PKG/usr/man/$i/${PRGNAM}_jack.1.gz
+done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/audio/samplv1/samplv1.info b/audio/samplv1/samplv1.info
index afca8f671d6e..6c089dbb35ee 100644
--- a/audio/samplv1/samplv1.info
+++ b/audio/samplv1/samplv1.info
@@ -1,8 +1,8 @@
PRGNAM="samplv1"
-VERSION="0.9.0"
+VERSION="0.9.1"
HOMEPAGE="https://samplv1.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/project/samplv1/samplv1/0.9.0/samplv1-0.9.0.tar.gz"
-MD5SUM="ed1f664c02052ffaf243ac4deb9cbb86"
+DOWNLOAD="https://downloads.sourceforge.net/project/samplv1/samplv1/0.9.1/samplv1-0.9.1.tar.gz"
+MD5SUM="0bc4912b31863d969921dd7be588f307"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack-audio-connection-kit"