|
@@ -11,7 +11,7 @@ PKG_RELEASE:= 2
|
|
|
PKG_MD5SUM:= 7e27e535c2d267637df34898f1b91707
|
|
|
PKG_DESCR:= popular video player
|
|
|
PKG_SECTION:= video
|
|
|
-PKG_DEPENDS:= zlib libncurses libmad alsa-lib libvorbis libogg libfaad2 libpthread
|
|
|
+PKG_DEPENDS:= zlib libncurses libmad alsa-lib libvorbis libogg libfaad2 libpthread libpng libjpeg
|
|
|
PKG_URL:= http://www.mplayerhq.hu
|
|
|
PKG_SITES:= http://www7.mplayerhq.hu/MPlayer/releases/
|
|
|
|
|
@@ -25,6 +25,32 @@ $(eval $(call PKG_template,MPLAYER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${P
|
|
|
BUILD_STYLE:= auto
|
|
|
INSTALL_STYLE:= auto
|
|
|
|
|
|
+ifeq (${ADK_X11},y)
|
|
|
+CONFIGURE_ARG:= --enable-x11
|
|
|
+else
|
|
|
+CONFIGURE_ARG:= --disable-x11
|
|
|
+endif
|
|
|
+
|
|
|
+ifeq (${ADK_LINUX_X86_ALIX1C},y)
|
|
|
+CONFIGURE_CPU_OPTS:= \
|
|
|
+ --disable-ssse3 \
|
|
|
+ --disable-sse2 \
|
|
|
+ --disable-sse \
|
|
|
+ --enable-mmxext \
|
|
|
+ --enable-3dnowext \
|
|
|
+ --enable-mmx \
|
|
|
+ --enable-3dnow
|
|
|
+else
|
|
|
+CONFIGURE_CPU_OPTS:= \
|
|
|
+ --disable-ssse3 \
|
|
|
+ --disable-sse2 \
|
|
|
+ --disable-sse \
|
|
|
+ --disable-mmxext \
|
|
|
+ --disable-3dnowext \
|
|
|
+ --disable-mmx \
|
|
|
+ --disable-3dnow
|
|
|
+endif
|
|
|
+
|
|
|
pre-configure:
|
|
|
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
|
|
|
./configure \
|
|
@@ -36,16 +62,11 @@ pre-configure:
|
|
|
--host-cc=$(HOSTCC) \
|
|
|
--with-extraincdir=$(STAGING_DIR)/usr/include \
|
|
|
--with-extralibdir=$(STAGING_DIR)/usr/lib \
|
|
|
- --disable-ssse3 \
|
|
|
- --disable-sse2 \
|
|
|
- --disable-sse \
|
|
|
- --enable-mmxext \
|
|
|
- --enable-3dnowext \
|
|
|
- --enable-mmx \
|
|
|
- --enable-3dnow \
|
|
|
--disable-mencoder \
|
|
|
--enable-fbdev \
|
|
|
--enable-alsa \
|
|
|
+ --enable-png \
|
|
|
+ --enable-jpeg \
|
|
|
--enable-mad \
|
|
|
--enable-faad-external \
|
|
|
--disable-faad-internal \
|
|
@@ -79,7 +100,9 @@ pre-configure:
|
|
|
--disable-tga \
|
|
|
--disable-pnm \
|
|
|
--disable-md5sum \
|
|
|
- --disable-x11 \
|
|
|
+ --disable-liblzo \
|
|
|
+ ${CONFIGURE_CPU_OPTS} \
|
|
|
+ ${CONFIGURE_ARG} \
|
|
|
);
|
|
|
|
|
|
|