From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22FDD1382C5 for ; Tue, 4 May 2021 02:07:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BC22E0898; Tue, 4 May 2021 02:07:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13A5CE0898 for ; Tue, 4 May 2021 02:07:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC84F335DC5 for ; Tue, 4 May 2021 02:07:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5AE82733 for ; Tue, 4 May 2021 02:07:39 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1620094030.95516dff05dd06ae72a531796ac7b128b162cebc.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/wayland-protocols/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/wayland-protocols/wayland-protocols-9999.ebuild X-VCS-Directories: dev-libs/wayland-protocols/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 95516dff05dd06ae72a531796ac7b128b162cebc X-VCS-Branch: master Date: Tue, 4 May 2021 02:07:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 79e36b2f-c6dc-4680-aa08-030efc934168 X-Archives-Hash: c7fdbdb0949396fc31381fd830a48e9a commit: 95516dff05dd06ae72a531796ac7b128b162cebc Author: Matt Turner gentoo org> AuthorDate: Tue May 4 01:54:54 2021 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue May 4 02:07:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95516dff dev-libs/wayland-protocols: Switch to meson Signed-off-by: Matt Turner gentoo.org> .../wayland-protocols-9999.ebuild | 43 +++++++++++----------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/dev-libs/wayland-protocols/wayland-protocols-9999.ebuild b/dev-libs/wayland-protocols/wayland-protocols-9999.ebuild index 8eed22822b4..f9b1910a51a 100644 --- a/dev-libs/wayland-protocols/wayland-protocols-9999.ebuild +++ b/dev-libs/wayland-protocols/wayland-protocols-9999.ebuild @@ -1,37 +1,38 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit meson + DESCRIPTION="Wayland protocol files" HOMEPAGE="https://wayland.freedesktop.org/" if [[ ${PV} = 9999* ]]; then EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/${PN}.git/" - inherit git-r3 autotools + inherit git-r3 else SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi LICENSE="MIT" SLOT="0" -IUSE="" - -DEPEND="dev-libs/wayland" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - [[ ${PV} == 9999 ]] && eautoreconf -} - -src_test() { - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die - - default +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( dev-libs/wayland ) +" +RDEPEND="" +BDEPEND=" + dev-util/wayland-scanner + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + $(meson_use test tests) + ) + meson_src_configure }