buildroot:libxcb
libxcb
X11 client-side library
runtime dependencies | xcb-proto |
---|---|
libxdmcp | |
xapp_xauth (Graphic libraries/X11R7 Applications) | |
make dependencies | libxslt |
python | |
xorg-util-macros | |
xorgproto |
mkdir /data/buildroot/package/libxcb cat > /data/buildroot/package/libxcb/Config.in<< 'EOF' config BR2_PACKAGE_LIBXCB bool "libxcb" depends on BR2_PACKAGE_XCB_PROTO depends on BR2_PACKAGE_LIBXDMCP depends on BR2_PACKAGE_XAPP_XAUTH help X11 client-side library EOF cat > /data/buildroot/package/x11r7/libxcb/libxcb.mk<< 'EOF' ################################################################################ # # libxcb # ################################################################################ LIBXCB_VERSION = 1.14 LIBXCB_SOURCE = libxcb-$(LIBXCB_VERSION).tar.xz LIBXCB_SITE = http://xcb.freedesktop.org/dist LIBXCB_LICENSE = MIT LIBXCB_LICENSE_FILES = COPYING LIBXCB_CPE_ID_VENDOR = x LIBXCB_INSTALL_STAGING = YES LIBXCB_DEPENDENCIES = \ host-libxslt xcb-proto xlib_libXdmcp xlib_libXau \ host-xcb-proto host-python3 host-pkgconf HOST_LIBXCB_DEPENDENCIES = \ host-libxslt host-xcb-proto host-xlib_libXdmcp \ host-xlib_libXau host-python3 host-pkgconf LIBXCB_CONF_OPTS = --with-doxygen=no \ --enable-xinput \ --enable-xkb \ --disable-static HOST_LIBXCB_CONF_OPTS = --with-doxygen=no \ --enable-xinput \ --enable-xkb \ --disable-static # Force detection of Buildroot host-python3 over system python LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/bin/python3 HOST_LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/bin/python3 $(eval $(autotools-package)) $(eval $(host-autotools-package)) EOF cat > /data/buildroot/package/libxcb/libxcb.mk<< 'EOF' ############################################################# # # libxcb #https://xorg.freedesktop.org/releases/individual/lib/libxcb-1.15.tar.gz ############################################################# LIBXCB_VERSION = 1.15 LIBXCB_SOURCE = libxcb-$(LIBXCB_VERSION).tar.gz LIBXCB_SITE = https://xorg.freedesktop.org/releases/individual/lib LIBXCB_DEPENDENCIES = xcb-proto libxdmcp xapp_xauth LIBXCB_BIN_ARCH_EXCLUDE = /usr/lib define LIBXCB_BUILD_CMDS cd $(@D)/ && \ ./configure --prefix=/usr \ --enable-xinput \ --enable-xkb \ --disable-static && \ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool && \ make endef define LIBXCB_INSTALL_TARGET_CMDS cd $(@D)/ && \ make DESTDIR="${TARGET_DIR}" install install -m755 -d "${TARGET_DIR}/usr/share/licenses/libxcb" install -m644 $(@D)/COPYING "${TARGET_DIR}/usr/share/licenses/libxcb" endef $(eval $(generic-package)) EOF sed -i '/menu "Custom packages"/a source "package/libxcb/Config.in"' /data/buildroot/package/Config.in
buildroot/libxcb.txt · Last modified: 2025/02/19 10:59 by 127.0.0.1