parent
e4faf252b2
commit
e253c34cd4
10
meson.build
10
meson.build
|
@ -341,13 +341,11 @@ if get_option('experimental')
|
||||||
add_project_arguments('-DUSE_EXPERIMENTAL', language: 'cpp')
|
add_project_arguments('-DUSE_EXPERIMENTAL', language: 'cpp')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
cava = compiler.find_library('cava',
|
|
||||||
required: get_option('cava'))
|
|
||||||
if not cava.found() and not get_option('cava').disabled()
|
|
||||||
cava = dependency('cava',
|
cava = dependency('cava',
|
||||||
required: false,
|
version : '>=0.8.4',
|
||||||
fallback: [ 'cava', 'cava_dep' ])
|
required: get_option('cava'),
|
||||||
endif
|
fallback : ['cava', 'cava_dep'],
|
||||||
|
not_found_message: 'cava is not found. Building waybar without cava')
|
||||||
|
|
||||||
if cava.found()
|
if cava.found()
|
||||||
add_project_arguments('-DHAVE_LIBCAVA', language: 'cpp')
|
add_project_arguments('-DHAVE_LIBCAVA', language: 'cpp')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[wrap-file]
|
[wrap-file]
|
||||||
directory = cava-0.8.3
|
directory = cava-0.8.4
|
||||||
source_url = https://github.com/LukashonakV/cava/archive/0.8.3.tar.gz
|
source_url = https://github.com/LukashonakV/cava/archive/0.8.4.tar.gz
|
||||||
source_filename = cava-0.8.3.tar.gz
|
source_filename = cava-0.8.4.tar.gz
|
||||||
source_hash = 10f9ec910682102c47dc39d684fd3fc90d38a4d1c2e5a310f132f70ad0e00850
|
source_hash = 523353f446570277d40b8e1efb84468d70fdec53e1356a555c14bf466557a3ed
|
||||||
[provide]
|
[provide]
|
||||||
cava = cava_dep
|
cava = cava_dep
|
||||||
|
|
Loading…
Reference in New Issue