meson - use install_mode for theme
This commit is contained in:
parent
db019b569e
commit
a76a80da0b
|
@ -4,11 +4,10 @@ cmd = [ edje_cmd,
|
||||||
]
|
]
|
||||||
src = 'default'
|
src = 'default'
|
||||||
custom_target(src + '.edj',
|
custom_target(src + '.edj',
|
||||||
input : src + '.edc',
|
input : src + '.edc',
|
||||||
output : src + '.edj',
|
output : src + '.edj',
|
||||||
command : cmd,
|
command : cmd,
|
||||||
install_dir: join_paths(dir_data, proj, 'themes'),
|
install_dir : join_paths(dir_data, proj, 'themes'),
|
||||||
install : true
|
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
|
##### convenience variables for later
|
||||||
proj = meson.project_name()
|
proj = meson.project_name()
|
||||||
ver = meson.project_version()
|
ver = meson.project_version()
|
||||||
chmod = join_paths(meson.source_root(), 'meson/meson-chmod.sh')
|
|
||||||
|
|
||||||
##### dependencies
|
##### dependencies
|
||||||
efl_version = '>= 1.19.0'
|
efl_version = '>= 1.19.0'
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
chmod "$1" "${DESTDIR}/$2" && touch "${DESTDIR}/$2"
|
|
Loading…
Reference in New Issue