2017-07-25 22:28:38 +02:00
|
|
|
deps = common_deps + network_manager_deps + [
|
|
|
|
polkit_gobject_dep,
|
|
|
|
dependency('gmodule-2.0')
|
|
|
|
]
|
|
|
|
|
2019-11-12 10:08:14 +13:00
|
|
|
network_inc = include_directories('.')
|
|
|
|
|
2017-07-25 22:28:38 +02:00
|
|
|
subdir('connection-editor')
|
2022-01-31 14:08:22 +00:00
|
|
|
subdir('icons')
|
2017-07-25 22:28:38 +02:00
|
|
|
|
|
|
|
panel_names = [
|
|
|
|
cappletname,
|
|
|
|
'wifi'
|
|
|
|
]
|
|
|
|
|
|
|
|
panels_list += panel_names
|
|
|
|
|
|
|
|
foreach name: panel_names
|
|
|
|
desktop = 'gnome-' + name + '-panel.desktop'
|
|
|
|
|
2017-09-11 22:05:40 +02:00
|
|
|
i18n.merge_file(
|
|
|
|
type: 'desktop',
|
2022-09-11 16:09:23 +00:00
|
|
|
input: desktop + '.in',
|
2017-07-25 22:28:38 +02:00
|
|
|
output: desktop,
|
2017-09-11 22:05:40 +02:00
|
|
|
po_dir: po_dir,
|
2017-07-25 22:28:38 +02:00
|
|
|
install: true,
|
|
|
|
install_dir: control_center_desktopdir
|
|
|
|
)
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
sources = files(
|
2019-12-02 14:52:25 +05:30
|
|
|
'cc-qr-code.c',
|
2022-08-05 15:42:45 +02:00
|
|
|
'cc-qr-code-dialog.c',
|
2017-07-25 22:28:38 +02:00
|
|
|
'cc-network-panel.c',
|
2022-11-04 12:19:09 +05:30
|
|
|
'cc-net-proxy-page.c',
|
2018-12-13 18:02:12 +01:00
|
|
|
'cc-wifi-connection-row.c',
|
2018-12-15 17:51:38 +01:00
|
|
|
'cc-wifi-connection-list.c',
|
2017-07-25 22:28:38 +02:00
|
|
|
'cc-wifi-panel.c',
|
2019-09-17 12:15:11 +00:00
|
|
|
'cc-wifi-hotspot-dialog.c',
|
2019-10-23 11:15:00 +13:00
|
|
|
'net-device-bluetooth.c',
|
2017-07-25 22:28:38 +02:00
|
|
|
'net-device-ethernet.c',
|
|
|
|
'net-device-mobile.c',
|
|
|
|
'net-device-wifi.c',
|
|
|
|
'net-vpn.c',
|
|
|
|
'network-dialogs.c',
|
2019-11-12 10:08:14 +13:00
|
|
|
'panel-common.c',
|
|
|
|
'ui-helpers.c'
|
2017-07-25 22:28:38 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
sources += gnome.compile_resources(
|
|
|
|
'cc-' + cappletname + '-resources',
|
|
|
|
cappletname + '.gresource.xml',
|
|
|
|
c_name: 'cc_' + cappletname,
|
|
|
|
export: true
|
|
|
|
)
|
|
|
|
|
2018-04-06 17:19:58 +02:00
|
|
|
network_panel_lib = static_library(
|
2017-07-25 22:28:38 +02:00
|
|
|
cappletname,
|
|
|
|
sources: sources,
|
2018-04-06 13:38:40 +02:00
|
|
|
include_directories: [top_inc, common_inc],
|
2017-07-25 22:28:38 +02:00
|
|
|
dependencies: deps,
|
|
|
|
c_args: cflags,
|
|
|
|
link_with: libconnection_editor
|
|
|
|
)
|
2019-09-17 12:15:11 +00:00
|
|
|
panels_libs += network_panel_lib
|