[empathy] add empathy.application



commit 2bacc6bed19b1a8b28f9fcdb4b40a4a273e8b98c
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Jul 19 11:38:34 2012 +0200

    add empathy.application

 configure.ac                               |    8 ++++++++
 ubuntu-online-accounts/Makefile.am         |    3 +++
 ubuntu-online-accounts/empathy.application |   12 ++++++++++++
 3 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 868b064..c2c6c58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -532,6 +532,14 @@ if test "x$enable_ubuntu_online_accounts" != "xno"; then
 
    AC_MSG_RESULT([$ACCOUNTS_SERVICE_FILES_DIR])
    AC_SUBST(ACCOUNTS_SERVICE_FILES_DIR)
+
+   # application files dir
+   AC_MSG_CHECKING([Accounts applications files dir])
+   ACCOUNTS_APPLICATION_FILES_DIR=`pkg-config --variable=applicationfilesdir libaccounts-glib`
+
+   AC_MSG_RESULT([$ACCOUNTS_APPLICATION_FILES_DIR])
+   AC_SUBST(ACCOUNTS_APPLICATION_FILES_DIR)
+
 else
    have_uoa=no
 fi
diff --git a/ubuntu-online-accounts/Makefile.am b/ubuntu-online-accounts/Makefile.am
index a3ab1b8..ede2fa5 100644
--- a/ubuntu-online-accounts/Makefile.am
+++ b/ubuntu-online-accounts/Makefile.am
@@ -1,2 +1,5 @@
 SUBDIRS = mc-plugin
 
+appdir = $(ACCOUNTS_APPLICATION_FILES_DIR)
+
+app_DATA = empathy.application
diff --git a/ubuntu-online-accounts/empathy.application b/ubuntu-online-accounts/empathy.application
new file mode 100644
index 0000000..f35da92
--- /dev/null
+++ b/ubuntu-online-accounts/empathy.application
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<application id="empathy">
+  <description>Empathy</description>
+	<desktop-entry>empathy.desktop</desktop-entry>
+
+  <service-types>
+		<service-type id="IM">
+			<description>Integrate your IM accounts</description>
+		</service-type>
+  </service-types>
+
+</application>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]