summaryrefslogtreecommitdiff
path: root/network/qbittorrent-qt5
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2018-02-19 01:02:55 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2018-02-19 01:02:55 +0000
commit997fc9bceeb8187343fe913ef87c857faf270477 (patch)
tree178cb36ca840cff4a0b7a1d3d1e4a33f0445ea21 /network/qbittorrent-qt5
parentc56acbfa8edd4e9fb8bbf5d32ea2ba4fa4784b05 (diff)
downloadslackbuilds-997fc9bceeb8187343fe913ef87c857faf270477.tar.gz
network/qbittorrent-qt5: Updated for version 4.0.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/qbittorrent-qt5')
-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 f0a0100a3f..c8d1681161 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 6bb62a2c10..1acbf5a6e7 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"