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 1329F15ACFB for ; Wed, 26 Apr 2023 04:03:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A6CEE0899; Wed, 26 Apr 2023 04:03:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 63BFCE0895 for ; Wed, 26 Apr 2023 04:03:40 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AB09D340FA8 for ; Wed, 26 Apr 2023 04:03:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3371DA64 for ; Wed, 26 Apr 2023 04:03:36 +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: <1682481778.d33429e60f1fe2ec0d99cfc1e093b80854473abe.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/game-music-emu/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/game-music-emu/game-music-emu-0.6.3.ebuild X-VCS-Directories: media-libs/game-music-emu/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d33429e60f1fe2ec0d99cfc1e093b80854473abe X-VCS-Branch: master Date: Wed, 26 Apr 2023 04:03:36 +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: 5ce17a66-c32d-42b8-82c2-d54a7b57d401 X-Archives-Hash: d88a53f39629bd8034bae36ba68d5077 commit: d33429e60f1fe2ec0d99cfc1e093b80854473abe Author: Matoro Mahri users noreply github com> AuthorDate: Sat Apr 15 21:05:24 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Apr 26 04:02:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d33429e6 media-libs/game-music-emu: wire up tests Bug: https://bugs.gentoo.org/896118 Signed-off-by: Matoro Mahri users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/30610 Signed-off-by: Sam James gentoo.org> media-libs/game-music-emu/game-music-emu-0.6.3.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/media-libs/game-music-emu/game-music-emu-0.6.3.ebuild b/media-libs/game-music-emu/game-music-emu-0.6.3.ebuild index b2cdad293133..cffc088aaeea 100644 --- a/media-libs/game-music-emu/game-music-emu-0.6.3.ebuild +++ b/media-libs/game-music-emu/game-music-emu-0.6.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake-multilib +inherit cmake-multilib multibuild DESCRIPTION="Video game music file emulators" HOMEPAGE="https://bitbucket.org/mpyne/game-music-emu/wiki/Home" @@ -12,7 +12,10 @@ SRC_URI="https://bitbucket.org/mpyne/game-music-emu/downloads/${P}.tar.xz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86" -IUSE="" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( sys-process/parallel )" DOCS=( changes.txt design.txt gme.txt readme.txt ) @@ -22,3 +25,7 @@ src_configure() { ) cmake-multilib_src_configure } + +multilib_src_test() { + emake -C "${S}/test" test LIBGME_NEW_PATH="${BUILD_DIR}/gme/libgme.so" CXXFLAGS="${CXXFLAGS}" +}