aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-04-20 12:27:49 +0000
committerJan Beich <jbeich@FreeBSD.org>2024-04-22 05:22:49 +0000
commit41152f42b9596d6e1e6ead8e981ea987507f5067 (patch)
tree5516c727e6a9a4ae2ad8776c99aad19bf287a9ea
parent71cd37ef0eb67082d84f85d2f54fafccc9fcb77a (diff)
devel/hyprwayland-scanner: add new port
A Hyprland implementation of wayland-scanner, in and for C++. https://github.com/hyprwm/hyprwayland-scanner
-rw-r--r--devel/Makefile1
-rw-r--r--devel/hyprwayland-scanner/Makefile21
-rw-r--r--devel/hyprwayland-scanner/distinfo3
-rw-r--r--devel/hyprwayland-scanner/pkg-descr1
4 files changed, 26 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9fd88a253e87..c398cfa454c7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -967,6 +967,7 @@
SUBDIR += hwloc2
SUBDIR += hyperscan
SUBDIR += hyprlang
+ SUBDIR += hyprwayland-scanner
SUBDIR += ice
SUBDIR += ice37
SUBDIR += icestorm
diff --git a/devel/hyprwayland-scanner/Makefile b/devel/hyprwayland-scanner/Makefile
new file mode 100644
index 000000000000..d7601bb21236
--- /dev/null
+++ b/devel/hyprwayland-scanner/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= hyprwayland-scanner
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.0
+CATEGORIES= devel
+
+MAINTAINER= jbeich@FreeBSD.org
+COMMENT= Hyprland implementation of wayland-scanner
+WWW= https://github.com/hyprwm/hyprwayland-scanner
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libpugixml.so:textproc/pugixml
+
+USES= cmake compiler:c++11-lib pathfix pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= hyprwm
+PLIST_FILES= bin/${PORTNAME} \
+ libdata/pkgconfig/${PORTNAME}.pc
+
+.include <bsd.port.mk>
diff --git a/devel/hyprwayland-scanner/distinfo b/devel/hyprwayland-scanner/distinfo
new file mode 100644
index 000000000000..88923b1bb401
--- /dev/null
+++ b/devel/hyprwayland-scanner/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1713616069
+SHA256 (hyprwm-hyprwayland-scanner-v0.1.0_GH0.tar.gz) = 425ab1ad3efc8515ea1468af3acbb1429ea9f82d53fcf0bfdceea040dadbd972
+SIZE (hyprwm-hyprwayland-scanner-v0.1.0_GH0.tar.gz) = 8394
diff --git a/devel/hyprwayland-scanner/pkg-descr b/devel/hyprwayland-scanner/pkg-descr
new file mode 100644
index 000000000000..9709d5597a88
--- /dev/null
+++ b/devel/hyprwayland-scanner/pkg-descr
@@ -0,0 +1 @@
+A Hyprland implementation of wayland-scanner, in and for C++.