From 2a5cd54f7376f9a0dfb049f7ee83fa05c92f609e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 6 Aug 2019 12:59:14 +0200 Subject: [PATCH] qbittorrent: update to 4.1.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/qbittorrent/template | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/srcpkgs/qbittorrent/template b/srcpkgs/qbittorrent/template index 56e64d4f59..32a1cadaf5 100644 --- a/srcpkgs/qbittorrent/template +++ b/srcpkgs/qbittorrent/template @@ -1,6 +1,6 @@ # Template file for 'qbittorrent' pkgname=qbittorrent -version=4.1.6 +version=4.1.7 revision=1 create_wrksrc=yes build_style=qmake @@ -12,7 +12,7 @@ maintainer="Jürgen Buchmüller " license="GPL-2.0-or-later" homepage="http://www.qbittorrent.org/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" -checksum=25c629381454814c9d897693162482de8a049de8745680922b012d46377756a8 +checksum=1eef2cf930e167e7e1d2d338bf1efc0a4a38cba1211f909bc9741a7b5ff2b330 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-svg-devel" @@ -74,7 +74,10 @@ _EOF QMAKE_CXXFLAGS="${CXXFLAGS}" \ QMAKE_LFLAGS="${LDFLAGS}" \ -qtconf qt.conf - vsed -i src/Makefile -e "s; /usr/lib/libQt5; ${XBPS_CROSS_BASE}/usr/lib/libQt5;g" + if [ "${XBPS_CROSS_BASE}" ]; then + vsed -i src/Makefile \ + -e "s; /usr/lib/libQt5; ${XBPS_CROSS_BASE}/usr/lib/libQt5;g" + fi done }