diff options
author | Bastien Nocera <hadess@hadess.net> | 2011-09-13 15:45:02 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2011-09-13 15:47:56 +0100 |
commit | 63e69deda056d41ad8f68f5cfe40d76970037866 (patch) | |
tree | 895f0086b9e5cbb526f275f93ad0f528ef8b22d2 | |
parent | b7e7c90c3c9acc2fd78492fe5a39411dec3ae133 (diff) | |
download | gnome-settings-daemon-63e69deda056d41ad8f68f5cfe40d76970037866.tar.gz |
media-keys: Clean up upower req
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | plugins/media-keys/Makefile.am | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 1128b3c7..9e349ce1 100644 --- a/configure.ac +++ b/configure.ac @@ -53,6 +53,7 @@ GCONF_REQUIRED_VERSION=2.6.1 GIO_REQUIRED_VERSION=2.26.0 GNOME_DESKTOP_REQUIRED_VERSION=3.1.5 LIBNOTIFY_REQUIRED_VERSION=0.7.3 +UPOWER_GLIB_REQUIRED_VERSION=0.9.1 EXTRA_COMPILE_WARNINGS(yes) @@ -210,7 +211,7 @@ dnl --------------------------------------------------------------------------- dnl - media-keys plugin stuff dnl --------------------------------------------------------------------------- -PKG_CHECK_MODULES(MEDIA_KEYS, [gio-unix-2.0]) +PKG_CHECK_MODULES(MEDIA_KEYS, [gio-unix-2.0 upower-glib >= $UPOWER_GLIB_REQUIRED_VERSION]) dnl --------------------------------------------------------------------------- dnl - GConf<->GSettings bridge diff --git a/plugins/media-keys/Makefile.am b/plugins/media-keys/Makefile.am index 546db35a..7a5ca7aa 100644 --- a/plugins/media-keys/Makefile.am +++ b/plugins/media-keys/Makefile.am @@ -94,7 +94,6 @@ libmedia_keys_la_CPPFLAGS = \ libmedia_keys_la_CFLAGS = \ $(PLUGIN_CFLAGS) \ $(SETTINGS_PLUGIN_CFLAGS) \ - $(UPOWER_CFLAGS) \ $(MEDIA_KEYS_CFLAGS) \ $(AM_CFLAGS) @@ -104,7 +103,6 @@ libmedia_keys_la_LDFLAGS = \ libmedia_keys_la_LIBADD = \ $(top_builddir)/plugins/common/libcommon.la \ $(top_builddir)/plugins/media-keys/cut-n-paste/libgvc.la \ - $(UPOWER_LIBS) \ $(MEDIA_KEYS_LIBS) \ $(SETTINGS_PLUGIN_LIBS) \ -lm @@ -184,7 +182,6 @@ test_media_keys_LDADD = \ $(SETTINGS_DAEMON_LIBS) \ $(SETTINGS_PLUGIN_LIBS) \ $(MEDIA_KEYS_LIBS) \ - $(UPOWER_LIBS) \ $(GST_LIBS) \ -lm |