mpv: new package
PATCH v2 1/1 mpv: new package
---
Changes for v2:
* As pointed by Arnout add missing inherited nios2 exclusion (ffmpeg)
package/Config.in | 1 + ...ript-don-t-check-for-fork-on-POSIX-checks.patch | 31 +++ package/mpv/Config.in | 17 ++ package/mpv/mpv.hash | 3 + package/mpv/mpv.mk | 255 +++++++++++++++++++++ 5 files changed, 307 insertions(+) create mode 100644 package/mpv/0001-wscript-don-t-check-for-fork-on-POSIX-checks.patch create mode 100644 package/mpv/Config.in create mode 100644 package/mpv/mpv.hash create mode 100644 package/mpv/mpv.mk
package/Config.in +1 -0
@@ -29,6 +29,7 @@ menu "Audio and video applications" source "package/mpd-mpc/Config.in" source "package/mpg123/Config.in" source "package/mplayer/Config.in" + source "package/mpv/Config.in" source "package/multicat/Config.in" source "package/musepack/Config.in" source "package/ncmpc/Config.in"
package/mpv/0001-wscript-don-t-check-for-fork-on-POSIX-checks.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 61aea32efe675e584121295452fc7ab2a652d021 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <[email protected]> +Date: Wed, 20 Apr 2016 09:39:30 -0300 +Subject: [PATCH] wscript: don't check for fork() on POSIX checks + +It's not being used, and in fact prevents mpv from being built in nommu +architectures (cortex M, blackfin, ...) + +Signed-off-by: Gustavo Zacarias <[email protected]> +--- +Status: pull request https://github.com/mpv-player/mpv/pull/3068 + + wscript | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/wscript b/wscript +index a4ffce6..40328e4 100644 +--- a/wscript ++++ b/wscript +@@ -127,7 +127,7 @@ main_dependencies = [ + 'desc': 'POSIX environment', + # This should be good enough. + 'func': check_statement(['poll.h', 'unistd.h', 'sys/mman.h'], +- 'struct pollfd pfd; poll(&pfd, 1, 0); fork(); int f[2]; pipe(f); munmap(f,0)'), ++ 'struct pollfd pfd; poll(&pfd, 1, 0); int f[2]; pipe(f); munmap(f,0)'), + }, { + 'name': 'posix-or-mingw', + 'desc': 'development environment', +-- +2.7.3 +
package/mpv/Config.in new file +17 -0
@@ -0,0 +1,17 @@ +config BR2_PACKAGE_MPV + bool "mpv" + depends on !BR2_nios2 # ffmpeg + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + select BR2_PACKAGE_FFMPEG + select BR2_PACKAGE_FFMPEG_SWSCALE + select BR2_PACKAGE_ZLIB + help + mpv is a fork of mplayer2 and MPlayer. It shares some features + with the former projects while introducing many more. + + https://mpv.io/ + +comment "mpv needs a toolchain w/ threads" + depends on !BR2_nios2 + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/mpv/mpv.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally calculated +sha256 602cd2b0f5fc7e43473234fbb96e3f7bbb6418f15eb8fa720d9433cce31eba6e v0.17.0.tar.gz +sha256 01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b waf-1.8.12
package/mpv/mpv.mk new file +255 -0
255 lines not on this page · raw message
Signature · 1 line
2.7.3
PATCH v2 1/1 mpv: new package
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Signed-off-by Gustavo Zacarias <[email protected]>---
Changes for v2:
* As pointed by Arnout add missing inherited nios2 exclusion (ffmpeg)
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 1/1 mpv: new package
In reply to Gustavo ZacariasHello,
Quoted 1 line · Gustavo Zacarias
Signed-off-by Gustavo Zacarias <[email protected]>
This new package is causing a few build failures:
http://autobuild.buildroot.org/?reason=mpv-0.17.0
Could you have a look?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 1/1 mpv: new package
Quoted 5 lines · Thomas Petazzoni
Hello,
Quoted 1 line · Gustavo Zacarias
Signed-off-by Gustavo Zacarias <[email protected]>
Quoted 7 lines
This new package is causing a few build failures:
http://autobuild.buildroot.org/?reason=mpv-0.17.0Could you have a look?
Thanks!
Hi. Yes, i'm already on it.
Regards.
PATCH v2 1/1 mpv: new package
In reply to Thomas PetazzoniQuoted 7 lines · Thomas Petazzoni
Hello,
Quoted 1 line · Gustavo Zacarias
Signed-off-by Gustavo Zacarias <[email protected]>This new package is causing a few build failures:
Quoted 7 lines
http://autobuild.buildroot.org/?reason=mpv-0.17.0Could you have a look?
Thanks!
Thomas
Also keep in mind that these failures are because of the need for updated toolchains for the autobuilders (XSI_MATH):
http://autobuild.buildroot.net/results/dbd/dbdaf0b856129ce84a6291b1afe4acfec4c2777f/build-end.log
Regards.
PATCH v2 1/1 mpv: new package
Hello,
Quoted 3 lines · Gustavo Zacarias
Also keep in mind that these failures are because of the need for updated toolchains for the autobuilders (
XSI_MATH):
http://autobuild.buildroot.net/results/dbd/dbdaf0b856129ce84a6291b1afe4acfec4c2777f/build-end.log
The ones related to j1() being not available, I guess so. But many of the failures are related to the detection of wayland, sdl1, sdl2. Are those also related to the XSI_MATH thing?
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 1/1 mpv: new package
Quoted 5 lines · Thomas Petazzoni
The ones related to
j1()being not available, I guess so. But many of the failures are related to the detection of wayland, sdl1, sdl2. Are those also related to theXSI_MATHthing?Thomas
No, wayland requires xkbcommon, i've already sent a patch, i'm looking at the sdl failures shortly.
Regards.