From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1CEC15800F for ; Tue, 10 Jan 2023 23:41:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22178E07C9; Tue, 10 Jan 2023 23:41:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F153DE07C9 for ; Tue, 10 Jan 2023 23:41:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 088EF335DB6 for ; Tue, 10 Jan 2023 23:41:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 416AF4C8 for ; Tue, 10 Jan 2023 23:41:02 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1673394054.28f0cfe25e3a78db2ce76bc432bae5813e24556e.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libxkbcommon/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libxkbcommon/Manifest x11-libs/libxkbcommon/libxkbcommon-1.5.0.ebuild x11-libs/libxkbcommon/metadata.xml X-VCS-Directories: x11-libs/libxkbcommon/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 28f0cfe25e3a78db2ce76bc432bae5813e24556e X-VCS-Branch: master Date: Tue, 10 Jan 2023 23:41:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ef965d0d-2762-4120-87e6-c24c5a0fa3e4 X-Archives-Hash: 88cfddbd24de53ceb420441efaffa955 commit: 28f0cfe25e3a78db2ce76bc432bae5813e24556e Author: Matt Turner gentoo org> AuthorDate: Tue Jan 10 23:20:55 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue Jan 10 23:40:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28f0cfe2 x11-libs/libxkbcommon: Version bump to 1.5.0 * Add RDEPEND on x11-misc/xkeyboard-config (bug #806235) * Depend on multilib-enabled dev-libs/wayland (bug #823620) * Install docs to expect path (bug #832826) * Drop USE=xkb dependency on libxcb (bug #875980) Closes: https://bugs.gentoo.org/806235 Closes: https://bugs.gentoo.org/823620 Closes: https://bugs.gentoo.org/832826 Closes: https://bugs.gentoo.org/875980 Signed-off-by: Matt Turner gentoo.org> x11-libs/libxkbcommon/Manifest | 1 + x11-libs/libxkbcommon/libxkbcommon-1.5.0.ebuild | 69 +++++++++++++++++++++++++ x11-libs/libxkbcommon/metadata.xml | 2 +- 3 files changed, 71 insertions(+), 1 deletion(-) diff --git a/x11-libs/libxkbcommon/Manifest b/x11-libs/libxkbcommon/Manifest index 503abece062a..1c8c24c3c395 100644 --- a/x11-libs/libxkbcommon/Manifest +++ b/x11-libs/libxkbcommon/Manifest @@ -1 +1,2 @@ DIST libxkbcommon-1.4.1.tar.xz 471824 BLAKE2B a784f3612bb52abb79bf1a2ddd3e7709fa52eddce5cabcf8520ed7df8ec8ea557e51205e1e9d116a0b31eb27b1f3bca33144318c5f01be7312cbb3e48f687fbe SHA512 757b340aeab6d187917807a88015b5113475ab2172aaaa8e530b40ea60619b3fbdfa668fd62707d66ed8fb763e68fee19394fcbd519af7c01d8975c59fdf0d89 +DIST libxkbcommon-1.5.0.tar.xz 472700 BLAKE2B 5dcfb514c297f71629f20b444cb29c5d26ce9def1c1173a125fb0c0c259d76194fcef7a407d8efda2d2d87c9b90abac34e2fc1742cfd6053df511a3ef205c8ef SHA512 bbba6665f052c04c7450413cc5e2badd6bfd41326b0e4c60e3ec01d730cae695fd34ce2662b8a91ece7a76b974a0ea330f7462dd5d2db148b0d0da26264ced9c diff --git a/x11-libs/libxkbcommon/libxkbcommon-1.5.0.ebuild b/x11-libs/libxkbcommon/libxkbcommon-1.5.0.ebuild new file mode 100644 index 000000000000..3d39d2917fd0 --- /dev/null +++ b/x11-libs/libxkbcommon/libxkbcommon-1.5.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 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://xkbcommon.org/download/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit 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" +IUSE="doc static-libs test tools wayland X" +RESTRICT="!test? ( test )" +SLOT="0" + +BDEPEND=" + sys-devel/bison + doc? ( app-doc/doxygen ) + test? ( ${PYTHON_DEPS} ) + wayland? ( dev-util/wayland-scanner ) +" +RDEPEND=" + X? ( >=x11-libs/libxcb-1.10:=[${MULTILIB_USEDEP}] ) + 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 ) + 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" + $(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 +} diff --git a/x11-libs/libxkbcommon/metadata.xml b/x11-libs/libxkbcommon/metadata.xml index 887150f5375a..9f2f9f386d67 100644 --- a/x11-libs/libxkbcommon/metadata.xml +++ b/x11-libs/libxkbcommon/metadata.xml @@ -10,6 +10,6 @@ cpe:/a:xkbcommon:libxkbcommon - xkbcommon/libxkbcommon + xkbcommon/libxkbcommon