use meson's native handling of resource compliation

This commit is contained in:
Chris Cromer 2019-01-04 17:00:37 -03:00
parent 6b38375be0
commit c37c341784
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A

View File

@ -1,8 +1,5 @@
gen = generator(
find_program('glib-compile-resources'),
arguments: [ '--sourcedir=@SOURCE_DIR@/data/ui',
'--generate-source',
'--target=@OUTPUT@',
'@INPUT@'],
output: '@PLAINNAME@.c')
sernatur_gresource_c = gen.process(['sernatur.gresource.xml'])
gnome = import('gnome')
sernatur_gresource_c = gnome.compile_resources('sernatur-resources',
'sernatur.gresource.xml',
source_dir : '.',
c_name : 'sernatur')