meson - use install_mode for theme

v-0.4.0
Carsten Haitzler 4 years ago
parent db019b569e
commit a76a80da0b
  1. 13
      data/themes/meson.build
  2. 1
      meson.build
  3. 2
      meson/meson-chmod.sh

@ -4,11 +4,10 @@ cmd = [ edje_cmd,
]
src = 'default'
custom_target(src + '.edj',
input : src + '.edc',
output : src + '.edj',
command : cmd,
install_dir: join_paths(dir_data, proj, 'themes'),
install : true
input : src + '.edc',
output : src + '.edj',
command : cmd,
install_dir : join_paths(dir_data, proj, 'themes'),
install_mode : 'rw-r--r--',
install : true
)
out = join_paths(dir_data, proj, 'themes', 'default.edj')
meson.add_install_script(chmod, 'a+r', out)

@ -9,7 +9,6 @@ base_url = 'https://www.enlightenment.org/about-'
##### convenience variables for later
proj = meson.project_name()
ver = meson.project_version()
chmod = join_paths(meson.source_root(), 'meson/meson-chmod.sh')
##### dependencies
efl_version = '>= 1.19.0'

@ -1,2 +0,0 @@
#!/bin/sh
chmod "$1" "${DESTDIR}/$2" && touch "${DESTDIR}/$2"
Loading…
Cancel
Save