Commit Graph

72 Commits

Author SHA1 Message Date
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
Hector Roussille
23cef19635 mplayer2: add support for directFB
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Hector Roussille <hroussille@adeneo-embedded.com>
2015-05-28 10:35:24 +02:00
Gary Thomas
da56327e22 mplayer2: Needs python3 to compile
Inherit python3native as the compile step requires it:
  | ./TOOLS/file2string.py etc/input.conf >input/input.conf.h
  | /usr/bin/env: python3: No such file or directory

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:49 +02:00
Martin Jansa
75212d36f5 mplayer2: set REQUIRED_DISTRO_FEATURES and LICENSE_FLAGS
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-06 07:33:40 +01:00
Gary Thomas
9a6775585c mplayer2: Remove blacklist
mplayer2 no longer needs to be blacklisted as OE-core has moved
to libav_9.16.

[v2-v3] Also update build dependencies to quash QA warnings, using
PACKAGECONFIG for most optional features.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 09:42:00 +01:00
Belal, Awais
66a6c115e2 mplayer2: cleanup empty directories
The mplayer "make install" phase leaves an empty
/usr/lib directory seemingly regardless of the setting
of libdir.  Remove it to avoid a packaging warning.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 12:55:40 +01:00
Belal, Awais
f2ca84c367 mplayer2: use autotools-brokensep (B = S)
The mplayer2 package does not support out of tree builds
and the do_configure step also tries to find the configure
script in the same build directory while the script lies in
the src directory.
This patch updates the builddir to point to the srcdir in
order to cope with the above issues.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 12:55:40 +01:00
Martin Jansa
96a92761c0 PNBLACKLIST: use weak assignments
* this makes it easier to unblacklist it from local.conf which
  is parsed before the recipes

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 12:55:40 +01:00
Martin Jansa
2e7f3ce93b emacs, mplayer2, gnome-mplayer, xbmc, libimobiledevice, ifuse, tk: blacklist recipes failing in world builds
* these are failing for last couple months, blacklist them until someone
  steps up and starts maintaining them
* see http://www.openembedded.org/wiki/Bitbake_World_Status

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-09 14:59:01 +02:00
Martin Jansa
6a7f8bf6a9 mplayer2: bump SRCREV to fix build issues with newer live555
* live555 support was removed in:
  http://git.mplayer2.org/mplayer2/commit/?id=e77b823b341fca0b931228d3e623dab50aa11723
* remove now unsupported options
* needs libav-9.10 which is in oe-core but with negative D_P otherwise
  configure fails:
  Requested 'libavcodec >= 54.25.0' but version of libavcodec is 53.35.0
* disable man installation, because we don't have rst2man

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-20 10:43:30 +02:00