mpd: update to 0.20.6

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Marcel Lorenz
2017-03-15 14:32:47 +01:00
committed by Michael Tremer
parent cda384a280
commit e0174da88b
2 changed files with 17 additions and 12 deletions

View File

@@ -8,6 +8,7 @@ var/log/mpd.log
#usr/share/doc/mpd/NEWS
#usr/share/doc/mpd/COMMANDS
#usr/share/doc/mpd/README
#usr/share/doc/mpd/README.md
#usr/share/doc/mpd/TODO
#usr/share/doc/mpd/UPGRADING
#usr/share/doc/mpd/mpdconf.example

28
lfs/mpd
View File

@@ -1,7 +1,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
# Copyright (C) 2007-2017 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,15 +24,15 @@
include Config
VER = 0.16.5
VER = 0.20.6
THISAPP = mpd-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/${THISAPP}
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = mpd
PAK_VER = 14
PAK_VER = 15
DEPS = "alsa faad2 ffmpeg-libs flac lame libmad libshout libogg libid3tag libvorbis"
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = f7564cff12035f6a1112cce770655df7
$(DL_FILE)_MD5 = 1197a2190fc8ddfccbf4bba3b749cea4
install : $(TARGET)
@@ -78,16 +78,20 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr \
--disable-ipv6 \
--sysconfdir=/etc \
--disable-sqlite
--disable-ipv6 \
--sysconfdir=/etc \
--disable-sqlite \
--enable-id3 \
--enable-vorbis \
--enable-expat \
--enable-ffmpeg \
--enable-flac \
--enable-lame-encoder \
--enable-upnp \
--disable-icu
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
touch /var/log/mpd.error.log
touch /var/log/mpd.log
#install initscripts
$(call INSTALL_INITSCRIPT,mpd)
@$(POSTBUILD)