diff options
Diffstat (limited to 'media-libs/game-music-emu')
-rw-r--r-- | media-libs/game-music-emu/Manifest | 2 | ||||
-rw-r--r-- | media-libs/game-music-emu/game-music-emu-0.6.3.ebuild | 13 |
2 files changed, 11 insertions, 4 deletions
diff --git a/media-libs/game-music-emu/Manifest b/media-libs/game-music-emu/Manifest index 5b23ba9f48d6..f6076778760b 100644 --- a/media-libs/game-music-emu/Manifest +++ b/media-libs/game-music-emu/Manifest @@ -1,3 +1,3 @@ DIST game-music-emu-0.6.3.tar.xz 234412 BLAKE2B 21edd8f5e868231424c56dad6740a5c7cb8e7f503b707dc56ea71d7a75085566b2bd0c2060b0f9e919f858c13821b3810959cff96c41f9248bb3b98f12eb22f7 SHA512 4b20c69ced696bb879c34bcb7ce0f5f276642458d4cebca8ede673eed7d50664e527626e2077f85a3411a26660f1b3f01e43cccd72945e1edb2994421efeb552 -EBUILD game-music-emu-0.6.3.ebuild 640 BLAKE2B 1df84489e48acc1ba2fec02656b07c06d7b5e01cf225096a46788abeca5ed3a3e42934e7d94437f8788f57ec8f18a43742242981b74ce9df16a57df191dc6c0b SHA512 9306a9d57e338db8a3c3ef33c2c7d230fd8286a4cdd02367901f8f2cf773d02d15d82b6c44f92ffb4d70ac40add43d2d9f016c6f16f6d2419d45204c6939e3be +EBUILD game-music-emu-0.6.3.ebuild 844 BLAKE2B 121f1c205dfa7a9119ee32b5f5e5ced17c2d43450f3fc68481391d0e86dbcd85a4511e42b00b30334659650be13850c7320eb469d064a1ce895c5b96fd39ffda SHA512 0cdad9b7def4247e06b4a69d7e0fa10a862a1d4ddb4ff66c8e83ca6c5745d22eafc2728ab175889e7d49315eb09eedb30ca3cb567eb8ce90e0ba73ff097e1cb8 MISC metadata.xml 401 BLAKE2B 55ad6fa2bd1c0cc363ea58e09c6b58d518782717b244a4bc50d902368b748f17f485e41ad5a81c1671edc4ef635544f5abae36f5978feb3980e7d1909f248907 SHA512 91fd65adf324ae718e5ad19446ddf9b884541358ec49be432108091f7651c73bcb3b33ee50063b9c23401877e9f1ba29e63b447f47668b862e64707a70d7c7f0 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}" +} |