]> git.0d.be Git - empathy.git/commitdiff
add empathy.application
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 19 Jul 2012 09:38:34 +0000 (11:38 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 24 Jul 2012 11:14:24 +0000 (13:14 +0200)
configure.ac
ubuntu-online-accounts/Makefile.am
ubuntu-online-accounts/empathy.application [new file with mode: 0644]

index 868b0640927b9cc1349a69e169fe0fe3ad4e6afc..c2c6c583db123f3226dfbc839adbb2ac869cfe49 100644 (file)
@@ -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
index a3ab1b8f8fa908e1f349fbfbadd8fbcbdcaa0d73..ede2fa55ce19feb2485c4792467d18fb0d477e61 100644 (file)
@@ -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 (file)
index 0000000..f35da92
--- /dev/null
@@ -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>