mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TVHEADEND_VERSION = 6b8f014c39703640a1fe8af9c2b7663588ed2b56
|
||||
TVHEADEND_VERSION = 1295dd2be863f5beb764290fce9317b24193dfc0
|
||||
TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION))
|
||||
TVHEADEND_LICENSE = GPL-3.0+
|
||||
TVHEADEND_LICENSE_FILES = LICENSE.md
|
||||
@@ -12,7 +12,7 @@ TVHEADEND_DEPENDENCIES = \
|
||||
host-gettext \
|
||||
host-pkgconf \
|
||||
host-pngquant \
|
||||
$(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) \
|
||||
host-python3 \
|
||||
openssl
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI),y)
|
||||
@@ -29,7 +29,7 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_TVHEADEND_TRANSCODING),y)
|
||||
TVHEADEND_CONF_OPTS += --enable-libav --enable-libx264
|
||||
TVHEADEND_DEPENDENCIES += ffmpeg x264
|
||||
ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_XORG7),yy)
|
||||
ifeq ($(BR2_PACKAGE_LIBVA),y)
|
||||
TVHEADEND_CONF_OPTS += --enable-vaapi
|
||||
TVHEADEND_DEPENDENCIES += libva
|
||||
else
|
||||
@@ -63,6 +63,40 @@ TVHEADEND_CONF_OPTS += \
|
||||
--disable-libx265
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TVHEADEND_DESCRAMBLER),y)
|
||||
TVHEADEND_CONF_OPTS += \
|
||||
--enable-cardclient \
|
||||
--enable-cwc \
|
||||
--enable-cccam \
|
||||
--enable-capmt \
|
||||
--enable-constcw
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += \
|
||||
--disable-cardclient \
|
||||
--disable-cwc \
|
||||
--disable-cccam \
|
||||
--disable-capmt \
|
||||
--disable-constcw
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TVHEADEND_IPTV),y)
|
||||
TVHEADEND_CONF_OPTS += --enable-iptv
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += --disable-iptv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TVHEADEND_SATIP),y)
|
||||
TVHEADEND_CONF_OPTS += --enable-satip_client --enable-satip_server
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += --disable-satip_client --disable-satip_server
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TVHEADEND_TIMESHIFT),y)
|
||||
TVHEADEND_CONF_OPTS += --enable-timeshift
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += --disable-timeshift
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
|
||||
TVHEADEND_DEPENDENCIES += libdvbcsa
|
||||
TVHEADEND_CONF_OPTS += --enable-tvhcsa
|
||||
@@ -87,11 +121,14 @@ TVHEADEND_DEPENDENCIES += liburiparser
|
||||
TVHEADEND_CFLAGS += $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||
ifeq ($(BR2_PACKAGE_PCRE2),y)
|
||||
TVHEADEND_DEPENDENCIES += pcre2
|
||||
TVHEADEND_CONF_OPTS += --disable-pcre --enable-pcre2
|
||||
else ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||
TVHEADEND_DEPENDENCIES += pcre
|
||||
TVHEADEND_CONF_OPTS += --enable-pcre
|
||||
TVHEADEND_CONF_OPTS += --enable-pcre --disable-pcre2
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += --disable-pcre
|
||||
TVHEADEND_CONF_OPTS += --disable-pcre --disable-pcre2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
||||
@@ -120,10 +157,11 @@ define TVHEADEND_CONFIGURE_CMDS
|
||||
--arch="$(ARCH)" \
|
||||
--cpu="$(GCC_TARGET_CPU)" \
|
||||
--nowerror \
|
||||
--python="$(HOST_DIR)/bin/python" \
|
||||
--python="$(HOST_DIR)/bin/python3" \
|
||||
--enable-dvbscan \
|
||||
--enable-bundle \
|
||||
--enable-pngquant \
|
||||
--disable-execinfo \
|
||||
--disable-ffmpeg_static \
|
||||
--disable-hdhomerun_static \
|
||||
$(TVHEADEND_CONF_OPTS) \
|
||||
@@ -160,8 +198,10 @@ TVHEADEND_POST_INSTALL_TARGET_HOOKS += TVHEADEND_CLEAN_SHARE
|
||||
# to the other users (because there will be crendentials in there)
|
||||
|
||||
define TVHEADEND_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D package/tvheadend/etc.default.tvheadend $(TARGET_DIR)/etc/default/tvheadend
|
||||
$(INSTALL) -D package/tvheadend/S99tvheadend $(TARGET_DIR)/etc/init.d/S99tvheadend
|
||||
$(INSTALL) -D package/tvheadend/etc.default.tvheadend \
|
||||
$(TARGET_DIR)/etc/default/tvheadend
|
||||
$(INSTALL) -D package/tvheadend/S99tvheadend \
|
||||
$(TARGET_DIR)/etc/init.d/S99tvheadend
|
||||
endef
|
||||
|
||||
define TVHEADEND_USERS
|
||||
|
||||
Reference in New Issue
Block a user