mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/mpv to 0.9.1-2
This commit is contained in:
parent
41618d2481
commit
b55e53d5ce
2 changed files with 21 additions and 5 deletions
13
community/mpv/0001-mpv-lua52.patch
Normal file
13
community/mpv/0001-mpv-lua52.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py
|
||||
index 97c65e3..de38fc5 100644
|
||||
--- a/waftools/checks/custom.py
|
||||
+++ b/waftools/checks/custom.py
|
||||
@@ -54,7 +54,7 @@ def check_lua(ctx, dependency_identifier):
|
||||
( '51', 'lua >= 5.1.0 lua < 5.2.0'),
|
||||
( '51deb', 'lua5.1 >= 5.1.0'), # debian
|
||||
( '51fbsd', 'lua-5.1 >= 5.1.0'), # FreeBSD
|
||||
- ( '52', 'lua >= 5.2.0 lua < 5.3.0' ),
|
||||
+ ( '52', 'lua52 >= 5.2.0 lua52 < 5.3.0' ),
|
||||
( '52deb', 'lua5.2 >= 5.2.0'), # debian
|
||||
( '52fbsd', 'lua-5.2 >= 5.2.0'), # FreeBSD
|
||||
( 'luajit', 'luajit >= 2.0.0' ),
|
|
@ -7,26 +7,29 @@
|
|||
|
||||
pkgname=mpv
|
||||
pkgver=0.9.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Video player based on MPlayer/mplayer2'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
url='http://mpv.io'
|
||||
depends=(
|
||||
'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libgl' 'enca' 'libguess'
|
||||
'ffmpeg' 'lcms2' 'libcdio-paranoia' 'libgl' 'enca'
|
||||
'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'wayland'
|
||||
'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 'libdvdnav'
|
||||
'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua52' 'libdvdnav'
|
||||
'libguess' 'libxrandr' 'jack' 'smbclient' 'rubberband'
|
||||
)
|
||||
makedepends=('mesa' 'python-docutils' 'ladspa' 'hardening-wrapper')
|
||||
optdepends=('youtube-dl: for video-sharing websites playback')
|
||||
options=('!emptydirs' '!buildflags')
|
||||
install=mpv.install
|
||||
source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz)
|
||||
md5sums=('c766cf3d6a7eb82a74564c47fa14d4a5')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz"
|
||||
'0001-mpv-lua52.patch')
|
||||
md5sums=('c766cf3d6a7eb82a74564c47fa14d4a5'
|
||||
'cb4fdc39561bf11fefd2b93769c91fec')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
patch -Np1 < $srcdir/0001-mpv-lua52.patch
|
||||
./bootstrap.py
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue