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 C3AB315807B for ; Sun, 6 Oct 2024 14:30:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DE62E29A3; Sun, 6 Oct 2024 14:30:51 +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 E73CBE29A3 for ; Sun, 6 Oct 2024 14:30:50 +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 037D3343154 for ; Sun, 6 Oct 2024 14:30:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6533FE8A for ; Sun, 6 Oct 2024 14:30:48 +0000 (UTC) From: "sin-ack" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "sin-ack" Message-ID: <1728224852.0a91627ff5cf14d01b9f41a302540d2b6e33281f.sin-ack@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/hyprwayland-scanner/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/hyprwayland-scanner/Manifest dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.2.ebuild dev-util/hyprwayland-scanner/metadata.xml X-VCS-Directories: dev-util/hyprwayland-scanner/ X-VCS-Committer: sin-ack X-VCS-Committer-Name: sin-ack X-VCS-Revision: 0a91627ff5cf14d01b9f41a302540d2b6e33281f X-VCS-Branch: dev Date: Sun, 6 Oct 2024 14:30:48 +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: f3d0822b-22e0-4254-a3f9-a8684bba1703 X-Archives-Hash: 8221a1ae47a631b0a22d0f8e1d23e3c1 commit: 0a91627ff5cf14d01b9f41a302540d2b6e33281f Author: sin-ack protonmail com> AuthorDate: Sun Oct 6 14:27:32 2024 +0000 Commit: sin-ack protonmail com> CommitDate: Sun Oct 6 14:27:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a91627f dev-util/hyprwayland-scanner: new package, add 0.4.2 Signed-off-by: sin-ack protonmail.com> dev-util/hyprwayland-scanner/Manifest | 1 + .../hyprwayland-scanner-0.4.2.ebuild | 37 ++++++++++++++++++++++ dev-util/hyprwayland-scanner/metadata.xml | 13 ++++++++ 3 files changed, 51 insertions(+) diff --git a/dev-util/hyprwayland-scanner/Manifest b/dev-util/hyprwayland-scanner/Manifest new file mode 100644 index 000000000..c6408ea55 --- /dev/null +++ b/dev-util/hyprwayland-scanner/Manifest @@ -0,0 +1 @@ +DIST hyprwayland-scanner-0.4.2.gh.tar.gz 11160 BLAKE2B c623319354f8fc9571b27c50b490f579e4054723768da0b1ca90a0b31519b4b709ba3bbdc26e1e911f62131aa7b866f1ab8f257a5e19b7349c15641c6b242e75 SHA512 1f1b73dbb80052484889a075095d76e0fba83a5c91f80d8e5a6167153405337b011c423250aef3feb9270ea641fe8d68966a17d92057215f54e4d8cc67b24c7e diff --git a/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.2.ebuild b/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.2.ebuild new file mode 100644 index 000000000..527981c85 --- /dev/null +++ b/dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.2.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 000000000..9fbd24173 --- /dev/null +++ b/dev-util/hyprwayland-scanner/metadata.xml @@ -0,0 +1,13 @@ + + + + + sin-ack@protonmail.com + sin-ack + + + https://github.com/hyprwm/hyprwayland-scanner/releases + https://github.com/hyprwm/hyprwayland-scanner/issues + hyprwm/hyprwayland-scanner + +