commit:     327eb22d357b9a3728928a5cb318bb12217eb6e0
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 27 23:36:50 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Apr 27 23:37:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=327eb22d

x11-libs/libxkbcommon: Version bump to 1.9.0

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

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

diff --git a/x11-libs/libxkbcommon/Manifest b/x11-libs/libxkbcommon/Manifest
index ef96490809a0..89134a09e96d 100644
--- a/x11-libs/libxkbcommon/Manifest
+++ b/x11-libs/libxkbcommon/Manifest
@@ -1,2 +1,3 @@
 DIST libxkbcommon-1.8.0.tar.gz 995648 BLAKE2B 
8edd795aff35c881bfad7905b4dc73d4a99fde23afad1b8874cb599490b5245e6b1d83a97dfd7a2031c1d232618c9a8ecfd586990b4a46df1eb87944f20660c1
 SHA512 
2e9a9c02bcc515c43db38266ad4b23d3530be3de28d05e086d3c12155cf1c569609a55fa4ea4ca9b0adbd8d2a553724bfa78f63481487bfee6379b3664f3aed0
 DIST libxkbcommon-1.8.1.tar.gz 983334 BLAKE2B 
e990a37261e584b9f87348518f9036793896b7e55c490b90a05329a00c3589eb9ad1001ed7e125dc4b98b51f5e4f77de32779967407fd986697c0dc079e94142
 SHA512 
a11b8563b11bd085b909753fa99e5b2129343363a05d4fac44a46b334b644dbdd57c356021926e9fdcc2bf6855b90283af93e74c471c3d5677c2ed1bf19427c2
+DIST libxkbcommon-1.9.0.tar.gz 1047465 BLAKE2B 
3c7d5840057281cb1490a161e8ad504596dafacd4961e41599d8f753b8de032173a791bd1dd8ef441948aab9ed685bb60d123974ad8d68bfb86bc2320cd1b70a
 SHA512 
e3f93c940f730b4932fe94e042cb2368005a13fcd4b4c2ef89c79a19ebaddeed3e036260817f862a7d7c6878cb8c77a63285beaf232e252bf8e17b558410495f

diff --git a/x11-libs/libxkbcommon/libxkbcommon-1.9.0.ebuild 
b/x11-libs/libxkbcommon/libxkbcommon-1.9.0.ebuild
new file mode 100644
index 000000000000..4c16b4dcbd79
--- /dev/null
+++ b/x11-libs/libxkbcommon/libxkbcommon-1.9.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_{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
+}

Reply via email to