mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
mplayer2: replace ENTERPRISE_DISTRO with PACKAGECONFIG options
Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
cb092cc4ea
commit
f8cb578307
@@ -3,8 +3,7 @@ SECTION = "multimedia"
|
||||
HOMEPAGE = "http://www.mplayerhq.hu/"
|
||||
DEPENDS = "libvpx live555 libdvdread libtheora virtual/libsdl ffmpeg xsp zlib \
|
||||
libpng jpeg liba52 freetype fontconfig alsa-lib lzo ncurses \
|
||||
libxv virtual/libx11 libass speex faad2 \
|
||||
${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad liba52 lame', d)}"
|
||||
libxv virtual/libx11 libass speex faad2"
|
||||
|
||||
RDEPENDS_${PN} = "mplayer-common"
|
||||
PROVIDES = "mplayer"
|
||||
@@ -132,6 +131,10 @@ EXTRA_OECONF = " \
|
||||
EXTRA_OECONF_append_armv6 = " --enable-armv6"
|
||||
EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon"
|
||||
|
||||
PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad"
|
||||
PACKAGECONFIG[a52] = "--enable-liba52,--disable-liba52,liba52"
|
||||
PACKAGECONFIG[lame] = ",,lame"
|
||||
|
||||
FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math"
|
||||
BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user