PKGBUILDs/mxe-plugins/notwa/mpv.mk

31 lines
1.1 KiB
Makefile
Raw Normal View History

2018-02-20 10:35:15 -08:00
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := mpv
$(PKG)_WEBSITE := https://mpv.io/
$(PKG)_IGNORE :=
2019-09-15 13:22:44 -07:00
$(PKG)_VERSION := a416b3f
$(PKG)_CHECKSUM := df2294c1c6c62d0dc7777fb30e2de257195464950ceb50572e25bc2bb45e1002
2019-01-01 13:08:15 -08:00
$(PKG)_GH_CONF := mpv-player/mpv/branches/master
2018-02-20 10:35:15 -08:00
$(PKG)_DEPS := cc ffmpeg fribidi lcms \
libarchive libass libdvdnav libdvdread libiconv \
jpeg libpng luajit rubberband pthreads sdl2 $(BUILD)~waf
define $(PKG)_BUILD
cd '$(1)' && DEST_OS=win32 TARGET=$(TARGET) '$(PREFIX)/$(BUILD)/bin/waf' \
configure build install -j '$(JOBS)' \
--prefix='$(PREFIX)/$(TARGET)' \
$(if $(BUILD_STATIC), \
--enable-static-build --disable-libmpv-shared , \
--disable-static-build --enable-libmpv-shared ) \
--disable-manpage-build \
--enable-dvdnav \
--enable-lcms2 \
--enable-libarchive \
--enable-libass \
--enable-libbluray \
--enable-lua \
--enable-rubberband \
--enable-sdl2 \
--enable-static-build
endef