cava: rejigger VERSION, error flags to ignore build warnings

This commit is contained in:
Brian S. Stephan 2021-06-01 17:16:56 -05:00
parent 880dcd2662
commit ad55dfd53f
1 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@
EAPI=6
inherit linux-info git-r3 eutils autotools
inherit linux-info git-r3 eutils autotools flag-o-matic
DESCRIPTION="Console-based Audio Visualizer for ALSA (=CAVA)"
HOMEPAGE="https://github.com/karlstav/cava"
@ -37,6 +37,8 @@ src_prepare() {
}
src_configure() {
append-flags -Wno-discarded-qualifiers
replace-flags -DVERSION=\"\" -DVERSION=\"${PV}\"
econf \
$(use_enable debug ) \
--enable-legacy_iniparser \
@ -44,7 +46,7 @@ src_configure() {
}
src_compile() {
emake SYSTEM_LIBINIPARSER=1 VERSION=${PV}
emake SYSTEM_LIBINIPARSER=1
}
src_install() {