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: Sat, 28 Jul 2018 00:38:53
Message-Id: 1532738308.a96cc242556d0bf71ad5c96cfdcd2c54c05ec129.mattst88@gentoo
1 commit: a96cc242556d0bf71ad5c96cfdcd2c54c05ec129
2 Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
3 AuthorDate: Fri Jul 27 23:47:40 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 28 00:38:28 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96cc242
7
8 x11-misc/xkeyboard-config: add live ebuild
9
10 Package-Manager: Portage-2.3.41, Repoman-2.3.9
11
12 .../xkeyboard-config/xkeyboard-config-9999.ebuild | 52 ++++++++++++++++++++++
13 1 file changed, 52 insertions(+)
14
15 diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild
16 new file mode 100644
17 index 00000000000..0f57cc43593
18 --- /dev/null
19 +++ b/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild
20 @@ -0,0 +1,52 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +DESCRIPTION="X keyboard configuration database"
27 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig"
28 +
29 +if [[ ${PV} == 9999 ]]; then
30 + EGIT_REPO_URI="https://anongit.freedesktop.org/git/xkeyboard-config.git"
31 + inherit autotools git-r3
32 + # x11-misc/util-macros only required on live ebuilds
33 + LIVE_DEPEND=">=x11-misc/util-macros-1.18"
34 +else
35 + SRC_URI="mirror://xorg/data/${PN}/${P}.tar.bz2"
36 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
37 +fi
38 +
39 +LICENSE="MIT"
40 +SLOT="0"
41 +IUSE=""
42 +
43 +BDEPEND="
44 + virtual/pkgconfig
45 +"
46 +RDEPEND="
47 + !<x11-apps/xkbcomp-1.2.3
48 + !<x11-libs/libX11-1.4.3
49 +"
50 +DEPEND="
51 + ${LIVE_DEPEND}
52 + dev-util/intltool
53 + sys-devel/gettext
54 +"
55 +
56 +src_prepare() {
57 + default
58 + [[ ${PV} == 9999 ]] && eautoreconf
59 +}
60 +
61 +src_configure() {
62 + local econfargs=(
63 + --disable-selective-werror
64 + --with-xkb-base="${EPREFIX}/usr/share/X11/xkb"
65 + --enable-compat-rules
66 + # do not check for runtime deps
67 + --disable-runtime-deps
68 + --with-xkb-rules-symlink=xorg
69 + )
70 +
71 + econf "${econfargs[@]}"
72 +}