cava: rejigger VERSION, error flags to ignore build warnings
This commit is contained in:
parent
880dcd2662
commit
ad55dfd53f
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue