2014-10-05 18:30:33 +00:00
|
|
|
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
|
|
|
|
|
2014-10-05 18:30:33 +00:00
|
|
|
CATEGORIES= x11 inputmethods
|
|
|
|
|
2019-07-10 21:01:26 +00:00
|
|
|
HOMEPAGE= https://xkbcommon.org/
|
2014-10-05 18:30:33 +00:00
|
|
|
|
2022-11-04 09:28:13 +00:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2014-10-06 12:29:34 +00:00
|
|
|
|
2014-10-05 18:30:33 +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).
|
2019-07-12 20:50:46 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2014-10-05 18:30:33 +00:00
|
|
|
|
2022-07-26 06:29:13 +00:00
|
|
|
DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
2019-12-10 17:51:17 +00:00
|
|
|
|
2014-10-05 18:30:33 +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
|
2021-05-10 19:32:49 +00:00
|
|
|
|
2020-09-12 08:16:39 +00:00
|
|
|
WANTLIB += c xcb xcb-xkb xml2
|
2014-10-05 18:30:33 +00:00
|
|
|
|
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 \
|
2020-02-10 19:21:49 +00:00
|
|
|
-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
|
2014-10-05 18:30:33 +00:00
|
|
|
|
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
|
|
|
|
2014-10-19 14:30:12 +00:00
|
|
|
TEST_IS_INTERACTIVE= x11
|
|
|
|
|
2019-11-09 07:02:24 +00:00
|
|
|
# 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
|
2014-10-05 18:30:33 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|