81 Commits

Author SHA1 Message Date
Ryan Eatmon e8c25c8696 mpv: Fix typo in x11 option
Fixing the spelling of disabled for the x11 option.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-31 09:21:05 -07:00
Khem Raj a32ae2f7d6 mpv: Upgrade to 0.38.0 release
https://github.com/mpv-player/mpv/releases

migrate to using meson build system

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 20:59:16 -07:00
Khem Raj d40cf9d9ca libplacebo: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 20:59:16 -07:00
Khem Raj 55d92033a2 mpv: Remove references to builddir from mpv binary
Fixes
WARNING: mpv-0.35.1-r0 do_package_qa: QA Issue: File /usr/bin/mpv in package mpv contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Khem Raj 7733744d98 mpv: Upgrade to 0.35.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-01 21:57:40 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Andreas Müller 2509f659e4 All layers: Follow oe-core's variable name changes
Auto rename performed by oe-core's convert-variable-renames.py 0.1

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-24 08:35:24 -08:00
Wang Mingyu 80adbff00a mpv: upgrade 0.34.0 -> 0.34.1
This is a bug fix release for the 0.34 branch.

Fixes and Minor Enhancements
----------------------------

- player: fix autofit/geometry related segfault
- ao_oss: add missing PATH_DEV_MIXER define
- egl_helpers: fix context creation if GLES 3 is not available
- audio: stop corrupting audio on underreads
- wayland: fix a potential segfault on surface enter
- vo_gpu: opengl: fix wrong glMemoryBarrier call
- vo_gpu: opengl: create context at version 4.4 again
- af_lavcac3enc: fix memory leak on no-op
- subprocess: unblock/reset signals before running child process
- wayland: avoid doing unneccesary window resizes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-23 09:25:19 -08:00
Andreas Müller 8ac9690375 mpv: upgrade 0.33.1 -> 0.34.0
* Release notes are found at [1]
* License was refreshed to upstream changes [2] - no license change

[1] https://github.com/mpv-player/mpv/releases/tag/v0.34.0
[2] https://github.com/mpv-player/mpv/commit/7314253180e7c5d06bec6d1fed79ce92bff4b6be

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-05 08:17:18 -08:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Andreas Müller 74d9b806a7 mpv: upgrade 0.32.0 -> 0.33.1
Some PACKAGECONFIG / configuration changes were necessary:
* libass is mandatory
* luajit on aarch64 is fine
* wayland requires egl
* --disable-libsmbclient is gone

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-28 06:55:33 -07:00
Khem Raj 0f6a40a6e5 mpv: Exclude from world if commercial is not in inclusion list
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-30 15:36:17 -07:00
Yann Dirson bba49e9edb mpv: remove explicit LICENSE_FLAGS
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>
2021-03-30 15:36:17 -07:00
Khem Raj bbc3b9dd0f mpv: Link libatomic on riscv64
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>
2021-03-08 16:24:24 -08:00
Ross Burton 5af46f89fc mpv: fetch waf in do_fetch
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-18 12:45:33 -07:00
Ross Burton d9f87779d0 mpv: don't remove lua for aarch64 twice
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-10-08 11:50:46 -07:00
Khem Raj af0cb067be mpv: Drop unused features_check inherit
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-11 22:34:40 -07:00
Paul Barker 03fd716100 mplayer-common: Drop obsolete recipe
This recipe hasn't been changed in any meaningful way since it was
imported from oe-classic in 2011. There's no recipe for mplayer in
meta-oe these days so it's probably time to drop it.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-14 12:51:26 -07:00
Chenxi Mao 17fd382f34 mpv: Remove X11 dependency
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-04-28 17:29:51 -07:00
Khem Raj 9f3e738cbc mpv: Disable lua support for riscv
luajit port of risc-v does not exist yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-17 11:09:49 -08:00
Khem Raj 3dcfe32690 mpv: Fix build with python3
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-15 08:05:07 -08:00
Trevor Woerner 835358a130 mpv: 0.26.0 -> 0.32.0
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>
2020-02-09 10:46:32 -08:00
Khem Raj e337fe66eb nanopb,mpv: Blacklist py2 dependent recipe ( for now )
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-22 09:56:34 -08:00
Khem Raj 5057746583 meta-oe: Remove using python2
This change makes the parsing go though, we still might have build
issues, which will be reported in world builds seprately

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-22 09:56:34 -08:00
Khem Raj bd2ad24d7b recipes: Make powerpc64le overrides
The existing conditions for ppc64/be are applicable for le as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-19 02:20:59 -08:00
Khem Raj d9c8b61e13 mpv: Disable lua support on powerpc
luajit is not supported on ppc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-16 12:09:35 -08:00
Khem Raj d603409c32 mpv: Remove luajit dependency for ppc64
luajit is not available on ppc64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-19 13:58:23 -08:00
Denys Dmytriyenko 4c00e5fed9 recipes: rename distro_features_check to features_check
Avoid warning due to the class rename in OE-Core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:51:37 -08:00
Khem Raj 5da32077eb mpv: Switch to using git fetcher
github tarballs are unreliable, fixes

