--- /dev/null
+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://<hostname>: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"