libxkbcommon: update to 1.7.0
authorDaniel Golle <daniel@makrotopia.org>
Tue, 5 Nov 2024 04:46:35 +0000 (04:46 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 5 Dec 2024 01:15:41 +0000 (01:15 +0000)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libs/libxkbcommon/Makefile
libs/libxkbcommon/patches/001-fix-wayland-scanner-detect.patch [deleted file]

index 58277e9790968094757e7c43eabb9fed441e2979..d7a71795f9b28d00266c5f4627bc73a8badfcec1 100644 (file)
@@ -1,12 +1,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libxkbcommon
-PKG_VERSION:=1.3.0
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_VERSION:=1.7.0
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://xkbcommon.org/download/
-PKG_HASH:=7b09e098ea69bc3054f0c57a9a25fda571c4df22398811606e32b5fffeb75e7b
+PKG_HASH:=65782f0a10a4b455af9c6baab7040e2f537520caa2ec2092805cdfd36863b247
 
 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
 PKG_LICENSE:=BSD-3-Clause
@@ -21,8 +21,7 @@ include $(INCLUDE_DIR)/meson.mk
 MESON_ARGS += \
        -Denable-x11=false \
        -Denable-docs=false \
-       -Denable-wayland=true \
-       -Dscanner_bin="$(STAGING_DIR_HOSTPKG)/bin/wayland-scanner"
+       -Denable-wayland=true
 
 define Package/libxkbcommon
   SECTION:=libs
diff --git a/libs/libxkbcommon/patches/001-fix-wayland-scanner-detect.patch b/libs/libxkbcommon/patches/001-fix-wayland-scanner-detect.patch
deleted file mode 100644 (file)
index 0a41f83..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/meson.build
-+++ b/meson.build
-@@ -480,7 +480,11 @@ if build_tools
- You can disable the Wayland xkbcli programs with -Denable-wayland=false.''')
-         endif
--        wayland_scanner = find_program(wayland_scanner_dep.get_pkgconfig_variable('wayland_scanner'))
-+        if (get_option('scanner_bin') == '')
-+            wayland_scanner = find_program(wayland_scanner_dep.get_pkgconfig_variable('wayland_scanner'))
-+        else
-+            wayland_scanner = find_program(get_option('scanner_bin'))
-+        endif
-         wayland_scanner_code_gen = generator(
-             wayland_scanner,
-             output: '@BASENAME@-protocol.c',
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -62,6 +62,12 @@ option(
-     description: 'Enable support for Wayland utility programs',
- )
- option(
-+    'scanner_bin',
-+    description: 'Path to wayland-scanner binary',
-+    type: 'string',
-+    value: ''
-+)
-+option(
-     'enable-xkbregistry',
-     type: 'boolean',
-     value: true,