diff options
Diffstat (limited to 'meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb')
| -rw-r--r-- | meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb deleted file mode 100644 index c98aa7ab00..0000000000 --- a/meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb +++ /dev/null | |||
| @@ -1,85 +0,0 @@ | |||
| 1 | SUMMARY = "Open Source multimedia player" | ||
| 2 | DESCRIPTION = "mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more." | ||
| 3 | SECTION = "multimedia" | ||
| 4 | HOMEPAGE = "http://www.mpv.io/" | ||
| 5 | DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \ | ||
| 6 | libxscrnsaver libv4l libxinerama \ | ||
| 7 | " | ||
| 8 | |||
| 9 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 10 | |||
| 11 | LICENSE = "GPLv2+" | ||
| 12 | LIC_FILES_CHKSUM = "file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb" | ||
| 13 | |||
| 14 | # While this item does not require it, it depends on ffmpeg which does | ||
| 15 | LICENSE_FLAGS = "commercial" | ||
| 16 | |||
| 17 | SRCREV_mpv = "4db82f04502cbcd20d9a975df9dfde91d8c389e3" | ||
| 18 | SRC_URI = " \ | ||
| 19 | git://github.com/mpv-player/mpv;name=mpv \ | ||
| 20 | http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf;downloadfilename=waf;subdir=git \ | ||
| 21 | " | ||
| 22 | SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71" | ||
| 23 | SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b" | ||
| 24 | |||
| 25 | S = "${WORKDIR}/git" | ||
| 26 | |||
| 27 | inherit waf pkgconfig python3native features_check | ||
| 28 | |||
| 29 | LUA ?= "lua" | ||
| 30 | LUA_mips64 = "" | ||
| 31 | LUA_aarch64 = "" | ||
| 32 | LUA_powerpc64 = "" | ||
| 33 | LUA_powerpc64le = "" | ||
| 34 | LUA_powerpc = "" | ||
| 35 | |||
| 36 | # Note: both lua and libass are required to get on-screen-display (controls) | ||
| 37 | PACKAGECONFIG ??= " \ | ||
| 38 | ${LUA} \ | ||
| 39 | libass \ | ||
| 40 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \ | ||
| 41 | " | ||
| 42 | |||
| 43 | PACKAGECONFIG_remove_aarch64 = "lua" | ||
| 44 | PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,libdrm" | ||
| 45 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/mesa" | ||
| 46 | PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit" | ||
| 47 | PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass" | ||
| 48 | PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive" | ||
| 49 | PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack" | ||
| 50 | PACKAGECONFIG[vaapi] = "--enable-vaapi, --disable-vaapi,libva" | ||
| 51 | PACKAGECONFIG[vdpau] = "--enable-vdpau, --disable-vdpau,libvdpau" | ||
| 52 | PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland,wayland libxkbcommon" | ||
| 53 | |||
| 54 | SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}" | ||
| 55 | |||
| 56 | EXTRA_OECONF = " \ | ||
| 57 | --prefix=${prefix} \ | ||
| 58 | --target=${SIMPLE_TARGET_SYS} \ | ||
| 59 | --confdir=${sysconfdir} \ | ||
| 60 | --datadir=${datadir} \ | ||
| 61 | --disable-manpage-build \ | ||
| 62 | --disable-gl \ | ||
| 63 | --disable-libsmbclient \ | ||
| 64 | --disable-encoding \ | ||
| 65 | --disable-libbluray \ | ||
| 66 | --disable-dvdread \ | ||
| 67 | --disable-dvdnav \ | ||
| 68 | --disable-cdda \ | ||
| 69 | --disable-uchardet \ | ||
| 70 | --disable-rubberband \ | ||
| 71 | --disable-lcms2 \ | ||
| 72 | --disable-vapoursynth \ | ||
| 73 | --disable-vapoursynth-lazy \ | ||
| 74 | ${PACKAGECONFIG_CONFARGS} \ | ||
| 75 | " | ||
| 76 | |||
| 77 | adjust_waf_perms() { | ||
| 78 | chmod +x ${S}/waf | ||
| 79 | } | ||
| 80 | |||
| 81 | do_patch[postfuncs] += "adjust_waf_perms" | ||
| 82 | |||
| 83 | FILES_${PN} += "${datadir}/icons" | ||
| 84 | |||
| 85 | PNBLACKLIST[mpv] = "Needs forward porting to use python3" | ||
