meson: changed deprecated since 0.56 (0.58) method get_pkgconfig_variable() to get_variable()
This commit is contained in:
parent
f885428256
commit
e08edfc068
|
@ -15,4 +15,4 @@ configure_file(
|
||||||
input: 'org.enlightenment.Ethumb.service.in',
|
input: 'org.enlightenment.Ethumb.service.in',
|
||||||
output: 'org.enlightenment.Ethumb.service',
|
output: 'org.enlightenment.Ethumb.service',
|
||||||
configuration: org_enlightenment_ethumb_service_config,
|
configuration: org_enlightenment_ethumb_service_config,
|
||||||
install_dir: dep.get_pkgconfig_variable('session_bus_services_dir'))
|
install_dir: dep.get_variable('session_bus_services_dir'))
|
||||||
|
|
|
@ -298,8 +298,8 @@ if sys_osx and get_option('lua-interpreter') == 'luajit'
|
||||||
# dependency with our arguments, a library later still needs to link to
|
# dependency with our arguments, a library later still needs to link to
|
||||||
# luajit for the pagesize argument thingy
|
# luajit for the pagesize argument thingy
|
||||||
lua = declare_dependency(
|
lua = declare_dependency(
|
||||||
include_directories: include_directories(lua.get_pkgconfig_variable('includedir')),
|
include_directories: include_directories(lua.get_variable('includedir')),
|
||||||
link_args: ['-L' + lua.get_pkgconfig_variable('libdir'), '-l' + lua.get_pkgconfig_variable('libname')]
|
link_args: ['-L' + lua.get_variable('libdir'), '-l' + lua.get_variable('libname')]
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -22,13 +22,13 @@ wl_stable_protocol_sys = [
|
||||||
|
|
||||||
foreach sys_protocol : wl_unstable_protocol_sys
|
foreach sys_protocol : wl_unstable_protocol_sys
|
||||||
wl_protocol_local += [
|
wl_protocol_local += [
|
||||||
join_paths(_wayland_protocols.get_pkgconfig_variable('pkgdatadir'), 'unstable',
|
join_paths(_wayland_protocols.get_variable('pkgdatadir'), 'unstable',
|
||||||
sys_protocol)]
|
sys_protocol)]
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
foreach sys_protocol : wl_stable_protocol_sys
|
foreach sys_protocol : wl_stable_protocol_sys
|
||||||
wl_protocol_local += [
|
wl_protocol_local += [
|
||||||
join_paths(_wayland_protocols.get_pkgconfig_variable('pkgdatadir'), 'stable',
|
join_paths(_wayland_protocols.get_variable('pkgdatadir'), 'stable',
|
||||||
sys_protocol)]
|
sys_protocol)]
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
if get_option('systemd') == true
|
if get_option('systemd') == true
|
||||||
sys_dep = dependency('systemd', required: false)
|
sys_dep = dependency('systemd', required: false)
|
||||||
if sys_dep.found()
|
if sys_dep.found()
|
||||||
sys_dir = sys_dep.get_pkgconfig_variable('systemduserunitdir')
|
sys_dir = sys_dep.get_variable('systemduserunitdir')
|
||||||
else
|
else
|
||||||
sys_dir = join_paths(dir_lib, 'systemd', 'user')
|
sys_dir = join_paths(dir_lib, 'systemd', 'user')
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue