-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
50 changed files
with
991 additions
and
729 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
def add_file_downloads(confs : dict) -> list: | ||
''' | ||
@param confs kconfig vars, dict type | ||
@return list type, items is dict type | ||
''' | ||
url = "https://phoenixnap.dl.sourceforge.net/project/asio/asio/1.28.0%20%28Stable%29/asio-1.28.0.tar.gz" | ||
sha256sum = "e854a53cc6fe599bdf830e3c607f1d22fe74eee892f64c81d3ca997a80ddca97" | ||
filename = "asio-1.28.0.tar.gz" | ||
|
||
return [ | ||
{ | ||
'url': f'{url}', | ||
'urls': [], | ||
'sites': ['https://sourceforge.net/projects/asio/files/asio/1.28.0%20%28Stable%29/'], | ||
'sha256sum': sha256sum, | ||
'filename': filename, | ||
'path': 'asio', | ||
'check_files': [ | ||
'asio-1.28.0' | ||
] | ||
} | ||
] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
def add_file_downloads(confs : dict) -> list: | ||
''' | ||
@param confs kconfig vars, dict type | ||
@return list type, items is dict type | ||
''' | ||
version = f"{confs['CONFIG_BROTLI_VERSION_MAJOR']}.{confs['CONFIG_BROTLI_VERSION_MINOR']}.{confs['CONFIG_BROTLI_VERSION_PATCH']}" | ||
url = f"https://master.dl.sourceforge.net/project/brotli.mirror/v{version}/v{version}.tar.gz?viasf=1" | ||
if version == "1.1.0": | ||
sha256sum = "10973f4b4199eafa1d5735ef661ddb2ec2f97319ee9fd1824d4aabe08cff5265" | ||
else: | ||
raise Exception(f"version {version} not support") | ||
filename = f"brotli-{version}.tar.gz" | ||
path = "brotli_srcs" | ||
check_file = f'google-brotli-{version}' | ||
|
||
return [ | ||
{ | ||
'url': f'{url}', | ||
'urls': [], | ||
'sites': [], | ||
'sha256sum': sha256sum, | ||
'filename': filename, | ||
'path': path, | ||
'check_files': [ | ||
check_file | ||
] | ||
} | ||
] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
def add_file_downloads(confs : dict) -> list: | ||
''' | ||
@param confs kconfig vars, dict type | ||
@return list type, items is dict type | ||
''' | ||
if (not confs.get("PLATFORM_MAIXCAM", None)) or confs.get("CONFIG_COMPONENTS_COMPILE_FROM_SOURCE", None): | ||
return [] | ||
if "musl" not in confs["CONFIG_TOOLCHAIN_PATH"] and "glibc" not in confs["CONFIG_TOOLCHAIN_PATH"]: | ||
return [] | ||
version = f"{confs['CONFIG_BROTLI_VERSION_MAJOR']}.{confs['CONFIG_BROTLI_VERSION_MINOR']}.{confs['CONFIG_BROTLI_VERSION_PATCH']}" | ||
url = "https://github.com/sipeed/MaixCDK/releases/download/v0.0.0/cvi_tpu_lib_v4.1.0-23-gb920beb.tar.xz" | ||
sha256sum = "8177ce35a05565a4fdc6cf1ac6bef0dc18809a31fff332321e17d01d2b85421a" | ||
filename = "cvi_tpu_lib_v4.1.0-23-gb920beb.tar.xz" | ||
path = "cvi_tpu" | ||
check_file = 'cvi_tpu_lib_v4.1.0-23-gb920beb' | ||
sites = [ | ||
'https://github.com/sipeed/MaixCDK/releases/tag/v0.0.0' | ||
] | ||
|
||
return [ | ||
{ | ||
'url': f'{url}', | ||
'urls': [], | ||
'sites': sites, | ||
'sha256sum': sha256sum, | ||
'filename': filename, | ||
'path': path, | ||
'check_files': [ | ||
check_file | ||
] | ||
} | ||
] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
def add_file_downloads(confs : dict) -> list: | ||
''' | ||
@param confs kconfig vars, dict type | ||
@return list type, items is dict type | ||
''' | ||
version = f"{confs['CONFIG_FREETYPE_VERSION_MAJOR']}.{confs['CONFIG_FREETYPE_VERSION_MINOR']}.{confs['CONFIG_FREETYPE_VERSION_PATCH']}" | ||
url = f"https://phoenixnap.dl.sourceforge.net/project/freetype/freetype2/{version}/freetype-{version}.tar.xz" | ||
if version == "2.13.2": | ||
sha256sum = "12991c4e55c506dd7f9b765933e62fd2be2e06d421505d7950a132e4f1bb484d" | ||
else: | ||
raise Exception(f"version {version} not support") | ||
filename = f"freetype-{version}.tar.xz" | ||
path = "freetype_srcs" | ||
check_file = f'freetype-{version}' | ||
|
||
return [ | ||
{ | ||
'url': f'{url}', | ||
'urls': [], | ||
'sites': [], | ||
'sha256sum': sha256sum, | ||
'filename': filename, | ||
'path': path, | ||
'check_files': [ | ||
check_file | ||
] | ||
} | ||
] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.