network/qbittorrent-qt5: Updated for version 4.0.4.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Woodfall 2018-02-19 01:02:55 +00:00 committed by David Spencer
parent c56acbfa8e
commit 997fc9bcee
2 changed files with 20 additions and 7 deletions

View File

@ -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

View File

@ -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"