summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-01-27 11:18:52 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-01-27 11:18:52 +0100
commit5796753b6b4caba703cf23f45f68b7715d1150a4 (patch)
tree04b0c2696ab978969664eea9b995a0593ab4e580
parentcc06f041fcffecf9a62c64eeff40a00f522bcddf (diff)
mplayer: add optional vorbis dependency
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/multimedia/mplayer/mplayer.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk
index 2ac5e16e2..216bb4684 100644
--- a/package/multimedia/mplayer/mplayer.mk
+++ b/package/multimedia/mplayer/mplayer.mk
@@ -72,6 +72,11 @@ MPLAYER_DEPENDENCIES += tremor
MPLAYER_CONF_OPTS += --disable-tremor-internal --enable-tremor
endif
+ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
+MPLAYER_DEPENDENCIES += libvorbis
+MPLAYER_CONF_OPTS += --enable-libvorbis
+endif
+
ifeq ($(BR2_PACKAGE_LIBMAD),y)
MPLAYER_DEPENDENCIES += libmad
else