From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 63D461582EF for ; Sat, 08 Feb 2025 01:51:49 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4A8E6342F94 for ; Sat, 08 Feb 2025 01:51:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3E2401103CB; Sat, 08 Feb 2025 01:51:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 30F531103CB for ; Sat, 08 Feb 2025 01:51:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA086342F93 for ; Sat, 08 Feb 2025 01:51:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 42C6A268A for ; Sat, 08 Feb 2025 01:51:46 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1738979454.ad1ff1999f6416f2bc305cb8c879f29484dd9f2a.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/hyprwayland-scanner/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/hyprwayland-scanner/Manifest dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.4.ebuild X-VCS-Directories: dev-util/hyprwayland-scanner/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: ad1ff1999f6416f2bc305cb8c879f29484dd9f2a X-VCS-Branch: master Date: Sat, 08 Feb 2025 01:51:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 419784d7-54a9-4540-beb2-aadd5f81b90f X-Archives-Hash: 7aa4bf00f46339b00dde72697cf31b85 commit: ad1ff1999f6416f2bc305cb8c879f29484dd9f2a Author: Filip Kobierski pm me> AuthorDate: Sat Feb 1 19:40:40 2025 +0000 Commit: Yixun Lan gentoo org> CommitDate: Sat Feb 8 01:50:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad1ff199 dev-util/hyprwayland-scanner: add 0.4.4 Signed-off-by: Filip Kobierski pm.me> Signed-off-by: Yixun Lan gentoo.org> dev-util/hyprwayland-scanner/Manifest | 1 + .../hyprwayland-scanner-0.4.4.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-util/hyprwayland-scanner/Manifest b/dev-util/hyprwayland-scanner/Manifest index e0d92f464ebe..8fc1c4114f37 100644 --- a/dev-util/hyprwayland-scanner/Manifest +++ b/dev-util/hyprwayland-scanner/Manifest @@ -1,2 +1,3 @@ DIST hyprwayland-scanner-0.4.0.gh.tar.gz 10990 BLAKE2B f138f74b896d39f12b63ea3cea5a8f456821a6ed9e0e6baefd80f70dffb2f9cd1b650adf59a871f8f8055f8ed7cfb05e4631e96352fc137b8acbf1b6cdd93fae SHA512 1b7b0ddea94bd2679150a7a6d80628d1156ae11d6963fe31fd6d7292cb1d9c273830bb4515032d0645649e56b57c2d64c5312b007ea11480bb798ea43582fe9c DIST hyprwayland-scanner-0.4.2.gh.tar.gz 11160 BLAKE2B c623319354f8fc9571b27c50b490f579e4054723768da0b1ca90a0b31519b4b709ba3bbdc26e1e911f62131aa7b866f1ab8f257a5e19b7349c15641c6b242e75 SHA512 1f1b73dbb80052484889a075095d76e0fba83a5c91f80d8e5a6167153405337b011c423250aef3feb9270ea641fe8d68966a17d92057215f54e4d8cc67b24c7e +DIST hyprwayland-scanner-0.4.4.gh.tar.gz 11254 BLAKE2B 29f1f94b10f7f95f7a97e2bff1971669a55b0d3893572b1cd56879a4b31b825e459246b13f2455a0e4dee5b2710aceaa9581326cf2b90900dbd13171ac48d130 SHA512 c0f4670fa39edee43a05f9d7a3f3d60b793034cdf9e351f6cda60a72481f4a212c78ed5b4c15481df20acab86b987843691037fba0e62efe906196181c64b2eb diff --git a/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.4.ebuild b/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.4.ebuild new file mode 100644 index 000000000000..1549357c844f --- /dev/null +++ b/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 2024-2025 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 >=llvm-core/clang-16 to build" + eerror "Please upgrade Clang: emerge -v1 llvm-core/clang" + die "Clang version is too old to compile Hyprland!" + fi +}