diff options
author | Daniel Bermond | 2019-11-03 13:43:25 +0000 |
---|---|---|
committer | Daniel Bermond | 2019-11-03 13:43:25 +0000 |
commit | 329ab7f9837df537b10119fffae692b6904209e0 (patch) | |
tree | f6bc1d5586104631c74dbfaa71845efb1a09c595 | |
parent | 2e07d8f962b326a7f2d90423ed4f46b2a4b2d9dd (diff) | |
download | aur-329ab7f9837df537b10119fffae692b6904209e0.tar.gz |
Add sdl options. Add lua scripts to package.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 16 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = mpv-full-git pkgdesc = A free, open source, and cross-platform media player (git version with all possible libs) - pkgver = 0.29.1.r764.gc833c095d7 + pkgver = 0.30.0.r87.g67e17f1104 pkgrel = 1 url = https://mpv.io/ arch = x86_64 @@ -28,6 +28,7 @@ pkgbase = mpv-full-git depends = hicolor-icon-theme depends = xdg-utils depends = lua52 + depends = mujs depends = libdvdnav depends = libxrandr depends = jack @@ -43,7 +44,6 @@ pkgbase = mpv-full-git depends = shaderc depends = libplacebo depends = zimg - depends = mujs depends = rsound depends = spirv-cross optdepends = youtube-dl: for video-sharing websites playback @@ -1,7 +1,7 @@ -# Maintainer: Daniel Bermond < gmail-com: danielbermond > +# Maintainer: Daniel Bermond <dbermond@archlinux.org> pkgname=mpv-full-git -pkgver=0.29.1.r764.gc833c095d7 +pkgver=0.30.0.r87.g67e17f1104 pkgrel=1 pkgdesc='A free, open source, and cross-platform media player (git version with all possible libs)' arch=('x86_64') @@ -11,12 +11,12 @@ depends=( # official repositories: 'cmocka' 'ffmpeg' 'lcms2' 'libcdio-paranoia' 'libgl' 'libxss' 'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'wayland' 'libcaca' - 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua52' 'libdvdnav' - 'libxrandr' 'jack' 'rubberband' 'uchardet' 'libarchive' 'smbclient' - 'zlib' 'vapoursynth' 'sndio' 'openal' 'vulkan-icd-loader' 'shaderc' - 'libplacebo' 'zimg' + 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua52' 'mujs' + 'libdvdnav' 'libxrandr' 'jack' 'rubberband' 'uchardet' 'libarchive' + 'smbclient' 'zlib' 'vapoursynth' 'sndio' 'openal' 'vulkan-icd-loader' + 'shaderc' 'libplacebo' 'zimg' # AUR: - 'mujs' 'rsound' 'spirv-cross' + 'rsound' 'spirv-cross' ) makedepends=('git' 'mesa' 'python-docutils' 'ladspa' 'vulkan-headers' 'wayland-protocols' 'ffnvcodec-headers') @@ -30,7 +30,6 @@ sha256sums=('SKIP') prepare() { cd mpv - ./bootstrap.py } @@ -94,10 +93,13 @@ build() { --enable-vapoursynth \ --enable-libarchive \ --enable-dvbin \ + --enable-sdl2 \ + --enable-sdl2-gamepad \ --enable-libavdevice \ + --disable-ffmpeg-strict-abi \ --lua='52arch' \ \ - --enable-sdl2 \ + --enable-sdl2-audio \ --enable-oss-audio \ --enable-rsound \ --enable-sndio \ @@ -110,6 +112,7 @@ build() { --disable-audiounit \ --disable-wasapi \ \ + --enable-sdl2-video \ --disable-cocoa \ --enable-drm \ --enable-drmprime \ @@ -181,5 +184,6 @@ package() { ./waf install --destdir="$pkgdir" - install -m644 DOCS/{encoding.rst,tech-overview.txt} "${pkgdir}/usr/share/doc/mpv" + install -D -m644 DOCS/{encoding.rst,tech-overview.txt} "${pkgdir}/usr/share/doc/mpv" + install -D -m644 TOOLS/lua/* -t "${pkgdir}/usr/share/mpv/script" } |