commit: 65b26d56981af795fe4529a8d8934ef45c16bd26
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 13 04:29:29 2025 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Mar 13 04:30:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65b26d56
x11-libs/libxkbcommon: Version bump to 1.8.1
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
x11-libs/libxkbcommon/Manifest | 1 +
x11-libs/libxkbcommon/libxkbcommon-1.8.1.ebuild | 72 +++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/x11-libs/libxkbcommon/Manifest b/x11-libs/libxkbcommon/Manifest
index 9befa22703d2..4b037f98826d 100644
--- a/x11-libs/libxkbcommon/Manifest
+++ b/x11-libs/libxkbcommon/Manifest
@@ -1,2 +1,3 @@
DIST libxkbcommon-1.7.0.tar.xz 534312 BLAKE2B
b85cd8a78fce3c624e0c64c26a37b6d99bb8b8f3de489c6909826f53bdb6d33842f7ffcf955f6a9a8eb57cad53fc9756bd15d05aeb813b0f92985827243949a8
SHA512
4b74a9f3f63e2ebc1cbdcaa963c70362e55fa527e1d89b6a1fd30d7a84a8b60c1b3dc99bcfbde85aa31890e0b2f62f0bad3c8ff8340fe6a930ee662b33448ba5
DIST libxkbcommon-1.8.0.tar.gz 995648 BLAKE2B
8edd795aff35c881bfad7905b4dc73d4a99fde23afad1b8874cb599490b5245e6b1d83a97dfd7a2031c1d232618c9a8ecfd586990b4a46df1eb87944f20660c1
SHA512
2e9a9c02bcc515c43db38266ad4b23d3530be3de28d05e086d3c12155cf1c569609a55fa4ea4ca9b0adbd8d2a553724bfa78f63481487bfee6379b3664f3aed0
+DIST libxkbcommon-1.8.1.tar.gz 983334 BLAKE2B
e990a37261e584b9f87348518f9036793896b7e55c490b90a05329a00c3589eb9ad1001ed7e125dc4b98b51f5e4f77de32779967407fd986697c0dc079e94142
SHA512
a11b8563b11bd085b909753fa99e5b2129343363a05d4fac44a46b334b644dbdd57c356021926e9fdcc2bf6855b90283af93e74c471c3d5677c2ed1bf19427c2
diff --git a/x11-libs/libxkbcommon/libxkbcommon-1.8.1.ebuild
b/x11-libs/libxkbcommon/libxkbcommon-1.8.1.ebuild
new file mode 100644
index 000000000000..4c16b4dcbd79
--- /dev/null
+++ b/x11-libs/libxkbcommon/libxkbcommon-1.8.1.ebuild
@@ -0,0 +1,72 @@
+# 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_{10..13} )
+
+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="
+ app-alternatives/yacc
+ doc? ( app-text/doxygen[dot] )
+ test? ( ${PYTHON_DEPS} )
+ 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.12 ) )
+"
+
+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
+}