From 4c7bee54fbcddb9bdc863686842a2e264da63fb9 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 17 Jun 2023 20:02:25 +0000 Subject: frescobaldi: update to 3.3.0. Add to 'Slackware DAW' submenu. --- frescobaldi/build/frescobaldi.SlackBuild | 14 ++++++++++++-- 1 file 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 # * Update. +# 3.3.0-1: 17/jun/2023 by Eric Hameleers +# * 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 <> $PKG/install/doinst.sh -- cgit v1.2.3