git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #29971 from yegortimoshenko/qbittorrent/3.3.16

qbittorrent: 3.3.15 -> 3.3.16, drop patch, enable parallel build

commit5de2cffda02693dacbd9ed545be65085a5c37807 authorOrivej Desh <orivej@gmx.fr> dateSun 1 Oct 2017, 00:21 (9 years ago) parent37464fdbc334e1
2 files changed+4−26
pkgs/applications/networking/p2p/qbittorrent/default.nix+4−8 pkgs/applications/networking/p2p/qbittorrent/fix-lrelease.patch−18
pkgs/applications/networking/p2p/qbittorrent/default.nix+4−8
@@ -6,15 +6,15 @@
66}:
77
88assert guiSupport -> (dbus_libs != null);
9−
109with stdenv.lib;
10+
1111stdenv.mkDerivation rec {
1212 name = "qbittorrent-${version}";
13− version = "3.3.15";
13+ version = "3.3.16";
1414
1515 src = fetchurl {
1616 url = "mirror://sourceforge/qbittorrent/${name}.tar.xz";
17− sha256 = "1bnfnbkdg0088h25zzhlpcdh30y0k1m76bkhjsj1aali765c1fx7";
17+ sha256 = "0mxyn2pajvb55bhcaz55v64p2xzy15p0yy174s62b5y3f8cac27a";
1818 };
1919
2020 nativeBuildInputs = [ pkgconfig which ];
@@ -33,11 +33,7 @@ stdenv.mkDerivation rec {
3333 (if webuiSupport then "" else "--disable-webui")
3434 ] ++ optional debugSupport "--enable-debug";
3535
36− # The lrelease binary is named lrelease instead of lrelease-qt4
37− patches = [ ./fix-lrelease.patch ];
38−
39− # https://github.com/qbittorrent/qBittorrent/issues/1992
40− enableParallelBuilding = false;
36+ enableParallelBuilding = true;
4137
4238 meta = {
4339 description = "Free Software alternative to µtorrent";
pkgs/applications/networking/p2p/qbittorrent/fix-lrelease.patchdeleted−18
@@ -1,18 +0,0 @@
1−diff --git a/qm_gen.pri b/qm_gen.pri
2−index 5454440..2d5990c 100644
3−--- a/qm_gen.pri
4−+++ b/qm_gen.pri
5−@@ -5,12 +5,7 @@ isEmpty(QMAKE_LRELEASE) {
6− win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
7− else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
8− unix {
9−- equals(QT_MAJOR_VERSION, 4) {
10−- !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
11−- }
12−- equals(QT_MAJOR_VERSION, 5) {
13−- !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt5 }
14−- }
15−+ !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
16− } else {
17− !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
18− }