mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
mpd: build with libnfs-5.0.3 as building with libnfs-6.x is not supported in mpd-0.23.17
- support with latest libnfs apiv2 coming in mpr 0.24
This commit is contained in:
parent
947511e4c0
commit
182c073ec6
@ -12,7 +12,7 @@ PKG_SITE="https://www.musicpd.org"
|
||||
PKG_URL="http://www.musicpd.org/download/mpd/$(get_pkg_version_maj_min)/mpd-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain alsa-lib avahi boost curl faad2 ffmpeg flac glib lame libcdio libfmt \
|
||||
libgcrypt libiconv libid3tag libmad libmpdclient libopenmpt libsamplerate \
|
||||
libvorbis libnfs libogg mpd-mpc opus pulseaudio samba wavpack yajl"
|
||||
libvorbis libnfs5 libogg mpd-mpc opus pulseaudio samba wavpack yajl"
|
||||
PKG_SECTION="service.multimedia"
|
||||
PKG_SHORTDESC="Music Player Daemon (MPD): a free and open Music Player Server"
|
||||
PKG_LONGDESC="Music Player Daemon (${PKG_VERSION}) is a flexible and powerful server-side application for playing music"
|
||||
@ -96,6 +96,10 @@ PKG_MESON_OPTS_TARGET="-Dadplug=disabled \
|
||||
-Dzlib=enabled \
|
||||
-Dzzip=disabled"
|
||||
|
||||
pre_configure_target() {
|
||||
export PKG_CONFIG_PATH="$(get_install_dir libnfs5)/usr/lib/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
}
|
||||
|
||||
addon() {
|
||||
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
||||
cp -P ${PKG_INSTALL}/usr/bin/mpd ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user