2011-04-02 13:53:33 +03:00
|
|
|
#
|
2012-04-07 05:49:54 +03:00
|
|
|
# Copyright (C) 2011,2012 David Kuehling <dvdkhlng TA gmx TOD de>
|
2011-04-02 13:53:33 +03:00
|
|
|
#
|
|
|
|
# License GPLv2 or later. NO WARRANTY.
|
|
|
|
#
|
|
|
|
# OpenWRT package for mplayer_jz47xx accelerated mplayer video driver
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=mplayer_jz47xx
|
2012-04-07 05:49:54 +03:00
|
|
|
PKG_VERSION:=0.1.6
|
2011-04-02 13:53:33 +03:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/mplayer-jz47xx
|
2012-04-07 05:49:54 +03:00
|
|
|
PKG_MD5SUM:=a6a5121a43a420ba4cda1b153d64c41d
|
2011-04-02 13:53:33 +03:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/mplayer_jz47xx/Default
|
|
|
|
MAINTAINER:="David Kuehling" <dvdkhlng TA gmx TOD de>
|
|
|
|
SECTION:=multimedia
|
|
|
|
CATEGORY:=Multimedia
|
|
|
|
TITLE:=MPlayer accelerated vidix for Ingenic Jz47xx IPU
|
|
|
|
URL:=https://sourceforge.net/projects/mplayer_jz47xx/
|
|
|
|
DEPENDS:=+MPlayer
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mplayer_jz47xx/Default/description
|
|
|
|
Accelerated vidix driver for MPlayer. Start mplayer with option
|
2012-04-07 05:49:54 +03:00
|
|
|
\'-vo cvidix -srceenw 320 screenh 240 -fs\' to use it. Note: needs small
|
|
|
|
patch applied to mplayer codebase for MPlayer to detect/load it. See source
|
|
|
|
tar ball\'s README.txt for details.
|
2011-04-02 13:53:33 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mplayer_jz47xx
|
|
|
|
$(call Package/mplayer_jz47xx/Default)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mplayer_jz47xx/description
|
|
|
|
$(call Package/mplayer_jz47xx/Default/description)
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
#CONFIGURE_ARGS +=
|
2012-04-07 05:49:54 +03:00
|
|
|
TARGET_LDFLAGS+=
|
2011-04-02 13:53:33 +03:00
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(call Build/Configure/Default)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(call Build/Compile/Default)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mplayer_jz47xx/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/* $(1)/usr/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,mplayer_jz47xx))
|
|
|
|
|
|
|
|
# The following comments configure the Emacs editor. Just ignore them.
|
|
|
|
# Local Variables:
|
|
|
|
# compile-command: "make -C ~/h/src/qi/openwrt-xburst package/mplayer_jz47xx/compile -j2 V=99"
|
|
|
|
# End:
|