Permalink
Browse files

Add MPRIS plugin

  • Loading branch information...
1 parent 017c93b commit 9384398bdd679647ca362a72f20c63e5d056f309 @stefano-k stefano-k committed Mar 22, 2013
View
@@ -489,6 +489,7 @@ plugins/keybindings/Makefile
plugins/keyboard/Makefile
plugins/media-keys/Makefile
plugins/media-keys/cut-n-paste/Makefile
+plugins/mpris/Makefile
plugins/mouse/Makefile
plugins/smartcard/Makefile
plugins/sound/Makefile
View
@@ -14,6 +14,7 @@ gsettings_SCHEMAS = \
org.mate.SettingsDaemon.plugins.keybindings.gschema.xml \
org.mate.SettingsDaemon.plugins.keyboard.gschema.xml \
org.mate.SettingsDaemon.plugins.media-keys.gschema.xml \
+ org.mate.SettingsDaemon.plugins.mpris.gschema.xml \
org.mate.SettingsDaemon.plugins.mouse.gschema.xml \
org.mate.SettingsDaemon.plugins.smartcard.gschema.xml \
org.mate.SettingsDaemon.plugins.sound.gschema.xml \
@@ -0,0 +1,14 @@
+<schemalist>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.mate.SettingsDaemon.plugins.mpris" path="/org/mate/settings-daemon/plugins/mpris/">
+ <key name="active" type="b">
+ <default>true</default>
+ <_summary>Activation of this plugin</_summary>
+ <_description>Whether this plugin would be activated by mate-settings-daemon or not</_description>
+ </key>
+ <key name="priority" type="i">
+ <default>99</default>
+ <_summary>Priority to use for this plugin</_summary>
+ <_description>Priority to use for this plugin in mate-settings-daemon startup queue</_description>
+ </key>
+ </schema>
+</schemalist>
View
@@ -10,6 +10,7 @@ enabled_plugins = \
keybindings \
keyboard \
media-keys \
+ mpris \
mouse \
sound \
typing-break \
@@ -0,0 +1,40 @@
+plugin_LTLIBRARIES = \
+ libmpris.la
+
+libmpris_la_SOURCES = \
+ msd-mpris-manager.c \
+ msd-mpris-manager.h \
+ msd-mpris-plugin.c \
+ msd-mpris-plugin.h
+
+libmpris_la_CPPFLAGS = \
+ -I$(top_srcdir)/mate-settings-daemon \
+ -DMATE_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
+ $(AM_CPPFLAGS)
+
+libmpris_la_CFLAGS = \
+ $(SETTINGS_PLUGIN_CFLAGS) \
+ $(AM_CFLAGS)
+
+libmpris_la_LDFLAGS = \
+ $(MSD_PLUGIN_LDFLAGS)
+
+libmpris_la_LIBADD = \
+ $(SETTINGS_PLUGIN_LIBS)
+
+plugin_in_files = \
+ mpris.mate-settings-plugin.in
+
+plugin_DATA = $(plugin_in_files:.mate-settings-plugin.in=.mate-settings-plugin)
+
+EXTRA_DIST = \
+ $(plugin_in_files)
+
+CLEANFILES = \
+ $(plugin_DATA)
+
+DISTCLEANFILES = \
+ $(plugin_DATA)
+
+@MSD_INTLTOOL_PLUGIN_RULE@
+
@@ -0,0 +1,8 @@
+[MATE Settings Plugin]
+Module=mpris
+IAge=0
+_Name=Mpris
+_Description=Mpris plugin
+Authors=Stefano Karapetsas
+Copyright=Copyright © 2013 Stefano Karapetsas
+Website=
Oops, something went wrong.

0 comments on commit 9384398

Please sign in to comment.