git: 3dc7dfb2d907 - main - graphics/hyprland-protocols: add port: Wayland protocol extensions for Hyprland
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Aug 2025 09:28:42 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3dc7dfb2d907dcb91412bd588736a8608bb1a794
commit 3dc7dfb2d907dcb91412bd588736a8608bb1a794
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-08-01 09:26:58 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-08-01 09:28:27 +0000
graphics/hyprland-protocols: add port: Wayland protocol extensions for Hyprland
This package exists in an effort to bridge the gap between Hyprland
and KDE/Gnome's functionality, as well as allow apps for some extra
neat functionality under Hyprland.
Since wayland-protocols is slow to change (on top of Hyprland not
being allowed to contribute), we have to maintain a set of protocols
Hyprland uses to plumb some things / add some useful features.
Some of the protocols here also do not belong in wayland-protocols, as
they are specific to Hyprland.
WWW: https://github.com/hyprwm/hyprland-protocols
---
graphics/Makefile | 1 +
graphics/hyprland-protocols/Makefile | 26 ++++++++++++++++++++++++++
graphics/hyprland-protocols/distinfo | 3 +++
graphics/hyprland-protocols/pkg-descr | 10 ++++++++++
graphics/hyprland-protocols/pkg-plist | 8 ++++++++
5 files changed, 48 insertions(+)
diff --git a/graphics/Makefile b/graphics/Makefile
index 71716649bbcd..63aa75d13b08 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -348,6 +348,7 @@
SUBDIR += hs-tart
SUBDIR += hugin
SUBDIR += hyprgraphics
+ SUBDIR += hyprland-protocols
SUBDIR += icat
SUBDIR += icc-profiles-adobe-cs4
SUBDIR += icc-profiles-basiccolor
diff --git a/graphics/hyprland-protocols/Makefile b/graphics/hyprland-protocols/Makefile
new file mode 100644
index 000000000000..cb910f00c9af
--- /dev/null
+++ b/graphics/hyprland-protocols/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= hyprland-protocols
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.6.4
+CATEGORIES= graphics
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= Wayland protocol extensions for Hyprland
+WWW= https://github.com/hyprwm/hyprland-protocols
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= meson
+
+USE_GITHUB= yes
+GH_ACCOUNT= hyprwm
+
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/graphics/hyprland-protocols/distinfo b/graphics/hyprland-protocols/distinfo
new file mode 100644
index 000000000000..e74a37925c7e
--- /dev/null
+++ b/graphics/hyprland-protocols/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1754038793
+SHA256 (hyprwm-hyprland-protocols-v0.6.4_GH0.tar.gz) = 0d4f99abc21b04fc126dd754e306bb84cd334131d542ff2e0c172190c6570384
+SIZE (hyprwm-hyprland-protocols-v0.6.4_GH0.tar.gz) = 10447
diff --git a/graphics/hyprland-protocols/pkg-descr b/graphics/hyprland-protocols/pkg-descr
new file mode 100644
index 000000000000..2919edd92193
--- /dev/null
+++ b/graphics/hyprland-protocols/pkg-descr
@@ -0,0 +1,10 @@
+This package exists in an effort to bridge the gap between Hyprland
+and KDE/Gnome's functionality, as well as allow apps for some extra
+neat functionality under Hyprland.
+
+Since wayland-protocols is slow to change (on top of Hyprland not
+being allowed to contribute), we have to maintain a set of protocols
+Hyprland uses to plumb some things / add some useful features.
+
+Some of the protocols here also do not belong in wayland-protocols, as
+they are specific to Hyprland.
diff --git a/graphics/hyprland-protocols/pkg-plist b/graphics/hyprland-protocols/pkg-plist
new file mode 100644
index 000000000000..238901696534
--- /dev/null
+++ b/graphics/hyprland-protocols/pkg-plist
@@ -0,0 +1,8 @@
+%%DATADIR%%/protocols/hyprland-ctm-control-v1.xml
+%%DATADIR%%/protocols/hyprland-focus-grab-v1.xml
+%%DATADIR%%/protocols/hyprland-global-shortcuts-v1.xml
+%%DATADIR%%/protocols/hyprland-lock-notify-v1.xml
+%%DATADIR%%/protocols/hyprland-surface-v1.xml
+%%DATADIR%%/protocols/hyprland-toplevel-export-v1.xml
+%%DATADIR%%/protocols/hyprland-toplevel-mapping-v1.xml
+share/pkgconfig/hyprland-protocols.pc