From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/mpv/mpv.xibuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 repo/mpv/mpv.xibuild (limited to 'repo/mpv/mpv.xibuild') diff --git a/repo/mpv/mpv.xibuild b/repo/mpv/mpv.xibuild new file mode 100644 index 0000000..6770c54 --- /dev/null +++ b/repo/mpv/mpv.xibuild @@ -0,0 +1,33 @@ +#!/bin/sh + +NAME="mpv" +DESC="Video player based on MPlayer/mplayer2" + +MAKEDEPS="make waf" +DEPS="alsa-lib faac ffmpeg4 freetype2 lame aom libass libtheora libva libvdpau libxext libxinerama libxkbcommon libxrandr libxscrnsaver libxv libxvmc libxxf86dga lua mesa perl pulseaudio python-docutils python xvidcore zlib " + +PKG_VER=0.34.1 +SOURCE="https://github.com/mpv-player/mpv/archive/v$PKG_VER/mpv-$PKG_VER.tar.gz" + +prepare () { + ln -s /usr/bin/waf waf +} + +build () { + python3 waf configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static \ + --enable-alsa \ + --enable-pulse \ + --enable-libmpv-shared \ + --enable-wayland \ + --enable-lua \ + --enable-test + python3 waf build +} + +package () { + python3 waf install --destdir=$PKG_DEST +} -- cgit v1.2.1