wok view mpv/receipt @ rev 21713
get-LibreOffice: fix menu entries (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 09 11:37:02 2019 +0200 (2019-06-09) |
parents | 6e8b1bcb30e2 |
children | c4618b9beef0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mpv"
4 VERSION="0.29.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Video player based on ffmpeg and mplayer2."
7 MAINTAINER="devel@slitaz.org"
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 WAFTOOL="waf-1.8.12"
14 EXTRA_SOURCE_FILES="$WAFTOOL"
16 DEPENDS="alsa-lib bzlib ffmpeg glib glibc-base gmp lame lcms libdrm \
17 libegl-mesa libjpeg liblzma libpng libsdl libtasn1 libtinfo \
18 libv4l libxcb libxml2 lua mesa nettle pcre udev xorg-libX11 \
19 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext \
20 xorg-libXxf86vm xorg-libXfixes xorg-libXinerama \
21 xorg-libXrandr xorg-libXrender xorg-libXv zlib"
22 BUILD_DEPENDS="alsa-lib-dev bzlib cacerts ffmpeg-compat-dev ffmpeg-dev \
23 file glib-dev glibc-dev gmp-dev jpeg-dev lame-dev lcms2-dev \
24 libdrm-dev libegl-mesa libguess liblzma-dev libpng-dev \
25 libsdl-dev libtasn1-dev libtinfo libv4l-dev libxcb-dev \
26 libxml2-dev mesa-dev nettle-dev openssl pcre-dev pkg-config \
27 udev-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev \
28 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev \
29 xorg-libXinerama-dev xorg-libXrandr-dev xorg-libXrender-dev \
30 xorg-libXv-dev xorg-libXxf86vm-dev yasm zlib-dev"
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 [ -s $SOURCES_REPOSITORY/$WAFTOOL ] || wget -P $SOURCES_REPOSITORY \
36 http://www.freehackers.org/~tnagy/release/$WAFTOOL
37 install -m 755 $SOURCES_REPOSITORY/$WAFTOOL waf
38 ./bootstrap.py
39 ./waf configure \
40 --prefix=/usr \
41 --confdir=/etc/mpv \
42 --disable-debug \
43 --disable-debug-build \
44 --disable-gl \
45 --disable-oss-audio \
46 --disable-manpage-build \
47 --disable-libass &&
48 ./waf build &&
49 ./waf install --destdir=$DESTDIR
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 # mkdir $install/etc
56 # mkdir $install/etc/mpv
57 cp $WOK/$PACKAGE/source/$PACKAGE-$VERSION/etc/*.conf \
58 $install/etc/mpv
59 cp -a $install/* $fs
60 }