blob: ceb73d8a10d38791542e3c1cc51b2535532eb140 (
plain) (
tree)
|
|
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=mpv
pkgver=0.33.1
pkgrel=0
pkgdesc="An improved fork of mplayer"
url="https://mpv.io"
arch="all"
options="!check" # No test suite.
license="LGPL-2.1+ AND GPL-2.0+ AND ISC AND BSD-2-Clause AND MIT AND BSD-3-Clause"
depends=""
makedepends="python3
zlib-dev libarchive-dev py3-docutils uchardet-dev ncurses-dev
alsa-lib-dev pulseaudio-dev
libx11-dev libxext-dev libxinerama-dev libxrandr-dev libxscrnsaver-dev
mesa-dev libva-dev lcms2-dev libvdpau-dev
ffmpeg-dev libbluray-dev v4l-utils-dev libass-dev libdvdread-dev
libdvdnav-dev libcdio-dev libcdio-paranoia-dev rubberband-dev
"
subpackages="$pkgname-doc"
source="mpv-$pkgver.tar.gz::https://github.com/mpv-player/mpv/archive/v$pkgver.tar.gz"
build() {
python3 ./bootstrap.py
python3 ./waf configure \
--prefix=/usr \
--sysconfdir=/etc \
--destdir="$pkgdir" \
--disable-lua \
--disable-javascript \
--disable-wayland \
--disable-gl-wayland \
--enable-dvdnav \
--enable-cdda
python3 ./waf build
}
package() {
python3 ./waf install --destdir="$pkgdir"
}
sha512sums="99d6c40d18c5cf83814b44ec6d8eade229800c5b51a734c9bbe831c3aeb95f8931124c94f6ae2360ffff62053c163bc3c55b254df021e005b350ebc3df7e952b mpv-0.33.1.tar.gz"
|