mirror of
https://gitee.com/bianbu-linux/spacemit-openwrt-feeds
synced 2025-04-18 20:05:00 -04:00
init version commit
This commit is contained in:
commit
e5ac7b57a7
20 changed files with 13602 additions and 0 deletions
53
mpp/Makefile
Normal file
53
mpp/Makefile
Normal file
|
@ -0,0 +1,53 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2024 Spacemit LTD.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mpp
|
||||
PKG_RELEASE:=1.0
|
||||
PKG_SOURCE_VERSION:=v1.0.3
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://gitee.com/bianbu-linux/mpp.git
|
||||
PKG_MIRROR_HASH:=skip
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
|
||||
define Package/mpp
|
||||
SECTION:=multimedia
|
||||
CATEGORY:=Multimedia
|
||||
DEFAULT:=y
|
||||
TITLE:=SpacemiT Media Process Platform
|
||||
endef
|
||||
|
||||
define Package/mpp/description
|
||||
spacemit media process platform
|
||||
endef
|
||||
|
||||
CMAKE_OPTIONS += -DCMAKE_INSTALL_PREFIX="/usr"
|
||||
|
||||
define Build/InstallDev
|
||||
mkdir -p $(1)/sysroot
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/sysroot
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libspacemit_mpp.so* $(1)/sysroot
|
||||
endef
|
||||
|
||||
define Package/mpp/install
|
||||
$(INSTALL_DIR) $(1)/usr/include/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/spacemit_mpp.pc $(1)/usr/lib/pkgconfig/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
||||
|
||||
$(INSTALL_DIR) $(1)/lib/firmware/
|
||||
$(CP) ./files/* $(1)/lib/firmware/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,mpp))
|
BIN
mpp/files/linlon-v52_v76-80-2/avs2dec.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/avs2dec.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/avsdec.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/avsdec.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/h264dec.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/h264dec.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/h264enc.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/h264enc.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/hevcdec.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/hevcdec.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/hevcenc.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/hevcenc.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/jpegdec.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/jpegdec.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/jpegenc.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/jpegenc.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/mpeg2dec.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/mpeg2dec.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/mpeg4dec.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/mpeg4dec.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/rvdec.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/rvdec.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/vc1dec.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/vc1dec.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/vp8dec.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/vp8dec.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/vp8enc.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/vp8enc.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/vp9dec.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/vp9dec.fwb
Executable file
Binary file not shown.
BIN
mpp/files/linlon-v52_v76-80-2/vp9enc.fwb
Executable file
BIN
mpp/files/linlon-v52_v76-80-2/vp9enc.fwb
Executable file
Binary file not shown.
42
mpp/patches/0001-modify-1.openwrt-not-support-sdl2.patch
Normal file
42
mpp/patches/0001-modify-1.openwrt-not-support-sdl2.patch
Normal file
|
@ -0,0 +1,42 @@
|
|||
From c7d028bb10fd7a9a88159e48e43b26007d47be07 Mon Sep 17 00:00:00 2001
|
||||
From: chris <chris.huang@spacemit.com>
|
||||
Date: Thu, 20 Jun 2024 16:18:24 +0800
|
||||
Subject: [PATCH] [modify]1.openwrt not support sdl2,
|
||||
|
||||
---
|
||||
al/vo/CMakeLists.txt | 16 ++++++++--------
|
||||
1 file changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/al/vo/CMakeLists.txt b/al/vo/CMakeLists.txt
|
||||
index b254e3d..2a82090 100755
|
||||
--- a/al/vo/CMakeLists.txt
|
||||
+++ b/al/vo/CMakeLists.txt
|
||||
@@ -9,16 +9,16 @@
|
||||
# @Description: the cmake script of al layer.
|
||||
#------------------------------------------------------------
|
||||
|
||||
-include_directories(sdl2/include)
|
||||
-set(SRC_LIST ./sdl2/vo_sdl2.c)
|
||||
-add_library(vo_sdl2_plugin SHARED ${SRC_LIST})
|
||||
-target_link_libraries(vo_sdl2_plugin utils)
|
||||
-target_link_libraries(vo_sdl2_plugin SDL2)
|
||||
-install(TARGETS vo_sdl2_plugin LIBRARY
|
||||
- DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
+# include_directories(sdl2/include)
|
||||
+# set(SRC_LIST ./sdl2/vo_sdl2.c)
|
||||
+# add_library(vo_sdl2_plugin SHARED ${SRC_LIST})
|
||||
+# target_link_libraries(vo_sdl2_plugin utils)
|
||||
+# target_link_libraries(vo_sdl2_plugin SDL2)
|
||||
+# install(TARGETS vo_sdl2_plugin LIBRARY
|
||||
+# DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
|
||||
set(SRC_LIST ./file/vo_file.c)
|
||||
add_library(vo_file_plugin SHARED ${SRC_LIST})
|
||||
target_link_libraries(vo_file_plugin utils)
|
||||
install(TARGETS vo_file_plugin LIBRARY
|
||||
- DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
\ No newline at end of file
|
||||
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
--
|
||||
2.25.1
|
||||
|
6306
spacemit_k1_defconfig
Normal file
6306
spacemit_k1_defconfig
Normal file
File diff suppressed because it is too large
Load diff
7201
spacemit_k1_nas_defconfig
Normal file
7201
spacemit_k1_nas_defconfig
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue