summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-06-17 20:02:25 +0000
committer Eric Hameleers <alien@slackware.com>2023-06-17 20:02:25 +0000
commit4c7bee54fbcddb9bdc863686842a2e264da63fb9 (patch)
tree52e34c66b0d62161ec0683ebcac5690e4eaa5049
parent374362ba1f7649027bea27df3490e61086cf4299 (diff)
downloadasb-4c7bee54fbcddb9bdc863686842a2e264da63fb9.tar.gz
asb-4c7bee54fbcddb9bdc863686842a2e264da63fb9.tar.xz
frescobaldi: update to 3.3.0. Add to 'Slackware DAW' submenu.
-rwxr-xr-xfrescobaldi/build/frescobaldi.SlackBuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/frescobaldi/build/frescobaldi.SlackBuild b/frescobaldi/build/frescobaldi.SlackBuild
index 57804f87..8f92ed28 100755
--- a/frescobaldi/build/frescobaldi.SlackBuild
+++ b/frescobaldi/build/frescobaldi.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright 2021, 2022 Eric Hameleers, Eindhoven, NL
+# Copyright 2021, 2022, 2023 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -37,6 +37,8 @@
# * Rebuilt against Python 3.10 in -current.
# 3.2-1: 10/may/2022 by Eric Hameleers <alien@slackware.com>
# * Update.
+# 3.3.0-1: 17/jun/2023 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh frescobaldi.SlackBuild' to build a Slackware package.
# The package (.t?z) and .txt file as well as build logs are created in /tmp .
@@ -45,7 +47,7 @@
# -----------------------------------------------------------------------------
PRGNAM=frescobaldi
-VERSION=${VERSION:-3.2}
+VERSION=${VERSION:-3.3.0}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(nproc) "}
TAG=${TAG:-alien}
@@ -164,6 +166,14 @@ echo Building ...
python3 setup.py install --prefix=/usr --root=$PKG \
2>&1 | tee $OUTPUT/install-${PRGNAM}_python3.log
+# Add 'X-DAW' category to the desktop file (for liveslak):
+for DESKTOPF in $PKG/usr/share/applications/*.desktop ; do
+ if ! grep -q X-DAW $DESKTOPF ; then
+ sed -i $DESKTOPF \
+ -e "s/^Categories=\(.*\)/Categories=X-DAW;\1/"
+ fi
+done
+
# Add this to the doinst.sh:
mkdir -p $PKG/install
cat <<EOINS >> $PKG/install/doinst.sh