mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
mplayer: tighten alsa dependency
mplayer needs pcm+mixer support in alsa, but this isn't checked by configure, so do it in mplayer.mk instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
0dca706568
commit
209b342531
10
CHANGES
10
CHANGES
@ -37,11 +37,11 @@
|
|||||||
libintl, libmms, libmpd, libnl, liboil, libosip2, libpcap,
|
libintl, libmms, libmpd, libnl, liboil, libosip2, libpcap,
|
||||||
libpng, libtool, libungif, libxml2, libxslt, lighttpd, lite,
|
libpng, libtool, libungif, libxml2, libxslt, lighttpd, lite,
|
||||||
lm-sensors, lockfile-progs, logrotate, m4, mdadm, mesa3d,
|
lm-sensors, lockfile-progs, logrotate, m4, mdadm, mesa3d,
|
||||||
metacity, mtd-utils, mysql_client, nano, nbd, ncftp, neon,
|
metacity, mplayer, mtd-utils, mysql_client, nano, nbd, ncftp,
|
||||||
netperf, netsnmp, ng-spice-rework, ntfsprogs, ntp, openntpd,
|
neon, netperf, netsnmp, ng-spice-rework, ntfsprogs, ntp,
|
||||||
openssh, openssl, openvpn, oprofile, pango, patch, pcre, php,
|
openntpd, openssh, openssl, openvpn, oprofile, pango, patch,
|
||||||
pkg-config, pppd, prboom, radvd, rdesktop, ruby, qt, quagga,
|
pcre, php, pkg-config, pppd, prboom, radvd, rdesktop, ruby,
|
||||||
samba, sawman, sdl_mixer, sdl_sound, setserial,
|
qt, quagga, samba, sawman, sdl_mixer, sdl_sound, setserial,
|
||||||
shared-mime-info, speex, sqlite, squashfs,
|
shared-mime-info, speex, sqlite, squashfs,
|
||||||
startup-notification, strace, sylpheed, taglib, tcpdump,
|
startup-notification, strace, sylpheed, taglib, tcpdump,
|
||||||
thttpd, tiff, tn5250, torsmo, udev, udpcast, usbmount,
|
thttpd, tiff, tn5250, torsmo, udev, udpcast, usbmount,
|
||||||
|
@ -11,9 +11,15 @@ MPLAYER_CAT:=$(BZCAT)
|
|||||||
MPLAYER_BINARY:=mplayer
|
MPLAYER_BINARY:=mplayer
|
||||||
MPLAYER_TARGET_BINARY:=usr/bin/$(MPLAYER_BINARY)
|
MPLAYER_TARGET_BINARY:=usr/bin/$(MPLAYER_BINARY)
|
||||||
|
|
||||||
MPLAYER_DEPENDENCIES = \
|
MPLAYER_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBMAD),libmad)
|
||||||
$(if $(BR2_PACKAGE_LIBMAD),libmad) \
|
|
||||||
$(if $(BR2_PACKAGE_ALSA_LIB),alsa-lib)
|
# mplayer needs pcm+mixer support, but configure fails to check for it
|
||||||
|
ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yyy)
|
||||||
|
MPLAYER_DEPENDENCIES += alsa-lib
|
||||||
|
MPLAYER_ALSA:=--enable-alsa
|
||||||
|
else
|
||||||
|
MPLAYER_ALSA:=--disable-alsa
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_ENDIAN),"BIG")
|
ifeq ($(BR2_ENDIAN),"BIG")
|
||||||
MPLAYER_ENDIAN:=--enable-big-endian
|
MPLAYER_ENDIAN:=--enable-big-endian
|
||||||
@ -84,6 +90,7 @@ $(MPLAYER_DIR)/.configured: $(MPLAYER_DIR)/.unpacked
|
|||||||
$(MPLAYER_LARGEFILE) \
|
$(MPLAYER_LARGEFILE) \
|
||||||
$(MPLAYER_SDL) \
|
$(MPLAYER_SDL) \
|
||||||
$(MPLAYER_FREETYPE) \
|
$(MPLAYER_FREETYPE) \
|
||||||
|
$(MPLAYER_ALSA) \
|
||||||
--enable-cross-compile \
|
--enable-cross-compile \
|
||||||
--disable-ivtv \
|
--disable-ivtv \
|
||||||
--disable-tv \
|
--disable-tv \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user