[gnome-games] build: Add Games.OPTIONS_DIR
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] build: Add Games.OPTIONS_DIR
- Date: Thu, 28 Jun 2018 09:53:56 +0000 (UTC)
commit f460be9d03ede17e33d7d70e538cb97ba0d65db2
Author: Exalm <exalm7659 gmail com>
Date: Wed May 2 19:03:52 2018 +0500
build: Add Games.OPTIONS_DIR
Allows to get the location of installed option files.
src/Makefile.am | 2 ++
src/config.vala | 1 +
2 files changed, 3 insertions(+)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 85fb00b..6e4ac09 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -96,6 +96,7 @@ gnome_games_SOURCES = \
retro/retro-error.vala \
retro/retro-gamepad.vala \
retro/retro-input-manager.vala \
+ retro/retro-options.vala \
retro/retro-platform.vala \
retro/retro-runner.vala \
retro/retro-simple-game-uri-adapter.vala \
@@ -199,6 +200,7 @@ gnome_games_CFLAGS = \
$(GNOME_GAMES_CFLAGS) \
-I$(srcdir)/gamepad \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGAMES_OPTIONS_DIR=\"$(datadir)/gnome-games/options\" \
-DGAMES_PLUGINS_DIR=\"$(libdir)/gnome-games/plugins\" \
$(NULL)
diff --git a/src/config.vala b/src/config.vala
index 3f84b74..c6de027 100644
--- a/src/config.vala
+++ b/src/config.vala
@@ -1,5 +1,6 @@
// This file is part of GNOME Games. License: GPL-3.0+.
namespace Games {
+ private extern const string OPTIONS_DIR;
private extern const string PLUGINS_DIR;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]