public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-auth/hyprpolkitagent/
Date: Mon, 13 Jan 2025 15:51:56 +0000 (UTC)	[thread overview]
Message-ID: <1736783535.41b2f0a3e67780001ea542ce99aeca0c35c69e86.davidroman@gentoo> (raw)

commit:     41b2f0a3e67780001ea542ce99aeca0c35c69e86
Author:     Johannes Huber <johu <AT> gmx <DOT> de>
AuthorDate: Mon Jan 13 10:53:00 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Jan 13 15:52:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41b2f0a3

sys-auth/hyprpolkitagent: add 0.1.2

Signed-off-by: Johannes Huber <johu <AT> gmx.de>
Closes: https://github.com/gentoo/guru/pull/275
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 sys-auth/hyprpolkitagent/Manifest                  |  1 +
 .../hyprpolkitagent/hyprpolkitagent-0.1.2.ebuild   | 45 ++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/sys-auth/hyprpolkitagent/Manifest b/sys-auth/hyprpolkitagent/Manifest
index dd9397f7f..de0f43edd 100644
--- a/sys-auth/hyprpolkitagent/Manifest
+++ b/sys-auth/hyprpolkitagent/Manifest
@@ -1 +1,2 @@
 DIST hyprpolkitagent-0.1.1.tar.gz 29303 BLAKE2B 9aaaaa23376f315f41f001624284466286537241282bbeafd5d5d94787988edc41bf7e2fdb60b859c55a80a9ad88b26247ffe933b6b415166269a02a37a5e0a5 SHA512 402bd7917734ceac209758f4f8d705e4a14ed94c9882c975ffcc8ed7d6e28861959bbee669ea343d8aaaf8bab36fffea815eec52398e0cffe42ca0b54171cd3f
+DIST hyprpolkitagent-0.1.2.tar.gz 32283 BLAKE2B 3d93f100a9c4c6ea905d6d8e79cac438040adada9c9c06b533c1c7af01094327c4449d9e7e9879258dd48899e81407ecc5c80539b73d925cc0658b13b7b2f2e1 SHA512 42a394344c9038536eb3d48f588804747bf191f14efe82e00c6bc2d4423b5a04ef5230d8eab1581fdd3a0de92013ba361a0efd17e1f99d725616d413fd103d96

diff --git a/sys-auth/hyprpolkitagent/hyprpolkitagent-0.1.2.ebuild b/sys-auth/hyprpolkitagent/hyprpolkitagent-0.1.2.ebuild
new file mode 100644
index 000000000..988e8578b
--- /dev/null
+++ b/sys-auth/hyprpolkitagent/hyprpolkitagent-0.1.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake toolchain-funcs
+
+DESCRIPTION="Polkit authentication agent for Hyprland, written in Qt/QML"
+HOMEPAGE="https://wiki.hyprland.org/Hypr-Ecosystem/hyprpolkitagent"
+SRC_URI="https://github.com/hyprwm/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+	dev-qt/qtbase:6[gui,widgets]
+	dev-qt/qtdeclarative:6
+	gui-libs/hyprutils:=
+	sys-auth/polkit
+	sys-auth/polkit-qt[qt6]
+"
+
+RDEPEND="
+	${DEPEND}
+	gui-libs/hyprland-qt-support
+"
+
+BDEPEND="
+	virtual/pkgconfig
+"
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} == binary ]] && return
+
+	if tc-is-gcc && ver_test $(gcc-version) -lt 14 ; then
+		eerror "Hyprpolkitagent requires >=sys-devel/gcc-14 to build"
+		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
+		die "GCC version is too old to compile Hyprland!"
+	elif tc-is-clang && ver_test $(clang-version) -lt 18 ; then
+		eerror "Hyprpolkitagent requires >=llvm-core/clang-18 to build"
+		eerror "Please upgrade Clang: emerge -v1 llvm-core/clang"
+		die "Clang version is too old to compile Hyprland!"
+	fi
+}


             reply	other threads:[~2025-01-13 15:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-13 15:51 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-03 16:33 [gentoo-commits] repo/proj/guru:dev commit in: sys-auth/hyprpolkitagent/ David Roman
2024-12-30 15:43 Julien Roy
2024-11-17  3:49 Julien Roy
2024-11-17  3:49 Julien Roy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1736783535.41b2f0a3e67780001ea542ce99aeca0c35c69e86.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox