From c5210346b22642e540c785b56df05c4cd184666c Mon Sep 17 00:00:00 2001 From: David O'Shaughnessy Date: Sat, 10 Jun 2023 07:06:19 +0700 Subject: network/qbittorrent: Adjust desktop file. Signed-off-by: Willy Sudiarto Raharjo --- network/qbittorrent/qbittorrent.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'network') 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 -- cgit v1.2.3-80-g2a13