community/mpv to 0.17.0-1

This commit is contained in:
Kevin Mihelich 2016-04-11 21:41:35 +00:00
parent dcdaa9462e
commit 608a844907

View file

@ -8,10 +8,10 @@
pkgname=mpv
epoch=1
pkgver=0.16.0
pkgrel=2
pkgver=0.17.0
pkgrel=1
_waf_version=1.8.12
pkgdesc='Video player based on MPlayer/mplayer2'
pkgdesc='a free, open source, and cross-platform media player'
arch=('i686' 'x86_64')
license=('GPL')
url='http://mpv.io'
@ -26,23 +26,14 @@ optdepends=('youtube-dl: for video-sharing websites playback')
options=('!emptydirs' '!buildflags')
install=mpv.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz"
"http://www.freehackers.org/~tnagy/release/waf-${_waf_version}"
'mpv-x11-do-not-set-set-_NET_WM_BYPASS_COMPOSITOR-by-default.patch::https://github.com/mpv-player/mpv/commit/2720e60ad00ff7cce1d80724bbd4b2b981748195.patch')
sha256sums=('fc3619de0ede16fbb023ac72589090e8e77fd9d9e03a81adc728105d50ef38ba'
'01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b'
'eb44faeddb707d2cee26eb844876e4594277e46454393defe6f6608f9a4362e5')
"http://www.freehackers.org/~tnagy/release/waf-${_waf_version}")
sha256sums=('602cd2b0f5fc7e43473234fbb96e3f7bbb6418f15eb8fa720d9433cce31eba6e'
'01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b')
prepare() {
cd ${pkgname}-${pkgver}
install -m755 "${srcdir}"/waf-${_waf_version} waf
# https://bugs.archlinux.org/task/48762
# https://github.com/mpv-player/mpv/issues/2997
# https://github.com/mpv-player/mpv/commit/2720e60ad00ff7cce1d80724bbd4b2b981748195
patch -Np1 < "${srcdir}"/mpv-x11-do-not-set-set-_NET_WM_BYPASS_COMPOSITOR-by-default.patch
./bootstrap.py
}
build() {