wok-next view mpv/receipt @ rev 21117
exo: split "libpkg - pkg - pkg-dev", update in dependent packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 14 00:27:10 2019 +0200 (2019-01-14) |
parents | d457c4e37c1b |
children | 339809046c39 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mpv"
4 VERSION="0.8.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Video player based on ffmpeg & mplayer2"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://mpv.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/mpv-player/mpv/archive/v$VERSION.tar.gz"
13 EXTRA_SOURCE_FILES="$WAFTOOL"
15 BUILD_DEPENDS="xorg-dev libxv-dev libxscrnsaver-dev lua-dev \
16 ffmpeg-dev enca-dev fribidi-dev libass-dev alsa-lib-dev"
18 compile_rules() {
19 WAFTOOL="waf-1.8.4"
21 [ -s $SRC/$WAFTOOL ] || wget -P $SRC \
22 http://www.freehackers.org/~tnagy/release/$WAFTOOL
23 install -m 755 $SRC/$WAFTOOL waf
25 ./bootstrap.py
26 ./waf configure \
27 --prefix=/usr \
28 --confdir=/etc/mpv
29 # --enable-libmpv-shared
30 ./waf build
31 ./waf install --destdir=$install
32 }
34 genpkg_rules() {
35 cp -a $install/* $fs
36 DEPENDS="xorg-server libxv libxinerama libxscrnsaver \
37 util-linux-uuid alsa-lib enca fribidi libass lua ffmpeg"
38 }