1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-29 09:15:56 +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 CATEGORY:=Multimedia
TITLE:=MPlayer, the movie player TITLE:=MPlayer, the movie player
URL:=http://www.mplayerhq.hu 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 endef
define Package/MPlayer/description define Package/MPlayer/description
@ -42,7 +42,9 @@ CONFIGURE_ARGS := --target=mips \
--host-cc=gcc \ --host-cc=gcc \
--enable-fbdev \ --enable-fbdev \
--confdir=/usr/share/mplayer \ --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 define Package/MPlayer/install
$(INSTALL_DIR) \ $(INSTALL_DIR) \