shairport-sync: reorder recipe
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 19 Nov 2025 02:52:07 +0000 (21:52 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 20 Nov 2025 02:20:46 +0000 (21:20 -0500)
To follow Yocto guidelines.

No functional change.

Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
recipes-multimedia/shairport-sync/shairport-sync_git.bb

index e124050..994a00f 100644 (file)
@@ -2,6 +2,8 @@ DESCRIPTION = "AirPlay audio player. Shairport Sync adds multi-room capability w
 LICENSE="MIT"
 LIC_FILES_CHKSUM = "file://LICENSES;md5=9f329b7b34fcd334fb1f8e2eb03d33ff"
 
+DEPENDS = " libconfig popt avahi openssl alsa-lib"
+
 SRCBRANCH = "master"
 SRCREV = "${AUTOREV}"
 SRC_URI = "git://github.com/mikebrady/shairport-sync;protocol=https;branch=${SRCBRANCH}"
@@ -13,6 +15,8 @@ SRC_URI += " \
 
 S = "${WORKDIR}/git"
 
+inherit autotools pkgconfig systemd useradd
+
 EXTRA_OECONF = " \
     --with-alsa \
     --with-stdout \
@@ -24,10 +28,6 @@ EXTRA_OECONF = " \
     --without-create-user-group \
 "
 
-DEPENDS = " libconfig popt avahi openssl alsa-lib"
-
-inherit autotools pkgconfig systemd
-
 AIRPLAY_SERVER_NAME ?= "%h shairplay-sync"
 
 do_install:append() {
@@ -48,8 +48,6 @@ SYSTEMD_SERVICE:${PN} = " \
      shairport-sync.service \
 "
 
-inherit useradd
-
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM:${PN} = " \
     --system \