aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb
AgeCommit message (Collapse)Author
2021-11-13recipes: Update SRC_URI branch and protocolsArmin Kuster
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-04-03mpv: Exclude from world if commercial is not in inclusion listKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 0f6a40a6e504d52fde515f31f93e616005722a1f) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-04-03mpv: remove explicit LICENSE_FLAGSYann Dirson
This flag does not describe the mpv package, but ffmpeg instead. It gets in the way of using finer-grained LICENSE_FLAGS in ffmpeg. It is above all not needed, the real problem is even more clear without it: ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted i LICENSE_FLAGS_WHITELIST ERROR: Required build target 'mpv' has no buildable providers. Missing or unbuildable dependency chain was: ['mpv', 'ffmpeg'] Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit bba49e9edb4642e3cbe239ab13597484602330f8) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-08mpv: Link libatomic on riscv64Khem Raj
gcc uses __atomic_compare_exchange_1 which is not implemented for rv64 Fixes video/out/vo_libmpv.c:186: undefined reference to `__atomic_compare_exchange_1' collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-18mpv: fetch waf in do_fetchRoss Burton
The mpv git repository doesn't include a copy of waf, instead there is a bootstrap script to fetch it. This recipe calls the bootstrap script in a do_patch postfunc, but downloading should be done in do_fetch. Instead of calling ./bootstrap.sh simply add waf to the SRC_URI so that Bitbake can use the mirrors/proxies/caching/checksum functionality. This is both better code and also works in buildtools environments where urllib2 can't make secure connections without configuration. [ YOCTO #14073 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-08mpv: don't remove lua for aarch64 twiceRoss Burton
LUA_aarch64 is already unset, so there's no need to remove 'lua' from PACKAGECONFIG again. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-11mpv: Drop unused features_check inheritKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-28mpv: Remove X11 dependencyChenxi Mao
During enable mpv which is based on wayland. The mpv reqired x11 by default even if mpv support wayland. Change the depend rules and chang the x11 dectection policy. After this change, mpv could be build and run successfully based on wayland Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-17mpv: Disable lua support for riscvKhem Raj
luajit port of risc-v does not exist yet Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-15mpv: Fix build with python3Khem Raj
Use bootstrap.py to download right waf version turn the python3 patch into a sed command Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-09mpv: 0.26.0 -> 0.32.0Trevor Woerner
Remove mpv from the PNBLACKLIST by updating to the latest release and using a newer, python3-aware waf for building (copied from glmark2). The name of the license file changed, but the licence of the software itself did not. Added mime-xdg to inherit to handle mime artifacts. Added to the FILES command to scoop up additional files being generated by the build. Re-added 'mpv' back to LICENSE_FLAGS_WHITELIST search list in packagegroup-meta-oe. Extensively fixed and cleaned up the PACKAGECONFIG options to reflect the current options available when configuring mpv. Also cleaned up any configure options which are no longer available. Added the correct dependencies so mpv builds under wayland. Tested with core-image-x11 on a rock-pi-4 with PACKAGECONFIG = "libass x11 opengl egl drm gbm vaapi vdpau" # mpv --vo=help Available video outputs: libmpv render API for libmpv gpu Shader-based GPU Renderer vdpau VDPAU with X11 vaapi VA API with X11 x11 X11 (slow, old crap) null Null video output image Write video frames to image files tct true-color terminals drm Direct Rendering Manager Tested with core-image-weston on a rock-pi-4 with: PACKAGECONFIG = "libass wayland x11 opengl" # mpv -vo=help Available video outputs: libmpv render API for libmpv gpu Shader-based GPU Renderer wlshm Wayland SHM video output x11 X11 (slow, old crap) null Null video output image Write video frames to image files tct true-color terminals Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>