mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package/mpd: sort plugins alphabetically in mpd.mk
Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b79edef28a
commit
52cc4a2620
@ -48,13 +48,6 @@ else
|
|||||||
MPD_CONF_OPTS += --disable-audiofile
|
MPD_CONF_OPTS += --disable-audiofile
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y)
|
|
||||||
MPD_DEPENDENCIES += pulseaudio
|
|
||||||
MPD_CONF_OPTS += --enable-pulse
|
|
||||||
else
|
|
||||||
MPD_CONF_OPTS += --disable-pulse
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_BZIP2),y)
|
ifeq ($(BR2_PACKAGE_MPD_BZIP2),y)
|
||||||
MPD_DEPENDENCIES += bzip2
|
MPD_DEPENDENCIES += bzip2
|
||||||
MPD_CONF_OPTS += --enable-bzip2
|
MPD_CONF_OPTS += --enable-bzip2
|
||||||
@ -62,6 +55,13 @@ else
|
|||||||
MPD_CONF_OPTS += --disable-bzip2
|
MPD_CONF_OPTS += --disable-bzip2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_MPD_CURL),y)
|
||||||
|
MPD_DEPENDENCIES += libcurl
|
||||||
|
MPD_CONF_OPTS += --enable-curl
|
||||||
|
else
|
||||||
|
MPD_CONF_OPTS += --disable-curl
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_FAAD2),y)
|
ifeq ($(BR2_PACKAGE_MPD_FAAD2),y)
|
||||||
MPD_DEPENDENCIES += faad2
|
MPD_DEPENDENCIES += faad2
|
||||||
MPD_CONF_OPTS += --enable-aac
|
MPD_CONF_OPTS += --enable-aac
|
||||||
@ -69,6 +69,13 @@ else
|
|||||||
MPD_CONF_OPTS += --disable-aac
|
MPD_CONF_OPTS += --disable-aac
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_MPD_FFMPEG),y)
|
||||||
|
MPD_DEPENDENCIES += ffmpeg
|
||||||
|
MPD_CONF_OPTS += --enable-ffmpeg
|
||||||
|
else
|
||||||
|
MPD_CONF_OPTS += --disable-ffmpeg
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_FLAC),y)
|
ifeq ($(BR2_PACKAGE_MPD_FLAC),y)
|
||||||
MPD_DEPENDENCIES += flac
|
MPD_DEPENDENCIES += flac
|
||||||
MPD_CONF_OPTS += --enable-flac
|
MPD_CONF_OPTS += --enable-flac
|
||||||
@ -76,13 +83,6 @@ else
|
|||||||
MPD_CONF_OPTS += --disable-flac
|
MPD_CONF_OPTS += --disable-flac
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_CURL),y)
|
|
||||||
MPD_DEPENDENCIES += libcurl
|
|
||||||
MPD_CONF_OPTS += --enable-curl
|
|
||||||
else
|
|
||||||
MPD_CONF_OPTS += --disable-curl
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_LAME),y)
|
ifeq ($(BR2_PACKAGE_MPD_LAME),y)
|
||||||
MPD_DEPENDENCIES += lame
|
MPD_DEPENDENCIES += lame
|
||||||
MPD_CONF_OPTS += --enable-lame-encoder
|
MPD_CONF_OPTS += --enable-lame-encoder
|
||||||
@ -104,20 +104,6 @@ else
|
|||||||
MPD_CONF_OPTS += --disable-sndfile
|
MPD_CONF_OPTS += --disable-sndfile
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_OPUS),y)
|
|
||||||
MPD_DEPENDENCIES += opus libogg
|
|
||||||
MPD_CONF_OPTS += --enable-opus
|
|
||||||
else
|
|
||||||
MPD_CONF_OPTS += --disable-opus
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_VORBIS),y)
|
|
||||||
MPD_DEPENDENCIES += libvorbis
|
|
||||||
MPD_CONF_OPTS += --enable-vorbis --enable-vorbis-encoder
|
|
||||||
else
|
|
||||||
MPD_CONF_OPTS += --disable-vorbis --disable-vorbis-encoder
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_MAD),y)
|
ifeq ($(BR2_PACKAGE_MPD_MAD),y)
|
||||||
MPD_DEPENDENCIES += libid3tag libmad
|
MPD_DEPENDENCIES += libid3tag libmad
|
||||||
MPD_CONF_OPTS += --enable-mad
|
MPD_CONF_OPTS += --enable-mad
|
||||||
@ -139,6 +125,20 @@ else
|
|||||||
MPD_CONF_OPTS += --disable-mpc
|
MPD_CONF_OPTS += --disable-mpc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_MPD_OPUS),y)
|
||||||
|
MPD_DEPENDENCIES += opus libogg
|
||||||
|
MPD_CONF_OPTS += --enable-opus
|
||||||
|
else
|
||||||
|
MPD_CONF_OPTS += --disable-opus
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y)
|
||||||
|
MPD_DEPENDENCIES += pulseaudio
|
||||||
|
MPD_CONF_OPTS += --enable-pulse
|
||||||
|
else
|
||||||
|
MPD_CONF_OPTS += --disable-pulse
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_SOUNDCLOUD),y)
|
ifeq ($(BR2_PACKAGE_MPD_SOUNDCLOUD),y)
|
||||||
MPD_DEPENDENCIES += yajl
|
MPD_DEPENDENCIES += yajl
|
||||||
MPD_CONF_OPTS += --enable-soundcloud
|
MPD_CONF_OPTS += --enable-soundcloud
|
||||||
@ -169,6 +169,13 @@ else
|
|||||||
MPD_CONF_OPTS += --disable-twolame-encoder
|
MPD_CONF_OPTS += --disable-twolame-encoder
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_MPD_VORBIS),y)
|
||||||
|
MPD_DEPENDENCIES += libvorbis
|
||||||
|
MPD_CONF_OPTS += --enable-vorbis --enable-vorbis-encoder
|
||||||
|
else
|
||||||
|
MPD_CONF_OPTS += --disable-vorbis --disable-vorbis-encoder
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_WAVPACK),y)
|
ifeq ($(BR2_PACKAGE_MPD_WAVPACK),y)
|
||||||
MPD_DEPENDENCIES += wavpack
|
MPD_DEPENDENCIES += wavpack
|
||||||
MPD_CONF_OPTS += --enable-wavpack
|
MPD_CONF_OPTS += --enable-wavpack
|
||||||
@ -176,13 +183,6 @@ else
|
|||||||
MPD_CONF_OPTS += --disable-wavpack
|
MPD_CONF_OPTS += --disable-wavpack
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_MPD_FFMPEG),y)
|
|
||||||
MPD_DEPENDENCIES += ffmpeg
|
|
||||||
MPD_CONF_OPTS += --enable-ffmpeg
|
|
||||||
else
|
|
||||||
MPD_CONF_OPTS += --disable-ffmpeg
|
|
||||||
endif
|
|
||||||
|
|
||||||
define MPD_INSTALL_EXTRA_FILES
|
define MPD_INSTALL_EXTRA_FILES
|
||||||
@if [ ! -f $(TARGET_DIR)/etc/mpd.conf ]; then \
|
@if [ ! -f $(TARGET_DIR)/etc/mpd.conf ]; then \
|
||||||
$(INSTALL) -D package/mpd/mpd.conf \
|
$(INSTALL) -D package/mpd/mpd.conf \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user