x11-libs/libxkbcommon: Version bump to 1.12.1

Closes: https://bugs.gentoo.org/964277
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2025-10-20 12:18:04 -04:00
parent a72e808bf9
commit 5b203b1a65
2 changed files with 76 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST libxkbcommon-1.11.0.tar.gz 1139432 BLAKE2B b824eedb9579bbd10dae3bc0e7b73cac60740b789c85b3c01e3da27ebc28ec44b8ec802e92595a56d38e2cbc176e059ba20302d8fb53ec41a98a6ca4e156f71d SHA512 f434c816c1212bd27e259bba22b0db7de7c58a0f22a1d4aef387515d9fb9595d2f0e515642a287a6f2791bd439ccf771771b76780ab4f564172c04c4d6a48b11
DIST libxkbcommon-1.12.0.tar.gz 1217200 BLAKE2B a37daf757273aa6b2c0a6c469b6fd353dd2c52285d3081088633a18bdc0cad7250b35aa0049a6810f2a493b2121b8ac50c7411d312bbcc0834bd65a76f547854 SHA512 cd05ce3203ab50580d53cb6e6dee95e566bff0a042a6d334fd897842b27b88fb06a7b7eb0eb8a04a16d79ba4e62e4a79f2f03e606c911dd275bbd2472b5134c9
DIST libxkbcommon-1.12.1.tar.gz 1219255 BLAKE2B d8d94c2cec8b3b4fc50f7cc11b3fb16d634b6c10c3be294bf1da01bc5c51b8128ab6ef239525d66164713a126bffcece7b2a42a1bb3c5f9bdca73464008397a4 SHA512 d51b71ffbf3843a6af6548d61766e9cb253d50e17e437d23896334a41a98567c8f8da5af1818c12fbb704ef1ffea939f9f709915c80aeadc5dc6627672756263

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
}