wok-next view mpv/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mpv"
4 VERSION="0.32.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Video player based on ffmpeg and mplayer2"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://mpv.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/mpv-player/mpv/archive/v$VERSION.tar.gz"
13 EXTRA_SOURCE_FILES="$WAFTOOL"
15 BUILD_DEPENDS="alsa-lib-dev enca-dev ffmpeg-dev fribidi-dev libass-dev
16 libxscrnsaver-dev libxv-dev lua-dev xorg-dev"
18 compile_rules()
19 {
20 WAFTOOL="waf-1.8.4"
22 [ -s $SRC/$WAFTOOL ] || wget -P $SRC \
23 http://www.freehackers.org/~tnagy/release/$WAFTOOL
24 install -m 755 $SRC/$WAFTOOL waf
26 ./bootstrap.py &&
27 ./waf configure \
28 --prefix=/usr \
29 --confdir=/etc/mpv &&
30 # --enable-libmpv-shared
31 ./waf build &&
32 ./waf install --destdir=$install
33 }
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
39 DEPENDS="alsa-lib enca ffmpeg fribidi libass libxinerama
40 libxscrnsaver libxv lua util-linux-uuid xorg-server"
41 }