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 C11641581E7 for ; Sat, 27 Apr 2024 11:09:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 050FDE29E6; Sat, 27 Apr 2024 11:09:57 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BDDCDE29CD for ; Sat, 27 Apr 2024 11:09:56 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CDA51342F64 for ; Sat, 27 Apr 2024 11:09:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C4411710 for ; Sat, 27 Apr 2024 11:09:54 +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: <1714216172.a1c5947e0b3aa428e32dfc807926045ea44ad01c.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.3.1.ebuild dev-util/hyprwayland-scanner/metadata.xml X-VCS-Directories: dev-util/hyprwayland-scanner/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: a1c5947e0b3aa428e32dfc807926045ea44ad01c X-VCS-Branch: master Date: Sat, 27 Apr 2024 11:09:54 +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: d6a5371f-3cc3-4a19-b517-29fba6b297e5 X-Archives-Hash: 997e73890b853a6a37a95d4ef40636a9 commit: a1c5947e0b3aa428e32dfc807926045ea44ad01c Author: jthro outlook com> AuthorDate: Sat Apr 27 08:46:29 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Sat Apr 27 11:09:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c5947e dev-util/hyprwayland-scanner: add 0.3.1 Closes: https://bugs.gentoo.org/930393 Signed-off-by: jthro outlook.com> Signed-off-by: Yixun Lan gentoo.org> dev-util/hyprwayland-scanner/Manifest | 1 + .../hyprwayland-scanner-0.3.1.ebuild | 37 ++++++++++++++++++++++ dev-util/hyprwayland-scanner/metadata.xml | 21 ++++++++++++ 3 files changed, 59 insertions(+) diff --git a/dev-util/hyprwayland-scanner/Manifest b/dev-util/hyprwayland-scanner/Manifest new file mode 100644 index 000000000000..42fffb953cd3 --- /dev/null +++ b/dev-util/hyprwayland-scanner/Manifest @@ -0,0 +1 @@ +DIST hyprwayland-scanner-0.3.1.gh.tar.gz 8832 BLAKE2B 2a86fa7e6898a74231836e521b92f6997b18e2ad45973dd60bb3696ca2ee9c348746c4f43299882c12bfc908aae86af19f86c8f404eb2ef26e11fd2a9249e9fa SHA512 bcbaa5952655894d2093df1fd24e4df301c810180d678746f9eb4f420d92461ef7f3ea0cfde1f1d4da48f09b325e8661d4fb1540fe749964cec9b19f19822af0 diff --git a/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.3.1.ebuild b/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.3.1.ebuild new file mode 100644 index 000000000000..c48449c55b2b --- /dev/null +++ b/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.3.1.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 +} diff --git a/dev-util/hyprwayland-scanner/metadata.xml b/dev-util/hyprwayland-scanner/metadata.xml new file mode 100644 index 000000000000..f3312ee6fcc4 --- /dev/null +++ b/dev-util/hyprwayland-scanner/metadata.xml @@ -0,0 +1,21 @@ + + + + + julien@jroy.ca + Julien Roy + + + jethro.rosette@outlook.com + Jethro Rosettenstein + + + proxy-maint@gentoo.org + Proxy Maintainers + + + https://github.com/hyprwm/hyprwayland-scanner/releases + https://github.com/hyprwm/hyprwayland-scanner/issues + hyprwm/hyprwayland-scanner + +