From: Valentine Barshak Date: Wed, 26 Sep 2012 09:34:51 +0000 (+0000) Subject: mplayer: Fix external libdvdread and libdvdnav support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63fbc1834f98f37cc43514f13cb75c1034dcf454;p=buildroot.git mplayer: Fix external libdvdread and libdvdnav support This sets paths to dvdread-config and dvdnav-config, and configuration options to enable external libdvdread and libdvdnav support. Signed-off-by: Valentine Barshak Signed-off-by: Peter Korsgaard --- diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk index 05120bf780..9ff4b8a62b 100644 --- a/package/multimedia/mplayer/mplayer.mk +++ b/package/multimedia/mplayer/mplayer.mk @@ -42,6 +42,21 @@ else MPLAYER_CONF_OPTS += --disable-freetype endif +ifeq ($(BR2_PACKAGE_LIBDVDREAD),y) +MPLAYER_CONF_OPTS += \ + --enable-dvdread \ + --disable-dvdread-internal \ + --with-dvdread-config=$(STAGING_DIR)/usr/bin/dvdread-config +MPLAYER_DEPENDENCIES += libdvdread +endif + +ifeq ($(BR2_PACKAGE_LIBDVDNAV),y) +MPLAYER_CONF_OPTS += \ + --enable-dvdnav \ + --with-dvdnav-config=$(STAGING_DIR)/usr/bin/dvdnav-config +MPLAYER_DEPENDENCIES += libdvdnav +endif + ifeq ($(BR2_PACKAGE_MPLAYER_MPLAYER),y) MPLAYER_CONF_OPTS += --enable-mplayer else