1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-22 18:29:52 +02:00

mplayer builds smartly depending on PATENTED flag

in non-patented version the following codecs are enabled:
Codecs: libavcodec(internal) xanim faad2(internal) musepack
libmpeg2(internal) liba52(internal) speex tremor(internal) liblzo

in patented version the following codecs are enabled:
Codecs: libavcodec(internal) xanim faad2(internal) musepack
libmpeg2(internal) liba52(internal) mp3lib(internal) speex
tremor(internal) libmad liblzo
This commit is contained in:
kyak 2011-01-08 16:08:37 +03:00
parent 72e12d0911
commit adf4c0e528

View File

@ -21,7 +21,7 @@ define Package/MPlayer
CATEGORY:=Multimedia
TITLE:=MPlayer, the movie player
URL:=http://www.mplayerhq.hu
DEPENDS:=+libjpeg +libpng +directfb +zlib +libsdl +libfreetype +fontconfig +libiconv +libmad @BUILD_PATENTED
DEPENDS:=+libjpeg +libpng +directfb +zlib +libsdl +libfreetype +fontconfig +libiconv +BUILD_PATENTED:libmad
endef
define Package/MPlayer/description
@ -42,7 +42,9 @@ CONFIGURE_ARGS := --target=mips \
--host-cc=gcc \
--enable-fbdev \
--confdir=/usr/share/mplayer \
--enable-menu
--enable-menu \
--$(if $(CONFIG_BUILD_PATENTED),enable-mad,disable-mad) \
--$(if $(CONFIG_BUILD_PATENTED),enable-mp3lib,disable-mp3lib)
define Package/MPlayer/install
$(INSTALL_DIR) \