qbittorrent: update to 4.1.9.

This commit is contained in:
k4leg 2019-10-29 19:10:09 +03:00 committed by Helmut Pozimski
parent 65e8c277d1
commit e4aecb5a89

View file

@ -1,10 +1,10 @@
# Template file for 'qbittorrent' # Template file for 'qbittorrent'
pkgname=qbittorrent pkgname=qbittorrent
version=4.1.8 version=4.1.9
revision=1 revision=1
create_wrksrc=yes create_wrksrc=yes
build_style=qmake build_style=qmake
hostmakedepends="automake libtool pkg-config qt5-host-tools qt5-qmake qt5-tools" hostmakedepends="automake autoconf libtool pkg-config qt5-host-tools qt5-qmake qt5-tools"
makedepends="libtorrent-rasterbar-devel qt5-declarative-devel qt5-svg-devel" makedepends="libtorrent-rasterbar-devel qt5-declarative-devel qt5-svg-devel"
depends="qt5-svg" depends="qt5-svg"
short_desc="Free software alternative to µtorrent" short_desc="Free software alternative to µtorrent"
@ -12,7 +12,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
homepage="http://www.qbittorrent.org/" homepage="http://www.qbittorrent.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=3feea2ea401d933c492630e4406141658f17b5dc0c8cf9267f849ff2078fb0bb checksum=3ad08ab441f85b60715d8ed5369cf21f5c94c7ef07474abc247d09ce93a78ee7
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-svg-devel" hostmakedepends+=" qt5-svg-devel"
@ -41,31 +41,29 @@ do_configure() {
cd ${wrksrc}/${build} cd ${wrksrc}/${build}
./bootstrap.sh ./bootstrap.sh
./configure ${opts} ./configure ${opts}
cat > qt.conf <<_EOF echo "[Paths]" > qt.conf
[Paths] echo "Sysroot=${XBPS_CROSS_BASE}" >> qt.conf
Sysroot=${XBPS_CROSS_BASE} echo "Prefix=${XBPS_CROSS_BASE}/usr" >> qt.conf
Prefix=${XBPS_CROSS_BASE}/usr echo "ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5" >> qt.conf
ArchData=${XBPS_CROSS_BASE}/usr/lib/qt5 echo "Data=${XBPS_CROSS_BASE}/usr/share/qt5" >> qt.conf
Data=${XBPS_CROSS_BASE}/usr/share/qt5 echo "Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5" >> qt.conf
Documentation=${XBPS_CROSS_BASE}/usr/share/doc/qt5 echo "Headers=${XBPS_CROSS_BASE}/usr/include/qt5" >> qt.conf
Headers=${XBPS_CROSS_BASE}/usr/include/qt5 echo "Libraries=${XBPS_CROSS_BASE}/usr/lib" >> qt.conf
Libraries=${XBPS_CROSS_BASE}/usr/lib echo "LibraryExecutables=/usr/lib/qt5/libexec" >> qt.conf
LibraryExecutables=/usr/lib/qt5/libexec echo "Binaries=/usr/lib/qt5/bin" >> qt.conf
Binaries=/usr/lib/qt5/bin echo "Tests=${XBPS_CROSS_BASE}/usr/tests" >> qt.conf
Tests=${XBPS_CROSS_BASE}/usr/tests echo "Plugins=/usr/lib/qt5/plugins" >> qt.conf
Plugins=/usr/lib/qt5/plugins echo "Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports" >> qt.conf
Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/imports echo "Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml" >> qt.conf
Qml2Imports=${XBPS_CROSS_BASE}/usr/lib/qt5/qml echo "Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations" >> qt.conf
Translations=${XBPS_CROSS_BASE}/usr/share/qt5/translations echo "Settings=${XBPS_CROSS_BASE}/etc/xdg" >> qt.conf
Settings=${XBPS_CROSS_BASE}/etc/xdg echo "Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples" >> qt.conf
Examples=${XBPS_CROSS_BASE}/usr/share/qt5/examples echo "HostPrefix=/usr" >> qt.conf
HostPrefix=/usr echo "HostData=/usr/lib/qt5" >> qt.conf
HostData=/usr/lib/qt5 echo "HostBinaries=/usr/lib/qt5/bin" >> qt.conf
HostBinaries=/usr/lib/qt5/bin echo "HostLibraries=/usr/lib" >> qt.conf
HostLibraries=/usr/lib echo "Spec=linux-g++" >> qt.conf
Spec=linux-g++ echo "TargetSpec=linux-g++" >> qt.conf
TargetSpec=linux-g++
_EOF
qmake-qt5 \ qmake-qt5 \
PREFIX=/usr \ PREFIX=/usr \
LIB=/usr/lib \ LIB=/usr/lib \