[gnome-games/wip/exalm/ds: 59/63] 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: 59/63] build: Make plugins depend on event-codes
- Date: Wed, 27 Feb 2019 09:46:43 +0000 (UTC)
commit 56b87775936bccc1f2c5874028f34425355a4f42
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]