wok-current annotate 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 |
rev | line source |
---|---|
psychomaniak@17703 | 1 # SliTaz package receipt. |
psychomaniak@17703 | 2 |
psychomaniak@17703 | 3 PACKAGE="mpv" |
psychomaniak@17703 | 4 VERSION="0.8.2" |
psychomaniak@17703 | 5 CATEGORY="multimedia" |
psychomaniak@17703 | 6 SHORT_DESC="Video player based on ffmpeg & mplayer2" |
psychomaniak@17703 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@17703 | 8 LICENSE="GPL2" |
psychomaniak@17703 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@17703 | 10 WEB_SITE="http://mpv.io" |
psychomaniak@17703 | 11 WGET_URL="https://github.com/mpv-player/mpv/archive/v$VERSION.tar.gz" |
psychomaniak@17703 | 12 |
psychomaniak@17703 | 13 DEPENDS="xorg-server xorg-libXv xorg-libXinerama xorg-libXss util-linux-uuid \ |
psychomaniak@17703 | 14 alsa-lib fribidi libass lua ffmpeg" |
psychomaniak@17703 | 15 BUILD_DEPENDS="wget xorg-dev xorg-libXv-dev xorg-libXss-dev lua-dev ffmpeg-dev \ |
psychomaniak@17703 | 16 fribidi-dev libass-dev alsa-lib-dev" |
psychomaniak@17703 | 17 |
psychomaniak@17703 | 18 # Rules to configure and make the package. |
psychomaniak@17703 | 19 compile_rules() |
psychomaniak@17703 | 20 { |
psychomaniak@17703 | 21 ./bootstrap.py |
psychomaniak@17703 | 22 ./waf configure \ |
psychomaniak@17703 | 23 --prefix=/usr \ |
psychomaniak@17703 | 24 --confdir=/etc/mpv \ |
psychomaniak@17703 | 25 --enable-libmpv-shared |
psychomaniak@17703 | 26 ./waf build |
psychomaniak@17703 | 27 ./waf install --destdir=$DESTDIR |
psychomaniak@17703 | 28 } |
psychomaniak@17703 | 29 |
psychomaniak@17703 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@17703 | 31 genpkg_rules() |
psychomaniak@17703 | 32 { |
psychomaniak@17703 | 33 cp -a $install/* $fs |
psychomaniak@17703 | 34 } |