Le Thu, Nov 05, 2026 at 02:57:24PM -0800, Heppler, J. Scott a écrit :
> Ping:
> https://marc.info/?l=openbsd-ports&m=179339383927935&w=2
i've had a second look, and here's a better makefile:
COMMENT = Generates labwc menus.xml for static and pipe menus
GH_ACCOUNT = labwc
GH_PROJECT = labwc-menu-generator
GH_TAGNAME = 0.2.0
CATEGORIES = wayland
# GPLv2
PERMIT_PACKAGE = Yes
# C11
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
MODULES = devel/meson
WANTLIB = glib-2.0 c
CONFIGURE_ARGS += --datadir "${PREFIX}"
LIB_DEPENDS = devel/glib2
BUILD_DEPENDS = textproc/scdoc
- no need for wlroots module nor bdep on wayland-protocols
- if you add scdoc you get a manpage (installed to $datadir/man, hence
CONFIGURE_ARGS)
- no need to set HOMEPAGE? it's automatically set by GH_*
- set proper LIB_DEPENDS/WANTLIB.
- gtk4,-guic would only be needed it installed icons..
Landry