1 |
commit: fb85029427f30e8c88ee8f0681300f46a0ab3951 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 30 08:20:44 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 30 08:21:19 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb850294 |
7 |
|
8 |
x11-libs/libxkbcommon: Revbump to re-add "static-libs" USE flag |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
.../libxkbcommon/libxkbcommon-0.10.0-r1.ebuild | 56 ++++++++++++++++++++++ |
14 |
1 file changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/x11-libs/libxkbcommon/libxkbcommon-0.10.0-r1.ebuild b/x11-libs/libxkbcommon/libxkbcommon-0.10.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..15fdecd2c42 |
19 |
--- /dev/null |
20 |
+++ b/x11-libs/libxkbcommon/libxkbcommon-0.10.0-r1.ebuild |
21 |
@@ -0,0 +1,56 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+if [[ ${PV} = *9999* ]]; then |
28 |
+ GIT_ECLASS="git-r3" |
29 |
+ EGIT_REPO_URI="https://github.com/xkbcommon/${PN}" |
30 |
+else |
31 |
+ SRC_URI="https://xkbcommon.org/download/${P}.tar.xz" |
32 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
33 |
+fi |
34 |
+ |
35 |
+inherit meson multilib-minimal ${GIT_ECLASS} |
36 |
+ |
37 |
+DESCRIPTION="keymap handling library for toolkits and window systems" |
38 |
+HOMEPAGE="https://xkbcommon.org/ https://github.com/xkbcommon/libxkbcommon/" |
39 |
+LICENSE="MIT" |
40 |
+IUSE="X doc static-libs test" |
41 |
+RESTRICT="!test? ( test )" |
42 |
+SLOT="0" |
43 |
+ |
44 |
+BDEPEND=" |
45 |
+ sys-devel/bison |
46 |
+ doc? ( app-doc/doxygen )" |
47 |
+RDEPEND="X? ( >=x11-libs/libxcb-1.10:=[${MULTILIB_USEDEP},xkb] )" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ X? ( x11-base/xorg-proto )" |
50 |
+ |
51 |
+src_unpack() { |
52 |
+ default |
53 |
+ [[ $PV = 9999* ]] && git-r3_src_unpack |
54 |
+} |
55 |
+ |
56 |
+multilib_src_configure() { |
57 |
+ local emesonargs=( |
58 |
+ -Ddefault_library="$(usex static-libs both shared)" |
59 |
+ -Dxkb-config-root="${EPREFIX}/usr/share/X11/xkb" |
60 |
+ -Denable-wayland=false # Demo applications |
61 |
+ $(meson_use X enable-x11) |
62 |
+ $(meson_use doc enable-docs) |
63 |
+ ) |
64 |
+ meson_src_configure |
65 |
+} |
66 |
+ |
67 |
+multilib_src_compile() { |
68 |
+ meson_src_compile |
69 |
+} |
70 |
+ |
71 |
+multilib_src_test() { |
72 |
+ meson_src_test |
73 |
+} |
74 |
+ |
75 |
+multilib_src_install() { |
76 |
+ meson_src_install |
77 |
+} |