wok-next annotate mpv/receipt @ rev 18809
Up python-six (1.10.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Jan 14 19:18:43 2016 +0000 (2016-01-14) |
parents | 2396071f19ae |
children | b1d8295f3bea |
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@17704 | 14 alsa-lib enca fribidi libass lua ffmpeg" |
psychomaniak@17703 | 15 BUILD_DEPENDS="wget xorg-dev xorg-libXv-dev xorg-libXss-dev lua-dev ffmpeg-dev \ |
psychomaniak@17704 | 16 enca-dev 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@17704 | 24 --confdir=/etc/mpv |
psychomaniak@17704 | 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 } |