diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-27 23:59:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-27 23:59:43 +0100 |
commit | 413421048cc2b0df9a218f0ab3cb151846809eb5 (patch) | |
tree | 3fd887035aa0f5b65d7f147ab77caa98c44c148d /dev-util/hyprwayland-scanner | |
parent | 3e42d1577189af123b773dc0f11e5419035308c8 (diff) |
gentoo auto-resync : 27:04:2024 - 23:59:42
Diffstat (limited to 'dev-util/hyprwayland-scanner')
-rw-r--r-- | dev-util/hyprwayland-scanner/Manifest | 3 | ||||
-rw-r--r-- | dev-util/hyprwayland-scanner/hyprwayland-scanner-0.3.1.ebuild | 37 | ||||
-rw-r--r-- | dev-util/hyprwayland-scanner/metadata.xml | 21 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-util/hyprwayland-scanner/Manifest b/dev-util/hyprwayland-scanner/Manifest new file mode 100644 index 000000000000..b8079ff56969 --- /dev/null +++ b/dev-util/hyprwayland-scanner/Manifest @@ -0,0 +1,3 @@ +DIST hyprwayland-scanner-0.3.1.gh.tar.gz 8832 BLAKE2B 2a86fa7e6898a74231836e521b92f6997b18e2ad45973dd60bb3696ca2ee9c348746c4f43299882c12bfc908aae86af19f86c8f404eb2ef26e11fd2a9249e9fa SHA512 bcbaa5952655894d2093df1fd24e4df301c810180d678746f9eb4f420d92461ef7f3ea0cfde1f1d4da48f09b325e8661d4fb1540fe749964cec9b19f19822af0 +EBUILD hyprwayland-scanner-0.3.1.ebuild 1106 BLAKE2B 4b658bd56b853c4a5455a8e52e55a3acccf159ff4c84bfc81ca7f28baa664c5030d2d3f83ed532319a9b07f3a50e1b6045bd3aebe3a9874afe3a4562fd517c14 SHA512 26b3e95c514c667cb37bf098ea670d223d6bf7f91828638bb364a554d8453d706addbe2f706a1edc3d8e6512c77f804300f338a1beaee591eded7518d93569ee +MISC metadata.xml 796 BLAKE2B ad11d5a2bc557d4eeec7f6bbd098ad28d1cb2b132aad7237029fca054cc9ac29225611b025685f6f1c3b7b8c5cd139076fc65522090243116dd9471276845a40 SHA512 51b663c96e8db90cc9cbafcea489102e7f8ca1fee59118a8b3beb29090f6620b4d539d809be3ccfb083e34a508b19c9aa70580fec774fafa691c393eb7b2a938 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>julien@jroy.ca</email> + <name>Julien Roy</name> + </maintainer> + <maintainer type="person" proxied="yes"> + <email>jethro.rosette@outlook.com</email> + <name>Jethro Rosettenstein</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <changelog>https://github.com/hyprwm/hyprwayland-scanner/releases</changelog> + <bugs-to>https://github.com/hyprwm/hyprwayland-scanner/issues</bugs-to> + <remote-id type="github">hyprwm/hyprwayland-scanner</remote-id> + </upstream> +</pkgmetadata> |