aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-19 17:38:34 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-24 19:14:24 +0800
commit2bacc6bed19b1a8b28f9fcdb4b40a4a273e8b98c (patch)
tree32bf8c2cca1c2c1fd24a9a14146d20dec2607b8a
parentf253f50e656142d48b7feecf2678fa12cc9bf2db (diff)
downloadgsoc2013-empathy-2bacc6bed19b1a8b28f9fcdb4b40a4a273e8b98c.tar
gsoc2013-empathy-2bacc6bed19b1a8b28f9fcdb4b40a4a273e8b98c.tar.gz
gsoc2013-empathy-2bacc6bed19b1a8b28f9fcdb4b40a4a273e8b98c.tar.bz2
gsoc2013-empathy-2bacc6bed19b1a8b28f9fcdb4b40a4a273e8b98c.tar.lz
gsoc2013-empathy-2bacc6bed19b1a8b28f9fcdb4b40a4a273e8b98c.tar.xz
gsoc2013-empathy-2bacc6bed19b1a8b28f9fcdb4b40a4a273e8b98c.tar.zst
gsoc2013-empathy-2bacc6bed19b1a8b28f9fcdb4b40a4a273e8b98c.zip
add empathy.application
-rw-r--r--configure.ac8
-rw-r--r--ubuntu-online-accounts/Makefile.am3
-rw-r--r--ubuntu-online-accounts/empathy.application12
3 files changed, 23 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 868b06409..c2c6c583d 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 a3ab1b8f8..ede2fa55c 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 000000000..f35da9268
--- /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>