installing mpv with brew on macOS

简介:
$ brew install mpv --with-bundle

==> Installing dependencies for mpv: docutils, libpng, freetype, libffi, pcre, glib, fribidi, fontconfig, pixman, cairo, gobject-introspection, icu4c, harfbuzz, libass, lame, x264, xvid, ffmpeg, jpeg, libtiff, little-cms2, lua, youtube-dl

==> Installing mpv dependency: docutils
==> Downloading https://homebrew.bintray.com/bottles/docutils-0.13.1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring docutils-0.13.1.sierra.bottle.tar.gz
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
  mkdir -p /Users/erichan/Library/Python/2.7/lib/python/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/erichan/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> Summary
  /usr/local/Cellar/docutils/0.13.1: 205 files, 1.9M

==> Installing mpv dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.26.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libpng-1.6.26.sierra.bottle.tar.gz
  /usr/local/Cellar/libpng/1.6.26: 26 files, 1.2M

==> Installing mpv dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.7.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring freetype-2.7.sierra.bottle.tar.gz
  /usr/local/Cellar/freetype/2.7: 61 files, 2.4M

==> Installing mpv dependency: libffi
==> Downloading https://homebrew.bintray.com/bottles/libffi-3.0.13.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libffi-3.0.13.sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

Some formulae require a newer version of libffi.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/libffi/lib
    PKG_CONFIG_PATH: /usr/local/opt/libffi/lib/pkgconfig

==> Summary
  /usr/local/Cellar/libffi/3.0.13: 15 files, 361.8K

==> Installing mpv dependency: pcre
==> Downloading https://homebrew.bintray.com/bottles/pcre-8.39.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pcre-8.39.sierra.bottle.tar.gz
  /usr/local/Cellar/pcre/8.39: 203 files, 5.4M

==> Installing mpv dependency: glib
==> Downloading https://homebrew.bintray.com/bottles/glib-2.50.2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring glib-2.50.2.sierra.bottle.tar.gz
==> Using the sandbox
  /usr/local/Cellar/glib/2.50.2: 427 files, 22.4M

==> Installing mpv dependency: fribidi
==> Downloading https://homebrew.bintray.com/bottles/fribidi-0.19.7_1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring fribidi-0.19.7_1.sierra.bottle.tar.gz
  /usr/local/Cellar/fribidi/0.19.7_1: 61 files, 377.7K

==> Installing mpv dependency: fontconfig
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.12.1_2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring fontconfig-2.12.1_2.sierra.bottle.tar.gz
==> Regenerating font cache, this may take a while
==> /usr/local/Cellar/fontconfig/2.12.1_2/bin/fc-cache -frv
  /usr/local/Cellar/fontconfig/2.12.1_2: 468 files, 3M

==> Installing mpv dependency: pixman
==> Downloading https://homebrew.bintray.com/bottles/pixman-0.34.0.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pixman-0.34.0.sierra.bottle.tar.gz
  /usr/local/Cellar/pixman/0.34.0: 12 files, 1.2M

==> Installing mpv dependency: cairo
==> Downloading https://homebrew.bintray.com/bottles/cairo-1.14.8.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cairo-1.14.8.sierra.bottle.tar.gz
  /usr/local/Cellar/cairo/1.14.8: 119 files, 5.9M

==> Installing mpv dependency: gobject-introspection
==> Downloading https://homebrew.bintray.com/bottles/gobject-introspection-1.50.0.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gobject-introspection-1.50.0.sierra.bottle.tar.gz
  /usr/local/Cellar/gobject-introspection/1.50.0: 172 files, 9.6M

==> Installing mpv dependency: icu4c
==> Downloading https://homebrew.bintray.com/bottles/icu4c-58.1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring icu4c-58.1.sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

macOS provides libicucore.dylib (but nothing else).

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/icu4c/lib
    CPPFLAGS: -I/usr/local/opt/icu4c/include
    PKG_CONFIG_PATH: /usr/local/opt/icu4c/lib/pkgconfig

==> Summary
  /usr/local/Cellar/icu4c/58.1: 242 files, 65M

==> Installing mpv dependency: harfbuzz
==> Downloading https://homebrew.bintray.com/bottles/harfbuzz-1.3.4.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring harfbuzz-1.3.4.sierra.bottle.tar.gz
  /usr/local/Cellar/harfbuzz/1.3.4: 132 files, 4.5M

==> Installing mpv dependency: libass
==> Downloading https://homebrew.bintray.com/bottles/libass-0.13.4.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libass-0.13.4.sierra.bottle.tar.gz
  /usr/local/Cellar/libass/0.13.4: 10 files, 511.2K
==> Installing mpv dependency: lame
==> Downloading https://homebrew.bintray.com/bottles/lame-3.99.5.sierra.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring lame-3.99.5.sierra.bottle.1.tar.gz
  /usr/local/Cellar/lame/3.99.5: 26 files, 2M

==> Installing mpv dependency: x264
==> Downloading https://homebrew.bintray.com/bottles/x264-r2728.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring x264-r2728.sierra.bottle.tar.gz
  /usr/local/Cellar/x264/r2728: 11 files, 3.3M

==> Installing mpv dependency: xvid
==> Downloading https://homebrew.bintray.com/bottles/xvid-1.3.4.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring xvid-1.3.4.sierra.bottle.tar.gz
  /usr/local/Cellar/xvid/1.3.4: 9 files, 1.2M

==> Installing mpv dependency: ffmpeg
==> Downloading https://homebrew.bintray.com/bottles/ffmpeg-3.2.2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring ffmpeg-3.2.2.sierra.bottle.tar.gz
  /usr/local/Cellar/ffmpeg/3.2.2: 239 files, 50.4M

==> Installing mpv dependency: jpeg
==> Downloading https://homebrew.bintray.com/bottles/jpeg-8d.sierra.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring jpeg-8d.sierra.bottle.2.tar.gz
  /usr/local/Cellar/jpeg/8d: 19 files, 708.2K

==> Installing mpv dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.7.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtiff-4.0.7.sierra.bottle.tar.gz
  /usr/local/Cellar/libtiff/4.0.7: 248 files, 3.3M

==> Installing mpv dependency: little-cms2
==> Downloading https://homebrew.bintray.com/bottles/little-cms2-2.8.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring little-cms2-2.8.sierra.bottle.tar.gz
  /usr/local/Cellar/little-cms2/2.8: 17 files, 1M

==> Installing mpv dependency: lua
==> Downloading https://homebrew.bintray.com/bottles/lua-5.2.4_4.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring lua-5.2.4_4.sierra.bottle.tar.gz
==> Caveats
Please be aware due to the way Luarocks is designed any binaries installed
via Luarocks-5.2 AND 5.1 will overwrite each other in /usr/local/bin.

This is, for now, unavoidable. If this is troublesome for you, you can build
rocks with the `--tree=` command to a special, non-conflicting location and
then add that to your `$PATH`.
==> Summary
  /usr/local/Cellar/lua/5.2.4_4: 143 files, 697.5K

==> Installing mpv dependency: youtube-dl
==> Downloading https://homebrew.bintray.com/bottles/youtube-dl-2016.12.22.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring youtube-dl-2016.12.22.sierra.bottle.tar.gz
==> Caveats
To use post-processing options, `brew install ffmpeg` or `brew install libav`.

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
  /usr/local/Cellar/youtube-dl/2016.12.22: 11 files, 1.7M

==> Installing mpv --with-bundle
==> Downloading https://github.com/mpv-player/mpv/archive/v0.22.0.tar.gz
==> Downloading from https://codeload.github.com/mpv-player/mpv/tar.gz/v0.22.0
######################################################################## 100.0%
==> ./bootstrap.py
==> python3 waf configure --prefix=/usr/local/Cellar/mpv/0.22.0_1 --enable-zsh-comp --enable-libmpv-shared --enable-html-build --confdir=/usr/local/etc/mpv -
==> python3 waf install
==> python3 TOOLS/osxbundle.py build/mpv
==> Caveats
zsh completion has been installed to:
  /usr/local/share/zsh/site-functions

.app bundles were installed.
Run `brew linkapps mpv` to symlink these to /Applications.
==> Summary
  /usr/local/Cellar/mpv/0.22.0_1: 58 files, 32M, built in 2 minutes 29 seconds
$ brew linkapps mpv                                                                                                                  
Linking: /usr/local/opt/mpv/mpv.app
Linked 1 app to /Applications
$ nano ~/.config/mpv/mpv.conf

# Subtitles
sub-auto=fuzzy
sub-text-font-size=48
sub-codepage=utf8:gb18030
目录
相关文章
|
22天前
|
数据安全/隐私保护 iOS开发 MacOS
Homebrew 安装使用
【10月更文挑战第5天】Homebrew 是一款用于 MacOS 系统的软件包管理工具,能够便捷地安装、卸载及更新各类软件与工具。通过终端执行简单命令即可完成安装,并利用 `brew` 命令进行软件搜索、安装、更新和卸载等操作,极大提升了用户管理软件的效率。安装前需确认已安装 Xcode Command Line Tools。
|
3月前
|
数据安全/隐私保护
|
5月前
|
Shell iOS开发 MacOS
在macOS上安装Homebrew教程
在macOS上安装Homebrew教程
189 0
|
5月前
|
Java Linux 开发工具
Windows中使用包管理器(类似于apt/yum的) - Chocolatey
Windows中使用包管理器(类似于apt/yum的) - Chocolatey
344 0
|
5月前
|
Shell 开发工具 iOS开发
macos 安装brew
macos 安装brew
143 0
|
缓存 开发工具 git
Homebrew安装
Homebrew安装
|
Linux Shell 开发工具
MacOS安装Homebrew与Oh-My-Zsh
MacOS安装Homebrew与Oh-My-Zsh
2211 0
|
存储 自然语言处理 Ubuntu
Ubuntu 20.04 上安装使用 ibus-rime(超实用)
Ubuntu 20.04 上安装使用 ibus-rime(超实用)
1541 0
|
域名解析 Ubuntu 编译器
如何在 Ubuntu 20.04 上安装 GCC(build-essential)
GNU 编译器集合是一系列用于语言开发的编译器和库的集合,包括: C, C++, Objective-C, Fortran, Ada, Go, and D等编程语言。很多开源项目,包括 Linux kernel 和 GNU 工具,都是使用 GCC 进行编译的。本文主要为大家讲解如何在 Ubuntu 20.04 上安装 GCC。
91338 3
如何在 Ubuntu 20.04 上安装 GCC(build-essential)
|
Linux Unix
brew
Homebrew 都干了什么 安装完毕Homebrew之后, 可以说整个/usr/local/下的东西都是Homebrew自动创建出来的, 一个新的Mac系统默认情况下/usr/local是空的, 安装了Homebrew之后就有了bin, sbin, share, Cellar, Homebrew...
1702 0