diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-29 20:11:24 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-07 16:46:16 +0000 |
commit | 8b9b0cc1b083c2f6d722a73ac3b01c8eef8b16f4 (patch) | |
tree | efea83db44e704bdf6728d29a20cbfd4753e1193 /community/mpv/APKBUILD | |
parent | 500e1e99f84d772ac0a32c62960bd029a7fcf16c (diff) | |
download | aports-8b9b0cc1b083c2f6d722a73ac3b01c8eef8b16f4.tar.bz2 aports-8b9b0cc1b083c2f6d722a73ac3b01c8eef8b16f4.tar.xz |
community/mpv: upgrade to 0.29.1
Also enables the Wayland backend
Diffstat (limited to 'community/mpv/APKBUILD')
-rw-r--r-- | community/mpv/APKBUILD | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/community/mpv/APKBUILD b/community/mpv/APKBUILD index b7f78291b4..e381750205 100644 --- a/community/mpv/APKBUILD +++ b/community/mpv/APKBUILD @@ -4,8 +4,8 @@ # Contributor: Jakub Skrzypnik <j.skrzypnik@openmailbox.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mpv -pkgver=0.27.2 -pkgrel=2 +pkgver=0.29.1 +pkgrel=0 pkgdesc="Video player based on MPlayer/mplayer2" url="https://mpv.io/" arch="all" @@ -14,15 +14,14 @@ makedepends="libxxf86dga-dev libxv-dev libmad-dev lame-dev libao-dev libtheora-dev xvidcore-dev zlib-dev sdl-dev freetype-dev x264-dev faac-dev ttf-dejavu libxvmc-dev alsa-lib-dev libva-dev mesa-dev ffmpeg-dev libass-dev perl lua5.2-dev libvdpau-dev python2 - libxext-dev libxinerama-dev libxscrnsaver-dev py-docutils libxrandr-dev" + libxext-dev libxinerama-dev libxscrnsaver-dev py-docutils libxrandr-dev + wayland-dev cmocka-dev" subpackages=" $pkgname-doc $pkgname-libs $pkgname-zsh-completion:zshcomp:noarch" options="net" # downloads a waf tarball -source="$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz - fix-libva2.patch - " +source="$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" # secfixes: @@ -45,10 +44,16 @@ build() { --enable-alsa \ --enable-libass \ --enable-libmpv-shared \ - --enable-zsh-comp + --enable-zsh-comp \ + --enable-test ./waf build } +check() { + cd "$builddir" + find build/test/ -perm -111 -exec '{}' ';' +} + package() { cd "$builddir" @@ -73,5 +78,4 @@ zshcomp() { "$subpkgdir/usr/share/zsh/site-functions" } -sha512sums="bf74a150b3732b8c233362e0902c54f85fbea9ca1765a2a8f946a6eecd9b37a72ede36a36d0dd98a770539c4f81fe24c8ce26be9db7cd6eddd8514a8f82d9cda mpv-0.27.2.tar.gz -43e89cf7e939cc30c4a70172f06d652005a251350dfc9335d51dde981f177b656bf3cf8f3eaa1a2b19fc563e9a09f6e32843eff2105fab7e3d9e10f3b2245f84 fix-libva2.patch" +sha512sums="ec57c9ceaaf2915ee237dd5a1c5ea5d22725d8611e28a9b998e5bb0d8ab5bdf3631d0267fc7b54da31cb1eaa145ef35841e68846bd41c3b9e1024902e92fd086 mpv-0.29.1.tar.gz" |