Building tests produces an error during the "OBJCLD mediastream" phase with some toolchains/architectures. This is supposed to fix: - http://autobuild.buildroot.net/results/7fca436524e5f7ba300d27c615061b0838adb1e2 - http://autobuild.buildroot.net/results/bd9027ce94348025f1ca02a77eb81b9200124d9a - http://autobuild.buildroot.net/results/4d9f554fc29901be1a577ca0c39369befee269b5 Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
80 lines
2.0 KiB
Makefile
80 lines
2.0 KiB
Makefile
MEDIASTREAMER_VERSION = 2.8.2
|
|
MEDIASTREAMER_SITE = http://download.savannah.nongnu.org/releases/linphone/mediastreamer
|
|
MEDIASTREAMER_INSTALL_STAGING = YES
|
|
MEDIASTREAMER_DEPENDENCIES = host-intltool host-pkg-config ortp
|
|
# tests fail linking on some architectures, so disable them
|
|
MEDIASTREAMER_CONF_OPT = --disable-tests
|
|
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
|
MEDIASTREAMER_CONF_OPT += --enable-alsa
|
|
MEDIASTREAMER_DEPENDENCIES += alsa-lib
|
|
else
|
|
MEDIASTREAMER_CONF_OPT += --disable-alsa
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
|
|
MEDIASTREAMER_CONF_OPT += --enable-portaudio
|
|
MEDIASTREAMER_DEPENDENCIES += portaudio
|
|
else
|
|
MEDIASTREAMER_CONF_OPT += --disable-portaudio
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
|
|
MEDIASTREAMER_CONF_OPT += --enable-pulseaudio
|
|
MEDIASTREAMER_DEPENDENCIES += pulseaudio
|
|
else
|
|
MEDIASTREAMER_CONF_OPT += --disable-pulseaudio
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SPEEX),y)
|
|
MEDIASTREAMER_CONF_OPT += --enable-speex
|
|
MEDIASTREAMER_DEPENDENCIES += speex
|
|
else
|
|
MEDIASTREAMER_CONF_OPT += --disable-speex
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y)
|
|
MEDIASTREAMER_CONF_OPT += --enable-ffmpeg
|
|
MEDIASTREAMER_DEPENDENCIES += ffmpeg
|
|
else
|
|
MEDIASTREAMER_CONF_OPT += --disable-ffmpeg
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SDL),y)
|
|
MEDIASTREAMER_CONF_OPT += --enable-sdl
|
|
MEDIASTREAMER_DEPENDENCIES += sdl
|
|
else
|
|
MEDIASTREAMER_CONF_OPT += --disable-sdl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
|
MEDIASTREAMER_CONF_OPT += --enable-x11
|
|
MEDIASTREAMER_DEPENDENCIES += xlib_libX11
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y)
|
|
MEDIASTREAMER_CONF_OPT += --enable-xv
|
|
MEDIASTREAMER_DEPENDENCIES += xlib_libXv
|
|
else
|
|
MEDIASTREAMER_CONF_OPT += --disable-xv
|
|
endif
|
|
|
|
else
|
|
MEDIASTREAMER_CONF_OPT += --disable-x11
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
|
|
MEDIASTREAMER_CONF_OPT += --enable-theora
|
|
MEDIASTREAMER_DEPENDENCIES += libtheora
|
|
else
|
|
MEDIASTREAMER_CONF_OPT += --disable-theora
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBV4L),y)
|
|
MEDIASTREAMER_CONF_OPT += --enable-libv4l1 --enable-libv4l2
|
|
MEDIASTREAMER_DEPENDENCIES += libv4l
|
|
else
|
|
MEDIASTREAMER_CONF_OPT += --disable-libv4l1 --disable-libv4l2
|
|
endif
|
|
|
|
$(eval $(call AUTOTARGETS))
|