]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/mpd
Early spring clean: Remove trailing whitespaces, and correct licence headers
[people/pmueller/ipfire-2.x.git] / lfs / mpd
diff --git a/lfs/mpd b/lfs/mpd
index 25e3630e6ef887d0ae42695e802d4cebf9a18076..29167dae103598f9f519da46e91fd367c7255a9f 100644 (file)
--- a/lfs/mpd
+++ b/lfs/mpd
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,6 +24,8 @@
 
 include Config
 
+SUMMARY    = Music Player Daemon
+
 VER        = 0.22.6
 
 THISAPP    = mpd-$(VER)
@@ -32,11 +34,13 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/${THISAPP}
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mpd
-PAK_VER    = 21
-SUP_ARCH   = aarch64 x86_64 i586
+PAK_VER    = 24
+SUP_ARCH   = aarch64 armv6l x86_64
 
 DEPS       = alsa avahi faad2 ffmpeg flac lame libmad libshout libogg libid3tag libvorbis opus soxr
 
+SERVICES   = mpd
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -55,7 +59,7 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
 md5 : $(subst %,%_MD5,$(objects))
 
-dist: 
+dist:
        @$(PAK)
 
 ###############################################################################
@@ -91,14 +95,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                                -D ffmpeg=enabled       \
                                -D flac=enabled         \
                                -D lame=enabled         \
-                               -D upnp=enabled         \
+                               -D upnp=disabled        \
                                -D icu=disabled         \
                                builddir/
-       cd $(DIR_APP) && ninja -C builddir/
+       cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING)
        cd $(DIR_APP) && ninja -C builddir/ install
 
        #install initscripts
-       $(call INSTALL_INITSCRIPT,mpd)
+       $(call INSTALL_INITSCRIPTS,$(SERVICES))
 
        @rm -rf $(DIR_APP)
        touch /var/log/mpd.error.log