GNU bug report logs - #61446
[PATCH] gnu: Add qbittorrent-nox.

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Sun, 12 Feb 2023 05:10:02 UTC

Severity: normal

Tags: patch

Done: Josselin Poiret <dev <at> jpoiret.xyz>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Hilton Chain <hako <at> ultrarare.space>
To: 61446 <at> debbugs.gnu.org
Subject: [bug#61446] [PATCH] gnu: Add qbittorrent-nox.
Date: Sun, 12 Feb 2023 13:08:57 +0800
* gnu/packages/bittorrent.scm (qbittorrent-nox): New variable.
---
 gnu/packages/bittorrent.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index c3257cf2bf..ab4091009d 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -491,6 +491,23 @@ (define-public qbittorrent
 features.")
     (license l:gpl2+)))
 
+(define-public qbittorrent-nox
+  (let ((base qbittorrent))
+    (package
+      (inherit base)
+      (name "qbittorrent-nox")
+      (arguments
+       (substitute-keyword-arguments (package-arguments base)
+         ((#:configure-flags configure-flags)
+          #~(append #$configure-flags
+                    (list "--disable-gui")))
+         ((#:phases phases)
+          #~(modify-phases #$phases
+              (delete 'wrap-qt)))))
+      (inputs
+       (modify-inputs (package-inputs base)
+         (delete "qtsvg-5"))))))
+
 (define-public deluge
   (package
     (name "deluge")

base-commit: 4a6f64ab2afff761eb233e7ca6110d9e8acf8f32
-- 
2.39.1





This bug report was last modified 2 years and 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.