# This file is part of MXE. See LICENSE.md for licensing information. PKG := mpv $(PKG)_WEBSITE := https://mpv.io/ $(PKG)_IGNORE := $(PKG)_VERSION := 639ee55 $(PKG)_CHECKSUM := 0467d10043b8b95bfdf70afe4e90f998258219e2391f40b1c0dd0c7be1723aa4 $(PKG)_GH_CONF := mpv-player/mpv/branches/master $(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-dvdread \ --enable-lcms2 \ --enable-libarchive \ --enable-libass \ --enable-libbluray \ --enable-lua \ --enable-rubberband \ --enable-sdl2 \ --enable-static-build endef