DESCRIPTION = "Open Source multimedia player." SECTION = "opie/multimedia" PRIORITY = "optional" HOMEPAGE = "http://www.mplayerhq.hu/" DEPENDS = "virtual/libsdl libmad zlib libpng jpeg mplayer-common" RDEPENDS = "mplayer-common" LICENSE = "GPL" SRC_URI = "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-${PV}.tar.bz2 \ file://vo_w100.c \ file://vo_w100_api.h \ file://vo_w100_fb.h \ file://Makefile.patch;patch=1 \ file://w100-configure.patch;patch=1 \ file://w100-Makefile.patch;patch=1 \ file://w100-video_out.patch;patch=1 \ file://w100-mplayer.patch;patch=1 \ file://libmpdemux-ogg-include.patch;patch=1 \ file://libmpcodecs-ogg-include.patch;patch=1" MAINTAINER="Graeme Gregory " RCONFLICTS_${PN} = "mplayer-atty" RREPLACES_${PN} = "mplayer-atty" PR = "r0" PARALLEL_MAKE = "" DEPENDS_append_c7x0 = " sharp-aticore-oss" S = "${WORKDIR}/MPlayer-${PV}" PACKAGES =+ "mencoder" FILES_${PN} = "${bindir}/mplayer" FILES_mencoder = "${bindir}/mencoder" inherit autotools EXTRA_OECONF = " \ --prefix=/usr \ --mandir=${mandir} \ --target=${TARGET_SYS} \ \ --enable-mencoder \ --disable-gui \ --enable-largefiles \ --disable-linux-devfs \ --disable-lirc \ --disable-lircc \ --disable-tv \ --enable-rtc \ --disable-smb \ --disable-win32 \ \ --enable-tremor-low \ --disable-mp3lib \ \ --disable-x11 \ --enable-sdl \ --enable-fbdev " EXTRA_OECONF_append_c7x0 = " --enable-w100 " do_configure() { cp ${WORKDIR}/vo_w100.c ${S}/libvo cp ${WORKDIR}/vo_w100_api.h ${S}/libvo cp ${WORKDIR}/vo_w100_fb.h ${S}/libvo ./configure ${EXTRA_OECONF} } do_compile () { oe_runmake }