commit:     49a9214aaaf1618101ae25f63e554f284898fd1c
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed May 28 13:03:04 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed May 28 13:03:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a9214a

x11-libs/libxkbcommon: Version bump to 1.10.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-libs/libxkbcommon/Manifest                   |  1 +
 x11-libs/libxkbcommon/libxkbcommon-1.10.0.ebuild | 72 ++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/x11-libs/libxkbcommon/Manifest b/x11-libs/libxkbcommon/Manifest
index b6dc1005f05d..57e17af275ea 100644
--- a/x11-libs/libxkbcommon/Manifest
+++ b/x11-libs/libxkbcommon/Manifest
@@ -1,2 +1,3 @@
+DIST libxkbcommon-1.10.0.tar.gz 1080448 BLAKE2B 
83387d6cf68817ba7676f8040c77a2c6fbfa454df69fd1f4ef440a4842e4ab3eec4521a557b50d70110c18ac8167c5a7178b14ea6b39494450685ed4802c8058
 SHA512 
5ffc69ebdf5455ea2cb3d7061dd35fe13f0a741034d0e1a68376695a0ac77db0e9bd383135cb6a662e5edeea7df9dfcc98f5526d48a41e1b71b94998f1ecd684
 DIST libxkbcommon-1.8.1.tar.gz 983334 BLAKE2B 
e990a37261e584b9f87348518f9036793896b7e55c490b90a05329a00c3589eb9ad1001ed7e125dc4b98b51f5e4f77de32779967407fd986697c0dc079e94142
 SHA512 
a11b8563b11bd085b909753fa99e5b2129343363a05d4fac44a46b334b644dbdd57c356021926e9fdcc2bf6855b90283af93e74c471c3d5677c2ed1bf19427c2
 DIST libxkbcommon-1.9.2.tar.gz 1050836 BLAKE2B 
d5ec4e9677afe400e5d6fb8cf85bc3149bff4de50e36c02a60926b112441d7e137b84ec85046c805b8d25d29e3ab08c07b1acf9640027689986f67002b942747
 SHA512 
16a1555386b8e1ecbb1595a1420b454c1e1463c0ee2a934c8f4d3dec2b9566f19218c68abb89d49473a4a11f85dc3240e9ead769b75449256f66ec6100a021eb

diff --git a/x11-libs/libxkbcommon/libxkbcommon-1.10.0.ebuild 
b/x11-libs/libxkbcommon/libxkbcommon-1.10.0.ebuild
new file mode 100644
index 000000000000..676fc4f0a804
--- /dev/null
+++ b/x11-libs/libxkbcommon/libxkbcommon-1.10.0.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_{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-2.3a
+       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
+}

Reply via email to