public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/hyprwayland-scanner/
Date: Wed, 15 May 2024 08:04:18 +0000 (UTC)	[thread overview]
Message-ID: <1715760215.dd2cc10258f76e7750d62b85e3e84339f9481ce8.dlan@gentoo> (raw)

commit:     dd2cc10258f76e7750d62b85e3e84339f9481ce8
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon May 13 15:46:22 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed May 15 08:03:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd2cc102

dev-util/hyprwayland-scanner: add 0.3.7

Signed-off-by: Julien Roy <julien <AT> jroy.ca>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-util/hyprwayland-scanner/Manifest              |  1 +
 .../hyprwayland-scanner-0.3.7.ebuild               | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-util/hyprwayland-scanner/Manifest b/dev-util/hyprwayland-scanner/Manifest
index 42fffb953cd3..62338d023cf0 100644
--- a/dev-util/hyprwayland-scanner/Manifest
+++ b/dev-util/hyprwayland-scanner/Manifest
@@ -1 +1,2 @@
 DIST hyprwayland-scanner-0.3.1.gh.tar.gz 8832 BLAKE2B 2a86fa7e6898a74231836e521b92f6997b18e2ad45973dd60bb3696ca2ee9c348746c4f43299882c12bfc908aae86af19f86c8f404eb2ef26e11fd2a9249e9fa SHA512 bcbaa5952655894d2093df1fd24e4df301c810180d678746f9eb4f420d92461ef7f3ea0cfde1f1d4da48f09b325e8661d4fb1540fe749964cec9b19f19822af0
+DIST hyprwayland-scanner-0.3.7.gh.tar.gz 9891 BLAKE2B 587eedabebc775b6d4591b7d0e9517238c18594f397d91d5431368b2f83646ce3b1bfdb07d424410977a8d5afab201f622c0a8de271f9322d250ae7ee621ab4f SHA512 996ef9eaf5b0096a2b01ad8d815584b2c5d6df284e33c2d5a8d07b682df5dc3eff02c3774bc92de57ad014d8414af6bf7bd18a9f212c83d8a0e1e88872f742bc

diff --git a/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.3.7.ebuild b/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.3.7.ebuild
new file mode 100644
index 000000000000..c48449c55b2b
--- /dev/null
+++ b/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.3.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake toolchain-funcs
+
+DESCRIPTION="A Hyprland implementation of wayland-scanner, in and for C++"
+HOMEPAGE="https://github.com/hyprwm/hyprwayland-scanner/"
+
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/hyprwm/hyprwayland-scanner.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/hyprwm/hyprwayland-scanner/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND=">=dev-libs/pugixml-1.14"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} == binary ]] && return
+
+	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
+		eerror "Hyprland requires >=sys-devel/gcc-13 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 16 ; then
+		eerror "Hyprland requires >=sys-devel/clang-16 to build"
+		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
+		die "Clang version is too old to compile Hyprland!"
+	fi
+}


             reply	other threads:[~2024-05-15  8:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-15  8:04 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-01 18:01 [gentoo-commits] repo/gentoo:master commit in: dev-util/hyprwayland-scanner/ Sam James
2025-02-08  1:51 Yixun Lan
2025-02-08  1:51 Yixun Lan
2024-12-29  0:11 Yixun Lan
2024-12-28  8:52 Arthur Zamarin
2024-10-17 11:40 Yixun Lan
2024-09-02  2:46 Sam James
2024-08-22 10:51 Yixun Lan
2024-07-27 17:16 Arthur Zamarin
2024-07-25  0:06 Yixun Lan
2024-06-25  8:18 Yixun Lan
2024-05-15  8:04 Yixun Lan
2024-04-27 11:09 Yixun Lan

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=1715760215.dd2cc10258f76e7750d62b85e3e84339f9481ce8.dlan@gentoo \
    --to=dlan@gentoo.org \
    --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