From 5fdc064015062341ed8047e5f4a4d5056c2779bc Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 23 Jun 2020 12:42:58 -0700 Subject: x11-misc/xkeyboard-config: Switch to Meson Signed-off-by: Matt Turner --- .../xkeyboard-config/xkeyboard-config-9999.ebuild | 34 ++++++---------------- 1 file changed, 9 insertions(+), 25 deletions(-) (limited to 'x11-misc/xkeyboard-config') diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild index 66e3276b4ab7..5ae805ded96c 100644 --- a/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild +++ b/x11-misc/xkeyboard-config/xkeyboard-config-9999.ebuild @@ -4,16 +4,14 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) -inherit python-any-r1 +inherit meson 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" + inherit git-r3 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" @@ -23,36 +21,22 @@ LICENSE="MIT" SLOT="0" IUSE="" +DEPEND="" +RDEPEND="" BDEPEND=" ${PYTHON_DEPS} - dev-util/intltool + dev-libs/libxslt 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 + local emesonargs=( + -Dxkb-base="${EPREFIX}/usr/share/X11/xkb" + -Dcompat-rules=true ) - - econf "${econfargs[@]}" -} - -src_test() { - :; + meson_src_configure } -- cgit v1.2.3-65-gdbad