community/mpv to 0.27.0-5

This commit is contained in:
Kevin Mihelich 2017-12-15 20:02:34 +00:00
parent 91334a4a89
commit 95f1d7f5a3

View file

@ -9,17 +9,19 @@
pkgname=mpv pkgname=mpv
epoch=1 epoch=1
pkgver=0.27.0 pkgver=0.27.0
pkgrel=4 pkgrel=5
_waf_version=1.8.12 _waf_version=1.9.8
pkgdesc='a free, open source, and cross-platform media player' pkgdesc='a free, open source, and cross-platform media player'
arch=('i686' 'x86_64') arch=('x86_64')
license=('GPL') # We link against libraries that are licensed GPLv3 explicitly, libsmbclient
url='http://mpv.io' # being one of these. So our package is GPLv3 only as well.
license=('GPL3')
url='https://mpv.io/'
depends=( depends=(
'ffmpeg' 'lcms2' 'libcdio-paranoia' 'libgl' 'libxss' 'ffmpeg' 'lcms2' 'libcdio-paranoia' 'libgl' 'libxss'
'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'wayland' 'libcaca' 'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'wayland' 'libcaca'
'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua52' 'libdvdnav' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua52' 'libdvdnav'
'libxrandr' 'jack' 'rubberband' 'uchardet' 'libarchive' 'libxrandr' 'jack' 'rubberband' 'uchardet' 'libarchive' 'smbclient'
) )
makedepends=('mesa' 'python-docutils' 'ladspa') makedepends=('mesa' 'python-docutils' 'ladspa')
optdepends=('youtube-dl: for video-sharing websites playback') optdepends=('youtube-dl: for video-sharing websites playback')
@ -28,12 +30,12 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive
'0001-opengl-backend-support-multiple-backends.patch' '0001-opengl-backend-support-multiple-backends.patch'
'0002-vaapi-Use-libva2-message-callbacks.patch' '0002-vaapi-Use-libva2-message-callbacks.patch'
'0003-demux_lavf-return-AVERROR_EOF-on-file-end.patch' '0003-demux_lavf-return-AVERROR_EOF-on-file-end.patch'
"http://www.freehackers.org/~tnagy/release/waf-${_waf_version}") "https://waf.io/waf-${_waf_version}")
sha256sums=('341d8bf18b75c1f78d5b681480b5b7f5c8b87d97a0d4f53a5648ede9c219a49c' sha256sums=('341d8bf18b75c1f78d5b681480b5b7f5c8b87d97a0d4f53a5648ede9c219a49c'
'609e0530f1b0cdb910dcffb5f62bf55936540e24105ce1b2daf1bd6291a7d58a' '609e0530f1b0cdb910dcffb5f62bf55936540e24105ce1b2daf1bd6291a7d58a'
'3c3517f4f4c71e39e1e04ea440688fc8d7b3dc55e6bc0a9398d11a9b75bde07d' '3c3517f4f4c71e39e1e04ea440688fc8d7b3dc55e6bc0a9398d11a9b75bde07d'
'5de6c616428c87cf9b39d8ba24446d65d175050c083e1054194d93cf03d5816a' '5de6c616428c87cf9b39d8ba24446d65d175050c083e1054194d93cf03d5816a'
'01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b') '167dc42bab6d5bd823b798af195420319cb5c9b571e00db7d83df2a0fe1f4dbf')
prepare() { prepare() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
@ -61,6 +63,7 @@ build() {
--enable-dvb \ --enable-dvb \
--enable-dvdnav \ --enable-dvdnav \
--enable-encoding \ --enable-encoding \
--enable-libsmbclient \
--enable-libarchive \ --enable-libarchive \
--enable-libmpv-shared \ --enable-libmpv-shared \
--enable-zsh-comp \ --enable-zsh-comp \