summaryrefslogtreecommitdiff
path: root/plugins/statusbar-date/meson.build
blob: 7ddf83c67d328c73ecdfe691720cfa714492868a (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.desktop',
    install: true,
    install_dir: pluginsdir,
    type: 'desktop',
    po_dir: po_dir,
  )
else
  install_data(desktopfile, install_dir: pluginsdir)
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
)