wok-6.x diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mpv/receipt	Sun Mar 01 19:50:04 2015 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mpv"
     1.7 +VERSION="0.8.2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Video player based on ffmpeg & mplayer2"
    1.10 +MAINTAINER="psychomaniak@xakep.ru"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://mpv.io"
    1.14 +WGET_URL="https://github.com/mpv-player/mpv/archive/v$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="xorg-server xorg-libXv xorg-libXinerama xorg-libXss util-linux-uuid \
    1.17 +alsa-lib fribidi libass lua ffmpeg"
    1.18 +BUILD_DEPENDS="wget xorg-dev xorg-libXv-dev xorg-libXss-dev lua-dev ffmpeg-dev \
    1.19 +fribidi-dev libass-dev alsa-lib-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	./bootstrap.py
    1.25 +	./waf configure \
    1.26 +		--prefix=/usr \
    1.27 +		--confdir=/etc/mpv \
    1.28 +		--enable-libmpv-shared
    1.29 +	./waf build
    1.30 +	./waf install --destdir=$DESTDIR
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	cp -a $install/* $fs
    1.37 +}