Khem Raj 04370ef56c
xdg-user-dirs: Fix packaing location of systemd unit file
systemd_user_unitdir is the right variable to use

Fixes
ERROR: xdg-user-dirs-0.19-r0 do_package: QA Issue: xdg-user-dirs: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/systemd
  /usr/lib/systemd/user
  /usr/lib/systemd/user/xdg-user-dirs.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
xdg-user-dirs: 4 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-20 08:27:10 -08:00

18 lines
629 B
BlitzBasic

DESCRIPTION = "xdg-user-dirs is a tool to help manage user directories like the desktop folder and the music folder"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI = "http://user-dirs.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
SRC_URI[sha256sum] = "e92deb929c10d4b29329397af8a2585101247f7e6177ac6f1d28e82130ed8c19"
inherit autotools gettext pkgconfig
EXTRA_OECONF = "--disable-documentation"
CONFFILES:${PN} += " \
${sysconfdir}/xdg/user-dirs.conf \
${sysconfdir}/xdg/user-dirs.defaults \
"
FILES:${PN} += "${systemd_user_unitdir}/xdg-user-dirs.service"