ports/x11/xkbcommon/Makefile

51 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.7.0
2023-08-16 22:26:55 +00:00
SHARED_LIBS += xkbcommon 2.1 # 0.0.0
SHARED_LIBS += xkbcommon-x11 2.1 # 0.0.0
SHARED_LIBS += xkbregistry 1.1 # 0.0.0
2023-08-16 22:26:55 +00:00
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 wayland-client xcb xcb-xkb xml2
2023-08-16 22:26:55 +00:00
BUILD_DEPENDS= devel/bison \
wayland/wayland-protocols
LIB_DEPENDS= textproc/libxml \
wayland/wayland
2023-08-16 22:26:55 +00:00
CONFIGURE_ARGS += -Denable-docs=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>