pkgsrc/x11/libxkbcommon/Makefile
2021-12-08 16:01:42 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.38 2021/12/08 16:07:07 adam Exp $
DISTNAME= libxkbcommon-1.3.1
PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= https://xkbcommon.org/download/
EXTRACT_SUFX= .tar.xz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://xkbcommon.org/
COMMENT= Library to handle keyboard descriptions
LICENSE= mit
USE_TOOLS+= bison pkg-config
MESON_ARGS+= -Denable-wayland=false
PYTHON_FOR_BUILD_ONLY= tool
PKGCONFIG_OVERRIDE+= output/meson-private/xkbcommon.pc
PKGCONFIG_OVERRIDE+= output/meson-private/xkbcommon-x11.pc
PKGCONFIG_OVERRIDE_STAGE= post-configure
.include "options.mk"
.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=./xkbcommon.map
BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=./xkbcommon-x11.map
.endif
.include "../../devel/xorg-util-macros/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxcb+= libxcb>=1.10
.include "../../x11/libxcb/buildlink3.mk"
.include "../../x11/xkeyboard-config/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../devel/meson/build.mk"
.include "../../mk/bsd.pkg.mk"