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-misc/xkeyboard-config/
Date: Mon, 03 Jun 2019 20:28:33
Message-Id: 1559593662.278bfd9bf3149d6e00d3b8b91595005583511a3f.mattst88@gentoo
1 commit: 278bfd9bf3149d6e00d3b8b91595005583511a3f
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 3 20:27:37 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 3 20:27:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=278bfd9b
7
8 x11-misc/xkeyboard-config: Version bump to 2.27
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-misc/xkeyboard-config/Manifest | 1 +
13 .../xkeyboard-config/xkeyboard-config-2.27.ebuild | 51 ++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/x11-misc/xkeyboard-config/Manifest b/x11-misc/xkeyboard-config/Manifest
17 index 9e15000f7a6..d59ff364863 100644
18 --- a/x11-misc/xkeyboard-config/Manifest
19 +++ b/x11-misc/xkeyboard-config/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xkeyboard-config-2.25.tar.bz2 1055253 BLAKE2B 80de6393f7dc2af18c4ef0e31458c4ff10333213fc109e01db809f8362af53315601e276ed856edf0b15e264b499f6335c380cc33ba6e11448e686c6a0295fa0 SHA512 2d9d6bdd885edc8e03e5a2c136c3b29b4ea795122709fa210bf151c4e7416a44fa2928bb29137ee8c6691d8646c1f645748576dea3f940ce84c8d4d0f91e09eb
22 DIST xkeyboard-config-2.26.tar.bz2 1061733 BLAKE2B d07bbe28d5621aa146fdca089f60ebf293aa9b39b60fb6f7335cef934ff9edc6a11475ff00b7279a960cd9941f91260f25b7502fbe421bd8bf5c0da53f7a3471 SHA512 5c8a31f7a6ad5daed8a3fceb56230b2e2fc04a25f52a43b3b4ea81e4a6ab15c52869f749c4b747d855cd4b618c04bcbb40e85dec7eab31fbe3bd45e8c9b755ef
23 +DIST xkeyboard-config-2.27.tar.bz2 1664454 BLAKE2B ac5e02903f46579a1df0423c01d2c07412642d00a5e73b05c0d112e4a65163c20c2df762438775afc52445eed47025c8e061fa0945140245679b693d740e904c SHA512 ae29177461f9d2c6ce1c56c0b8b147600e3f0ecd15e8754c9531811702d9a030a31f42679a88a9fb706bec458974c337ee2a0180f22573702caa7184eb94017e
24
25 diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.27.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-2.27.ebuild
26 new file mode 100644
27 index 00000000000..18bac738483
28 --- /dev/null
29 +++ b/x11-misc/xkeyboard-config/xkeyboard-config-2.27.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DESCRIPTION="X keyboard configuration database"
37 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
38 +
39 +if [[ ${PV} == 9999 ]]; then
40 + EGIT_REPO_URI="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config.git"
41 + inherit autotools git-r3
42 + # x11-misc/util-macros only required on live ebuilds
43 + LIVE_DEPEND=">=x11-misc/util-macros-1.18"
44 +else
45 + SRC_URI="mirror://xorg/data/${PN}/${P}.tar.bz2"
46 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
47 +fi
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +IUSE=""
52 +
53 +BDEPEND="
54 + dev-util/intltool
55 + sys-devel/gettext
56 + virtual/pkgconfig
57 +"
58 +RDEPEND="
59 + !<x11-apps/xkbcomp-1.2.3
60 + !<x11-libs/libX11-1.4.3
61 +"
62 +DEPEND="
63 + ${LIVE_DEPEND}
64 +"
65 +
66 +src_prepare() {
67 + default
68 + [[ ${PV} == 9999 ]] && eautoreconf
69 +}
70 +
71 +src_configure() {
72 + local econfargs=(
73 + --with-xkb-base="${EPREFIX}/usr/share/X11/xkb"
74 + --enable-compat-rules
75 + # do not check for runtime deps
76 + --disable-runtime-deps
77 + --with-xkb-rules-symlink=xorg
78 + )
79 +
80 + econf "${econfargs[@]}"
81 +}