aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2026-04-12 21:34:51 +0000
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2026-04-12 21:53:53 +0000
commit01d48872c93c58d94b559692e17602da259a1ab8 (patch)
tree19d8a9b2c52592c3a1f05f079f3bbc60e5889066
parent6da4f048ff2f90c7138a2efbfdeffdc8d32291af (diff)
devel/hare-gtk4-layer-shell: New port: gtk4-layer-shell bindings for Hare
hare-gtk4-layer-shell provides bindings to gtk4-layer-shell for Hare. WWW: https://git.sr.ht/~sircmpwn/hare-gtk4-layer-shell
-rw-r--r--devel/Makefile1
-rw-r--r--devel/hare-gtk4-layer-shell/Makefile27
-rw-r--r--devel/hare-gtk4-layer-shell/distinfo3
-rw-r--r--devel/hare-gtk4-layer-shell/files/patch-Makefile11
-rw-r--r--devel/hare-gtk4-layer-shell/pkg-descr1
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index be724ca584a6..6aebea5ea9a0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -982,6 +982,7 @@
SUBDIR += hare
SUBDIR += hare-gi
SUBDIR += hare-adwaita
+ SUBDIR += hare-gtk4-layer-shell
SUBDIR += hcs12mem
SUBDIR += heaptrack
SUBDIR += heimdall
diff --git a/devel/hare-gtk4-layer-shell/Makefile b/devel/hare-gtk4-layer-shell/Makefile
new file mode 100644
index 000000000000..f52b0c7e7829
--- /dev/null
+++ b/devel/hare-gtk4-layer-shell/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= hare-gtk4-layer-shell
+DISTVERSION= 0.1.0
+CATEGORIES= devel
+MASTER_SITES= https://git.sr.ht/~${SRHT_ACCOUNT}/${SRHT_PROJECT}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+
+MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= gtk4-layer-shell bindings for Hare
+WWW= https://git.sr.ht/~sircmpwn/hare-gtk4-layer-shell
+
+LICENSE= MPL20
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= hare-gi>=0:devel/hare-gi
+LIB_DEPENDS= libgtk4-layer-shell.so:x11-toolkits/gtk4-layer-shell
+
+MAKE_ARGS= DESTDIR=${STAGEDIR} \
+ PREFIX=${PREFIX}
+
+PLIST_FILES= share/hare/third-party/gi/gtk4_layer_shell/_generated.ha
+
+SRHT_ACCOUNT= sircmpwn
+SRHT_PROJECT= ${PORTNAME}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/scripts/generate
+
+.include <bsd.port.mk>
diff --git a/devel/hare-gtk4-layer-shell/distinfo b/devel/hare-gtk4-layer-shell/distinfo
new file mode 100644
index 000000000000..4b93184cf0fb
--- /dev/null
+++ b/devel/hare-gtk4-layer-shell/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1776016713
+SHA256 (hare-gtk4-layer-shell-0.1.0.tar.gz) = 0264500c71b716483bb9dd8c26f979bdabec01d46d988b329eaeb1f93c4a9d41
+SIZE (hare-gtk4-layer-shell-0.1.0.tar.gz) = 6514
diff --git a/devel/hare-gtk4-layer-shell/files/patch-Makefile b/devel/hare-gtk4-layer-shell/files/patch-Makefile
new file mode 100644
index 000000000000..64a75bffd9d5
--- /dev/null
+++ b/devel/hare-gtk4-layer-shell/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2026-04-12 17:58:54 UTC
++++ Makefile
+@@ -5,7 +5,7 @@ PREFIX = /usr/local
+
+ DESTDIR =
+ PREFIX = /usr/local
+-SRCDIR = $(PREFIX)/src
++SRCDIR = $(PREFIX)/share
+ HARESRCDIR = $(SRCDIR)/hare
+ THIRDPARTYDIR = $(HARESRCDIR)/third-party
+
diff --git a/devel/hare-gtk4-layer-shell/pkg-descr b/devel/hare-gtk4-layer-shell/pkg-descr
new file mode 100644
index 000000000000..3da6083ddd97
--- /dev/null
+++ b/devel/hare-gtk4-layer-shell/pkg-descr
@@ -0,0 +1 @@
+hare-gtk4-layer-shell provides bindings to gtk4-layer-shell for Hare.