From f7411266692a336f3570e1db9fcacd5894990d26 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Tue, 31 Mar 2026 15:50:41 -0400 Subject: [PATCH] Add mpdstream recipe Signed-off-by: Hugo Villeneuve --- recipes-multimedia/mpdstream/mpdstream_git.bb | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 recipes-multimedia/mpdstream/mpdstream_git.bb diff --git a/recipes-multimedia/mpdstream/mpdstream_git.bb b/recipes-multimedia/mpdstream/mpdstream_git.bb new file mode 100644 index 0000000..f700fe1 --- /dev/null +++ b/recipes-multimedia/mpdstream/mpdstream_git.bb @@ -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 \ +" -- 2.47.3