[gnome-games/wip/exalm/ds-popover: 6/16] build: Make plugins depend on event-codes
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/ds-popover: 6/16] build: Make plugins depend on event-codes
- Date: Fri, 18 Jan 2019 22:09:34 +0000 (UTC)
commit abb8c4cefcbd9a5cf052e9922013d3914807bf90
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sat Jan 19 02:46:00 2019 +0500
build: Make plugins depend on event-codes
Plugins will need event codes in order to implement shortcuts, so provide
them.
src/meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/meson.build b/src/meson.build
index 94bb1055..054e720d 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -201,6 +201,8 @@ vala_sources = [
'main.vala',
]
+event_codes_dep = valac.find_library ('event-codes', dirs: gamepad_dir)
+
dependencies = [
config_dep,
handy_dep,
@@ -217,7 +219,7 @@ dependencies = [
xml_dep,
valac.find_library ('linux'),
valac.find_library ('posix'),
- valac.find_library ('event-codes', dirs: gamepad_dir),
+ event_codes_dep,
]
gnome_games_exec = executable (
@@ -238,6 +240,7 @@ plugin_dependencies = [
retro_gtk_dep,
soup_dep,
tracker_sparql_dep,
+ event_codes_dep,
]
gnome_games_dep = declare_dependency (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]