wok annotate mpv/receipt @ rev 19244

Add swagger-py & ari-py
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 28 15:10:47 2016 +0200 (2016-06-28)
parents 0809d6ddb06f
children b05fba2ec312
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"
pascal@19145 12 WAFTOOL="waf-1.8.4"
pascal@19145 13 EXTRA_SOURCE_FILES="$WAFTOOL"
psychomaniak@17703 14
psychomaniak@17703 15 DEPENDS="xorg-server xorg-libXv xorg-libXinerama xorg-libXss util-linux-uuid \
psychomaniak@17704 16 alsa-lib enca fribidi libass lua ffmpeg"
psychomaniak@17703 17 BUILD_DEPENDS="wget xorg-dev xorg-libXv-dev xorg-libXss-dev lua-dev ffmpeg-dev \
psychomaniak@17704 18 enca-dev fribidi-dev libass-dev alsa-lib-dev"
psychomaniak@17703 19
psychomaniak@17703 20 # Rules to configure and make the package.
psychomaniak@17703 21 compile_rules()
psychomaniak@17703 22 {
pascal@19145 23 [ -s $SOURCES_REPOSITORY/$WAFTOOL ] || wget -P $SOURCES_REPOSITORY \
pascal@19145 24 http://www.freehackers.org/~tnagy/release/$WAFTOOL
pascal@19145 25 install -m 755 $SOURCES_REPOSITORY/$WAFTOOL waf
psychomaniak@17703 26 ./bootstrap.py
psychomaniak@17703 27 ./waf configure \
psychomaniak@17703 28 --prefix=/usr \
psychomaniak@17704 29 --confdir=/etc/mpv
psychomaniak@17704 30 # --enable-libmpv-shared
psychomaniak@17703 31 ./waf build
psychomaniak@17703 32 ./waf install --destdir=$DESTDIR
psychomaniak@17703 33 }
psychomaniak@17703 34
psychomaniak@17703 35 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@17703 36 genpkg_rules()
psychomaniak@17703 37 {
psychomaniak@17703 38 cp -a $install/* $fs
psychomaniak@17703 39 }