From 0bf9f259e7299e2e2ab7762d398fe93ff0598be2 Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Wed, 18 Dec 2024 16:06:17 +0000 Subject: [PATCH] bump(main/libwayland-protocols): 1.38 Use cross wayland scanner because older Ubuntu's wayland-scanner fails to build the package with new command line options. --- .../0001-use-cross-wayland-scanner.patch | 11 +++++++++++ packages/libwayland-protocols/build.sh | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 packages/libwayland-protocols/0001-use-cross-wayland-scanner.patch diff --git a/packages/libwayland-protocols/0001-use-cross-wayland-scanner.patch b/packages/libwayland-protocols/0001-use-cross-wayland-scanner.patch new file mode 100644 index 0000000000..e811481bda --- /dev/null +++ b/packages/libwayland-protocols/0001-use-cross-wayland-scanner.patch @@ -0,0 +1,11 @@ +--- a/meson.build ++++ b/meson.build +@@ -9,7 +9,7 @@ + fs = import('fs') + + dep_scanner = dependency('wayland-scanner', version: '>=1.20.0', native: true, fallback: 'wayland') +-prog_scanner = find_program(dep_scanner.get_variable(pkgconfig: 'wayland_scanner', internal: 'wayland_scanner')) ++prog_scanner = find_program('@TERMUX_PREFIX@/opt/libwayland/cross/bin/wayland-scanner') + + stable_protocols = { + 'presentation-time': [''], diff --git a/packages/libwayland-protocols/build.sh b/packages/libwayland-protocols/build.sh index 28f15af4ba..d178ebf281 100644 --- a/packages/libwayland-protocols/build.sh +++ b/packages/libwayland-protocols/build.sh @@ -2,10 +2,12 @@ TERMUX_PKG_HOMEPAGE=https://wayland.freedesktop.org/ TERMUX_PKG_DESCRIPTION="Wayland protocols library" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.36" +TERMUX_PKG_VERSION="1.38" TERMUX_PKG_SRCURL=https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${TERMUX_PKG_VERSION}/downloads/wayland-protocols-${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_SHA256=71fd4de05e79f9a1ca559fac30c1f8365fa10346422f9fe795f74d77b9ef7e92 +TERMUX_PKG_SHA256=ff17292c05159d2b20ce6cacfe42d7e31a28198fa1429a769b03af7c38581dbe +TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_PLATFORM_INDEPENDENT=true +TERMUX_PKG_BUILD_DEPENDS="libwayland, libwayland-cross-scanner" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -Dtests=false "