1 FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
3 # Disable everything but the media-export plugin, add the lms plugin
4 PACKAGECONFIG = "media-export lms"
5 PACKAGECONFIG[lms] = "--enable-lms-plugin,--disable-lms-plugin,sqlite3"
7 # LightMediaScanner plugin patches
9 file://0001-Fix-missing-link-to-unistring-for-lms-plugin.patch \
10 file://rygel.service \
13 do_install_prepend() {
14 # Install rygel systemd service
15 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
16 install -m 644 -p -D ${WORKDIR}/rygel.service ${D}${systemd_user_unitdir}/rygel.service
18 # Execute these manually on behalf of systemctl script (from systemd-systemctl-native.bb)
19 # because it does not support systemd's user mode.
20 # However, systemctl --global should be checked
21 #mkdir -p ${D}/etc/systemd/user/default.target.wants/
22 #ln -sf ${systemd_user_unitdir}/rygel.service ${D}/etc/systemd/user/dbus-org.gnome.Rygel1.service
23 #ln -sf ${systemd_user_unitdir}/rygel.service ${D}/etc/systemd/user/default.target.wants/rygel.service