diff options
Diffstat (limited to 'network/qbittorrent')
-rw-r--r-- | network/qbittorrent/qbittorrent.SlackBuild | 8 |
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 |