From 210639c9c6769229d15c07f976ce06b275224d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= Date: Sun, 22 Jan 2023 15:43:07 +0000 Subject: [PATCH] libxcb: update to 1.15;adopt. --- srcpkgs/libxcb/template | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/srcpkgs/libxcb/template b/srcpkgs/libxcb/template index 73ca6d5aa008..709910986667 100644 --- a/srcpkgs/libxcb/template +++ b/srcpkgs/libxcb/template @@ -1,24 +1,30 @@ # Template file for 'libxcb' pkgname=libxcb -version=1.14 -revision=2 +version=1.15 +revision=1 build_style=gnu-configure configure_args="--disable-build-docs --enable-xinput --enable-xkb" hostmakedepends="libtool pkg-config xorg-util-macros xcb-proto" -makedepends="xcb-proto libXdmcp-devel libXau-devel" +makedepends="libXdmcp-devel libXau-devel" short_desc="X protocol C-language Binding" -maintainer="Orphaned " +maintainer="André Cerqueira " license="MIT" -homepage="https://xcb.freedesktop.org" -distfiles="${homepage}/dist/${pkgname}-${version}.tar.xz" -checksum=a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34 +homepage="https://gitlab.freedesktop.org/xorg/lib/libxcb" +changelog="https://gitlab.freedesktop.org/xorg/lib/libxcb/-/raw/master/NEWS" +distfiles="https://xorg.freedesktop.org/archive/individual/lib/libxcb-${version}.tar.xz" +checksum=cc38744f817cf6814c847e2df37fcb8997357d72fa4bcbc228ae0fe47219a059 + +if [ "$CROSS_BUILD" ]; then + makedepends+=" xcb-proto" +fi + post_install() { - vlicense COPYING + vlicense COPYING LICENSE } libxcb-devel_package() { - depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + depends="libXdmcp-devel libXau-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include