Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libxkbcommon/
Date: Fri, 24 Sep 2021 02:54:42
Message-Id: 1632452067.6035fefb46e93cd3471c779bbf3bdd431b060a99.mattst88@gentoo
1 commit: 6035fefb46e93cd3471c779bbf3bdd431b060a99
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 24 02:47:46 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 24 02:54:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6035fefb
7
8 x11-libs/libxkbcommon: Version bump to 1.3.1
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-libs/libxkbcommon/Manifest | 1 +
13 x11-libs/libxkbcommon/libxkbcommon-1.3.1.ebuild | 61 +++++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/x11-libs/libxkbcommon/Manifest b/x11-libs/libxkbcommon/Manifest
17 index 4d717f518ba..c60f8ee9f9c 100644
18 --- a/x11-libs/libxkbcommon/Manifest
19 +++ b/x11-libs/libxkbcommon/Manifest
20 @@ -1 +1,2 @@
21 DIST libxkbcommon-1.3.0.tar.xz 455256 BLAKE2B f53a47005dd411855d1d5c39a33ef58d22982b2d4c2014320722f7fe9a9b468366c6090fadd067e50a846f22de7b80164b684615a8bcb1b14a478609cc4deb74 SHA512 9585ab1df7f2d95b991a786ee1f1de0a645aa315edb93cb093f3409fc76ef7b8f8189a6a7bfd179dc01c5d105d9c9eea40a395762eeffe0618b0c3ee116c0d18
22 +DIST libxkbcommon-1.3.1.tar.xz 471036 BLAKE2B c46d39876bd4477fe838e17e744ed04388417cfae8bb77c7de48237d31f51fe230d2705733dc0873253b48c61530fbe932e4da7317217c31a7897702fa1d03b4 SHA512 3b2cf6ae9ba4dc8b6fe702ac1fa700034fbc9bd147c73bd2cd93546bcfb71865734b3e46bad35a8fd618ed97266a02dad1dc966c63e6b10404a64919459d933e
23
24 diff --git a/x11-libs/libxkbcommon/libxkbcommon-1.3.1.ebuild b/x11-libs/libxkbcommon/libxkbcommon-1.3.1.ebuild
25 new file mode 100644
26 index 00000000000..afdec5dec58
27 --- /dev/null
28 +++ b/x11-libs/libxkbcommon/libxkbcommon-1.3.1.ebuild
29 @@ -0,0 +1,61 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +if [[ ${PV} = *9999* ]]; then
36 + GIT_ECLASS="git-r3"
37 + EGIT_REPO_URI="https://github.com/xkbcommon/${PN}"
38 +else
39 + SRC_URI="https://xkbcommon.org/download/${P}.tar.xz"
40 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
41 +fi
42 +
43 +PYTHON_COMPAT=( python3_{7..10} )
44 +
45 +inherit meson-multilib ${GIT_ECLASS} python-any-r1 virtualx
46 +
47 +DESCRIPTION="keymap handling library for toolkits and window systems"
48 +HOMEPAGE="https://xkbcommon.org/ https://github.com/xkbcommon/libxkbcommon/"
49 +LICENSE="MIT"
50 +IUSE="doc static-libs test wayland X"
51 +RESTRICT="!test? ( test )"
52 +SLOT="0"
53 +
54 +BDEPEND="
55 + sys-devel/bison
56 + doc? ( app-doc/doxygen )
57 + test? ( ${PYTHON_DEPS} )
58 + wayland? ( dev-util/wayland-scanner )
59 +"
60 +RDEPEND="
61 + X? ( >=x11-libs/libxcb-1.10:=[${MULTILIB_USEDEP},xkb] )
62 + wayland? ( >=dev-libs/wayland-1.2.0 )
63 + dev-libs/libxml2[${MULTILIB_USEDEP}]
64 + x11-misc/compose-tables
65 +"
66 +DEPEND="${RDEPEND}
67 + X? ( x11-base/xorg-proto )
68 + wayland? ( >=dev-libs/wayland-protocols-1.12 )
69 +"
70 +
71 +pkg_setup() {
72 + if use test; then
73 + python-any-r1_pkg_setup
74 + fi
75 +}
76 +
77 +multilib_src_configure() {
78 + local emesonargs=(
79 + -Ddefault_library="$(usex static-libs both shared)"
80 + -Dxkb-config-root="${EPREFIX}/usr/share/X11/xkb"
81 + $(meson_use wayland enable-wayland)
82 + $(meson_use X enable-x11)
83 + $(meson_use doc enable-docs)
84 + )
85 + meson_src_configure
86 +}
87 +
88 +multilib_src_test() {
89 + virtx meson_src_test
90 +}