wok-next view mpv/receipt @ rev 20517

nanochess: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 22 21:52:45 2018 +0100 (2018-03-22)
parents ea3c4b76ea5d
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="mpv"
4 VERSION="0.8.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Video player based on ffmpeg & mplayer2"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://mpv.io"
11 WGET_URL="https://github.com/mpv-player/mpv/archive/v$VERSION.tar.gz"
12 WAFTOOL="waf-1.8.4"
13 EXTRA_SOURCE_FILES="$WAFTOOL"
15 DEPENDS="xorg-server xorg-libXv xorg-libXinerama xorg-libXScrnSaver util-linux-uuid \
16 alsa-lib enca fribidi libass lua ffmpeg"
17 BUILD_DEPENDS="xorg-dev xorg-libXv-dev xorg-libXScrnSaver-dev lua-dev ffmpeg-dev \
18 enca-dev fribidi-dev libass-dev alsa-lib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 [ -s $SRC/$WAFTOOL ] || wget -P $SRC \
24 http://www.freehackers.org/~tnagy/release/$WAFTOOL
25 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=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }