[gnome-games] build: Drop explicit dependency on gudev and libevdev
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] build: Drop explicit dependency on gudev and libevdev
- Date: Thu, 9 Nov 2017 10:21:33 +0000 (UTC)
commit 6f6a7ab43142cdd50864f5d966369276369cba51
Author: Adrien Plazas <kekun plazas laposte net>
Date: Mon Nov 6 06:33:41 2017 +0100
build: Drop explicit dependency on gudev and libevdev
They are still needed via libmanette.
configure.ac | 13 -------------
src/Makefile.am | 16 ----------------
2 files changed, 0 insertions(+), 29 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f53f285..60015ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,19 +50,6 @@ PKG_CHECK_MODULES(GNOME_GAMES, [
tracker-sparql-2.0
])
-PKG_CHECK_MODULES(GAMEPADS, [
- libevdev
-], [enable_gamepads=yes], [enable_gamepads=no])
-AM_CONDITIONAL([ENABLE_GAMEPADS], [test x$enable_gamepads != xno])
-
-enable_udev=no
-if test x$enable_gamepads = xyes ; then
- PKG_CHECK_MODULES(UDEV, [
- gudev-1.0
- ], [enable_udev=yes], [enable_udev=no])
-fi
-AM_CONDITIONAL([ENABLE_UDEV], [test x$enable_udev = xyes])
-
AC_CONFIG_FILES([
Makefile
data/Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index ea35c68..01ca01c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -195,8 +195,6 @@ gnome_games_VALAFLAGS = \
gnome_games_CFLAGS = \
$(GNOME_GAMES_CFLAGS) \
- $(GAMEPADS_CFLAGS) \
- $(UDEV_CFLAGS) \
-I$(srcdir)/event \
-I$(srcdir)/gamepad \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
@@ -207,22 +205,8 @@ gnome_games_CPPFLAGS = \
-DRETRO_GTK_USE_UNSTABLE_API \
$(NULL)
-if ENABLE_GAMEPADS
-gnome_games_CPPFLAGS += \
- -DENABLE_LINUX_GAMEPADS \
- $(NULL)
-endif
-
-if ENABLE_UDEV
-gnome_games_CPPFLAGS += \
- -DENABLE_UDEV \
- $(NULL)
-endif
-
gnome_games_LDADD = \
$(GNOME_GAMES_LIBS) \
- $(GAMEPADS_LIBS) \
- $(UDEV_LIBS) \
$(NULL)
gnome_gamesincludedir = $(includedir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]