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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0FC4A15AD33 for ; Fri, 12 May 2023 03:22:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C44FAE0B48; Fri, 12 May 2023 03:22:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A3983E0B48 for ; Fri, 12 May 2023 03:22:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96929340AA7 for ; Fri, 12 May 2023 03:22:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E063A6B for ; Fri, 12 May 2023 03:22:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1683860138.b926571bdf222767f4db79adc3a84e7cc7ff2368.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mpdscribble/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/mpdscribble/mpdscribble-0.24.ebuild X-VCS-Directories: media-sound/mpdscribble/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b926571bdf222767f4db79adc3a84e7cc7ff2368 X-VCS-Branch: master Date: Fri, 12 May 2023 03:22:41 +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: 54e1c3e5-faa1-40b3-bfd0-8f94ecad88bb X-Archives-Hash: bf0c32f61adcd2664d7f64d64f69b28e commit: b926571bdf222767f4db79adc3a84e7cc7ff2368 Author: Sam James gentoo org> AuthorDate: Fri May 12 02:22:59 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 12 02:55:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b926571b media-sound/mpdscribble: wire up (restricted) tests They're interactive/manual. Signed-off-by: Sam James gentoo.org> media-sound/mpdscribble/mpdscribble-0.24.ebuild | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/media-sound/mpdscribble/mpdscribble-0.24.ebuild b/media-sound/mpdscribble/mpdscribble-0.24.ebuild index 69429a0bcd59..7b2faf2a00ae 100644 --- a/media-sound/mpdscribble/mpdscribble-0.24.ebuild +++ b/media-sound/mpdscribble/mpdscribble-0.24.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,6 +15,9 @@ SRC_URI="https://www.musicpd.org/download/${PN}/${PV}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc x86" +IUSE="test" +# Test program is just an interactive check. +RESTRICT="!test? ( test ) test" RDEPEND=" dev-libs/boost @@ -33,6 +36,14 @@ PATCHES=( "${FILESDIR}"/${PN}-0.23-gcc12-time.patch ) +src_configure() { + local emesonargs=( + $(meson_use test) + ) + + meson_src_configure +} + src_install() { meson_src_install newinitd "${FILESDIR}/mpdscribble.rc" mpdscribble