1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

meson: Add default theme GResource bits

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2017-10-31 18:16:08 +01:00
parent cc3d889fea
commit 3c37ba7a1c
No known key found for this signature in database
GPG key ID: AC203F96E2C34BB7
3 changed files with 7 additions and 1 deletions

View file

@ -142,6 +142,7 @@ rofi_CFLAGS=\
-I$(top_srcdir)/include/\ -I$(top_srcdir)/include/\
-I$(top_builddir)/lexer/\ -I$(top_builddir)/lexer/\
-I$(top_srcdir)/lexer/\ -I$(top_srcdir)/lexer/\
-I$(top_builddir)/resources/\
-I$(top_srcdir)/config/\ -I$(top_srcdir)/config/\
-I$(top_builddir)/\ -I$(top_builddir)/\
-Werror=missing-prototypes\ -Werror=missing-prototypes\

View file

@ -195,9 +195,14 @@ theme_parser_sources = files('lexer/theme-parser.y')
theme_lexer = flex.process(theme_lexer_sources) theme_lexer = flex.process(theme_lexer_sources)
theme_parser = bison.process(theme_parser_sources) theme_parser = bison.process(theme_parser_sources)
gnome = import('gnome')
default_theme = gnome.compile_resources('resources', files('resources/resources.xml'))
rofi = executable('rofi', rofi_sources + [ rofi = executable('rofi', rofi_sources + [
theme_lexer, theme_lexer,
theme_parser, theme_parser,
default_theme,
], ],
dependencies: deps, dependencies: deps,
install: true, install: true,

View file

@ -52,7 +52,7 @@
#endif #endif
#endif #endif
#include "resources/resources.h" #include "resources.h"
#include "rofi.h" #include "rofi.h"
#include "display.h" #include "display.h"