x11-libs/libxkbcommon: Version bump to 1.13.1

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2025-12-04 05:27:53 -05:00
parent 7a795250a7
commit 16951f8eca
No known key found for this signature in database
GPG Key ID: ACEB29740C9A4E97
2 changed files with 76 additions and 0 deletions

View File

@ -4,3 +4,4 @@ DIST libxkbcommon-1.12.1.tar.gz 1219255 BLAKE2B d8d94c2cec8b3b4fc50f7cc11b3fb16d
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
DIST libxkbcommon-1.13.1.tar.gz 1234661 BLAKE2B ecad42f01fa6bac526f4e7bc6949bcd3b4c166360eef97c489ed543013a5489950956d551f043a42500c0857d0bb1d9b3f0b534293dcc85ada3c1a8cc8a611f2 SHA512 450c33fe26af6b847cf7516685d0df63c2ba0126887e27595c40fe80e4d0487009aa6cdf38ff1270d595c7900cbf3c11e7aa4f9cff80fa361742b5ebb10d83bd

View File

@ -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
}