From patchwork Thu Apr 3 20:41:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Ziltener X-Patchwork-Id: 41245 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 99DB027BBEC; Thu, 3 Apr 2025 21:44:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CFBFE27BBE9 for ; Thu, 3 Apr 2025 21:44:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0RQ2-0004Mp-Sk; Thu, 03 Apr 2025 16:44:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u0RPv-0003zJ-B5 for guix-patches@gnu.org; Thu, 03 Apr 2025 16:44:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u0RPu-0005dq-PE for guix-patches@gnu.org; Thu, 03 Apr 2025 16:44:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=OcONZmuY9Rh92N4JZ80wkOtTOD4IQLU3ZDOMF8aZUAw=; b=eakvRb3iBj95ob+q+XxvsT4UtbR7T/db7jGp4C/PkiCEkXPhPKzqWMMnXBoZhLnhdMcOu/rBbQX5ZTLJiiOa7b5nopn6viaWF6vH6UIGjJRLG8q601AB0gaKkE4CVpdTrfjDVAenUWJ2G5Rdhqiu3RcBMcEOxg0pmBl2ykJx0Ug5sHG+0hpYepEFu2OwZRDM1rXbGD9JtolFP0MfrwnHVbGcfZepnG1TbahuOFOeWQ9++SeRTY6faGSlfqMuXfbF07wCnDZEHx+aXhRfzLTolqdFaWxQOj+AuKW1RXExyZkLhKulVejPUCkt/PdsRBRTD8AZdN+cNRg+zRqUoC3JSQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u0RPu-0003cc-KO for guix-patches@gnu.org; Thu, 03 Apr 2025 16:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77505] [PATCH] gnu: qt: Add hyprland-qt-support. Resent-From: Daniel Ziltener Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Apr 2025 20:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77505@debbugs.gnu.org Cc: Daniel Ziltener X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174371298413834 (code B ref -1); Thu, 03 Apr 2025 20:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 20:43:04 +0000 Received: from localhost ([127.0.0.1]:35908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0ROy-0003b2-9K for submit@debbugs.gnu.org; Thu, 03 Apr 2025 16:43:04 -0400 Received: from lists.gnu.org ([2001:470:142::17]:41808) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0ROw-0003Zk-8n for submit@debbugs.gnu.org; Thu, 03 Apr 2025 16:43:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u0ROV-00020r-Hg for guix-patches@gnu.org; Thu, 03 Apr 2025 16:42:39 -0400 Received: from 195-15-241-199.dc3-a.pub1.etik-cloud.com ([195.15.241.199] helo=lyrion.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u0ROS-0005HB-Ax for guix-patches@gnu.org; Thu, 03 Apr 2025 16:42:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lyrion.ch; s=20230702; t=1743712946; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=OcONZmuY9Rh92N4JZ80wkOtTOD4IQLU3ZDOMF8aZUAw=; b=lP5VDjcl13orvHjzYRYhyyUbdjTfqV6/SI0+Yy7f2PA3hZZAUMgOfGKwtOkTuUYHACa0sw pRzxUwrpjCpZRug/v8YHMihcgwMDYXwQ6+fmH6MB4FqmDz08Zf3ngYvLfmPrjCLVvZSr3L Cj3wdd/aaRKOzOm6+CVGt3NlN+O36waosfSPisDqAXoKZrYIp7aQSlB32DwHrmZLyVzUir bC/QBPTt2GexvJBkj0Ylka1QZeu1HmbJuhrG6fWjUvQbz/qdy06ZuBZQ+Y8wz9ihG2Z94q P1TndINCdjpJ59WNTE8FLBtj7DWUxO1GJ1e1mSn/Kdx3Ah07pjwUtFBjISd4YA== Received: from lyrion.ch (cf59784b.dynamic.tele-ag.de [207.89.120.75]) by lyrion.ch (OpenSMTPD) with ESMTPSA id 804109e1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 3 Apr 2025 20:42:26 +0000 (UTC) Date: Thu, 3 Apr 2025 22:41:13 +0200 Message-ID: <20250403204208.8918-1-dziltener@lyrion.ch> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Received-SPF: pass client-ip=195.15.241.199; envelope-from=dziltener@lyrion.ch; helo=lyrion.ch X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Daniel Ziltener X-ACL-Warn: , Daniel Ziltener via Guix-patches X-Patchwork-Original-From: Daniel Ziltener via Guix-patches via From: Daniel Ziltener Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Adds hyprland-qt-support. I hope this is a fitting module. Maybe we should think about adding a hyprland-xyz module at some point? --- gnu/packages/qt.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 94cc879f4a..17dad66af5 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -442,6 +442,48 @@ (define-public materialdecoration (home-page "https://github.com/lirios/materialdecoration") (license license:lgpl3+)))) +(define-public hyprland-qt-support + (package + (name "hyprland-qt-support") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/hyprwm/hyprland-qt-support") + (commit (string-append "v" version)))) + (sha256 + (base32 + "0rxdj8l985bvsg3gca79jb4rf0dy066x5cmxsyyavlcp7yz6irps")))) + (build-system qt-build-system) + (arguments + (list + #:tests? #false + #:qtbase qtbase + #:configure-flags + #~(list + "-DUSE_QT6=ON" + "-DCMAKE_BUILD_TYPE:STRING=Release" + "-DINSTALL_QML_PREFIX=/lib/qt6/qml"))) + (native-inputs + (list + gcc-14 + pkg-config + vulkan-headers)) + (inputs + (list + qtbase + qtdeclarative + qtsvg + qtwayland + hyprlang)) + (home-page "https://github.com/hyprwm/hyprland-qt-support") + (synopsis "A qml style provider for hypr* qt apps") + (description "A qml style provider for hypr* qt apps. \ +Launch a qt/qmp app with @code{QT_QUICK_CONTROLS_STYLE=org.hyprland.style}.") + (license license:bsd-3))) + (define-public grantlee (package (name "grantlee")