diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2016-10-08 12:03:35 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-10-21 18:20:44 +0200 |
commit | df9dac1d6ccb5087428b4be73d62faeaf5ce516e (patch) | |
tree | 5be547bfd92c5d270bec01831e709995509d1a88 | |
parent | 2846999f6ce2cbbc30ec792a114d548ef8739a54 (diff) | |
download | meta-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.desktop | 9 | ||||
-rw-r--r-- | meta-oe/recipes-support/xdg-user-dirs/xdg-user-dirs_0.15.bb | 22 |
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] | ||
2 | Type=Application | ||
3 | Name=User folders update | ||
4 | Exec=xdg-user-dirs-update | ||
5 | StartupNotify=false | ||
6 | NoDisplay=true | ||
7 | X-GNOME-Autostart-Phase=Initialization | ||
8 | X-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 @@ | |||
1 | DESCRIPTION = "xdg-user-dirs is a tool to help manage user directories like the desktop folder and the music folder" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
4 | |||
5 | SRC_URI = " \ | ||
6 | http://user-dirs.freedesktop.org/releases/${BPN}-${PV}.tar.gz \ | ||
7 | file://xdg-user-dirs.desktop \ | ||
8 | " | ||
9 | SRC_URI[md5sum] = "f5aaf5686ad7d8809a664bfb4566a54d" | ||
10 | SRC_URI[sha256sum] = "20b4a751f41d0554bce3e0ce5e8d934be98cc62d48f0b90a894c3e1916552786" | ||
11 | |||
12 | inherit autotools gettext | ||
13 | |||
14 | do_install_append () { | ||
15 | install -d ${D}${sysconfdir}/xdg/autostart | ||
16 | install -m 644 ${WORKDIR}/xdg-user-dirs.desktop ${D}${sysconfdir}/xdg/autostart | ||
17 | } | ||
18 | |||
19 | CONFFILES_${PN} += " \ | ||
20 | ${sysconfdir}/xdg/user-dirs.conf \ | ||
21 | ${sysconfdir}/xdg/user-dirs.defaults \ | ||
22 | " | ||