summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author David O'Shaughnessy <dev@osh.id.au>2023-06-10 07:06:19 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-10 07:06:19 +0700
commitc5210346b22642e540c785b56df05c4cd184666c (patch)
tree350bc73b34db3653af073b7d7cc29acc2484d943 /network
parentb82f9df7d52d221b8cc3d529f1887dda1c423a43 (diff)
downloadslackbuilds-c5210346b22642e540c785b56df05c4cd184666c.tar.gz
slackbuilds-c5210346b22642e540c785b56df05c4cd184666c.tar.xz
network/qbittorrent: Adjust desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/qbittorrent/qbittorrent.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/network/qbittorrent/qbittorrent.SlackBuild b/network/qbittorrent/qbittorrent.SlackBuild
index 010967c60e..888c71d08d 100644
--- a/network/qbittorrent/qbittorrent.SlackBuild
+++ b/network/qbittorrent/qbittorrent.SlackBuild
@@ -96,6 +96,12 @@ cmake -B build -G "Ninja" \
cmake --build build
DESTDIR=$PKG cmake --install build --strip
+# adjust .desktop file to be compliant with Slackware 15.0 supported
+# version of desktop spec (1.4) (SingleMainWindow was added to version
+# 1.5 Desktop Entry Specification).
+# https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
+sed -i '/^SingleMainWindow/d' $PKG/usr/share/applications/*.desktop
+
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
@@ -109,7 +115,7 @@ mkdir -p $PKG/etc/rc.d
cp $CWD/rc.qbittorrent-nox.new $PKG/etc/rc.d/.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS Changelog COPYING COPYING.GPLv? README.md INSTALL \
+cp -a AUTHORS Changelog COPYING COPYING.GPLv? README.md \
$CWD/README.SBo $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild