Skip to content

Commit

Permalink
bump(main/libwayland-protocols): 1.38
Browse files Browse the repository at this point in the history
Use cross wayland scanner because older Ubuntu's wayland-scanner fails
to build the package with new command line options.
  • Loading branch information
termux-pacman-bot committed Dec 18, 2024
1 parent 68ec01d commit 0bf9f25
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
11 changes: 11 additions & 0 deletions packages/libwayland-protocols/0001-use-cross-wayland-scanner.patch
Original file line number Diff line number Diff line change
@@ -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': [''],
6 changes: 4 additions & 2 deletions packages/libwayland-protocols/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
"

0 comments on commit 0bf9f25

Please sign in to comment.