wok-6.x view mpv/receipt @ rev 17703
Add mpv
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Mar 01 19:50:04 2015 +0100 (2015-03-01) |
parents | |
children | 0809d6ddb06f |
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"
13 DEPENDS="xorg-server xorg-libXv xorg-libXinerama xorg-libXss util-linux-uuid \
14 alsa-lib fribidi libass lua ffmpeg"
15 BUILD_DEPENDS="wget xorg-dev xorg-libXv-dev xorg-libXss-dev lua-dev ffmpeg-dev \
16 fribidi-dev libass-dev alsa-lib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./bootstrap.py
22 ./waf configure \
23 --prefix=/usr \
24 --confdir=/etc/mpv \
25 --enable-libmpv-shared
26 ./waf build
27 ./waf install --destdir=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }