wok-current annotate mpv/receipt @ rev 19662
Up ffmpeg (2.8.10), mpv (0.17.0) thanks I-Jurij
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 30 18:07:40 2017 +0100 (2017-01-30) |
parents | b1d8295f3bea |
children | 08427c08b07d |
rev | line source |
---|---|
psychomaniak@17703 | 1 # SliTaz package receipt. |
psychomaniak@17703 | 2 |
psychomaniak@17703 | 3 PACKAGE="mpv" |
pascal@19662 | 4 VERSION="0.17.0" |
psychomaniak@17703 | 5 CATEGORY="multimedia" |
psychomaniak@17703 | 6 SHORT_DESC="Video player based on ffmpeg & mplayer2" |
pascal@19662 | 7 MAINTAINER="jurijlunjov@yandex.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@19662 | 12 WAFTOOL="waf-1.8.12" |
pascal@19145 | 13 EXTRA_SOURCE_FILES="$WAFTOOL" |
psychomaniak@17703 | 14 |
pascal@19662 | 15 DEPENDS="xorg-server xorg-libXv xorg-libXinerama xorg-libXss util-linux-uuid libarchive \ |
pascal@19662 | 16 alsa-lib enca fribidi lua ffmpeg" |
pascal@19662 | 17 BUILD_DEPENDS="wget xorg-dev xorg-libXv-dev xorg-libXss-dev lua-dev ffmpeg-dev libarchive-dev \ |
pascal@19662 | 18 enca-dev fribidi-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 \ |
pascal@19662 | 29 --confdir=/etc/mpv \ |
pascal@19662 | 30 --enable-openal \ |
pascal@19662 | 31 --enable-zsh-comp \ |
pascal@19662 | 32 --disable-debug \ |
pascal@19662 | 33 --enable-libarchive \ |
pascal@19662 | 34 --disable-oss-audio \ |
pascal@19662 | 35 --disable-libass \ |
pascal@19662 | 36 --enable-libmpv-shared |
pascal@19662 | 37 |
psychomaniak@17703 | 38 ./waf build |
psychomaniak@17703 | 39 ./waf install --destdir=$DESTDIR |
psychomaniak@17703 | 40 } |
psychomaniak@17703 | 41 |
psychomaniak@17703 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@17703 | 43 genpkg_rules() |
psychomaniak@17703 | 44 { |
psychomaniak@17703 | 45 cp -a $install/* $fs |
psychomaniak@17703 | 46 } |