1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-26 01:25:21 +02:00

MPlayer initial port. All available video outputs: sdl, directfb, fbdev

are super slow. Perhaps some things can be optimized/improved.
This commit is contained in:
kyak 2010-09-26 01:45:28 +04:00
parent 582924bc52
commit 32de09894b

52
mplayer/Makefile Normal file
View File

@ -0,0 +1,52 @@
#
# OpenWrt
#
# This is free software, licensed under the GNU General Public License v2.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=MPlayer
PKG_VERSION:=1.0rc3
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.mplayerhq.hu/MPlayer/releases/
PKG_MD5SUM:=0191ddb9c21620779838e53a4cca5ac1
include $(INCLUDE_DIR)/package.mk
define Package/MPlayer
SECTION:=multimedia
CATEGORY:=Multimedia
TITLE:=MPlayer, the movie player
URL:=http://www.mplayerhq.hu
DEPENDS:=+libjpeg +libpng +directfb +zlib +libsdl
endef
define Package/MPlayer/description
MPlayer is a movie player which runs on many systems.
endef
CONFIGURE_ARGS := --target=mips \
--disable-mencoder \
--disable-pthreads \
--enable-cross-compile \
--prefix=/usr \
--with-sdl-config=$(STAGING_DIR)/usr/bin/sdl-config \
--enable-rpath \
--extra-cflags=-I$(STAGING_DIR)/usr/include/directfb \
--host-cc=gcc \
--enable-fbdev
define Package/MPlayer/install
$(INSTALL_DIR) \
$(1)/usr/bin
$(INSTALL_BIN) \
$(PKG_BUILD_DIR)/mplayer \
$(1)/usr/bin/mplayer
endef
$(eval $(call BuildPackage,MPlayer))