From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 707B9159C9B for ; Thu, 25 Jul 2024 00:06:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0E8DE2AB3; Thu, 25 Jul 2024 00:06:27 +0000 (UTC) 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 pigeon.gentoo.org (Postfix) with ESMTPS id 809D7E2AB3 for ; Thu, 25 Jul 2024 00:06:27 +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 72C94335D6E for ; Thu, 25 Jul 2024 00:06:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 53E351E30 for ; Thu, 25 Jul 2024 00:06:24 +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: <1721865658.8e5f3333269a65df8fb9fa636379a7567fb8a1ef.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.0.ebuild X-VCS-Directories: dev-util/hyprwayland-scanner/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 8e5f3333269a65df8fb9fa636379a7567fb8a1ef X-VCS-Branch: master Date: Thu, 25 Jul 2024 00:06:24 +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: c585aadd-477c-4255-ab81-836f7b72e396 X-Archives-Hash: c81d62ef2272d10ed94d94a0207ee821 commit: 8e5f3333269a65df8fb9fa636379a7567fb8a1ef Author: John M. Harris Jr. johnmh me> AuthorDate: Wed Jul 24 02:12:42 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Thu Jul 25 00:00:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5f3333 dev-util/hyprwayland-scanner: add 0.4.0 Signed-off-by: John M. Harris Jr. johnmh.me> Signed-off-by: Yixun Lan gentoo.org> dev-util/hyprwayland-scanner/Manifest | 1 + .../hyprwayland-scanner-0.4.0.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-util/hyprwayland-scanner/Manifest b/dev-util/hyprwayland-scanner/Manifest index 356bdb1d3815..1d63927590d9 100644 --- a/dev-util/hyprwayland-scanner/Manifest +++ b/dev-util/hyprwayland-scanner/Manifest @@ -2,3 +2,4 @@ DIST hyprwayland-scanner-0.3.1.gh.tar.gz 8832 BLAKE2B 2a86fa7e6898a74231836e521b DIST hyprwayland-scanner-0.3.10.gh.tar.gz 10039 BLAKE2B 369c2445904480ec9368101056e9712c0583307c1faaea43fed80f17075521371865841c777070a6983d9a84c394c620b0b0ecd53bbd6166f7828e136c0d52eb SHA512 d63f9490d048725a7faa3995e3786190b37db16654293cce16c410c4cfd27e61042a50e6feddc7eda42d67c04bdd7bc19b51f475ddd206ffc5464e762003392b DIST hyprwayland-scanner-0.3.4.gh.tar.gz 9610 BLAKE2B 931807bade6186489826fe73ca558c3e4100f0db62c3a07920ad6e173dedc5c4d157b6caf1d5bc75c9b9ef419c8351f9bc06aa84425ffcd506792c8ec7de922b SHA512 1b05a41a19f7d07fdb10e5e72cb6949e1ac811ec0435f49d86376f19c3904660bc2a94b5f2dc75ca45e4243b6009df33682464c24c1bcea65ab16fa4f3a97732 DIST hyprwayland-scanner-0.3.7.gh.tar.gz 9891 BLAKE2B 587eedabebc775b6d4591b7d0e9517238c18594f397d91d5431368b2f83646ce3b1bfdb07d424410977a8d5afab201f622c0a8de271f9322d250ae7ee621ab4f SHA512 996ef9eaf5b0096a2b01ad8d815584b2c5d6df284e33c2d5a8d07b682df5dc3eff02c3774bc92de57ad014d8414af6bf7bd18a9f212c83d8a0e1e88872f742bc +DIST hyprwayland-scanner-0.4.0.gh.tar.gz 10990 BLAKE2B f138f74b896d39f12b63ea3cea5a8f456821a6ed9e0e6baefd80f70dffb2f9cd1b650adf59a871f8f8055f8ed7cfb05e4631e96352fc137b8acbf1b6cdd93fae SHA512 1b7b0ddea94bd2679150a7a6d80628d1156ae11d6963fe31fd6d7292cb1d9c273830bb4515032d0645649e56b57c2d64c5312b007ea11480bb798ea43582fe9c diff --git a/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.0.ebuild b/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.0.ebuild new file mode 100644 index 000000000000..c48449c55b2b --- /dev/null +++ b/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.0.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 +}