summaryrefslogtreecommitdiff
path: root/plugins/statusbar-date/meson.build
blob: bdde68f422590efe14b1a8c2a8a67555da7ff315 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
desktopfile = configure_file(input: 'statusbar-date.plugin.desktop.in.in', configuration: pkg_info, output: 'statusbar-date.plugin.desktop.in')
if get_option('nls')
  i18n.merge_file(
    input: desktopfile,
    output: 'statusbar-date.plugin',
    install: true,
    install_dir: pluginsdir,
    type: 'desktop',
    po_dir: po_dir,
  )
else
  install_data(desktopfile, install_dir: pluginsdir, rename: ['statusbar-date.plugin'])
endif

shared_library(
  'statusbar-date',
  sources: [
    'eom-statusbar-date-plugin.h',
    'eom-statusbar-date-plugin.c',
  ],
  c_args: plugins_c_args,
  dependencies: all_deps,
  include_directories: [top_inc, src_inc],
  link_with: [eom_links],
  install: true,
  install_dir: pluginsdir
)