ports/x11/xkbcommon/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT= library to handle keyboard descriptions
DISTNAME= libxkbcommon-1.5.0
SHARED_LIBS += xkbcommon 1.6 # 0.0.0
SHARED_LIBS += xkbcommon-x11 1.2 # 0.0.0
SHARED_LIBS += xkbregistry 0.0 # 0.0.0
CATEGORIES= x11 inputmethods
HOMEPAGE= https://xkbcommon.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# All licenses are derivative of the MIT/X11 license, mostly identical other
# than no-endorsement clauses (e.g. paragraph 4 of The Open Group's license).
PERMIT_PACKAGE= Yes
DEBUG_PACKAGES= ${BUILD_PACKAGES}
2023-09-28 02:05:49 +00:00
SITES= ${HOMEPAGE}/download/
2023-08-16 22:26:55 +00:00
EXTRACT_SUFX= .tar.xz
MODULES= devel/meson
COMPILER= base-clang ports-gcc
COMPILER_LANGS= c
WANTLIB += c xcb xcb-xkb xml2
BUILD_DEPENDS= devel/bison
LIB_DEPENDS= textproc/libxml
CONFIGURE_ARGS += -Denable-docs=false \
-Denable-wayland=false \
-Dx-locale-root=${X11BASE}/share/X11/locale \
-Dxkb-config-root=${X11BASE}/share/X11/xkb/ \
-Denable-xkbregistry=true
2023-10-12 19:58:51 +00:00
TEST_DEPENDS= devel/bison
2023-08-16 22:26:55 +00:00
# Fix undefined references errors
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mlld}
CONFIGURE_ENV += LDFLAGS="-L${X11BASE}/lib"
.endif
.include <bsd.port.mk>