aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2016-10-08 12:03:35 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2016-10-21 18:20:44 +0200
commitdf9dac1d6ccb5087428b4be73d62faeaf5ce516e (patch)
tree5be547bfd92c5d270bec01831e709995509d1a88 /meta-oe/recipes-support
parent2846999f6ce2cbbc30ec792a114d548ef8739a54 (diff)
downloadmeta-openembedded-contrib-df9dac1d6ccb5087428b4be73d62faeaf5ce516e.tar.gz
meta-openembedded-contrib-df9dac1d6ccb5087428b4be73d62faeaf5ce516e.tar.bz2
meta-openembedded-contrib-df9dac1d6ccb5087428b4be73d62faeaf5ce516e.zip
xdg-user-dirs: initial add 0.15
It lives in meta-qt5-extra for a while and I tested it in my images. It is a nice helper for desktops so I suggest to move it to more common layer. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/xdg-user-dirs/files/xdg-user-dirs.desktop9
-rw-r--r--meta-oe/recipes-support/xdg-user-dirs/xdg-user-dirs_0.15.bb22
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/xdg-user-dirs/files/xdg-user-dirs.desktop b/meta-oe/recipes-support/xdg-user-dirs/files/xdg-user-dirs.desktop
new file mode 100644
index 0000000000..a9a22d3be7
--- /dev/null
+++ b/meta-oe/recipes-support/xdg-user-dirs/files/xdg-user-dirs.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=User folders update
+Exec=xdg-user-dirs-update
+StartupNotify=false
+NoDisplay=true
+X-GNOME-Autostart-Phase=Initialization
+X-KDE-autostart-phase=1
+
diff --git a/meta-oe/recipes-support/xdg-user-dirs/xdg-user-dirs_0.15.bb b/meta-oe/recipes-support/xdg-user-dirs/xdg-user-dirs_0.15.bb
new file mode 100644
index 0000000000..b94e0ccd61
--- /dev/null
+++ b/meta-oe/recipes-support/xdg-user-dirs/xdg-user-dirs_0.15.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "xdg-user-dirs is a tool to help manage user directories like the desktop folder and the music folder"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+SRC_URI = " \
+ http://user-dirs.freedesktop.org/releases/${BPN}-${PV}.tar.gz \
+ file://xdg-user-dirs.desktop \
+"
+SRC_URI[md5sum] = "f5aaf5686ad7d8809a664bfb4566a54d"
+SRC_URI[sha256sum] = "20b4a751f41d0554bce3e0ce5e8d934be98cc62d48f0b90a894c3e1916552786"
+
+inherit autotools gettext
+
+do_install_append () {
+ install -d ${D}${sysconfdir}/xdg/autostart
+ install -m 644 ${WORKDIR}/xdg-user-dirs.desktop ${D}${sysconfdir}/xdg/autostart
+}
+
+CONFFILES_${PN} += " \
+ ${sysconfdir}/xdg/user-dirs.conf \
+ ${sysconfdir}/xdg/user-dirs.defaults \
+"