Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -4,17 +4,17 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MPV_VERSION = 0.18.1
|
||||
MPV_WAF_VERSION = 1.8.12
|
||||
MPV_VERSION = 0.23.0
|
||||
MPV_SITE = https://github.com/mpv-player/mpv/archive
|
||||
MPV_SOURCE = v$(MPV_VERSION).tar.gz
|
||||
MPV_EXTRA_DOWNLOADS = https://waf.io/waf-$(MPV_WAF_VERSION)
|
||||
MPV_DEPENDENCIES = \
|
||||
host-pkgconf ffmpeg zlib \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
MPV_LICENSE = GPLv2+
|
||||
MPV_LICENSE_FILES = LICENSE
|
||||
|
||||
MPV_NEEDS_EXTERNAL_WAF = YES
|
||||
|
||||
# Some of these options need testing and/or tweaks
|
||||
MPV_CONF_OPTS = \
|
||||
--prefix=/usr \
|
||||
@@ -23,7 +23,6 @@ MPV_CONF_OPTS = \
|
||||
--disable-cdda \
|
||||
--disable-cocoa \
|
||||
--disable-coreaudio \
|
||||
--disable-libguess \
|
||||
--disable-libv4l2 \
|
||||
--disable-opensles \
|
||||
--disable-rpi \
|
||||
@@ -45,7 +44,7 @@ endif
|
||||
# GBM support is provided by mesa3d when EGL=y
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
||||
MPV_CONF_OPTS += --enable-gbm
|
||||
MPV_DEPENDENIES += mesa3d
|
||||
MPV_DEPENDENCIES += mesa3d
|
||||
else
|
||||
MPV_CONF_OPTS += --disable-gbm
|
||||
endif
|
||||
@@ -123,14 +122,6 @@ else
|
||||
MPV_CONF_OPTS += --disable-drm
|
||||
endif
|
||||
|
||||
# libenca support
|
||||
ifeq ($(BR2_PACKAGE_LIBENCA),y)
|
||||
MPV_CONF_OPTS += --enable-enca
|
||||
MPV_DEPENDENCIES += libenca
|
||||
else
|
||||
MPV_CONF_OPTS += --disable-enca
|
||||
endif
|
||||
|
||||
# LUA support, only for lua51/lua52/luajit
|
||||
# This enables the controller (OSD) together with libass
|
||||
ifeq ($(BR2_PACKAGE_LUA_5_1)$(BR2_PACKAGE_LUA_5_2)$(BR2_PACKAGE_LUAJIT),y)
|
||||
@@ -235,28 +226,4 @@ else
|
||||
MPV_CONF_OPTS += --disable-x11
|
||||
endif
|
||||
|
||||
define MPV_COPY_WAF
|
||||
$(INSTALL) -m 0755 $(DL_DIR)/waf-$(MPV_WAF_VERSION) $(@D)/waf
|
||||
endef
|
||||
MPV_POST_EXTRACT_HOOKS += MPV_COPY_WAF
|
||||
|
||||
define MPV_CONFIGURE_CMDS
|
||||
cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
./waf configure $(MPV_CONF_OPTS)
|
||||
endef
|
||||
|
||||
define MPV_BUILD_CMDS
|
||||
cd $(@D); \
|
||||
$(TARGET_MAKE_ENV) \
|
||||
./waf build
|
||||
endef
|
||||
|
||||
define MPV_INSTALL_TARGET_CMDS
|
||||
cd $(@D); \
|
||||
$(TARGET_MAKE_ENV) \
|
||||
DESTDIR=$(TARGET_DIR) \
|
||||
./waf install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(waf-package))
|
||||
|
||||
Reference in New Issue
Block a user