From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- mplayer/Makefile | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 mplayer/Makefile (limited to 'mplayer/Makefile') diff --git a/mplayer/Makefile b/mplayer/Makefile new file mode 100644 index 0000000..c10fb9e --- /dev/null +++ b/mplayer/Makefile @@ -0,0 +1,61 @@ +# +# 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 +libfreetype +fontconfig +libiconv +libmad @BUILD_PATENTED +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 \ + --with-freetype-config=$(STAGING_DIR)/host/bin/freetype-config \ + --enable-rpath \ + --extra-cflags="-I$(STAGING_DIR)/usr/include/directfb \ + -I$(STAGING_DIR)/usr/lib/libiconv/include" \ + --extra-ldflags="-L$(STAGING_DIR)/usr/lib/libiconv/lib" \ + --host-cc=gcc \ + --enable-fbdev \ + --confdir=/usr/share/mplayer \ + --enable-menu + +define Package/MPlayer/install + $(INSTALL_DIR) \ + $(1)/usr/bin \ + $(1)/usr/share/mplayer + + $(INSTALL_BIN) \ + $(PKG_BUILD_DIR)/mplayer \ + $(1)/usr/bin/mplayer + $(INSTALL_DATA) \ + $(FILES_DIR)/input.conf \ + $(1)/usr/share/mplayer + +endef + +$(eval $(call BuildPackage,MPlayer)) -- cgit v1.2.3