mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
media-sound/gbsplay: test improvements
* Add a comment on --without-test (it controls running tests during the build) * Run tests verbosely and respect CC too Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
99785a80e0
commit
0fcc4171c1
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -48,8 +48,10 @@ src_configure() {
|
|||||||
--mandir=/usr/share/man
|
--mandir=/usr/share/man
|
||||||
--docdir=/usr/share/doc/${PF}
|
--docdir=/usr/share/doc/${PF}
|
||||||
--disable-hardening
|
--disable-hardening
|
||||||
--without-xmmsplugin
|
# This controls running tests during the build, they
|
||||||
|
# are still runnable in src_test with --without-test.
|
||||||
--without-test
|
--without-test
|
||||||
|
--without-xmmsplugin
|
||||||
$(use_enable alsa)
|
$(use_enable alsa)
|
||||||
$(use_enable nas)
|
$(use_enable nas)
|
||||||
$(use_enable nls i18n)
|
$(use_enable nls i18n)
|
||||||
@ -65,6 +67,10 @@ src_compile() {
|
|||||||
emake CC="$(tc-getCC)" SPLINT="true" V=1
|
emake CC="$(tc-getCC)" SPLINT="true" V=1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
emake CC="$(tc-getCC)" SPLINT="true" V=1 test
|
||||||
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
remove_disabled_locale() {
|
remove_disabled_locale() {
|
||||||
rm -r "${D}"/usr/share/locale/$1 || die
|
rm -r "${D}"/usr/share/locale/$1 || die
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user