aboutsummaryrefslogtreecommitdiffstats
path: root/mpv-nowayland/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mpv-nowayland/PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/mpv-nowayland/PKGBUILD b/mpv-nowayland/PKGBUILD
index 8c2efe2..9fdaa26 100644
--- a/mpv-nowayland/PKGBUILD
+++ b/mpv-nowayland/PKGBUILD
@@ -6,9 +6,10 @@
_pkgname=mpv
pkgname=mpv-nowayland
epoch=1
-pkgver=0.14.0
+pkgver=0.22.0
pkgrel=1
-pkgdesc='Video player based on MPlayer/mplayer2'
+_waf_version=1.8.12
+pkgdesc='A free, open source, and cross-platform media player'
arch=('i686' 'x86_64')
license=('GPL')
url='http://mpv.io'
@@ -16,21 +17,22 @@ depends=(
'ffmpeg' 'lcms2' 'libcdio-paranoia' 'libgl' 'enca' 'libxss'
'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'libcaca'
'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua52' 'libdvdnav'
- 'libguess' 'libxrandr' 'jack' 'smbclient' 'rubberband'
+ 'libxrandr' 'jack' 'smbclient' 'rubberband'
)
makedepends=('mesa' 'python-docutils' 'ladspa' 'hardening-wrapper')
optdepends=('youtube-dl: for video-sharing websites playback')
options=('!emptydirs' '!buildflags')
conflicts=("$_pkgname")
provides=("$_pkgname=$pkgver")
-install=mpv.install
-source=("$_pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$_pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('042937f483603f0c3d1dec11e8f0045e8c27f19eee46ea64d81a3cdf01e51233')
+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}")
+sha256sums=('c0f9ac8f0e37a391d19007b333ef8787c2f45d75a0d4401c0098cde52c5082f6'
+ '01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b')
prepare() {
cd ${_pkgname}-${pkgver}
- ./bootstrap.py
+ install -m755 "${srcdir}"/waf-${_waf_version} waf
}
build() {
@@ -38,9 +40,10 @@ build() {
./waf configure --prefix=/usr \
--confdir=/etc/mpv \
- --enable-zsh-comp \
- --enable-libmpv-shared \
--enable-cdda \
+ --enable-encoding \
+ --enable-libmpv-shared \
+ --enable-zsh-comp \
--disable-wayland \
--disable-gl-wayland