summaryrefslogtreecommitdiffstats
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
parent2846999f6ce2cbbc30ec792a114d548ef8739a54 (diff)
downloadmeta-openembedded-df9dac1d6ccb5087428b4be73d62faeaf5ce516e.tar.gz
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>
-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 000000000..a9a22d3be
--- /dev/null
+++ b/meta-oe/recipes-support/xdg-user-dirs/files/xdg-user-dirs.desktop
@@ -0,0 +1,9 @@
1[Desktop Entry]
2Type=Application
3Name=User folders update
4Exec=xdg-user-dirs-update
5StartupNotify=false
6NoDisplay=true
7X-GNOME-Autostart-Phase=Initialization
8X-KDE-autostart-phase=1
9
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 000000000..b94e0ccd6
--- /dev/null
+++ b/meta-oe/recipes-support/xdg-user-dirs/xdg-user-dirs_0.15.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "xdg-user-dirs is a tool to help manage user directories like the desktop folder and the music folder"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4
5SRC_URI = " \
6 http://user-dirs.freedesktop.org/releases/${BPN}-${PV}.tar.gz \
7 file://xdg-user-dirs.desktop \
8"
9SRC_URI[md5sum] = "f5aaf5686ad7d8809a664bfb4566a54d"
10SRC_URI[sha256sum] = "20b4a751f41d0554bce3e0ce5e8d934be98cc62d48f0b90a894c3e1916552786"
11
12inherit autotools gettext
13
14do_install_append () {
15 install -d ${D}${sysconfdir}/xdg/autostart
16 install -m 644 ${WORKDIR}/xdg-user-dirs.desktop ${D}${sysconfdir}/xdg/autostart
17}
18
19CONFFILES_${PN} += " \
20 ${sysconfdir}/xdg/user-dirs.conf \
21 ${sysconfdir}/xdg/user-dirs.defaults \
22"