mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-09 16:19:59 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
2846999f6c
commit
df9dac1d6c
@@ -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
|
||||||
|
|
||||||
@@ -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 \
|
||||||
|
"
|
||||||
Reference in New Issue
Block a user