mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
qbittorrent: update to 4.1.6
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
f77957fa3e
commit
9dc56b9edc
1 changed files with 4 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'qbittorrent'
|
# Template file for 'qbittorrent'
|
||||||
pkgname=qbittorrent
|
pkgname=qbittorrent
|
||||||
version=4.1.5
|
version=4.1.6
|
||||||
revision=2
|
revision=1
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
hostmakedepends="automake libtool pkg-config qt5-host-tools qt5-tools"
|
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"
|
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=866e07c7886dea62cf0d7dc9a68d9aee1931cd18483b418298b2b072c9afd62a
|
checksum=25c629381454814c9d897693162482de8a049de8745680922b012d46377756a8
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" qt5-declarative-devel qt5-svg-devel"
|
hostmakedepends+=" qt5-declarative-devel qt5-svg-devel"
|
||||||
|
@ -48,14 +48,12 @@ do_configure() {
|
||||||
QMAKE_CFLAGS="${CFLAGS}" \
|
QMAKE_CFLAGS="${CFLAGS}" \
|
||||||
QMAKE_CXXFLAGS="${CXXFLAGS}" \
|
QMAKE_CXXFLAGS="${CXXFLAGS}" \
|
||||||
QMAKE_LFLAGS="${LDFLAGS}"
|
QMAKE_LFLAGS="${LDFLAGS}"
|
||||||
sed -i src/Makefile \
|
vsed -i src/Makefile \
|
||||||
-e "s;^\(CC\\s*=\) .*;\1 $CC;" \
|
-e "s;^\(CC\\s*=\) .*;\1 $CC;" \
|
||||||
-e "s;^\(CXX\\s*=\) .*;\1 $CXX;" \
|
-e "s;^\(CXX\\s*=\) .*;\1 $CXX;" \
|
||||||
-e "s;^\(LINK\\s*=\) .*;\1 $CXX;" \
|
-e "s;^\(LINK\\s*=\) .*;\1 $CXX;" \
|
||||||
-e "s;@g++ ;@$CXX ;"
|
-e "s;@g++ ;@$CXX ;"
|
||||||
done
|
done
|
||||||
# Install the desktop file
|
|
||||||
vinstall dist/unix/qbittorrent.desktop 644 usr/share/applications
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue