summaryrefslogtreecommitdiff
path: root/dev-util/hyprwayland-scanner
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-18 04:04:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-18 04:04:23 +0100
commit483d7c056fba15727fe24545f93627a1d1e1e2eb (patch)
tree80d144b60f8e1dc0d14c15cb3e5950da12c80074 /dev-util/hyprwayland-scanner
parent8796aaedb3257bbe4d80b0033408b2210b2259d6 (diff)
gentoo auto-resync : 18:10:2024 - 04:04:23
Diffstat (limited to 'dev-util/hyprwayland-scanner')
-rw-r--r--dev-util/hyprwayland-scanner/Manifest2
-rw-r--r--dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.2.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-util/hyprwayland-scanner/Manifest b/dev-util/hyprwayland-scanner/Manifest
index b5c457160b7c..a4e2f5710468 100644
--- a/dev-util/hyprwayland-scanner/Manifest
+++ b/dev-util/hyprwayland-scanner/Manifest
@@ -1,5 +1,7 @@
DIST hyprwayland-scanner-0.3.10.gh.tar.gz 10039 BLAKE2B 369c2445904480ec9368101056e9712c0583307c1faaea43fed80f17075521371865841c777070a6983d9a84c394c620b0b0ecd53bbd6166f7828e136c0d52eb SHA512 d63f9490d048725a7faa3995e3786190b37db16654293cce16c410c4cfd27e61042a50e6feddc7eda42d67c04bdd7bc19b51f475ddd206ffc5464e762003392b
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
EBUILD hyprwayland-scanner-0.3.10.ebuild 1105 BLAKE2B 746dec99afa57e1c3116412034a2244d74fd1f09079bc53148b4998e9aa80fb7f44e25c2f1d4513363412e1025ff1688b7f5076bf46a697c896bf9b6624a0d2e SHA512 ad0bc21650148ab917fbbbcf60a3d97fd966b433d24800b652219720d70a99cea19f19b1d6839e4accacbf356934f4c96e3476f5eeda74d71316b20364d07cfb
EBUILD hyprwayland-scanner-0.4.0.ebuild 1105 BLAKE2B 746dec99afa57e1c3116412034a2244d74fd1f09079bc53148b4998e9aa80fb7f44e25c2f1d4513363412e1025ff1688b7f5076bf46a697c896bf9b6624a0d2e SHA512 ad0bc21650148ab917fbbbcf60a3d97fd966b433d24800b652219720d70a99cea19f19b1d6839e4accacbf356934f4c96e3476f5eeda74d71316b20364d07cfb
+EBUILD hyprwayland-scanner-0.4.2.ebuild 1106 BLAKE2B 4b658bd56b853c4a5455a8e52e55a3acccf159ff4c84bfc81ca7f28baa664c5030d2d3f83ed532319a9b07f3a50e1b6045bd3aebe3a9874afe3a4562fd517c14 SHA512 26b3e95c514c667cb37bf098ea670d223d6bf7f91828638bb364a554d8453d706addbe2f706a1edc3d8e6512c77f804300f338a1beaee591eded7518d93569ee
MISC metadata.xml 928 BLAKE2B 2710c4492ca257c200bebc2b37e9b4c40f8464e19f2a6206038ea72b2d7153fa875d8d050d411f86bc436850dcbe866750546ecb1752758627bbaba9486b02cc SHA512 0f1f5cbafd84c252e50118bdbcfee5c1d3604da981fde8d46a3447a417c99420c6fd3dd189dd40e16159ea00afb9d69a367839be8c48029f64c3f816ecff903c
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 000000000000..c48449c55b2b
--- /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
+}