Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
--- /dev/null
+DESCRIPTION = "Tool to automatically restart broken MPD internet streams"
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c"
+
+DEPENDS = " libmpdclient systemd"
+
+PV = "0.0.1"
+SRCBRANCH = "master"
+SRCREV = "${AUTOREV}"
+SRC_URI = "git://git.hugovil.com/git/mpdstream;protocol=http;branch=${SRCBRANCH}"
+
+inherit autotools pkgconfig systemd
+
+do_configure:prepend() {
+ saved_dir=$(pwd)
+ cd ${S}; ./autogen.sh
+ cd ${saved_dir}
+}
+
+EXTRA_OECONF = " \
+ --with-systemd \
+"
+
+SYSTEMD_SERVICE:${PN} = " \
+ ${PN}.service \
+"