SRC_URI uses unstable GitHub archives [src-uri-bad]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-21 09:40:20 -07:00
Khem Raj 70dae711a9 mpv: Disable lua on mips/aarch64
Luajit depeendency is not available on mips64/aarch64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-04 18:29:39 -08:00
Khem Raj c6c4e54578 mpv: Remove lua from packageconfig for aarch64
luajit is not buildable on aarch64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-16 08:58:17 -07:00
Khem Raj 63c3ac2ce9 mpv: Adjust for the recent waf bbclass updates
waf bbclass now expects waf to be an executable script
in ${S} before do_configure, otherwise it ends up in ugly python stack traces

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-12 10:01:17 -07:00
Mark Hatle 36ed830bc2 mpv: Requires ffmpeg which has a LICENSE_FLAGS = commercial set
We need to also set LICENSE_FLAGS = commercial to avoid any type of parsing
errors for world builds.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-13 11:13:19 +02:00
Martin Jansa ec9e5ed062 recipes: remove blacklisted recipes
* as PNBLACKLIST message says, these recipes are blacklisted for long
  time and nobody showed any interest to fix them
* remove all unused .patch and .inc files as well

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02:00
Martin Jansa 66cce63d50 mpv: Update to version 0.26.0.
Updates the mpv package to version 0.26.0.
The patch that was previously necessary related to OpenGL has been added upstream.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:04:11 +02:00
Khem Raj e36e010400 mpv: Add libxkbcommon when configuring with wayland
Fixes

Package xkbcommon was not found in the pkg-config search path.
Perhaps you should add the directory containing `xkbcommon.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xkbcommon' found

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-26 20:14:14 +02:00
Andreas Müller 4f25ed6dfa mpv: add PACKAGECONFIG for drm/gbm/vdpau/wayland
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:51 +02:00
Andreas Müller 6fbc2c7c6e mpv: update 0.15.0 -> 0.24.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-04-18 14:21:51 +02:00
Martin Jansa cdb428e7c4 recipes: add removal date to PNBLACKLIST messages
* based on discussion in pndeprecated thread:
  https://patchwork.openembedded.org/patch/137573/
  update the messages to warn possible users that the
  recipe will be removed before the end of the next development
  cycle (before Yocto 2.4 is released).

* updated with:
  sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs`
* then noticed couple recipes being blacklisted only based on
  DISTRO_FEATURES, so removed those:
  meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb
  meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb
  meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb
  meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb
  meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb
  meta-oe/recipes-navigation/gypsy/gypsy.inc
  meta-oe/recipes-navigation/navit/navit.inc
  meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb

* if it isn't fixed by this date, it's fair game to be removed
  whenever someone gets around to i

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:36:45 +02:00
Khem Raj 24e51a6a10 mpv: Add PACKAGECONFIG for vaapi
Now that we have libva its important to enable/disable vaapi
explicitly

Fixes

WARNING: mpv-0.15.0-r0 do_package_qa: QA Issue: mpv rdepends on libva-x11, but it isn't a build dependency, missing libva in DEPENDS or PACKAGECONFIG? [build-deps]
WARNING: mpv-0.15.0-r0 do_package_qa: QA Issue: mpv rdepends on libva, but it isn't a build dependency, missing libva in DEPENDS or PACKAGECONFIG? [build-deps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-02 09:26:23 +01:00
Khem Raj 761639b9d7 mpv: Add libvdpau to DEPENDS
Fixes
WARNING: mpv-0.15.0-r0 do_package_qa: QA Issue: mpv rdepends on libvdpau, but it isn't a build dependency, missing libvdpau in DEPENDS or PACKAGECONFIG? [build-deps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-26 01:07:22 +01:00
Martin Jansa e05536ca68 mpv: include PACKAGECONFIG_CONFARGS in EXTRA_OECONF
* otherwise jack is autodetected:
  mpv-0.15.0: mpv rdepends on libjack, but it isn't a build dependency, missing jack in DEPENDS or PACKAGECONFIG? [build-deps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:09 +02:00
Martin Jansa dc48e768f5 meta-oe: remove trailing spaces
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:29 +02:00
Christopher Larson 03f0be6238 mpv: use waf.bbclass
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-15 12:13:15 +02:00
Christopher Larson 7d399caee6 mpv: add DESCRIPTION
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-15 12:13:14 +02:00
Abdur Rehman 52213998eb mpv: Media Player
mpv is a fork of mplayer2 and MPlayer. It shares some features with
the former projects while introducing many more.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:30 +02:00
Ross Burton 21f10c11f3 meta-oe: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:38 +02:00
Martin Jansa 7a492cd89e mplayer2: blacklist, not compatible with currently used ffmpeg 3
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-04 09:06:08 +01:00
Belal, Awais 8e49262b12 mplayer2: fix building with gcc 5.x
This patch works around a potential problem in the theora
glue code where it assumes that the compiler will
somehow find a function which is not exported explicitly
through the libtheora library. Due to this problem the
build fails with gcc-5.x compiler.
The included patch essentially backports a commit which
updates the glue code to use the Theora 1.0 API to
eliminate this problem and PNBLACKLIST is cleared
for mplayer2.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-27 12:43:55 +01:00
Martin Jansa e0949c4b21 mplayer2: Blacklist, fails to build with gcc-5
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:27:50 +02:00