1 |
commit: 6f708745949718ac7f9f22d360df3889bb8d83c7 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 6 23:07:47 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 6 23:10:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f708745 |
7 |
|
8 |
x11-libs/libxkbcommon: Version bump to 1.4.0 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
x11-libs/libxkbcommon/Manifest | 1 + |
13 |
x11-libs/libxkbcommon/libxkbcommon-1.4.0.ebuild | 62 +++++++++++++++++++++++++ |
14 |
x11-libs/libxkbcommon/metadata.xml | 3 ++ |
15 |
3 files changed, 66 insertions(+) |
16 |
|
17 |
diff --git a/x11-libs/libxkbcommon/Manifest b/x11-libs/libxkbcommon/Manifest |
18 |
index 78e37feb74df..52bc9955af84 100644 |
19 |
--- a/x11-libs/libxkbcommon/Manifest |
20 |
+++ b/x11-libs/libxkbcommon/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libxkbcommon-1.3.1.tar.xz 471036 BLAKE2B c46d39876bd4477fe838e17e744ed04388417cfae8bb77c7de48237d31f51fe230d2705733dc0873253b48c61530fbe932e4da7317217c31a7897702fa1d03b4 SHA512 3b2cf6ae9ba4dc8b6fe702ac1fa700034fbc9bd147c73bd2cd93546bcfb71865734b3e46bad35a8fd618ed97266a02dad1dc966c63e6b10404a64919459d933e |
23 |
+DIST libxkbcommon-1.4.0.tar.xz 471948 BLAKE2B 5b0a155a3a47adb7302db01f3daa0ef81993a9754b032b01f1cdbd53af74d15df95dc6c9334860211a28272b246f66978ad6e409db74a242afb13c17dc25b76e SHA512 7dd86952c036a6a78455b1ba05b53fcff9d6f133bb01c83fa860b4eaec3fc26bb0b5535948bcc2dafbd27204c3c91d01404ca9fc52896cc36af509384797d4f1 |
24 |
|
25 |
diff --git a/x11-libs/libxkbcommon/libxkbcommon-1.4.0.ebuild b/x11-libs/libxkbcommon/libxkbcommon-1.4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..91654e01156c |
28 |
--- /dev/null |
29 |
+++ b/x11-libs/libxkbcommon/libxkbcommon-1.4.0.ebuild |
30 |
@@ -0,0 +1,62 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+if [[ ${PV} = *9999* ]]; then |
37 |
+ GIT_ECLASS="git-r3" |
38 |
+ EGIT_REPO_URI="https://github.com/xkbcommon/${PN}" |
39 |
+else |
40 |
+ SRC_URI="https://xkbcommon.org/download/${P}.tar.xz" |
41 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
42 |
+fi |
43 |
+ |
44 |
+PYTHON_COMPAT=( python3_{8..10} ) |
45 |
+ |
46 |
+inherit meson-multilib ${GIT_ECLASS} python-any-r1 virtualx |
47 |
+ |
48 |
+DESCRIPTION="keymap handling library for toolkits and window systems" |
49 |
+HOMEPAGE="https://xkbcommon.org/ https://github.com/xkbcommon/libxkbcommon/" |
50 |
+LICENSE="MIT" |
51 |
+IUSE="doc static-libs test tools wayland X" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+SLOT="0" |
54 |
+ |
55 |
+BDEPEND=" |
56 |
+ sys-devel/bison |
57 |
+ doc? ( app-doc/doxygen ) |
58 |
+ test? ( ${PYTHON_DEPS} ) |
59 |
+ wayland? ( dev-util/wayland-scanner ) |
60 |
+" |
61 |
+RDEPEND=" |
62 |
+ X? ( >=x11-libs/libxcb-1.10:=[${MULTILIB_USEDEP},xkb] ) |
63 |
+ wayland? ( >=dev-libs/wayland-1.2.0 ) |
64 |
+ dev-libs/libxml2[${MULTILIB_USEDEP}] |
65 |
+ x11-misc/compose-tables |
66 |
+" |
67 |
+DEPEND="${RDEPEND} |
68 |
+ X? ( x11-base/xorg-proto ) |
69 |
+ wayland? ( >=dev-libs/wayland-protocols-1.12 ) |
70 |
+" |
71 |
+ |
72 |
+pkg_setup() { |
73 |
+ if use test; then |
74 |
+ python-any-r1_pkg_setup |
75 |
+ fi |
76 |
+} |
77 |
+ |
78 |
+multilib_src_configure() { |
79 |
+ local emesonargs=( |
80 |
+ -Ddefault_library="$(usex static-libs both shared)" |
81 |
+ -Dxkb-config-root="${EPREFIX}/usr/share/X11/xkb" |
82 |
+ $(meson_native_use_bool tools enable-tools) |
83 |
+ $(meson_use X enable-x11) |
84 |
+ $(meson_native_use_bool doc enable-docs) |
85 |
+ $(meson_use wayland enable-wayland) |
86 |
+ ) |
87 |
+ meson_src_configure |
88 |
+} |
89 |
+ |
90 |
+multilib_src_test() { |
91 |
+ virtx meson_src_test |
92 |
+} |
93 |
|
94 |
diff --git a/x11-libs/libxkbcommon/metadata.xml b/x11-libs/libxkbcommon/metadata.xml |
95 |
index 9527efe6ae50..045195581cc6 100644 |
96 |
--- a/x11-libs/libxkbcommon/metadata.xml |
97 |
+++ b/x11-libs/libxkbcommon/metadata.xml |
98 |
@@ -5,6 +5,9 @@ |
99 |
<email>x11@g.o</email> |
100 |
<name>X11</name> |
101 |
</maintainer> |
102 |
+ <use> |
103 |
+ <flag name="tools">Build the xkbcli tools</flag> |
104 |
+ </use> |
105 |
<upstream> |
106 |
<remote-id type="cpe">cpe:/a:xkbcommon:libxkbcommon</remote-id> |
107 |
</upstream> |