aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild21
-rw-r--r--network/qbittorrent-qt5/qbittorrent-qt5.info6
2 files changed, 20 insertions, 7 deletions
diff --git a/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild b/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild
index f0a0100a3fe7d..c8d168116198b 100644
--- a/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild
+++ b/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=qbittorrent-qt5
SRCNAM=qbittorrent
-VERSION=${VERSION:-3.3.15}
+VERSION=${VERSION:-4.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,7 +73,14 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
make
make install INSTALL_ROOT=$PKG
@@ -83,7 +90,14 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --disable-gui
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-gui \
+ --build=$ARCH-slackware-linux
make
mv src/qbittorrent-nox $PKG/usr/bin
@@ -91,7 +105,6 @@ mv src/qbittorrent-nox $PKG/usr/bin
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/network/qbittorrent-qt5/qbittorrent-qt5.info b/network/qbittorrent-qt5/qbittorrent-qt5.info
index 6bb62a2c101e0..1acbf5a6e7e11 100644
--- a/network/qbittorrent-qt5/qbittorrent-qt5.info
+++ b/network/qbittorrent-qt5/qbittorrent-qt5.info
@@ -1,8 +1,8 @@
PRGNAM="qbittorrent-qt5"
-VERSION="3.3.15"
+VERSION="4.0.4"
HOMEPAGE="http://qbittorrent.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/qbittorrent/qbittorrent-3.3.15.tar.xz"
-MD5SUM="759f498b146bf3afb1593157407897d4"
+DOWNLOAD="https://sourceforge.net/projects/qbittorrent/files/qbittorrent/qbittorrent-4.0.4/qbittorrent-4.0.4.tar.gz"
+MD5SUM="fcbe5363e3687ff1f49d7b8d2e54d8f0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libtorrent-rasterbar qt5"