mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-06-21 08:52:21 +02:00
* resolves following warnings: WARNING: Use of PRINC 17 was detected in the recipe meta-openembedded/meta-systemd/recipes-core/systemd/systemd-machine-units_1.0.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-gpe/recipes-support/fbreader/fbreader_0.12.10.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-gpe/recipes-support/fbreader/fbreader_git.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-multimedia/recipes-multimedia/sox/sox_14.4.0.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer-common.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe meta-smartphone/meta-android/recipes-bsp/chroot-script/chroot-script_1.0.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-connectivity/bind/bind_9.8.1.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-core/systemd/systemd-serialgetty.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-extended/screen/screen_4.0.3.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-extended/shadow/shadow_4.1.4.3.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-support/libcap/libcap_2.22.bb (or one of its .bbappends) WARNING: Use of PRINC 11 was detected in the recipe openembedded-core/meta/recipes-bsp/keymaps/keymaps_1.0.bb (or one of its .bbappends) WARNING: Use of PRINC 11 was detected in the recipe openembedded-core/meta/recipes-core/systemd/systemd-compat-units.bb (or one of its .bbappends) WARNING: Use of PRINC 12 was detected in the recipe openembedded-core/meta/recipes-core/initscripts/initscripts_1.0.bb (or one of its .bbappends) WARNING: Use of PRINC 13 was detected in the recipe openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb (or one of its .bbappends) WARNING: Use of PRINC 2 was detected in the recipe meta-openembedded/meta-oe/recipes-navigation/navit/navit_svn.bb (or one of its .bbappends) WARNING: Use of PRINC 2 was detected in the recipe meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.02.97.bb (or one of its .bbappends) WARNING: Use of PRINC 2 was detected in the recipe openembedded-core/meta/recipes-connectivity/portmap/portmap_6.0.bb (or one of its .bbappends) WARNING: Use of PRINC 2 was detected in the recipe openembedded-core/meta/recipes-extended/pam/libpam_1.1.6.bb (or one of its .bbappends) WARNING: Use of PRINC 2 was detected in the recipe openembedded-core/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe meta-openembedded/meta-efl/recipes-efl/efl/entrance_svn.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-bsp/formfactor/formfactor_0.0.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-connectivity/avahi/avahi_0.6.31.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb (or one of its .bbappends) WARNING: Use of PRINC 5 was detected in the recipe meta-openembedded/meta-oe/recipes-core/meta/distro-feed-configs.bb (or one of its .bbappends) WARNING: Use of PRINC 5 was detected in the recipe openembedded-core/meta/recipes-connectivity/bluez/bluez4_4.101.bb (or one of its .bbappends) WARNING: Use of PRINC 6 was detected in the recipe openembedded-core/meta/recipes-core/packagegroups/packagegroup-base.bb (or one of its .bbappends) WARNING: Use of PRINC 6 was detected in the recipe openembedded-core/meta/recipes-core/packagegroups/packagegroup-core-boot.bb (or one of its .bbappends) WARNING: Use of PRINC 6 was detected in the recipe openembedded-core/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb (or one of its .bbappends) WARNING: Use of PRINC 7 was detected in the recipe meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb (or one of its .bbappends) WARNING: Use of PRINC 7 was detected in the recipe openembedded-core/meta/recipes-core/udev/udev-extraconf_1.0.bb (or one of its .bbappends) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
166 lines
4.1 KiB
BlitzBasic
166 lines
4.1 KiB
BlitzBasic
SUMMARY = "Open Source multimedia player"
|
|
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"
|
|
|
|
RDEPENDS_${PN} = "mplayer-common"
|
|
PROVIDES = "mplayer"
|
|
RPROVIDES_${PN} = "mplayer"
|
|
RCONFLICTS_${PN} = "mplayer"
|
|
|
|
LICENSE = "GPLv3"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
|
|
|
|
SRC_URI = "git://repo.or.cz/mplayer.git;branch=master \
|
|
file://cross.compile.codec-cfg.patch \
|
|
"
|
|
|
|
SRCREV = "e3f5043233336d8b4b0731c6a8b42a8fda5535ac"
|
|
|
|
ARM_INSTRUCTION_SET = "arm"
|
|
|
|
PV = "2.0+gitr${SRCPV}"
|
|
PR = "r13"
|
|
|
|
PARALLEL_MAKE = ""
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
FILES_${PN} = "${bindir}/mplayer ${libdir} /usr/etc/mplayer/"
|
|
CONFFILES_${PN} += "/usr/etc/mplayer/input.conf \
|
|
/usr/etc/mplayer/example.conf \
|
|
/usr/etc/mplayer/codecs.conf \
|
|
"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
EXTRA_OECONF = " \
|
|
--prefix=/usr \
|
|
--mandir=${mandir} \
|
|
--target=${SIMPLE_TARGET_SYS} \
|
|
\
|
|
--disable-lirc \
|
|
--disable-lircc \
|
|
--disable-joystick \
|
|
--disable-vm \
|
|
--disable-xf86keysym \
|
|
--enable-tv \
|
|
--disable-tv-v4l1 \
|
|
--enable-tv-v4l2 \
|
|
--disable-tv-bsdbt848 \
|
|
--enable-rtc \
|
|
--enable-networking \
|
|
--disable-smb \
|
|
--enable-live \
|
|
--disable-dvdnav \
|
|
--enable-dvdread \
|
|
--disable-dvdread-internal \
|
|
--disable-libdvdcss-internal \
|
|
--disable-cdparanoia \
|
|
--enable-freetype \
|
|
--enable-sortsub \
|
|
--disable-fribidi \
|
|
--disable-enca \
|
|
--disable-ftp \
|
|
--disable-vstream \
|
|
\
|
|
--disable-gif \
|
|
--enable-png \
|
|
--enable-jpeg \
|
|
--disable-libcdio \
|
|
--disable-qtx \
|
|
--disable-xanim \
|
|
--disable-real \
|
|
--disable-xvid \
|
|
\
|
|
--enable-speex \
|
|
--enable-theora \
|
|
--disable-ladspa \
|
|
--disable-libdv \
|
|
--enable-mad \
|
|
--disable-xmms \
|
|
--disable-musepack \
|
|
\
|
|
--disable-gl \
|
|
--disable-vesa \
|
|
--disable-svga \
|
|
--enable-sdl \
|
|
--disable-aa \
|
|
--disable-caca \
|
|
--disable-ggi \
|
|
--disable-ggiwmh \
|
|
--disable-directx \
|
|
--disable-dxr3 \
|
|
--disable-dvb \
|
|
--disable-mga \
|
|
--disable-xmga \
|
|
--enable-xv \
|
|
--disable-vm \
|
|
--disable-xinerama \
|
|
--enable-x11 \
|
|
--enable-fbdev \
|
|
--disable-3dfx \
|
|
--disable-tdfxfb \
|
|
--disable-s3fb \
|
|
--disable-directfb \
|
|
--disable-bl \
|
|
--disable-tdfxvid \
|
|
--disable-tga \
|
|
--disable-pnm \
|
|
--disable-md5sum \
|
|
\
|
|
--enable-alsa \
|
|
--enable-ossaudio \
|
|
--disable-arts \
|
|
--disable-esd \
|
|
--disable-pulse \
|
|
--disable-jack \
|
|
--disable-openal \
|
|
--disable-nas \
|
|
--disable-sgiaudio \
|
|
--disable-sunaudio \
|
|
--disable-win32waveout \
|
|
--enable-select \
|
|
--enable-libass \
|
|
\
|
|
--extra-libs=' -lXext -lX11 -lBasicUsageEnvironment -lUsageEnvironment -lgroupsock -lliveMedia -lstdc++ -lvorbis ' \
|
|
"
|
|
|
|
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}"
|
|
|
|
CFLAGS_append = " -I${S}/libdvdread4 "
|
|
|
|
do_configure() {
|
|
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
|
|
sed -i 's|_install_strip="-s"|_install_strip=""|g' ${S}/configure
|
|
sed -i 's|HOST_CC|BUILD_CC|' ${S}/Makefile
|
|
|
|
export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"
|
|
./configure ${EXTRA_OECONF}
|
|
|
|
}
|
|
|
|
do_compile () {
|
|
oe_runmake
|
|
}
|
|
|
|
do_install_append() {
|
|
install -d ${D}/usr/etc/mplayer
|
|
install ${S}/etc/input.conf ${D}/usr/etc/mplayer/
|
|
install ${S}/etc/example.conf ${D}/usr/etc/mplayer/
|
|
install ${S}/etc/codecs.conf ${D}/usr/etc/mplayer/
|
|
}
|