summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn M. Harris Jr. <johnmh@johnmh.me>2024-07-22 10:44:28 -0700
committerJohn M. Harris Jr. <johnmh@johnmh.me>2024-07-22 10:44:28 -0700
commitb6aff191e5a88c0012f95daf162c37bbc8b24c68 (patch)
tree924e0f3d0a50aad666374f396ad89264968d0bbe
parentmedia-video/jellyfin-media-player: new package, add 1.11.1 (diff)
downloadjohnmh-b6aff191e5a88c0012f95daf162c37bbc8b24c68.tar.gz
johnmh-b6aff191e5a88c0012f95daf162c37bbc8b24c68.tar.bz2
johnmh-b6aff191e5a88c0012f95daf162c37bbc8b24c68.zip
dev-util/hyprwayland-scanner: new package, add 0.4.0
Signed-off-by: John M. Harris Jr. <johnmh@johnmh.me>
-rw-r--r--dev-util/hyprwayland-scanner/Manifest3
-rw-r--r--dev-util/hyprwayland-scanner/hyprwayland-scanner-0.4.0.ebuild37
-rw-r--r--dev-util/hyprwayland-scanner/metadata.xml25
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/hyprwayland-scanner/Manifest b/dev-util/hyprwayland-scanner/Manifest
new file mode 100644
index 0000000..72c1b4d
--- /dev/null
+++ b/dev-util/hyprwayland-scanner/Manifest
@@ -0,0 +1,3 @@
+DIST hyprwayland-scanner-0.4.0.gh.tar.gz 10990 BLAKE2B f138f74b896d39f12b63ea3cea5a8f456821a6ed9e0e6baefd80f70dffb2f9cd1b650adf59a871f8f8055f8ed7cfb05e4631e96352fc137b8acbf1b6cdd93fae SHA512 1b7b0ddea94bd2679150a7a6d80628d1156ae11d6963fe31fd6d7292cb1d9c273830bb4515032d0645649e56b57c2d64c5312b007ea11480bb798ea43582fe9c
+EBUILD hyprwayland-scanner-0.4.0.ebuild 1106 BLAKE2B 4b658bd56b853c4a5455a8e52e55a3acccf159ff4c84bfc81ca7f28baa664c5030d2d3f83ed532319a9b07f3a50e1b6045bd3aebe3a9874afe3a4562fd517c14 SHA512 26b3e95c514c667cb37bf098ea670d223d6bf7f91828638bb364a554d8453d706addbe2f706a1edc3d8e6512c77f804300f338a1beaee591eded7518d93569ee
+MISC metadata.xml 898 BLAKE2B c083753401fcc863972b4a9e4e6287760696f9e371a91b035d3ea5bf25ce4ca1a547f6d96ea25425a6d40d1ff585828fa663c82778157d9c1852710bc8ad8ccd SHA512 3d995d56475a8a7199ccb9c1592834870931d13c91dd9607e057c76882d92351951705cf4ee0372ae4aec47b56bdb53fb0783aa16734ee3b0f6666d7c8933d77
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 0000000..c48449c
--- /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
+}
diff --git a/dev-util/hyprwayland-scanner/metadata.xml b/dev-util/hyprwayland-scanner/metadata.xml
new file mode 100644
index 0000000..9a735d4
--- /dev/null
+++ b/dev-util/hyprwayland-scanner/metadata.xml
@@ -0,0 +1,25 @@
+<?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>
+ <email>johnmh@johnmh.me</email>
+ <name> John M. Harris, Jr.</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>