[gnome-games/wip/exalm/ds: 10/21] 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: 10/21] build: Make plugins depend on event-codes
- Date: Sat, 19 Jan 2019 14:05:44 +0000 (UTC)
commit fec3c11bd0dc8ddd0615c27a655d496c5b25a369
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]