wok view mpv/receipt @ rev 19776
mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 21 19:42:12 2017 +0100 (2017-02-21) |
parents | b05fba2ec312 |
children | 323caf6ae266 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mpv"
4 VERSION="0.17.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Video player based on ffmpeg & mplayer2"
7 MAINTAINER="jurijlunjov@yandex.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.12"
13 EXTRA_SOURCE_FILES="$WAFTOOL"
15 DEPENDS="xorg-server xorg-libXv xorg-libXinerama xorg-libXss util-linux-uuid \
16 libarchive alsa-lib enca fribidi lua ffmpeg openal"
17 BUILD_DEPENDS="wget xorg-dev xorg-libXv-dev xorg-libXss-dev lua-dev ffmpeg-dev \
18 libarchive-dev enca-dev fribidi-dev alsa-lib-dev openal-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 [ -s $SOURCES_REPOSITORY/$WAFTOOL ] || wget -P $SOURCES_REPOSITORY \
24 http://www.freehackers.org/~tnagy/release/$WAFTOOL
25 install -m 755 $SOURCES_REPOSITORY/$WAFTOOL waf
26 ./bootstrap.py
27 ./waf configure \
28 --prefix=/usr \
29 --confdir=/etc/mpv \
30 --enable-openal \
31 --enable-zsh-comp \
32 --disable-debug \
33 --enable-libarchive \
34 --disable-oss-audio \
35 --disable-libass \
36 --enable-libmpv-shared
38 ./waf build
39 ./waf install --destdir=$DESTDIR
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cp -a $install/* $fs
46 }