media-libs/flac: minor improvements

- added DOCS so changelog gets installed
- removed xz-utils as it's in @System
- added comment for bashism

Signed-off-by: Filip Kobierski <fkobi@pm.me>
Part-of: https://github.com/gentoo/gentoo/pull/41823
Closes: https://github.com/gentoo/gentoo/pull/41823
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Filip Kobierski
2025-06-12 15:10:03 +02:00
committed by Sam James
parent 847881b5c9
commit c77ab43c7a

View File

@@ -26,11 +26,12 @@ REQUIRED_USE="
RDEPEND="ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}"
BDEPEND="
app-arch/xz-utils
sys-devel/gettext
virtual/pkgconfig
"
DOCS=( AUTHORS {CHANGELOG,README}.md )
src_prepare() {
default
elibtoolize
@@ -62,6 +63,7 @@ multilib_src_configure() {
)
# bash for https://github.com/xiph/flac/pull/803
# should be fixed in >1.5.0
CONFIG_SHELL="${BROOT}"/bin/bash ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}