gnome-control-center/panels/network/wireless-security/meson.build
Georges Basile Stavracas Neto efbad6eb50 network: Port to GTK4
Boy this was hard.

To ease the pain of porting wireless-security to GTK4, add
a new WsFileChooserButton class that mimics the behavior of
a button that triggers a filechooser, as per the migration
guide suggests.

There were lots of GtkGrids, so the diff is particularly
horrendous. Sorry.

This needs serious testing before landing.
2021-12-14 22:34:21 -03:00

73 lines
1.4 KiB
Meson

name = 'wireless-security'
wireless_security_inc = include_directories('.')
nm_applet_headers = [
'eap-method.h',
'eap-method-fast.h',
'eap-method-leap.h',
'eap-method-peap.h',
'eap-method-simple.h',
'eap-method-tls.h',
'eap-method-ttls.h',
'helpers.h',
'wireless-security.h',
'ws-leap.h',
'ws-dynamic-wep.h',
'ws-file-chooser-button.h',
'ws-sae.h',
'ws-wep-key.h',
'ws-wpa-eap.h',
'ws-wpa-psk.h'
]
nm_applet_sources = [
'eap-method.c',
'eap-method-fast.c',
'eap-method-leap.c',
'eap-method-peap.c',
'eap-method-simple.c',
'eap-method-tls.c',
'eap-method-ttls.c',
'helpers.c',
'wireless-security.c',
'ws-leap.c',
'ws-dynamic-wep.c',
'ws-file-chooser-button.c',
'ws-sae.c',
'ws-wep-key.c',
'ws-wpa-eap.c',
'ws-wpa-psk.c'
]
sources = files(nm_applet_sources)
nm_resource_data = [
'eap-method-fast.ui',
'eap-method-leap.ui',
'eap-method-peap.ui',
'eap-method-simple.ui',
'eap-method-tls.ui',
'eap-method-ttls.ui',
'ws-dynamic-wep.ui',
'ws-leap.ui',
'ws-sae.ui',
'ws-wep-key.ui',
'ws-wpa-eap.ui',
'ws-wpa-psk.ui'
]
sources += gnome.compile_resources(
name + '-resources',
name + '.gresource.xml',
c_name: name.underscorify(),
dependencies: files(nm_resource_data),
export: true
)
libwireless_security = static_library(
name,
sources: sources,
include_directories: [top_inc, network_inc],
dependencies: deps
)