56 lines
1.3 KiB
Makefile
Raw Normal View History

COMMENT= library to handle keyboard descriptions
2023-01-03 08:24:29 +00:00
DISTNAME= libxkbcommon-1.5.0
2022-07-26 06:29:13 +00:00
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>
2014-10-06 12:29:34 +00:00
# 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
2022-07-26 06:29:13 +00:00
DEBUG_PACKAGES= ${BUILD_PACKAGES}
2019-12-10 17:51:17 +00:00
MASTER_SITES= ${HOMEPAGE}/download/
EXTRACT_SUFX= .tar.xz
2022-07-26 06:29:13 +00:00
MODULES= devel/meson
2019-10-23 08:18:36 +00:00
2022-07-26 06:29:13 +00:00
COMPILER= base-clang ports-gcc
COMPILER_LANGS= c
2020-09-12 08:16:39 +00:00
WANTLIB += c xcb xcb-xkb xml2
2022-07-26 06:29:13 +00:00
BUILD_DEPENDS= devel/bison
LIB_DEPENDS= textproc/libxml
2016-04-25 18:00:29 +00:00
2019-10-23 08:18:36 +00:00
CONFIGURE_ARGS += -Denable-docs=false \
-Denable-wayland=false \
-Dx-locale-root=${X11BASE}/share/X11/locale \
2020-09-12 08:16:39 +00:00
-Dxkb-config-root=${X11BASE}/share/X11/xkb/ \
-Denable-xkbregistry=true
2022-07-26 06:29:13 +00:00
TEST_DEPENDS= devel/bison \
2016-11-13 19:00:34 +00:00
shells/bash
2022-07-26 06:29:13 +00:00
TEST_IS_INTERACTIVE= x11
# Fix undefined references errors
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mlld}
CONFIGURE_ENV += LDFLAGS="-L${X11BASE}/lib"
.endif
2016-04-25 18:00:29 +00:00
# XXX: This test still fails
pre-test:
sed -i 's,bin/bash,${LOCALBASE}/bin/bash,' ${WRKSRC}/test/symbols-leak-test.bash
.include <bsd.port.mk>