aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAntonio Leal <antonio.leal@yahoo.com>2024-10-27 17:37:10 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-28 06:40:50 +0700
commit7f58a05f60fa53a2606a012bee0d39c80fadd843 (patch)
tree685ab16399243404a551fb3892ae727fd73e39ff /audio
parent2369b008bd2b94a550ba133f443b3500e63210f7 (diff)
audio/tuxguitar: Updated script
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/tuxguitar/slack-desc2
-rw-r--r--audio/tuxguitar/tuxguitar.SlackBuild13
2 files changed, 9 insertions, 6 deletions
diff --git a/audio/tuxguitar/slack-desc b/audio/tuxguitar/slack-desc
index d93a87d6ccdc..9e7069b02f1f 100644
--- a/audio/tuxguitar/slack-desc
+++ b/audio/tuxguitar/slack-desc
@@ -12,7 +12,7 @@ tuxguitar: TuxGuitar is a multitrack guitar tablature editor and player
tuxguitar: written in Java-SWT. It can open GuitarPro, PowerTab, and
tuxguitar: TablEdit files.
tuxguitar:
-tuxguitar:
+tuxguitar: Homepage at: https://github.com/helge17/tuxguitar
tuxguitar:
tuxguitar:
tuxguitar:
diff --git a/audio/tuxguitar/tuxguitar.SlackBuild b/audio/tuxguitar/tuxguitar.SlackBuild
index 3926334f2b8d..bd4f21614b5d 100644
--- a/audio/tuxguitar/tuxguitar.SlackBuild
+++ b/audio/tuxguitar/tuxguitar.SlackBuild
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tuxguitar
VERSION=${VERSION:-1.6.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,14 +74,17 @@ cd ..
mv "$TMP/$PRGNAM-$VERSION-linux-swt-$BINARCH" "$PKG/opt/$PRGNAM"
#link to /usr
-
ln -sf "/opt/$PRGNAM/$PRGNAM.sh" "$PKG/usr/bin/$PRGNAM"
-
ln -sf "/opt/$PRGNAM/share/applications/tuxguitar.desktop" \
"$PKG/usr/share/applications/tuxguitar.desktop"
+ln -sf "/opt/$PRGNAM/share/pixmaps/tuxguitar.png" \
+ "$PKG/usr/share/pixmaps/tuxguitar.png"
+
+# ensure we actually use zulu-openjdk11
+sed -i '4i source /etc/profile.d/zulu-openjdk11.sh' $PKG/opt/$PRGNAM/$PRGNAM.sh
-ln -sf "/opt/$PRGNAM/share/pixmaps/tuxguitar.xpm" \
- "$PKG/usr/share/pixmaps/tuxguitar.xpm"
+# ensure ELF binaries/libraries are executable
+chmod +x $PKG/opt/tuxguitar/lib/libtuxguitar-*.so
find $PKG/opt/$PRGNAM/share/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/opt/$PRGNAM/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done