[oe-commits] org.oe.dev packages/mplayer/mplayer_svn.bb : update the c7x0 and hx4700 w100 support
xora commit
openembedded-commits at lists.openembedded.org
Sun Oct 7 18:06:23 UTC 2007
packages/mplayer/mplayer_svn.bb : update the c7x0 and hx4700 w100 support
so they can play with accellerate stuff without having to have x11 installed.
Also added check for machine feature x86 to turn on runtime cpu detection
so x86 machines with SSE work. Marcin time for you to add it to your
favourite toys.
Author: xora at openembedded.org
Branch: org.openembedded.dev
Revision: 925f2bbcc23f29f43bf7a84cd36ee63207fe69a3
ViewMTN: http://monotone.openembedded.org/revision/info/925f2bbcc23f29f43bf7a84cd36ee63207fe69a3
Files:
1
packages/mplayer/mplayer_svn.bb
Diffs:
#
# mt diff -rf932fa3f7eccd6af6a193dce671ebe48f0d075ff -r925f2bbcc23f29f43bf7a84cd36ee63207fe69a3
#
#
#
# patch "packages/mplayer/mplayer_svn.bb"
# from [4725a8a159a132d6f2a88ea05eb66c95331d4c18]
# to [ef35057ee8e9aef0122d490fe9154954c594eb75]
#
============================================================
--- packages/mplayer/mplayer_svn.bb 4725a8a159a132d6f2a88ea05eb66c95331d4c18
+++ packages/mplayer/mplayer_svn.bb ef35057ee8e9aef0122d490fe9154954c594eb75
@@ -1,8 +1,11 @@ DEPENDS = "virtual/libsdl xsp libmad zli
DESCRIPTION = "Open Source multimedia player."
SECTION = "multimedia"
PRIORITY = "optional"
HOMEPAGE = "http://www.mplayerhq.hu/"
DEPENDS = "virtual/libsdl xsp libmad zlib libpng jpeg liba52 freetype fontconfig alsa-lib lzo ncurses lame libxv virtual/libx11"
+DEPENDS_append_c7x0 = " libw100 "
+DEPENDS_append_hx4700 = " libw100 "
+
RDEPENDS = "mplayer-common"
LICENSE = "GPL"
SRC_URI = "svn://svn.mplayerhq.hu/mplayer;module=trunk \
@@ -28,14 +31,16 @@ SRC_URI_append_collie = "file://disable-
# discovers this is more general than please make this more general
# ie. for all armv4 machines.
SRC_URI_append_collie = "file://disable-executable-stack-test.patch;patch=1"
-PACKAGE_ARCH_mplayer_collie = "collie"
-PACKAGE_ARCH_mencoder_collie = "collie"
+PACKAGE_ARCH_collie = "collie"
+PACKAGE_ARCH_c7x0 = "c7x0"
+PACKAGE_ARCH_hx4700 = "hx4700"
+
RCONFLICTS_${PN} = "mplayer-atty"
RREPLACES_${PN} = "mplayer-atty"
PV = "0.0+1.0rc1+svnr${SRCREV}"
-PR = "r3"
+PR = "r4"
DEFAULT_PREFERENCE = "-1"
PARALLEL_MAKE = ""
@@ -165,14 +170,13 @@ EXTRA_OECONF = " \
--disable-win32waveout \
--enable-select \
\
- --disable-runtime-cpudetection \
"
EXTRA_OECONF_append_arm = " --disable-decoder=vorbis_decoder \
--disable-encoder=vorbis_encoder"
+EXTRA_OECONF_append_c7x0 = " --enable-imageon "
+EXTRA_OECONF_append_hx4700 = " --enable-imageon "
-EXTRA_OECONF_append_progear = " --disable-sse --disable-3dnow --disable-mmxext --disable-sse2"
-
#build with support for the iwmmxt instruction and pxa270fb overlay support (pxa270 and up)
#not every iwmmxt machine has the lcd connected to pxafb, but building the module doesn't hurt
MY_ARCH := "${PACKAGE_ARCH}"
@@ -182,6 +186,7 @@ EXTRA_OECONF_append = " ${@base_contains
TARGET_CC_ARCH = "${@base_contains('MACHINE_FEATURES', 'iwmmxt', '-march=iwmmxt -mtune=iwmmxt', '${MY_TARGET_CC_ARCH}',d)}"
EXTRA_OECONF_append = " ${@base_contains('MACHINE_FEATURES', 'iwmmxt', '--enable-pxa --enable-iwmmxt', '',d)} "
+EXTRA_OECONF_append = " ${@base_contains('MACHINE_FEATURES', 'x86', '--enable-runtime-cpudetection', '',d)} "
do_configure() {
cp ${WORKDIR}/vo_w100.c ${S}/libvo
More information about the Openembedded-commits
mailing list