]> Untitled Git - yocto/meta-hvmpd.git/commitdiff
Add mpdstream recipe
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 31 Mar 2026 19:50:41 +0000 (15:50 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Tue, 31 Mar 2026 21:06:49 +0000 (17:06 -0400)
Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
recipes-multimedia/mpdstream/mpdstream_git.bb [new file with mode: 0644]

diff --git a/recipes-multimedia/mpdstream/mpdstream_git.bb b/recipes-multimedia/mpdstream/mpdstream_git.bb
new file mode 100644 (file)
index 0000000..f700fe1
--- /dev/null
@@ -0,0 +1,26 @@
+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 \
+"