qbittorrent: 5.0.4 → 5.1.0

This commit is contained in:
LoCrealloc 2025-05-05 20:27:38 +02:00
parent 6aaa3618ae
commit 30daee4584
No known key found for this signature in database
GPG key ID: 5563EB4A86344F15
2 changed files with 2 additions and 23 deletions

View file

@ -20,22 +20,15 @@
stdenv.mkDerivation (finalAttrs: {
pname = "qbittorrent" + lib.optionalString (!guiSupport) "-nox";
version = "5.0.4";
version = "5.1.0";
src = fetchFromGitHub {
owner = "qbittorrent";
repo = "qBittorrent";
rev = "release-${finalAttrs.version}";
hash = "sha256-8gSSUgYx0CSSb3ackFknZ9r0cWFLxkC7a3Tj8QJaylc=";
hash = "sha256-ZLmKEdvtOxCzEOnJ4JPQQhR427YA288vTRxpk6O0tUc=";
};
# Partial backport of https://github.com/qbittorrent/qBittorrent/commit/a6809efbbbdf18a1b66df9c89d0d0aeefd78f461
# to fix build with Qt 6.9.
# FIXME: remove in next update
patches = [
./qt-6.9.patch
];
nativeBuildInputs = [
cmake
pkg-config

View file

@ -1,14 +0,0 @@
diff --git a/src/base/http/types.h b/src/base/http/types.h
index 156ddf6c0381..4b0b99a5914e 100644
--- a/src/base/http/types.h
+++ b/src/base/http/types.h
@@ -29,7 +29,10 @@
#pragma once
+#include <QByteArray>
+#include <QHash>
#include <QHostAddress>
+#include <QMap>
#include <QString>
#include <QVector>