Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

383 Commits   1 Branch   1 Tag
Index: radix-1.9/X11/app/ffmpeg/4.4.4/Makefile
===================================================================
--- radix-1.9/X11/app/ffmpeg/4.4.4/Makefile	(revision 377)
+++ radix-1.9/X11/app/ffmpeg/4.4.4/Makefile	(revision 378)
@@ -54,7 +54,9 @@
 NEED_ABS_PATH      = true
 COMPONENT_IS_3PP   = true
 
+__ENABLE_BAIKAL_M1000_VDEC__ = no
 
+
 include ../../../../build-system/constants.mk
 
 
@@ -107,11 +109,11 @@
 REQUIRES          += X11/libs/libdrm/2.4.114
 REQUIRES          += X11/libs/librsvg/2.55.1
 REQUIRES          += app/bzip2/1.0.8
+ifeq ($(__ENABLE_BAIKAL_M1000_VDEC__),yes)
 ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
 REQUIRES          += hal/drivers/baikal-m1/vdec/6.4-20231227
-else
-REQUIRES          += media/libomxil-bellagio/0.9.3
 endif
+endif
 
 REQUIRES          += X11/libs/opengl-collection
 
@@ -127,9 +129,11 @@
 
 PATCHES = PATCHES
 
+ifeq ($(__ENABLE_BAIKAL_M1000_VDEC__),yes)
 ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
 OPT_PATCHES = PATCHES.m1000
 endif
+endif
 
 build_dir          = $(TARGET_BUILD_DIR)/build
 build_target       = $(TARGET_BUILD_DIR)/.build_done
@@ -350,10 +354,12 @@
 extra_configure_switches += --enable-libxvid
 extra_configure_switches += --enable-libzmq
 extra_configure_switches += --enable-opengl
+ifeq ($(__ENABLE_BAIKAL_M1000_VDEC__),yes)
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
 extra_configure_switches += --enable-omx
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
 extra_configure_switches += --enable-omx-img
 endif
+endif
 
 CPPFLAGS += -Wno-deprecated-declarations -Wno-unused-but-set-variable
 CPPFLAGS += -Wno-unused-result -Wno-strict-overflow -Wno-discarded-qualifiers
@@ -375,9 +381,11 @@
 $(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
 	$(UNPACK_SRC_ARCHIVE)
 	$(APPLY_PATCHES)
+ifeq ($(__ENABLE_BAIKAL_M1000_VDEC__),yes)
 ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
 	$(call apply-opt-patches, $(SRC_DIR))
 endif
+endif
 	@touch $@
 
 $(build_target): $(src_done)