diff --git a/net-p2p/qbittorrent/patches/qbittorrent-4.3.0.patchset b/net-p2p/qbittorrent/patches/qbittorrent-4.3.0.patchset index 7e710fe18..fc7c5f072 100644 --- a/net-p2p/qbittorrent/patches/qbittorrent-4.3.0.patchset +++ b/net-p2p/qbittorrent/patches/qbittorrent-4.3.0.patchset @@ -1,14 +1,14 @@ -From f5ca55fbdea69bb1d627a984e480a4ad6998ec11 Mon Sep 17 00:00:00 2001 +From 348a87415c8694ec803279c2d7a87afa4fca1f51 Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Wed, 22 Nov 2017 01:33:59 +0300 Subject: Link with libnetwork on Haiku diff --git a/configure.ac b/configure.ac -index 2d9d74c..d4996ab 100644 +index d8f9035..8067284 100644 --- a/configure.ac +++ b/configure.ac -@@ -55,6 +55,12 @@ AS_IF([expr "$host_os" : ".*freebsd.*" > /dev/null], +@@ -57,6 +57,12 @@ AS_IF([expr "$host_os" : ".*freebsd.*" > /dev/null], LIBS="-lexecinfo $LIBS"], [AC_MSG_RESULT([no])]) @@ -22,4 +22,28 @@ index 2d9d74c..d4996ab 100644 AS_IF([expr "$host_os" : ".*darwin.*" > /dev/null], [AC_MSG_RESULT([yes]) -- -2.15.0 +2.28.0 + + +From e9b5592aa8e63d0eb3b5a0a05066cc0be03e960d Mon Sep 17 00:00:00 2001 +From: Gerasim Troeglazov <3dEyes@gmail.com> +Date: Wed, 21 Oct 2020 08:39:36 +1000 +Subject: Disable HighDPI for Haiku + + +diff --git a/src/app/main.cpp b/src/app/main.cpp +index bec7cdb..b8654b1 100644 +--- a/src/app/main.cpp ++++ b/src/app/main.cpp +@@ -132,7 +132,7 @@ int main(int argc, char *argv[]) + // We must save it here because QApplication constructor may change it + bool isOneArg = (argc == 2); + +-#if !defined(DISABLE_GUI) && (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)) ++#if !defined(DISABLE_GUI) && (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)) && !defined(Q_OS_HAIKU) + // Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created + if (qgetenv("QT_ENABLE_HIGHDPI_SCALING").isEmpty() && qgetenv("QT_AUTO_SCREEN_SCALE_FACTOR").isEmpty()) + Application::setAttribute(Qt::AA_EnableHighDpiScaling, true); +-- +2.28.0 + diff --git a/net-p2p/qbittorrent/qbittorrent-4.3.0.recipe b/net-p2p/qbittorrent/qbittorrent-4.3.0.recipe index bcb164f97..1847f4c56 100644 --- a/net-p2p/qbittorrent/qbittorrent-4.3.0.recipe +++ b/net-p2p/qbittorrent/qbittorrent-4.3.0.recipe @@ -9,7 +9,7 @@ qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library." HOMEPAGE="https://www.qbittorrent.org/" COPYRIGHT="2006-2020 The qBittorrent project" LICENSE="MIT" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/qbittorrent/qBittorrent/archive/release-$portVersion.tar.gz" CHECKSUM_SHA256="d4667c07cf75107ade606714f44de6e7fc2049d2b08c889ce21a93f95e9573a1" SOURCE_DIR="qBittorrent-release-$portVersion"