]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/shairport-sync
Core Update 173: Ship iana-etc
[people/pmueller/ipfire-2.x.git] / lfs / shairport-sync
index 2894c7aed71382d1dd56589a66cffeb4b682871f..4e5a100ae576bff9b09f54769fe3ff91fcc49aea 100644 (file)
@@ -24,7 +24,9 @@
 
 include Config
 
-VER        = 3.2.2
+SUMMARY    = An AirPlay audio player
+
+VER        = 3cc1ec6
 
 THISAPP    = shairport-sync-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,9 +34,11 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = shairport-sync
-PAK_VER    = 1
+PAK_VER    = 9
+
+DEPS       = alac alsa avahi ffmpeg libdaemon libplist nqptp soxr
 
-DEPS       = "alsa avahi soxr"
+SERVICES   = shairport-sync
 
 ###############################################################################
 # Top-level Rules
@@ -44,7 +48,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = caf8a381b0623273de37a2c947703c50
+$(DL_FILE)_BLAKE2 = 746bd603bded210608f934952a7d1100214960781f8bacf7c95905fbd1ceab91378bc532b007bdec1f170c4aa905fcc0f41f16287116026fbad111ba8177fb8f
 
 install : $(TARGET)
 
@@ -52,13 +56,13 @@ check : $(patsubst %,$(DIR_CHK)/%,$(objects))
 
 download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
 
-dist: 
+dist:
        @$(PAK)
 
 ###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
 ###############################################################################
 
 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
@@ -67,8 +71,8 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) :
 $(patsubst %,$(DIR_DL)/%,$(objects)) :
        @$(LOAD)
 
-$(subst %,%_MD5,$(objects)) :
-       @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+       @$(B2SUM)
 
 ###############################################################################
 # Installation Details
@@ -81,8 +85,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && ./configure \
                --prefix=/usr \
                --sysconfdir=/etc \
+               --with-airplay-2 \
                --with-alsa \
+               --with-apple-alac \
                --with-avahi \
+               --with-libdaemon \
                --with-ssl=openssl \
                --with-soxr
        cd $(DIR_APP) && make $(MAKETUNING)
@@ -92,5 +99,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        install -v -m 644 $(DIR_SRC)/config/backup/includes/shairport-sync \
                /var/ipfire/backup/addons/includes/shairport-sync
 
+       # Initscript
+       $(call INSTALL_INITSCRIPTS,$(SERVICES))
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)