diff options
author | Graeme Gregory <dp@xora.org.uk> | 2006-12-06 09:35:40 +0000 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2006-12-06 09:35:40 +0000 |
commit | 71b645d6d468556b98ea362591e317289e823dac (patch) | |
tree | 5af6a0614bda2555467251004dfb1c4990bf0403 /packages/mplayer/mplayer_0.0+1.0rc1.bb | |
parent | c484a94ef3b9bc3e42f06b5157086c4309591e69 (diff) |
mplayer_0.0+1.0rc1.bb : add latest version of mplayer, fixing versioning
to meet OE policy.
A couple of patches have been rediffed and two Makefile patches dropped as
what they did is now in the Makefiles in question.
Diffstat (limited to 'packages/mplayer/mplayer_0.0+1.0rc1.bb')
-rw-r--r-- | packages/mplayer/mplayer_0.0+1.0rc1.bb | 182 |
1 files changed, 182 insertions, 0 deletions
diff --git a/packages/mplayer/mplayer_0.0+1.0rc1.bb b/packages/mplayer/mplayer_0.0+1.0rc1.bb new file mode 100644 index 0000000000..f91a06d424 --- /dev/null +++ b/packages/mplayer/mplayer_0.0+1.0rc1.bb @@ -0,0 +1,182 @@ +DESCRIPTION = "Open Source multimedia player." +SECTION = "multimedia" +PRIORITY = "optional" +HOMEPAGE = "http://www.mplayerhq.hu/" +DEPENDS = "virtual/libsdl libmad zlib libpng jpeg liba52 freetype fontconfig alsa-lib lzo ncurses lame" +RDEPENDS = "mplayer-common" +LICENSE = "GPL" +SRC_URI = "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc1.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://pld-onlyarm5.patch;patch=1 \ + ${SOURCEFORGE_MIRROR}/libw100/mplayer-imageon.patch;patch=1 \ + file://imageon-video_out.patch;patch=1" + +RCONFLICTS_${PN} = "mplayer-atty" +RREPLACES_${PN} = "mplayer-atty" +PR = "r4" + +PARALLEL_MAKE = "" + +DEPENDS_append_c7x0 = " sharp-aticore-oss libw100 " +DEPENDS_append_hx4700 = " libw100 " + +S = "${WORKDIR}/MPlayer-1.0rc1" + +PACKAGES =+ "mencoder" + +FILES_${PN} = "${bindir}/mplayer" +FILES_mencoder = "${bindir}/mencoder" + +inherit autotools pkgconfig + +EXTRA_OECONF = " \ + --prefix=/usr \ + --mandir=${mandir} \ + --target=${TARGET_SYS} \ + \ + --enable-mencoder \ + --disable-gui \ + --enable-largefiles \ + --disable-linux-devfs \ + --disable-lirc \ + --disable-lircc \ + --disable-joystick \ + --disable-vm \ + --disable-xf86keysym \ + --disable-tv \ + --disable-tv-v4l2 \ + --disable-tv-bsdbt848 \ + --enable-rtc \ + --enable-network \ + --disable-winsock2 \ + --disable-smb \ + --disable-live \ + --disable-dvdread \ + --disable-mpdvdkit \ + --disable-cdparanoia \ + --enable-freetype \ + --disable-unrarlib \ + --disable-menu \ + --enable-sortsub \ + --disable-fribidi \ + --disable-enca \ + --disable-macosx \ + --disable-macosx-finder-support \ + --disable-macosx-bundle \ + --disable-ftp \ + --disable-vstream \ + \ + --disable-gif \ + --enable-png \ + --enable-jpeg \ + --disable-libcdio \ + --enable-liblzo \ + --disable-win32 \ + --disable-qtx \ + --disable-xanim \ + --disable-real \ + --disable-xvid \ + --disable-x264 \ + \ + --disable-libavutil_so \ + --disable-libavcodec_so \ + --disable-libavformat_so \ + --disable-libpostproc_so \ + --disable-libfame \ + \ + --enable-tremor-low \ + \ + --disable-speex \ + --disable-theora \ + --disable-faac \ + --disable-ladspa \ + --disable-libdv \ + --enable-mad \ + --disable-toolame \ + --disable-twolame \ + --disable-xmms \ + --disable-mp3lib \ + --disable-libdts \ + --enable-libmpeg2 \ + --disable-musepack \ + --disable-amr_nb \ + --disable-amr_nb-fixed \ + --disable-amr_wb \ + \ + --disable-gl \ + --disable-dga \ + --disable-vesa \ + --disable-svga \ + --enable-sdl \ + --disable-aa \ + --disable-caca \ + --disable-ggi \ + --disable-ggiwmh \ + --disable-directx \ + --disable-dxr2 \ + --disable-dxr3 \ + --disable-dvb \ + --disable-dvbhead \ + --disable-mga \ + --disable-xmga \ + --disable-xv \ + --disable-xvmc \ + --disable-vm \ + --disable-xinerama \ + --disable-x11 \ + --enable-fbdev \ + --disable-mlib \ + --disable-3dfx \ + --disable-tdfxfb \ + --disable-s3fb \ + --disable-directfb \ + --disable-zr \ + --disable-bl \ + --disable-tdfxvid \ + --disable-tga \ + --disable-pnm \ + --disable-md5sum \ + \ + --enable-alsa \ + --enable-ossaudio \ + --disable-arts \ + --disable-esd \ + --disable-polyp \ + --disable-jack \ + --disable-openal \ + --disable-nas \ + --disable-sgiaudio \ + --disable-sunaudio \ + --disable-win32waveout \ + --enable-select \ + \ + --disable-runtime-cpudetection \ + " + +EXTRA_OECONF_append_c7x0 = " --enable-w100 --enable-imageon " +EXTRA_OECONF_append_hx4700 = " --enable-imageon " + +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 + + sed -i 's|/usr/include|${STAGING_INCDIR}|g' ${S}/configure + sed -i 's|/usr/lib|${STAGING_LIBDIR}|g' ${S}/configure + sed -i 's|/usr/\S*include[\w/]*||g' ${S}/configure + sed -i 's|/usr/\S*lib[\w/]*||g' ${S}/configure + + ./configure ${EXTRA_OECONF} +} + +do_compile () { + oe_runmake +} + |