gnome-control-center/panels/display/meson.build
Benjamin Berg e17e9daa19 display: Remove unused old display arrangement code
Remove the code that has become unused with the new arrangement widget.

There are more possible cleanups as there is some code duplication
between cc-display-panel.c and cc-display-arrangment.c at this point.

https://bugzilla.gnome.org/show_bug.cgi?id=786971
2018-05-28 20:57:20 -03:00

66 lines
1.3 KiB
Meson

panels_list += cappletname
desktop = 'gnome-@0@-panel.desktop'.format(cappletname)
desktop_in = configure_file(
input: desktop + '.in.in',
output: desktop + '.in',
configuration: desktop_conf
)
i18n.merge_file(
desktop,
type: 'desktop',
input: desktop_in,
output: desktop,
po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
sources = files(
'cc-display-panel.c',
'cc-display-arrangement.c',
'cc-display-config.c',
'cc-display-config-dbus.c',
'cc-display-config-manager-dbus.c',
'cc-display-config-manager.c',
'cc-night-light-dialog.c',
'cc-night-light-widget.c',
)
resource_data = files(
'display.ui',
'icons/16x16/sunset.png',
'icons/16x16/sunrise.png'
)
sources += gnome.compile_resources(
'cc-' + cappletname + '-resources',
cappletname + '.gresource.xml',
source_dir: ['.', 'icons'],
c_name: 'cc_' + cappletname,
dependencies: resource_data,
export: true
)
deps = common_deps + [
colord_dep,
gnome_desktop_dep,
m_dep,
upower_glib_dep
]
cflags += [
'-DDATADIR="@0@"'.format(control_center_datadir),
'-DGNOMELOCALEDIR="@0@"'.format(control_center_localedir)
]
panels_libs += static_library(
cappletname,
sources: sources,
include_directories: [ top_inc, common_inc ],
dependencies: deps,
c_args: cflags
)
subdir('icons')