Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2026 21:55:12 +0000
From:      =?utf-8?Q?Jes=C3=BAs?= Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 01d48872c93c - main - devel/hare-gtk4-layer-shell: New port: gtk4-layer-shell bindings for Hare
Message-ID:  <69dc14c0.1e870.56626c02@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by dtxdf:

URL: https://cgit.FreeBSD.org/ports/commit/?id=01d48872c93c58d94b559692e17602da259a1ab8

commit 01d48872c93c58d94b559692e17602da259a1ab8
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2026-04-12 21:34:51 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2026-04-12 21:53:53 +0000

    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
---
 devel/Makefile                                   |  1 +
 devel/hare-gtk4-layer-shell/Makefile             | 27 ++++++++++++++++++++++++
 devel/hare-gtk4-layer-shell/distinfo             |  3 +++
 devel/hare-gtk4-layer-shell/files/patch-Makefile | 11 ++++++++++
 devel/hare-gtk4-layer-shell/pkg-descr            |  1 +
 5 files changed, 43 insertions(+)

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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69dc14c0.1e870.56626c02>