wok-next rev 21378
updated mpv (0.8.2 -> 0.32.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 14:54:53 2020 +0100 (2020-04-16) |
parents | 290f11b09d41 |
children | 80df7872382e |
files | mpv/receipt |
line diff
1.1 --- a/mpv/receipt Thu Apr 16 14:36:04 2020 +0100 1.2 +++ b/mpv/receipt Thu Apr 16 14:54:53 2020 +0100 1.3 @@ -1,9 +1,9 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mpv" 1.7 -VERSION="0.8.2" 1.8 +VERSION="0.32.0" 1.9 CATEGORY="multimedia" 1.10 -SHORT_DESC="Video player based on ffmpeg & mplayer2" 1.11 +SHORT_DESC="Video player based on ffmpeg and mplayer2" 1.12 MAINTAINER="psychomaniak@xakep.ru" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="https://mpv.io/" 1.15 @@ -12,27 +12,30 @@ 1.16 WGET_URL="https://github.com/mpv-player/mpv/archive/v$VERSION.tar.gz" 1.17 EXTRA_SOURCE_FILES="$WAFTOOL" 1.18 1.19 -BUILD_DEPENDS="xorg-dev libxv-dev libxscrnsaver-dev lua-dev \ 1.20 -ffmpeg-dev enca-dev fribidi-dev libass-dev alsa-lib-dev" 1.21 +BUILD_DEPENDS="alsa-lib-dev enca-dev ffmpeg-dev fribidi-dev libass-dev 1.22 + libxscrnsaver-dev libxv-dev lua-dev xorg-dev" 1.23 1.24 -compile_rules() { 1.25 +compile_rules() 1.26 +{ 1.27 WAFTOOL="waf-1.8.4" 1.28 1.29 [ -s $SRC/$WAFTOOL ] || wget -P $SRC \ 1.30 http://www.freehackers.org/~tnagy/release/$WAFTOOL 1.31 install -m 755 $SRC/$WAFTOOL waf 1.32 1.33 - ./bootstrap.py 1.34 - ./waf configure \ 1.35 - --prefix=/usr \ 1.36 - --confdir=/etc/mpv 1.37 + ./bootstrap.py && 1.38 + ./waf configure \ 1.39 + --prefix=/usr \ 1.40 + --confdir=/etc/mpv && 1.41 # --enable-libmpv-shared 1.42 - ./waf build 1.43 + ./waf build && 1.44 ./waf install --destdir=$install 1.45 } 1.46 1.47 -genpkg_rules() { 1.48 - cp -a $install/* $fs 1.49 - DEPENDS="xorg-server libxv libxinerama libxscrnsaver \ 1.50 - util-linux-uuid alsa-lib enca fribidi libass lua ffmpeg" 1.51 +genpkg_rules() 1.52 +{ 1.53 + cp -a $install/* $fs 1.54 + 1.55 + DEPENDS="alsa-lib enca ffmpeg fribidi libass libxinerama 1.56 + libxscrnsaver libxv lua util-linux-uuid xorg-server" 1.57 }