diff options
author | Matt Turner <mattst88@gentoo.org> | 2020-06-08 14:19:50 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-06-08 14:21:49 -0700 |
commit | eec26a9d683fb8de3a8b3236d137a77a2e4e9399 (patch) | |
tree | 2ad45a7861f31a2c78daeb0f9a04956e9da5c6ee /x11-misc/xkeyboard-config | |
parent | x11-libs/libdrm: Drop old versions (diff) | |
download | gentoo-eec26a9d683fb8de3a8b3236d137a77a2e4e9399.tar.gz gentoo-eec26a9d683fb8de3a8b3236d137a77a2e4e9399.tar.bz2 gentoo-eec26a9d683fb8de3a8b3236d137a77a2e4e9399.zip |
x11-misc/xkeyboard-config: Version bump to 2.30
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-misc/xkeyboard-config')
-rw-r--r-- | x11-misc/xkeyboard-config/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xkeyboard-config/xkeyboard-config-2.30.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/x11-misc/xkeyboard-config/Manifest b/x11-misc/xkeyboard-config/Manifest index bf1f52b8696e..a5432b313951 100644 --- a/x11-misc/xkeyboard-config/Manifest +++ b/x11-misc/xkeyboard-config/Manifest @@ -1 +1,2 @@ DIST xkeyboard-config-2.29.tar.bz2 1707176 BLAKE2B 436f2e8f4c7bea5a96e551daf01cdf6f7eeb2468dbacd28b977be003e159d0af9f233f17749fb5379444ce84c8d5c78f1c949e4bddfa3db6d39338ae01f0aefe SHA512 202255af097f3063d76341d1b4a7672662dc645f9bcd7afa87bc966a41db4c20fc6b8f4fbe2fcaec99b6bc458eac10129141a866a165857c46282f6705b78670 +DIST xkeyboard-config-2.30.tar.bz2 1689137 BLAKE2B 54ba0a3a82d65f4cf15c45aa500bd8a44865c9ce845d5bc1ae85d3544a384622c580baa119b8882defa9868d8210697153f868a273a38852d938bf318ed09c3b SHA512 2d775dcaab49d80f62b8eaadc9be406b42c9a3643d3a360f864a462c61865abce67d0a8a80772d54f8136603114c61b5168fd06771f9c132411911914abb1ea4 diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.30.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-2.30.ebuild new file mode 100644 index 000000000000..66e3276b4ab7 --- /dev/null +++ b/x11-misc/xkeyboard-config/xkeyboard-config-2.30.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit python-any-r1 + +DESCRIPTION="X keyboard configuration database" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config.git" + inherit autotools git-r3 + # x11-misc/util-macros only required on live ebuilds + LIVE_DEPEND=">=x11-misc/util-macros-1.18" +else + SRC_URI="https://www.x.org/releases/individual/data/${PN}/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +BDEPEND=" + ${PYTHON_DEPS} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig +" +RDEPEND="" +DEPEND="${LIVE_DEPEND}" + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + local econfargs=( + --with-xkb-base="${EPREFIX}/usr/share/X11/xkb" + --enable-compat-rules + # do not check for runtime deps + --disable-runtime-deps + --with-xkb-rules-symlink=xorg + ) + + econf "${econfargs[@]}" +} + +src_test() { + :; +} |