qbittorrent: update to 4.1.6

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-05-12 00:28:59 +02:00
parent f77957fa3e
commit 9dc56b9edc
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8

View file

@ -1,7 +1,7 @@
# Template file for 'qbittorrent'
pkgname=qbittorrent
version=4.1.5
revision=2
version=4.1.6
revision=1
create_wrksrc=yes
build_style=qmake
hostmakedepends="automake libtool pkg-config qt5-host-tools qt5-tools"
@ -12,7 +12,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0-or-later"
homepage="http://www.qbittorrent.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=866e07c7886dea62cf0d7dc9a68d9aee1931cd18483b418298b2b072c9afd62a
checksum=25c629381454814c9d897693162482de8a049de8745680922b012d46377756a8
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-declarative-devel qt5-svg-devel"
@ -48,14 +48,12 @@ do_configure() {
QMAKE_CFLAGS="${CFLAGS}" \
QMAKE_CXXFLAGS="${CXXFLAGS}" \
QMAKE_LFLAGS="${LDFLAGS}"
sed -i src/Makefile \
vsed -i src/Makefile \
-e "s;^\(CC\\s*=\) .*;\1 $CC;" \
-e "s;^\(CXX\\s*=\) .*;\1 $CXX;" \
-e "s;^\(LINK\\s*=\) .*;\1 $CXX;" \
-e "s;@g++ ;@$CXX ;"
done
# Install the desktop file
vinstall dist/unix/qbittorrent.desktop 644 usr/share/applications
}
do_build() {