From: Hugo Villeneuve Date: Thu, 11 Dec 2025 03:21:36 +0000 (-0500) Subject: Add myMPD X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=564342dc01ea1431529c1f161b7629028d853813;p=yocto%2Fmeta-hvmpd.git Add myMPD Signed-off-by: Hugo Villeneuve --- diff --git a/recipes-core/images/include/image-hvmpd-common.inc b/recipes-core/images/include/image-hvmpd-common.inc index 2085d6e..d232753 100644 --- a/recipes-core/images/include/image-hvmpd-common.inc +++ b/recipes-core/images/include/image-hvmpd-common.inc @@ -21,6 +21,7 @@ IMAGE_INSTALL:append = " \ mpd \ mpc \ ympd \ + mympd \ shairport-sync \ " diff --git a/recipes-multimedia/musicpd/mympd_git.bb b/recipes-multimedia/musicpd/mympd_git.bb new file mode 100644 index 0000000..d4a0b7d --- /dev/null +++ b/recipes-multimedia/musicpd/mympd_git.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "myMPD" +SECTION = "multimedia" +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ad8f1ebd7e8b0de8b26362934346e700" + +# libnewt: required for whiptail +DEPENDS = "openssl lua lua-native libpcre2 libid3tag flac libmpd jq-native gzip libnewt" + +PV = "0.0.1" +SRCBRANCH = "master" +SRCREV = "${AUTOREV}" +SRC_URI = "git://github.com/jcorporation/myMPD.git;branch=${SRCBRANCH};protocol=https" + +S = "${WORKDIR}/git" + +inherit pkgconfig cmake systemd + +# Remove user version of service. We use system version. +do_install:append() { + rm -rf ${D}${systemd_user_unitdir} + + # Disable http service becuas eof conflict with ympd on port 8080. + # myMPD can be launched with: https://:8443 + sed -e '/^\[Service\]/s/$/\nEnvironment=MYMPD_HTTP=false/' \ + -i ${D}${systemd_system_unitdir}/mympd.service +} + +FILES:${PN} = " \ + ${bindir}/* \ +" + +SYSTEMD_SERVICE:${PN} = "mympd.service" + +#ERROR: QA Issue: File /usr/src/debug/mympd/0.0.1/lualibs.c in package hympd-src contains reference to TMPDIR [buildpaths] +#ERROR: QA Issue: File /usr/src/debug/mympd/0.0.1/embedded_files.c in package hympd-src contains reference to TMPDIR [buildpaths] +INSANE_SKIP += "buildpaths"