x11-misc/xkeyboard-config: Version bump to 2.29
authorMatt Turner <mattst88@gentoo.org>
Sun, 2 Feb 2020 00:05:52 +0000 (16:05 -0800)
committerMatt Turner <mattst88@gentoo.org>
Sun, 2 Feb 2020 00:14:50 +0000 (16:14 -0800)
Signed-off-by: Matt Turner <mattst88@gentoo.org>
x11-misc/xkeyboard-config/Manifest
x11-misc/xkeyboard-config/xkeyboard-config-2.29.ebuild [new file with mode: 0644]

index dffadac602b6c84918707761a11f308367314978..9732ee89c6d62f7c853646ef249e241f3d6f1e23 100644 (file)
@@ -1 +1,2 @@
 DIST xkeyboard-config-2.28.tar.bz2 1682987 BLAKE2B 8883787119bb46e4351d4023aee0f1a495b6acc87755b408ffa51d5082f84f4b1a083a8a0ee640b00afd35777bc8e8e0ef2187cd0bbb2600db81da8fef19298f SHA512 be38e61a7d3a1c03f9dc92fed5aada65fdb8b42272e874e01156a39de07f2a7c81846e9ba449aeb95661587f8d05217d549a1315ee0dd92facbb6158362e68ae
+DIST xkeyboard-config-2.29.tar.bz2 1707176 BLAKE2B 436f2e8f4c7bea5a96e551daf01cdf6f7eeb2468dbacd28b977be003e159d0af9f233f17749fb5379444ce84c8d5c78f1c949e4bddfa3db6d39338ae01f0aefe SHA512 202255af097f3063d76341d1b4a7672662dc645f9bcd7afa87bc966a41db4c20fc6b8f4fbe2fcaec99b6bc458eac10129141a866a165857c46282f6705b78670
diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.29.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-2.29.ebuild
new file mode 100644 (file)
index 0000000..95509d0
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+BDEPEND="
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+RDEPEND=""
+DEPEND="${LIVE_DEPEND}"
+
+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() {
+       :;
+}