summaryrefslogtreecommitdiff
path: root/src/modules/ethumb/emotion/meson.build
blob: 52f4b442a6edc7ec6e154a4fd2e0d1ff16872520 (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
28
29
30
31
32
themes = []

edc_files = [
  'template.edc'
]

foreach edc_file : edc_files
  themes += custom_target('edje_cc_' + edc_file,
    input : edc_file,
    output : '@BASENAME@.edj',
    command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta',
              '-id', meson.current_source_dir(),
              '-fd', meson.current_source_dir(),
              '-sd', meson.current_source_dir(),
              '-vd', meson.current_source_dir(),
              '-dd', meson.current_source_dir(),
              '-md', meson.current_source_dir(),
              '-td', meson.current_source_dir(),
              '@INPUT@', '@OUTPUT@'],
    depends : edje_cc)
endforeach

generic_src = [files(['emotion.c']) + themes]

shared_module(emotion_loader+'_el',
  generic_src,
  include_directories : config_dir,
  dependencies: [ethumb, edje, eina, eo, eet, ecore_file, ecore, evas, ecore_evas, emotion],
  install: true,
  install_dir : mod_install_dir,
  c_args : package_c_args,
)