commit: fc72258fbc8e20778cf47c8b3872517f40c944eb
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 12 19:59:53 2025 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Nov 12 19:59:53 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc72258f
x11-libs/libxkbcommon: Version bump to 1.13.0
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
x11-libs/libxkbcommon/Manifest | 1 +
x11-libs/libxkbcommon/libxkbcommon-1.13.0.ebuild | 75 ++++++++++++++++++++++++
2 files changed, 76 insertions(+)
diff --git a/x11-libs/libxkbcommon/Manifest b/x11-libs/libxkbcommon/Manifest
index 9858470712d2..7f43495d5890 100644
--- a/x11-libs/libxkbcommon/Manifest
+++ b/x11-libs/libxkbcommon/Manifest
@@ -3,3 +3,4 @@ DIST libxkbcommon-1.12.0.tar.gz 1217200 BLAKE2B
a37daf757273aa6b2c0a6c469b6fd353
DIST libxkbcommon-1.12.1.tar.gz 1219255 BLAKE2B
d8d94c2cec8b3b4fc50f7cc11b3fb16d634b6c10c3be294bf1da01bc5c51b8128ab6ef239525d66164713a126bffcece7b2a42a1bb3c5f9bdca73464008397a4
SHA512
d51b71ffbf3843a6af6548d61766e9cb253d50e17e437d23896334a41a98567c8f8da5af1818c12fbb704ef1ffea939f9f709915c80aeadc5dc6627672756263
DIST libxkbcommon-1.12.2.tar.gz 1221068 BLAKE2B
921c9361217627854afba662c0504970db4240aefd21c4987c82e0bcb9314fafa722468a497c2fb48107a33832cbb09f99d1408c5c4cc5ce275b1b4eb959c7d1
SHA512
54baa6dc2627ee741b50600ace46fe97f7b60abb93618abfaf2861f92f5400e96ee16b82ba008c100e69dd8869f612e8907c80c16128bbb5f14a56e1ec8bd013
DIST libxkbcommon-1.12.3.tar.gz 1221417 BLAKE2B
e7f56b37bfdfcdeec70b0e22629285f791e35cc2ec6bb5863713bb9468b02a8823153c4c1ab08f9a01ed08c164e5066a39534f80115474ff14af6cfe5821cff3
SHA512
034330e702a2377e530e8e8b06b33f940f379b7af530ff1c66f9013d01678c2b5bc51402d96c7bd982f2bcffdbce65db2ac411b99743e5c998de7b72c4e30c86
+DIST libxkbcommon-1.13.0.tar.gz 1234211 BLAKE2B
4ca1ec1e6ad277f9d791e7321e55c56b5959c52726fa50b8667403fc47c6878b5945fe2d94a0ef821016aa9dd34883562ce7f9738463c1f5c9e293df3eb49ab5
SHA512
679ab25bc660798db69b78d0476cd945fe9796e30075faf351aad9adbb65744033387e7034e5b104847ecc6a5164c274c03027fbbf4199b480fa48607db55dda
diff --git a/x11-libs/libxkbcommon/libxkbcommon-1.13.0.ebuild
b/x11-libs/libxkbcommon/libxkbcommon-1.13.0.ebuild
new file mode 100644
index 000000000000..2723a098034f
--- /dev/null
+++ b/x11-libs/libxkbcommon/libxkbcommon-1.13.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} = *9999* ]]; then
+ GIT_ECLASS="git-r3"
+ EGIT_REPO_URI="https://github.com/xkbcommon/${PN}"
+else
+
SRC_URI="https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-${PV}.tar.gz
-> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
+ S="${WORKDIR}/libxkbcommon-xkbcommon-${PV}"
+fi
+
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit bash-completion-r1 meson-multilib ${GIT_ECLASS} python-any-r1 virtualx
+
+DESCRIPTION="Keymap handling library for toolkits and window systems"
+HOMEPAGE="https://xkbcommon.org/ https://github.com/xkbcommon/libxkbcommon/"
+LICENSE="MIT"
+SLOT="0"
+
+IUSE="doc static-libs test tools wayland X"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ >=sys-devel/bison-3.6
+ doc? ( app-text/doxygen[dot] )
+ test? (
+ ${PYTHON_DEPS}
+ x11-apps/setxkbmap
+ )
+ tools? ( wayland? ( dev-util/wayland-scanner ) )
+"
+RDEPEND="
+ X? ( >=x11-libs/libxcb-1.10:=[${MULTILIB_USEDEP}] )
+ tools? ( wayland? ( >=dev-libs/wayland-1.2.0[${MULTILIB_USEDEP}] ) )
+ dev-libs/libxml2:=[${MULTILIB_USEDEP}]
+ x11-misc/compose-tables
+ x11-misc/xkeyboard-config
+"
+DEPEND="${RDEPEND}
+ X? ( x11-base/xorg-proto )
+ tools? ( wayland? ( >=dev-libs/wayland-protocols-1.15 ) )
+"
+
+pkg_setup() {
+ if use test; then
+ python-any-r1_pkg_setup
+ fi
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Ddefault_library="$(usex static-libs both shared)"
+ -Dxkb-config-root="${EPREFIX}/usr/share/X11/xkb"
+ -Dbash-completion-path="$(get_bashcompdir)"
+ $(meson_native_use_bool tools enable-tools)
+ $(meson_use X enable-x11)
+ $(meson_native_use_bool doc enable-docs)
+ $(meson_use wayland enable-wayland)
+ )
+ meson_src_configure
+}
+
+multilib_src_test() {
+ virtx meson_src_test
+}
+
+multilib_src_install_all() {
+ if use doc; then
+ mv "${ED}"/usr/share/doc/{${PN},${P}} || die
+ fi
+}