wok-6.x annotate mpv/receipt @ rev 22309
updated xscreensaver (5.32 -> 5.43)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 14 09:33:30 2019 +0100 (2019-11-14) |
parents | 6e8b1bcb30e2 |
children | c4618b9beef0 |
rev | line source |
---|---|
psychomaniak@17703 | 1 # SliTaz package receipt. |
psychomaniak@17703 | 2 |
psychomaniak@17703 | 3 PACKAGE="mpv" |
Hans-G?nter@21622 | 4 VERSION="0.29.1" |
psychomaniak@17703 | 5 CATEGORY="multimedia" |
Hans-G?nter@21622 | 6 SHORT_DESC="Video player based on ffmpeg and mplayer2." |
pascal@19806 | 7 MAINTAINER="devel@slitaz.org" |
psychomaniak@17703 | 8 LICENSE="GPL2" |
Hans-G?nter@21622 | 9 WEB_SITE="https://mpv.io" |
Hans-G?nter@21622 | 10 |
psychomaniak@17703 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@17703 | 12 WGET_URL="https://github.com/mpv-player/mpv/archive/v$VERSION.tar.gz" |
pascal@19662 | 13 WAFTOOL="waf-1.8.12" |
pascal@19145 | 14 EXTRA_SOURCE_FILES="$WAFTOOL" |
psychomaniak@17703 | 15 |
Hans-G?nter@21622 | 16 DEPENDS="alsa-lib bzlib ffmpeg glib glibc-base gmp lame lcms libdrm \ |
Hans-G?nter@21622 | 17 libegl-mesa libjpeg liblzma libpng libsdl libtasn1 libtinfo \ |
Hans-G?nter@21622 | 18 libv4l libxcb libxml2 lua mesa nettle pcre udev xorg-libX11 \ |
Hans-G?nter@21622 | 19 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext \ |
Hans-G?nter@21622 | 20 xorg-libXxf86vm xorg-libXfixes xorg-libXinerama \ |
Hans-G?nter@21622 | 21 xorg-libXrandr xorg-libXrender xorg-libXv zlib" |
Hans-G?nter@21622 | 22 BUILD_DEPENDS="alsa-lib-dev bzlib cacerts ffmpeg-compat-dev ffmpeg-dev \ |
Hans-G?nter@21622 | 23 file glib-dev glibc-dev gmp-dev jpeg-dev lame-dev lcms2-dev \ |
Hans-G?nter@21622 | 24 libdrm-dev libegl-mesa libguess liblzma-dev libpng-dev \ |
Hans-G?nter@21622 | 25 libsdl-dev libtasn1-dev libtinfo libv4l-dev libxcb-dev \ |
Hans-G?nter@21622 | 26 libxml2-dev mesa-dev nettle-dev openssl pcre-dev pkg-config \ |
Hans-G?nter@21622 | 27 udev-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev \ |
Hans-G?nter@21622 | 28 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev \ |
Hans-G?nter@21622 | 29 xorg-libXinerama-dev xorg-libXrandr-dev xorg-libXrender-dev \ |
Hans-G?nter@21622 | 30 xorg-libXv-dev xorg-libXxf86vm-dev yasm zlib-dev" |
psychomaniak@17703 | 31 |
psychomaniak@17703 | 32 # Rules to configure and make the package. |
psychomaniak@17703 | 33 compile_rules() |
psychomaniak@17703 | 34 { |
pascal@19145 | 35 [ -s $SOURCES_REPOSITORY/$WAFTOOL ] || wget -P $SOURCES_REPOSITORY \ |
pascal@19145 | 36 http://www.freehackers.org/~tnagy/release/$WAFTOOL |
pascal@19145 | 37 install -m 755 $SOURCES_REPOSITORY/$WAFTOOL waf |
psychomaniak@17703 | 38 ./bootstrap.py |
Hans-G?nter@21622 | 39 ./waf configure \ |
Hans-G?nter@21622 | 40 --prefix=/usr \ |
Hans-G?nter@21622 | 41 --confdir=/etc/mpv \ |
Hans-G?nter@21622 | 42 --disable-debug \ |
Hans-G?nter@21622 | 43 --disable-debug-build \ |
Hans-G?nter@21622 | 44 --disable-gl \ |
Hans-G?nter@21622 | 45 --disable-oss-audio \ |
Hans-G?nter@21622 | 46 --disable-manpage-build \ |
Hans-G?nter@21622 | 47 --disable-libass && |
Hans-G?nter@21622 | 48 ./waf build && |
psychomaniak@17703 | 49 ./waf install --destdir=$DESTDIR |
psychomaniak@17703 | 50 } |
psychomaniak@17703 | 51 |
psychomaniak@17703 | 52 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@17703 | 53 genpkg_rules() |
psychomaniak@17703 | 54 { |
Hans-G?nter@21622 | 55 # mkdir $install/etc |
Hans-G?nter@21622 | 56 # mkdir $install/etc/mpv |
Hans-G?nter@21622 | 57 cp $WOK/$PACKAGE/source/$PACKAGE-$VERSION/etc/*.conf \ |
Hans-G?nter@21622 | 58 $install/etc/mpv |
Hans-G?nter@21622 | 59 cp -a $install/* $fs |
psychomaniak@17703 | 60 } |