The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / mediastreamer / mediastreamer.mk
1 ################################################################################
2 #
3 # mediastreamer
4 #
5 ################################################################################
6
7 MEDIASTREAMER_VERSION = 2.9.0
8 MEDIASTREAMER_SITE = http://download.savannah.nongnu.org/releases/linphone/mediastreamer
9 MEDIASTREAMER_INSTALL_STAGING = YES
10 MEDIASTREAMER_DEPENDENCIES = host-intltool host-pkgconf ortp host-gettext
11 # tests fail linking on some architectures, so disable them
12 MEDIASTREAMER_CONF_OPTS = --disable-tests --disable-glx --disable-strict
13 MEDIASTREAMER_LICENSE = GPLv2+
14 MEDIASTREAMER_LICENSE_FILES = COPYING
15
16 ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yy)
17 MEDIASTREAMER_CONF_OPTS += --enable-alsa
18 MEDIASTREAMER_DEPENDENCIES += alsa-lib
19 else
20 MEDIASTREAMER_CONF_OPTS += --disable-alsa
21 endif
22
23 # portaudio backend needs speex as well
24 ifeq ($(BR2_PACKAGE_PORTAUDIO)$(BR2_PACKAGE_SPEEX),yy)
25 MEDIASTREAMER_CONF_OPTS += --enable-portaudio
26 MEDIASTREAMER_DEPENDENCIES += portaudio speex
27 else
28 MEDIASTREAMER_CONF_OPTS += --disable-portaudio
29 endif
30
31 ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
32 MEDIASTREAMER_CONF_OPTS += --enable-pulseaudio
33 MEDIASTREAMER_DEPENDENCIES += pulseaudio
34 else
35 MEDIASTREAMER_CONF_OPTS += --disable-pulseaudio
36 endif
37
38 ifeq ($(BR2_PACKAGE_SPEEX),y)
39 MEDIASTREAMER_CONF_OPTS += --enable-speex
40 MEDIASTREAMER_DEPENDENCIES += speex
41 else
42 MEDIASTREAMER_CONF_OPTS += --disable-speex
43 endif
44
45 ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y)
46 MEDIASTREAMER_CONF_OPTS += --enable-ffmpeg
47 MEDIASTREAMER_DEPENDENCIES += ffmpeg
48 else
49 MEDIASTREAMER_CONF_OPTS += --disable-ffmpeg
50 endif
51
52 ifeq ($(BR2_PACKAGE_SDL),y)
53 MEDIASTREAMER_CONF_OPTS += --enable-sdl
54 MEDIASTREAMER_DEPENDENCIES += sdl
55 else
56 MEDIASTREAMER_CONF_OPTS += --disable-sdl
57 endif
58
59 # mediastreamer assumes SDL has X11 support if --enable-x11 (and X11 support
60 # is only used for SDL output)
61 ifeq ($(BR2_PACKAGE_SDL_X11),y)
62 MEDIASTREAMER_CONF_OPTS += --enable-x11
63 else
64 MEDIASTREAMER_CONF_OPTS += --disable-x11
65 endif
66
67 ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y)
68 MEDIASTREAMER_CONF_OPTS += --enable-xv
69 MEDIASTREAMER_DEPENDENCIES += xlib_libXv
70 else
71 MEDIASTREAMER_CONF_OPTS += --disable-xv
72 endif
73
74 ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
75 MEDIASTREAMER_CONF_OPTS += --enable-theora
76 MEDIASTREAMER_DEPENDENCIES += libtheora
77 else
78 MEDIASTREAMER_CONF_OPTS += --disable-theora
79 endif
80
81 ifeq ($(BR2_PACKAGE_LIBV4L),y)
82 MEDIASTREAMER_CONF_OPTS += --enable-libv4l1 --enable-libv4l2
83 MEDIASTREAMER_DEPENDENCIES += libv4l
84 else
85 MEDIASTREAMER_CONF_OPTS += --disable-libv4l1 --disable-libv4l2
86 endif
87
88 $(eval $(autotools-package))