forked from enlightenment/enlightenment
meson build - reformat and trim build files a bit to be more compact
working on it...
This commit is contained in:
parent
022dd52cd9
commit
2349a298f0
|
@ -1,5 +1,5 @@
|
||||||
if get_option('nls')
|
if get_option('nls')
|
||||||
i18n = import('i18n')
|
i18n = import('i18n')
|
||||||
i18n.gettext('enlightenment')
|
i18n.gettext('enlightenment')
|
||||||
config_h.set('HAVE_GETTEXT', '1')
|
config_h.set('HAVE_GETTEXT', '1')
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,50 +1,49 @@
|
||||||
deps_efm = [
|
deps = [
|
||||||
dep_eina,
|
dep_eina,
|
||||||
dep_ecore,
|
dep_ecore,
|
||||||
dep_ecore_con,
|
dep_ecore_con,
|
||||||
dep_ecore_file,
|
dep_ecore_file,
|
||||||
dep_ecore_ipc,
|
dep_ecore_ipc,
|
||||||
dep_efreet
|
dep_efreet
|
||||||
]
|
]
|
||||||
|
|
||||||
udisks_src = []
|
udisks_src = []
|
||||||
if config_h.has('HAVE_UDISKS_MOUNT') == true
|
if config_h.has('HAVE_UDISKS_MOUNT') == true
|
||||||
udisks_src = [
|
udisks_src = [
|
||||||
'e_fm_main_udisks.c',
|
'e_fm_main_udisks.c',
|
||||||
'e_fm_main_udisks.h',
|
'e_fm_main_udisks.h',
|
||||||
'e_fm_main_udisks2.c',
|
'e_fm_main_udisks2.c',
|
||||||
'e_fm_main_udisks2.h'
|
'e_fm_main_udisks2.h'
|
||||||
]
|
]
|
||||||
deps_efm += [dep_eldbus]
|
deps += [ dep_eldbus ]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
eeze_src = []
|
eeze_src = []
|
||||||
if config_h.has('HAVE_EEZE_MOUNT') == true
|
if config_h.has('HAVE_EEZE_MOUNT') == true
|
||||||
eeze_src = [
|
eeze_src = [
|
||||||
'../e_prefix.c',
|
'../e_prefix.c',
|
||||||
'e_fm_main_eeze.c',
|
'e_fm_main_eeze.c',
|
||||||
'e_fm_main_eeze.h'
|
'e_fm_main_eeze.h'
|
||||||
]
|
]
|
||||||
deps_efm += [dep_eeze, dep_eet]
|
deps += [ dep_eeze, dep_eet ]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
efm_src = [
|
src = [
|
||||||
'e_fm_main.c',
|
'e_fm_main.c',
|
||||||
'e_fm_main.h',
|
'e_fm_main.h',
|
||||||
'e_fm_ipc.c',
|
'e_fm_ipc.c',
|
||||||
'e_fm_ipc.h',
|
'e_fm_ipc.h',
|
||||||
'../e_fm_shared_codec.c',
|
'../e_fm_shared_codec.c',
|
||||||
'../e_fm_shared_device.c',
|
'../e_fm_shared_device.c',
|
||||||
'../e_user.c',
|
'../e_user.c',
|
||||||
'../e_sha1.c',
|
'../e_sha1.c',
|
||||||
udisks_src,
|
udisks_src,
|
||||||
eeze_src
|
eeze_src
|
||||||
]
|
]
|
||||||
|
|
||||||
executable('enlightenment_fm',
|
executable('enlightenment_fm', src,
|
||||||
[efm_src],
|
include_directories: include_directories('../../../', '../..', '.', '..'),
|
||||||
include_directories: include_directories('../../../', '../..', '.', '..'),
|
dependencies : deps,
|
||||||
dependencies: [deps_efm],
|
install_dir : dir_e_utils,
|
||||||
install_dir: dir_e_utils,
|
install : true
|
||||||
install: true
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
protos = [
|
protos = [
|
||||||
'@0@/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml'.format(dir_wayland_protocols),
|
'@0@/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml'.format(dir_wayland_protocols),
|
||||||
'../../protocol/session-recovery.xml',
|
'../../protocol/session-recovery.xml',
|
||||||
'../../protocol/www.xml',
|
'../../protocol/www.xml',
|
||||||
'../../protocol/efl-aux-hints.xml',
|
'../../protocol/efl-aux-hints.xml',
|
||||||
'../../protocol/action_route.xml',
|
'../../protocol/action_route.xml',
|
||||||
'@0@/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml'.format(dir_wayland_protocols),
|
'@0@/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml'.format(dir_wayland_protocols),
|
||||||
'@0@/unstable/relative-pointer/relative-pointer-unstable-v1.xml'.format(dir_wayland_protocols),
|
'@0@/unstable/relative-pointer/relative-pointer-unstable-v1.xml'.format(dir_wayland_protocols),
|
||||||
'@0@/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml'.format(dir_wayland_protocols),
|
'@0@/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml'.format(dir_wayland_protocols),
|
||||||
]
|
]
|
||||||
|
|
||||||
proto_c = []
|
proto_c = []
|
||||||
proto_h = []
|
proto_h = []
|
||||||
|
|
||||||
foreach proto: protos
|
foreach p: protos
|
||||||
proto_h += gen_scanner_server.process(proto)
|
proto_h += gen_scanner_server.process(p)
|
||||||
proto_c += gen_scanner_impl.process(proto)
|
proto_c += gen_scanner_impl.process(p)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
wayland_proto_c = proto_c
|
wayland_proto_c = proto_c
|
||||||
|
|
1017
src/bin/meson.build
1017
src/bin/meson.build
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue