gnome-control-center/panels/network/meson.build
Lubomir Rintel 6c26647154 network: replace wireless-security with libnma's NMAWs
panels/network/wireless-security is essentially an old fork of the part
of nm-connection-editor that is now part of libnma.

The UI elements provided by libnma adhere to the same look as the rest
of gnome-control-center for quite some time now. The functinality they
implement the same functionality and more. In particular, libnma uses
Gcr to provide Smart Card access for keys and certificates.

https://bugzilla.redhat.com/show_bug.cgi?id=1992836
2022-11-30 13:40:09 +01:00

78 lines
1.5 KiB
Meson

deps = common_deps + network_manager_deps + [
polkit_gobject_dep,
dependency('gmodule-2.0')
]
network_inc = include_directories('.')
subdir('connection-editor')
subdir('icons')
panel_names = [
cappletname,
'wifi'
]
panels_list += panel_names
foreach name: panel_names
desktop = 'gnome-' + name + '-panel.desktop'
i18n.merge_file(
type: 'desktop',
input: desktop + '.in',
output: desktop,
po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
endforeach
sources = files(
'cc-qr-code.c',
'cc-network-panel.c',
'cc-net-proxy-page.c',
'cc-wifi-connection-row.c',
'cc-wifi-connection-list.c',
'cc-wifi-panel.c',
'cc-wifi-hotspot-dialog.c',
'net-device-bluetooth.c',
'net-device-ethernet.c',
'net-device-mobile.c',
'net-device-wifi.c',
'net-vpn.c',
'network-dialogs.c',
'panel-common.c',
'ui-helpers.c'
)
resource_data = files(
'cc-network-panel.ui',
'cc-net-proxy-page.c',
'cc-wifi-connection-row.ui',
'cc-wifi-panel.ui',
'cc-wifi-hotspot-dialog.ui',
'network-bluetooth.ui',
'network-ethernet.ui',
'network-mobile.ui',
'network-vpn.ui',
'network-wifi.ui',
)
sources += gnome.compile_resources(
'cc-' + cappletname + '-resources',
cappletname + '.gresource.xml',
c_name: 'cc_' + cappletname,
dependencies: resource_data,
export: true
)
network_panel_lib = static_library(
cappletname,
sources: sources,
include_directories: [top_inc, common_inc],
dependencies: deps,
c_args: cflags,
link_with: libconnection_editor
)
panels_libs += network_panel_lib