mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Compare commits
237 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c0f328c00 | ||
|
|
ef95fe9106 | ||
|
|
37a8f07501 | ||
|
|
db0a5be3a6 | ||
|
|
ddac75d8e7 | ||
|
|
db6b24feeb | ||
|
|
03fcd2342b | ||
|
|
0fc918e372 | ||
|
|
9aad4cc35e | ||
|
|
94a9046921 | ||
|
|
814a092cb7 | ||
|
|
96f772a52b | ||
|
|
21cc0880e7 | ||
|
|
d743a8e459 | ||
|
|
269c420391 | ||
|
|
9d0503f305 | ||
|
|
efcc111781 | ||
|
|
e1c7827bd0 | ||
|
|
1495e0e3f9 | ||
|
|
43fee3d59f | ||
|
|
f84330d3b8 | ||
|
|
1eb92b5a04 | ||
|
|
5e36b5811c | ||
|
|
4fdf516a72 | ||
|
|
c7d6653ca0 | ||
|
|
c6b090968e | ||
|
|
2749e24a06 | ||
|
|
210beb3550 | ||
|
|
361ad6dc98 | ||
|
|
6835642af0 | ||
|
|
13f300cb0c | ||
|
|
c174ff6af6 | ||
|
|
d0d10afbd1 | ||
|
|
cfe5b35af9 | ||
|
|
552c9438b8 | ||
|
|
2ae26f3b0c | ||
|
|
9239bee5f0 | ||
|
|
afc57c5e09 | ||
|
|
707a64f3ce | ||
|
|
295cedae8f | ||
|
|
81670c8df7 | ||
|
|
a92c92cfa2 | ||
|
|
715514348d | ||
|
|
eea5891db7 | ||
|
|
7f13c80bf2 | ||
|
|
6c9d0093d0 | ||
|
|
b96cfe165b | ||
|
|
2bcc43cf01 | ||
|
|
40125b6aff | ||
|
|
bfb8e98f9d | ||
|
|
548bf300d0 | ||
|
|
77cbc6f460 | ||
|
|
e485480152 | ||
|
|
c51d42e7a6 | ||
|
|
96c6949552 | ||
|
|
0d00a193d9 | ||
|
|
811df0d667 | ||
|
|
d4f2286c55 | ||
|
|
fc24a8d628 | ||
|
|
02efdf97f2 | ||
|
|
00f42d2054 | ||
|
|
92420e05a9 | ||
|
|
cdfcae4504 | ||
|
|
43968483fa | ||
|
|
b68736ab8e | ||
|
|
8794e6fa2d | ||
|
|
7c7c4fbd6c | ||
|
|
9cd57b7784 | ||
|
|
312e5b59a3 | ||
|
|
3531a27f55 | ||
|
|
84a66d9937 | ||
|
|
6001c2ba0f | ||
|
|
c26eca3b7c | ||
|
|
ccfccf5448 | ||
|
|
b6a121af8f | ||
|
|
31700310ee | ||
|
|
84ab80c645 | ||
|
|
503952bed4 | ||
|
|
8f28d4db46 | ||
|
|
142b53b043 | ||
|
|
b7cf8f263e | ||
|
|
e01d494543 | ||
|
|
9763e6e570 | ||
|
|
e71138dc79 | ||
|
|
3ea668f407 | ||
|
|
3949b34560 | ||
|
|
f7921f1182 | ||
|
|
6233abadb8 | ||
|
|
b419cbfff9 | ||
|
|
bfbc6f4e0e | ||
|
|
9dede22950 | ||
|
|
9998475277 | ||
|
|
3b88d9a36a | ||
|
|
5e538af6e9 | ||
|
|
e5685c5d4d | ||
|
|
654542e76e | ||
|
|
8d77121c6f | ||
|
|
035f8cdaf2 | ||
|
|
89575a58f6 | ||
|
|
10d429fc02 | ||
|
|
d9c85b6e2a | ||
|
|
45ffa6c893 | ||
|
|
fd8eb9e0d8 | ||
|
|
cecf46eb3e | ||
|
|
581226c9f1 | ||
|
|
a007ccabcc | ||
|
|
5c00033be2 | ||
|
|
f868be0fa2 | ||
|
|
267147a666 | ||
|
|
befd77c818 | ||
|
|
7b83c1eee5 | ||
|
|
e910308f24 | ||
|
|
3221502820 | ||
|
|
248accda8c | ||
|
|
ea441bd4c3 | ||
|
|
d6ba70f526 | ||
|
|
1e9b1fe740 | ||
|
|
993b36b152 | ||
|
|
120aafd282 | ||
|
|
7a20467088 | ||
|
|
f5b3caace1 | ||
|
|
38fff19e02 | ||
|
|
fe693871c5 | ||
|
|
be8b823e65 | ||
|
|
02749120c9 | ||
|
|
05c7cb738a | ||
|
|
0e4415bb93 | ||
|
|
614f972f91 | ||
|
|
8bb3765d74 | ||
|
|
c95f166075 | ||
|
|
6a1b8e2a86 | ||
|
|
73ad4ea695 | ||
|
|
7ff83ef418 | ||
|
|
f389d61d11 | ||
|
|
620ceaa39d | ||
|
|
6fb25cbb73 | ||
|
|
d768be3e92 | ||
|
|
4c3b38c68e | ||
|
|
aca1e468a8 | ||
|
|
35a105da91 | ||
|
|
4a92a19422 | ||
|
|
9174632a19 | ||
|
|
3d6bbb5ae4 | ||
|
|
965221c3a6 | ||
|
|
9e4d9f89eb | ||
|
|
4ce197fa2c | ||
|
|
ef9ca26bb1 | ||
|
|
b9bcda6987 | ||
|
|
d661c840a4 | ||
|
|
6513b79dfc | ||
|
|
82a24c8e3c | ||
|
|
564dd3d70b | ||
|
|
941f2eb9a9 | ||
|
|
8cd56b5e97 | ||
|
|
a029a9b8ae | ||
|
|
59a2d60230 | ||
|
|
542ec1667f | ||
|
|
fe3e530950 | ||
|
|
a9321275b3 | ||
|
|
9d1d5ca127 | ||
|
|
f21a9cede9 | ||
|
|
5fb97cb227 | ||
|
|
ec47c1d798 | ||
|
|
356b0d811a | ||
|
|
67abdb827f | ||
|
|
2d59fb29d1 | ||
|
|
d4e51735ff | ||
|
|
80d14d3daf | ||
|
|
a2ec8af719 | ||
|
|
0648d30fa2 | ||
|
|
b5e4de9d18 | ||
|
|
895a356552 | ||
|
|
c91d4d44e5 | ||
|
|
e8143ec475 | ||
|
|
3d8e1af09a | ||
|
|
3b69d8e615 | ||
|
|
6d4ceaf381 | ||
|
|
5591d61027 | ||
|
|
8b3e95c5e5 | ||
|
|
f371015afd | ||
|
|
0a492e0ccc | ||
|
|
7708407cce | ||
|
|
67ac35dabb | ||
|
|
536a90c9da | ||
|
|
f73c12aa78 | ||
|
|
c9e6c042b5 | ||
|
|
8d5cbe6425 | ||
|
|
0e803310ac | ||
|
|
c0249b095a | ||
|
|
33bf467e25 | ||
|
|
5ee39dfdf0 | ||
|
|
f8c32276d6 | ||
|
|
d9254726ab | ||
|
|
fc93580331 | ||
|
|
c1845af5a6 | ||
|
|
9642d7592d | ||
|
|
7a0e9bc605 | ||
|
|
e3b604f818 | ||
|
|
375a3ba892 | ||
|
|
8c15c27a46 | ||
|
|
d9a80e649f | ||
|
|
3e6179534e | ||
|
|
38bdeb0532 | ||
|
|
4503a311e5 | ||
|
|
118af6be70 | ||
|
|
7cb84b4a6a | ||
|
|
f4b58022a0 | ||
|
|
92add05a48 | ||
|
|
b0b5a0c3e6 | ||
|
|
2388d9191b | ||
|
|
dc08cad942 | ||
|
|
2f140dd7e8 | ||
|
|
ce9e3b3fd5 | ||
|
|
70d8dfa57a | ||
|
|
54544d6474 | ||
|
|
0b9c252774 | ||
|
|
d2e1a72c9f | ||
|
|
146a268aca | ||
|
|
1d0652b715 | ||
|
|
b236afa4e9 | ||
|
|
d307f4a802 | ||
|
|
67b632b327 | ||
|
|
ff8b66772b | ||
|
|
3cdf4cc068 | ||
|
|
8763317528 | ||
|
|
b13e99c7e1 | ||
|
|
27d9d892dd | ||
|
|
97b1d79318 | ||
|
|
06e76fbe28 | ||
|
|
31f7f8e7cb | ||
|
|
2548500ee7 | ||
|
|
71351d2b0b | ||
|
|
470a741d30 | ||
|
|
ff8827d62e | ||
|
|
a2ae094193 | ||
|
|
dfbf6487cd | ||
|
|
b9b9c89202 |
1
.github/FUNDING.yml
vendored
1
.github/FUNDING.yml
vendored
@@ -1 +0,0 @@
|
||||
open_collective: libreelec
|
||||
16
.github/ISSUE_TEMPLATE/bug-report.md
vendored
16
.github/ISSUE_TEMPLATE/bug-report.md
vendored
@@ -1,5 +1,5 @@
|
||||
---
|
||||
name: Bug Report
|
||||
name: Bug report
|
||||
about: Describe this issue
|
||||
title: "[BUG]"
|
||||
labels: ISSUE NEEDS REVIEW
|
||||
@@ -8,21 +8,21 @@ assignees: ''
|
||||
---
|
||||
|
||||
### Describe the bug
|
||||
<!-- A clear description of what the bug is. -->
|
||||
<!--- A clear description of what the bug is. -->
|
||||
|
||||
### How to reproduce
|
||||
### To Reproduce
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Play '....'
|
||||
3. See error
|
||||
|
||||
### Information
|
||||
- LibreELEC Version: [e.g. 9.2.1]
|
||||
### Informations
|
||||
- LE Version: [e.g. 9.2.1]
|
||||
- Hardware Platform: [e.g. RPi3]
|
||||
|
||||
### Log file
|
||||
<!-- Add debug log files (https://libreelec.wiki/how_to/provide_logfile) that we can search for errors. -->
|
||||
<!-- Add log files (https://libreelec.wiki/how_to/provide_logfile) that we can search for errors. -->
|
||||
|
||||
### Context
|
||||
<!-- Add any context about the problem here. -->
|
||||
### Additional context
|
||||
<!--- Add any other context about the problem here. -->
|
||||
|
||||
|
||||
7
.github/ISSUE_TEMPLATE/config.yml
vendored
7
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -1,8 +1 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Help and Support
|
||||
url: https://forum.libreelec.tv
|
||||
about: Please ask for help and post questions in the forum
|
||||
- name: Feature Requests
|
||||
url: https://forum.libreelec.tv/board/18-feature-requests/
|
||||
about: Please make feature requests via the forum
|
||||
|
||||
6
Makefile
6
Makefile
@@ -1,3 +1,5 @@
|
||||
BUILD_DIRS=build.*
|
||||
|
||||
all: release
|
||||
|
||||
system:
|
||||
@@ -13,10 +15,10 @@ noobs:
|
||||
./scripts/image noobs
|
||||
|
||||
clean:
|
||||
./scripts/makefile_helper --clean
|
||||
rm -rf $(BUILD_DIRS)/* $(BUILD_DIRS)/.stamps
|
||||
|
||||
distclean:
|
||||
./scripts/makefile_helper --distclean
|
||||
rm -rf ./.ccache ./$(BUILD_DIRS)
|
||||
|
||||
src-pkg:
|
||||
tar cvJf sources.tar.xz sources
|
||||
|
||||
@@ -8,7 +8,7 @@ Please ask questions in the [LibreELEC forum: Help & Support](https://forum.libr
|
||||
|
||||
**Donations**
|
||||
|
||||
Contributions towards current project funding goals can be made via [OpenCollective](https://opencollective.com/libreelec/donate).
|
||||
Contributions towards current project funding goals can be sent via PayPal to donations@libreelec.tv
|
||||
|
||||
**License**
|
||||
|
||||
|
||||
@@ -3,15 +3,8 @@
|
||||
TARGET_CPU=cortex-a53
|
||||
fi
|
||||
|
||||
# 64bit userland and neon required by armv8
|
||||
if [ -z "${TARGET_FEATURES}" ]; then
|
||||
TARGET_FEATURES="64bit neon"
|
||||
else
|
||||
TARGET_FEATURES+=" 64bit neon"
|
||||
fi
|
||||
|
||||
# TARGET_CPU:
|
||||
# generic cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a76
|
||||
# generic cortex-a35 cortex-a53 cortex-a57 cortex-a72
|
||||
# exynos-m1 qdf24xx thunderx xgene1 cortex-a57.cortex-a53
|
||||
# cortex-a72.cortex-a53
|
||||
|
||||
@@ -20,10 +13,8 @@
|
||||
generic|cortex-a35|cortex-a53|cortex-a57|cortex-a72|exynos-m1|qdf24xx|thunderx|xgene1|cortex-a57.cortex-a53|cortex-a72.cortex-a53|cortex-a73.cortex-a53)
|
||||
TARGET_SUBARCH=aarch64
|
||||
TARGET_VARIANT=armv8-a
|
||||
;;
|
||||
cortex-a76)
|
||||
TARGET_SUBARCH=aarch64
|
||||
TARGET_VARIANT=armv8.2-a
|
||||
TARGET_ABI=eabi
|
||||
TARGET_FEATURES+=" neon"
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -34,5 +25,5 @@
|
||||
TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi -mtune=$TARGET_CPU"
|
||||
# Disable runtime checking support of ARMv8.0's optional LSE feature. Breaks gdb and mesa compile.
|
||||
TARGET_CFLAGS="${TARGET_CFLAGS} -mno-outline-atomics"
|
||||
TARGET_LDFLAGS=""
|
||||
TARGET_ARCH_GCC_OPTS="--with-abi=lp64 --with-arch=$TARGET_VARIANT"
|
||||
TARGET_LDFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mtune=$TARGET_CPU"
|
||||
GCC_OPTS="--with-abi=lp64 --with-arch=$TARGET_VARIANT"
|
||||
|
||||
@@ -3,13 +3,6 @@
|
||||
TARGET_CPU=cortex-a8
|
||||
fi
|
||||
|
||||
# 32bit userland
|
||||
if [ -z "${TARGET_FEATURES}" ]; then
|
||||
TARGET_FEATURES="32bit"
|
||||
else
|
||||
TARGET_FEATURES+=" 32bit"
|
||||
fi
|
||||
|
||||
# TARGET_CPU:
|
||||
# arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm7m arm7d
|
||||
# arm7dm arm7di arm7dmi arm70 arm700 arm700i arm710 arm710c
|
||||
@@ -64,12 +57,8 @@
|
||||
TARGET_GCC_ARCH=${TARGET_SUBARCH/-}
|
||||
TARGET_KERNEL_ARCH=${TARGET_KERNEL_ARCH:-arm}
|
||||
|
||||
if [ "${TARGET_KERNEL_ARCH}" = "arm64" ]; then
|
||||
TARGET_KERNEL_PATCH_ARCH="aarch64"
|
||||
fi
|
||||
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated"
|
||||
[ -n "$TARGET_FPU" ] && TARGET_CFLAGS="$TARGET_CFLAGS $TARGET_FPU_FLAGS"
|
||||
TARGET_LDFLAGS=""
|
||||
TARGET_ARCH_GCC_OPTS="--with-abi=aapcs-linux --with-arch=$TARGET_SUBARCH --with-float=$TARGET_FLOAT --with-fpu=$TARGET_FPU"
|
||||
TARGET_LDFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU"
|
||||
GCC_OPTS="--with-abi=aapcs-linux --with-arch=$TARGET_SUBARCH --with-float=$TARGET_FLOAT --with-fpu=$TARGET_FPU"
|
||||
|
||||
@@ -1,30 +1,17 @@
|
||||
# determines TARGET_CPU, if not forced by user
|
||||
if [ -z "${TARGET_CPU}" ]; then
|
||||
TARGET_CPU="x86-64"
|
||||
if [ -z "$TARGET_CPU" ]; then
|
||||
TARGET_CPU=core2
|
||||
fi
|
||||
|
||||
# determine architecture's family
|
||||
TARGET_SUBARCH="x86_64"
|
||||
TARGET_SUBARCH=x86_64
|
||||
|
||||
TARGET_GCC_ARCH="${TARGET_SUBARCH/-/}"
|
||||
TARGET_KERNEL_ARCH="x86"
|
||||
TARGET_KERNEL_ARCH=x86
|
||||
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-march=${TARGET_CPU}"
|
||||
TARGET_LDFLAGS=""
|
||||
TARGET_CFLAGS="-march=$TARGET_CPU -m64 -mmmx -msse -msse2 -mfpmath=sse"
|
||||
TARGET_LDFLAGS="-march=$TARGET_CPU -m64"
|
||||
|
||||
# build with microarchitecture feature support defined by the TARGET_CPU value
|
||||
# see https://gitlab.com/x86-psABIs/x86-64-ABI/-/wikis/home for further details
|
||||
if [ -z "${TARGET_FEATURES}" ]; then
|
||||
TARGET_FEATURES="64bit cmov cx8 fpu fxsr mmx osfxsr sce sse sse2"
|
||||
TARGET_FEATURES_X86_64_V2="cmpxchg16b lahf-sahf popcnt sse3 sse4_1 sse4_2 ssse3"
|
||||
TARGET_FEATURES_X86_64_V3="avx avx2 bmi1 bmi2 f16c fma lzcnt movbe osxsave"
|
||||
if [ "${TARGET_CPU}" = "x86-64" ]; then
|
||||
TARGET_FEATURES+=" no_sahf"
|
||||
elif [ "${TARGET_CPU}" = "x86-64-v2" ]; then
|
||||
TARGET_FEATURES+=" ${TARGET_FEATURES_X86_64_V2}"
|
||||
elif [ "${TARGET_CPU}" = "x86-64-v3" ]; then
|
||||
TARGET_FEATURES+=" ${TARGET_FEATURES_X86_64_V2} ${TARGET_FEATURES_X86_64_V3}"
|
||||
fi
|
||||
fi
|
||||
TARGET_FEATURES="$(echo ${TARGET_FEATURES} | xargs -n1 | sort -u | xargs)"
|
||||
# build with SIMD support ( yes / no )
|
||||
TARGET_FEATURES+=" mmx sse sse2"
|
||||
|
||||
308
config/functions
308
config/functions
@@ -150,33 +150,6 @@ build_msg() {
|
||||
fi
|
||||
}
|
||||
|
||||
print_qa_checks() {
|
||||
if [ -n "${PKG_NAME}" ]; then
|
||||
if [ -d "${PKG_QA_CHECKS}" ]; then
|
||||
for qa_check in ${PKG_QA_CHECKS}/*; do
|
||||
print_color CLR_WARNING "[QA CHECK] [${PKG_NAME}] [$(basename ${qa_check})]:\n$(cat ${qa_check})\n\n"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
log_qa_check() {
|
||||
local qa_check_title="${1}"
|
||||
local qa_check_message="${2}"
|
||||
|
||||
if [ -n "${qa_check_title}" -a -n "${qa_check_message}" ]; then
|
||||
if [ -n "${PKG_NAME}" ]; then
|
||||
print_color CLR_WARNING "[QA CHECK] [${PKG_NAME}] [${qa_check_title}]:\n${qa_check_message}\n"
|
||||
mkdir -p "${PKG_QA_CHECKS}"
|
||||
echo -e "${qa_check_message}" >> ${PKG_QA_CHECKS}/${qa_check_title}
|
||||
else
|
||||
print_color CLR_WARNING "[QA CHECK] [general] [${qa_check_title}]:\n${qa_check_message}\n"
|
||||
mkdir -p "${BUILD}/qa_checks/general"
|
||||
echo -e "${qa_check_message}" >> ${BUILD}/qa_checks/general/${qa_check_title}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# prints a warning if the file slated for removal doesn't exist
|
||||
# this allows us to continue instead of bailing out with just "rm"
|
||||
safe_remove() {
|
||||
@@ -185,8 +158,10 @@ safe_remove() {
|
||||
for path in "$@" ; do
|
||||
if [ -e "${path}" -o -L "${path}" ]; then
|
||||
rm -r "${path}"
|
||||
elif [ -n "${PKG_NAME}" ]; then
|
||||
print_color CLR_WARNING "safe_remove: path does not exist: [${PKG_NAME}]: ${path}\n"
|
||||
else
|
||||
log_qa_check "safe_remove" "path does not exist: ${path}"
|
||||
print_color CLR_WARNING "safe_remove: path does not exist: ${path}\n"
|
||||
fi
|
||||
done
|
||||
}
|
||||
@@ -239,11 +214,8 @@ check_toolchain_config() {
|
||||
if [ "${toolchain}" == "AUTOTOOLS" ]; then
|
||||
toolchain="CONFIGURE"
|
||||
fi
|
||||
if [ "${toolchain}" == "CMAKE-MAKE" ]; then
|
||||
toolchain="CMAKE"
|
||||
fi
|
||||
for var in "${!PKG_@}"; do
|
||||
if [[ "${var}" =~ INSTALL_OPTS_ || "${var}" =~ _MAKE_OPTS || "${var}" =~ _TAR_COPY_OPTS ]]; then
|
||||
if [[ "${var}" =~ INSTALL_OPTS_ || "${var}" =~ _MAKE_OPTS ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ "${var}" =~ _OPTS_${target}$ \
|
||||
@@ -254,50 +226,8 @@ check_toolchain_config() {
|
||||
done
|
||||
}
|
||||
|
||||
# args: linker, default availability yes/no
|
||||
linker_allowed() {
|
||||
if flag_enabled "$1" "$2"; then
|
||||
# bfd is always available, others need to be enabled with <LINKER>_SUPPORT="yes"
|
||||
local linker_support="${1^^}_SUPPORT"
|
||||
if [ "$1" = "bfd" ] || [ "${!linker_support}" = "yes" ]; then
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
return 1
|
||||
}
|
||||
|
||||
# return target linker to use for a package
|
||||
get_target_linker() {
|
||||
# all known linkers, in descending order of priority
|
||||
# those are candidates for explicit opt-in via PKG_BUILD_FLAGS
|
||||
local all_linkers="mold gold bfd"
|
||||
|
||||
# linkers to choose from unless disabled via PKG_BUILD_FLAGS
|
||||
local linker_candidates="${DEFAULT_LINKER:-bfd} ${all_linkers}"
|
||||
|
||||
local linker
|
||||
|
||||
# check if package prefers a specific linker
|
||||
for linker in ${all_linkers}; do
|
||||
if linker_allowed "${linker}" "no"; then
|
||||
echo "${linker}"
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
# select linker which isn't disabled by PKG_BUILD_FLAGS
|
||||
for linker in ${linker_candidates}; do
|
||||
if linker_allowed "${linker}" "yes"; then
|
||||
echo "${linker}"
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
# none of our linkers matched, use the compiler's default linker
|
||||
echo "compiler_default"
|
||||
}
|
||||
|
||||
setup_toolchain() {
|
||||
local have_gold="no"
|
||||
if [ "$LTO_SUPPORT" = "yes" ]; then
|
||||
if flag_enabled "lto-parallel" "no"; then
|
||||
TARGET_CFLAGS+=" $FLAGS_OPTIM_LTO_PARALLEL $FLAGS_OPTIM_LTO_NO_FAT"
|
||||
@@ -320,14 +250,15 @@ setup_toolchain() {
|
||||
TARGET_LDFLAGS+=" $FLAGS_OPTIM_LTO_OFF"
|
||||
fi
|
||||
|
||||
local linker="$(get_target_linker)"
|
||||
local linker_opts="LDFLAGS_OPTIM_LINKER_${linker^^}"
|
||||
|
||||
TARGET_LDFLAGS+=" ${!linker_opts}"
|
||||
# gold flag
|
||||
if flag_enabled "gold" "$GOLD_SUPPORT" "only-disable"; then
|
||||
TARGET_LDFLAGS+=" $LDFLAGS_OPTIM_GOLD"
|
||||
have_gold="yes"
|
||||
fi
|
||||
|
||||
# compiler optimization, descending priority: speed, size, default
|
||||
if [ "${BUILD_WITH_DEBUG}" = "yes" ]; then
|
||||
if [ "${SPLIT_DEBUG_INFO}" = "yes" -a "${linker}" = "gold" ]; then
|
||||
if [ "${SPLIT_DEBUG_INFO}" = "yes" -a "${have_gold}" = "yes" ]; then
|
||||
TARGET_CFLAGS+=" $CFLAGS_OPTIM_DEBUG_SPLIT"
|
||||
TARGET_CXXFLAGS+=" $CXXFLAGS_OPTIM_DEBUG_SPLIT"
|
||||
TARGET_LDFLAGS+=" $LDFLAGS_OPTIM_DEBUG_SPLIT"
|
||||
@@ -457,9 +388,6 @@ setup_toolchain() {
|
||||
echo "SET(CMAKE_C_COMPILER $CC)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_CXX_COMPILER $CXX)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_CPP_COMPILER $CPP)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_ASM_FLAGS_MINSIZEREL -DDUMMYOPT)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_CXX_FLAGS_MINSIZEREL -DDUMMYOPT)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_C_FLAGS_MINSIZEREL -DDUMMYOPT)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH $SYSROOT_PREFIX)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> $CMAKE_CONF
|
||||
@@ -482,28 +410,12 @@ setup_toolchain() {
|
||||
export _python_sysroot="$SYSROOT_PREFIX"
|
||||
export _python_prefix=/usr
|
||||
export _python_exec_prefix=/usr
|
||||
|
||||
# rust
|
||||
export CARGO_TARGET_DIR="${PKG_BUILD}/.${TARGET_NAME}/target"
|
||||
export CARGO_HOME="$(get_build_dir rust)/cargo_home"
|
||||
export RUST_TARGET_PATH="${TOOLCHAIN}/lib/rustlib/"
|
||||
|
||||
;;
|
||||
host:*|bootstrap:*)
|
||||
export DESTIMAGE="host"
|
||||
export AWK="gawk"
|
||||
if [ "$1" = "host" ] && flag_enabled "local-cc" "no"; then
|
||||
export CC="${LOCAL_CC}"
|
||||
export CXX="${LOCAL_CXX}"
|
||||
if [ -n "${LOCAL_CCACHE}" ]; then
|
||||
export CCACHE_DIR="${LOCAL_CCACHE_DIR}"
|
||||
export CC="${LOCAL_CCACHE} ${CC}";
|
||||
export CXX="${LOCAL_CCACHE} ${CXX}";
|
||||
fi
|
||||
else
|
||||
export CC="$TOOLCHAIN/bin/host-gcc"
|
||||
export CXX="$TOOLCHAIN/bin/host-g++"
|
||||
fi
|
||||
export CC="$TOOLCHAIN/bin/host-gcc"
|
||||
export CXX="$TOOLCHAIN/bin/host-g++"
|
||||
export CPP="cpp"
|
||||
export LD="ld"
|
||||
export AS="as"
|
||||
@@ -528,9 +440,6 @@ setup_toolchain() {
|
||||
echo "SET(CMAKE_C_COMPILER $CC)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_CXX_COMPILER $CXX)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_CPP_COMPILER $CXX)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_ASM_FLAGS_RELEASE -DDUMMYOPT)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_CXX_FLAGS_RELEASE -DDUMMYOPT)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_C_FLAGS_RELEASE -DDUMMYOPT)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_AR $AR CACHE FILEPATH "Archiver")" >> $CMAKE_CONF # hum?
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH $TOOLCHAIN)" >> $CMAKE_CONF
|
||||
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)" >> $CMAKE_CONF
|
||||
@@ -549,23 +458,6 @@ setup_toolchain() {
|
||||
export _python_sysroot="$TOOLCHAIN"
|
||||
export _python_prefix=/
|
||||
export _python_exec_prefix=/
|
||||
|
||||
# rust
|
||||
case "${MACHINE_HARDWARE_NAME}" in
|
||||
"arm")
|
||||
RUST_HOST="arm-unknown-linux-gnueabihf"
|
||||
;;
|
||||
"aarch64")
|
||||
RUST_HOST="aarch64-unknown-linux-gnu"
|
||||
;;
|
||||
"x86_64")
|
||||
RUST_HOST="x86_64-unknown-linux-gnu"
|
||||
;;
|
||||
esac
|
||||
|
||||
export CARGO_TARGET_DIR="${PKG_BUILD}/.${RUST_HOST}/target"
|
||||
export CARGO_HOME="$(get_build_dir rust)/cargo_home"
|
||||
export RUST_TARGET_PATH="${TOOLCHAIN}/lib/rustlib/"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
@@ -580,30 +472,22 @@ c = '$CC'
|
||||
cpp = '$CXX'
|
||||
ar = '$AR'
|
||||
strip = '$STRIP'
|
||||
pkg-config = '$PKG_CONFIG'
|
||||
llvm-config = '$TOOLCHAIN/bin/llvm-config'
|
||||
pkgconfig = '$PKG_CONFIG'
|
||||
llvm-config = '$TOOLCHAIN/bin/llvm-config-host'
|
||||
libgcrypt-config = '$SYSROOT_PREFIX/usr/bin/libgcrypt-config'
|
||||
|
||||
[build_machine]
|
||||
system = 'linux'
|
||||
cpu_family = '${MACHINE_HARDWARE_NAME}'
|
||||
cpu = '${MACHINE_HARDWARE_NAME}'
|
||||
endian = 'little'
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = '${MACHINE_HARDWARE_NAME}'
|
||||
cpu = '${MACHINE_HARDWARE_NAME}'
|
||||
cpu_family = '$TARGET_ARCH'
|
||||
cpu = '$TARGET_SUBARCH'
|
||||
endian = 'little'
|
||||
|
||||
[built-in options]
|
||||
[properties]
|
||||
root = '$TOOLCHAIN'
|
||||
$(python3 -c "import os; print('c_args = {}'.format([x for x in os.getenv('CFLAGS').split()]))")
|
||||
$(python3 -c "import os; print('c_link_args = {}'.format([x for x in os.getenv('LDFLAGS').split()]))")
|
||||
$(python3 -c "import os; print('cpp_args = {}'.format([x for x in os.getenv('CXXFLAGS').split()]))")
|
||||
$(python3 -c "import os; print('cpp_link_args = {}'.format([x for x in os.getenv('LDFLAGS').split()]))")
|
||||
|
||||
[properties]
|
||||
root = '$TOOLCHAIN'
|
||||
${!properties}
|
||||
EOF
|
||||
}
|
||||
@@ -618,32 +502,22 @@ c = '$TARGET_CC'
|
||||
cpp = '$TARGET_CXX'
|
||||
ar = '$TARGET_AR'
|
||||
strip = '$TARGET_STRIP'
|
||||
pkg-config = '$PKG_CONFIG'
|
||||
llvm-config = '$SYSROOT_PREFIX/usr/bin/llvm-config'
|
||||
pkgconfig = '$PKG_CONFIG'
|
||||
llvm-config = '$TOOLCHAIN/bin/llvm-config-host'
|
||||
libgcrypt-config = '$SYSROOT_PREFIX/usr/bin/libgcrypt-config'
|
||||
|
||||
[build_machine]
|
||||
system = 'linux'
|
||||
cpu_family = '${MACHINE_HARDWARE_NAME}'
|
||||
cpu = '${MACHINE_HARDWARE_NAME}'
|
||||
endian = 'little'
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = '$TARGET_ARCH'
|
||||
cpu = '$TARGET_SUBARCH'
|
||||
endian = 'little'
|
||||
|
||||
[built-in options]
|
||||
[properties]
|
||||
root = '$SYSROOT_PREFIX/usr'
|
||||
$(python3 -c "import os; print('c_args = {}'.format([x for x in os.getenv('TARGET_CFLAGS').split()]))")
|
||||
$(python3 -c "import os; print('c_link_args = {}'.format([x for x in os.getenv('TARGET_LDFLAGS').split()]))")
|
||||
$(python3 -c "import os; print('cpp_args = {}'.format([x for x in os.getenv('TARGET_CXXFLAGS').split()]))")
|
||||
$(python3 -c "import os; print('cpp_link_args = {}'.format([x for x in os.getenv('TARGET_LDFLAGS').split()]))")
|
||||
|
||||
[properties]
|
||||
ipc_rmid_deferred_release = true
|
||||
needs_exe_wrapper = true
|
||||
root = '$SYSROOT_PREFIX/usr'
|
||||
${!properties}
|
||||
EOF
|
||||
}
|
||||
@@ -745,7 +619,7 @@ build_with_debug() {
|
||||
[ "${PKG_IS_KERNEL_PKG}" = "yes" ] && listcontains "${_DEBUG_DEPENDS_LIST}" "linux\+" && return 0
|
||||
|
||||
# Build this package with debug if it's a resolved dependency
|
||||
listcontains "${_DEBUG_DEPENDS_LIST}" "${PKG_NAME}[+]?" && return 0
|
||||
listcontains "${_DEBUG_DEPENDS_LIST}" "${PKG_NAME}" && return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
@@ -787,7 +661,7 @@ init_package_cache() {
|
||||
export _CACHE_PACKAGE_LOCAL _CACHE_PACKAGE_GLOBAL
|
||||
|
||||
# overwrite existing cache files only when they are invalid, or not yet created
|
||||
mkdir -p "${_CACHE_PACKAGE_GLOBAL%/*}"
|
||||
mkdir -p "$(dirname "${_CACHE_PACKAGE_GLOBAL}")"
|
||||
if [ -f "${_CACHE_PACKAGE_LOCAL}" ] && cmp -s "${temp_local}" "${_CACHE_PACKAGE_LOCAL}"; then
|
||||
rm "${temp_local}"
|
||||
else
|
||||
@@ -825,11 +699,11 @@ save_build_config() {
|
||||
check_path() {
|
||||
local dashes="===========================" path_err_msg
|
||||
if [ "${PWD##/usr}" != "${PWD}" ]; then
|
||||
path_err_msg="\n ${dashes}${dashes}${dashes}"
|
||||
path_err_msg+="\n ERROR: Detected building inside /usr"
|
||||
path_err_msg+="\n ${dashes}${dashes}${dashes}"
|
||||
path_err_msg+="\n This is not supported by the buildsystem."
|
||||
path_err_msg+="\n Please use another directory (for example your \$HOME) to build ${DISTRONAME}"
|
||||
path_err_msg="\n $dashes$dashes$dashes"
|
||||
path_err_msg="${path_err_msg}\n ERROR: Detected building inside /usr"
|
||||
path_err_msg="${path_err_msg}\n $dashes$dashes$dashes"
|
||||
path_err_msg="${path_err_msg}\n This is not supported with our buildsystem."
|
||||
path_err_msg="${path_err_msg}\n Please use another dir (for example your \$HOME) to build ${DISTRONAME}"
|
||||
|
||||
die "${path_err_msg}"
|
||||
fi
|
||||
@@ -838,13 +712,13 @@ check_path() {
|
||||
check_distro() {
|
||||
local dashes="===========================" distro_err_msg
|
||||
if [ -z "${DISTRO}" -o ! -d "${DISTRO_DIR}/${DISTRO}" ]; then
|
||||
distro_err_msg="\n ${dashes}${dashes}${dashes}"
|
||||
distro_err_msg+="\n ERROR: Distro not found, use a valid distro or create a new config"
|
||||
distro_err_msg+="\n ${dashes}${dashes}${dashes}"
|
||||
distro_err_msg+="\n\n Valid distros:"
|
||||
distro_err_msg="\n $dashes$dashes$dashes"
|
||||
distro_err_msg="${distro_err_msg}\n ERROR: Distro not found, use a valid distro or create a new config"
|
||||
distro_err_msg="${distro_err_msg}\n $dashes$dashes$dashes"
|
||||
distro_err_msg="${distro_err_msg}\n\n Valid distros:"
|
||||
|
||||
for distros in ${DISTRO_DIR}/*; do
|
||||
distro_err_msg+="\n - ${distros##*/}"
|
||||
distro_err_msg="${distro_err_msg}\n - ${distros##*/}"
|
||||
done
|
||||
die "${distro_err_msg}"
|
||||
fi
|
||||
@@ -853,13 +727,13 @@ check_distro() {
|
||||
check_project() {
|
||||
local dashes="===========================" project_err_msg
|
||||
if [ -z "${PROJECT}" -o ! -d "${PROJECT_DIR}/${PROJECT}" ]; then
|
||||
project_err_msg="\n ${dashes}${dashes}${dashes}"
|
||||
project_err_msg+="\n ERROR: Project not found. Use a valid project or create a new config"
|
||||
project_err_msg+="\n ${dashes}${dashes}${dashes}"
|
||||
project_err_msg+="\n\n Valid projects:"
|
||||
project_err_msg="\n $dashes$dashes$dashes"
|
||||
project_err_msg="${project_err_msg}\n ERROR: Project not found, use a valid project or create a new config"
|
||||
project_err_msg="${project_err_msg}\n $dashes$dashes$dashes"
|
||||
project_err_msg="${project_err_msg}\n\n Valid projects:"
|
||||
|
||||
for projects in ${PROJECT_DIR}/*; do
|
||||
project_err_msg+="\n - ${projects##*/}"
|
||||
project_err_msg="${project_err_msg}\n - ${projects##*/}"
|
||||
done
|
||||
die "${project_err_msg}"
|
||||
fi
|
||||
@@ -867,22 +741,15 @@ check_project() {
|
||||
|
||||
check_device() {
|
||||
local dashes="===========================" device_err_msg
|
||||
if [ -n "${DEVICE}" -a ! -d "${PROJECT_DIR}/${PROJECT}/devices" ]; then
|
||||
if [ \( -z "${DEVICE}" -a -d "${PROJECT_DIR}/${PROJECT}/devices" \) -o \
|
||||
\( -n "${DEVICE}" -a ! -d "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}" \) ]; then
|
||||
device_err_msg="\n $dashes$dashes$dashes"
|
||||
device_err_msg+="\n ERROR: You must not specify DEVICE for the $PROJECT project"
|
||||
device_err_msg+="\n $dashes$dashes$dashes"
|
||||
device_err_msg+="\n\n There are no devices for project: ${PROJECT}"
|
||||
|
||||
die "${device_err_msg}"
|
||||
elif [ \( -z "${DEVICE}" -a -d "${PROJECT_DIR}/${PROJECT}/devices" \) -o \
|
||||
\( -n "${DEVICE}" -a ! -d "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}" \) ]; then
|
||||
device_err_msg="\n ${dashes}${dashes}${dashes}"
|
||||
device_err_msg+="\n ERROR: Specify a valid device for the ${PROJECT} project"
|
||||
device_err_msg+="\n ${dashes}${dashes}${dashes}"
|
||||
device_err_msg+="\n\n Valid devices for project: ${PROJECT}"
|
||||
device_err_msg="${device_err_msg}\n ERROR: You need to specify a valid device for the $PROJECT project"
|
||||
device_err_msg="${device_err_msg}\n $dashes$dashes$dashes"
|
||||
device_err_msg="${device_err_msg}\n\n Valid devices for project: ${PROJECT}"
|
||||
|
||||
for device in ${PROJECT_DIR}/${PROJECT}/devices/*; do
|
||||
device_err_msg+="\n - ${device##*/}"
|
||||
device_err_msg="${device_err_msg}\n - ${device##*/}"
|
||||
done
|
||||
die "${device_err_msg}"
|
||||
fi
|
||||
@@ -896,17 +763,17 @@ check_arch() {
|
||||
linux_config_dir="${PROJECT_DIR}/${PROJECT}/linux"
|
||||
fi
|
||||
|
||||
if [ ! -e "${linux_config_dir}/linux.${TARGET_KERNEL_PATCH_ARCH:-$TARGET_ARCH}.conf" ] &&
|
||||
! ls "${linux_config_dir}/"*/linux.${TARGET_KERNEL_PATCH_ARCH:-$TARGET_ARCH}.conf &>/dev/null; then
|
||||
arch_err_msg="\n ${dashes}${dashes}${dashes}"
|
||||
arch_err_msg+="\n ERROR: Architecture not found. Use a valid Architecture"
|
||||
arch_err_msg+="\n for your project or create a new config"
|
||||
arch_err_msg+="\n ${dashes}${dashes}${dashes}"
|
||||
arch_err_msg+="\n\n Valid Architectures for project: ${PROJECT}"
|
||||
if [ ! -e "$linux_config_dir/linux.${TARGET_KERNEL_PATCH_ARCH:-$TARGET_ARCH}.conf" ] &&
|
||||
! ls "$linux_config_dir/"*/linux.${TARGET_KERNEL_PATCH_ARCH:-$TARGET_ARCH}.conf &>/dev/null; then
|
||||
arch_err_msg="\n $dashes$dashes$dashes"
|
||||
arch_err_msg="${arch_err_msg}\n ERROR: Architecture not found, use a valid Architecture"
|
||||
arch_err_msg="${arch_err_msg}\n for your project or create a new config"
|
||||
arch_err_msg="${arch_err_msg}\n $dashes$dashes$dashes"
|
||||
arch_err_msg="${arch_err_msg}\n\n Valid Architectures for your project: ${PROJECT}"
|
||||
|
||||
for arch in ${linux_config_dir}/*.conf ${linux_config_dir}/*/linux.${TARGET_ARCH}.conf; do
|
||||
for arch in $linux_config_dir/*.conf $linux_config_dir/*/linux.$TARGET_ARCH.conf; do
|
||||
[[ ${arch} =~ .*\*.* ]] && continue #ignore unexpanded wildcard
|
||||
arch_err_msg+="\n - $(echo ${arch##*/} | cut -f2 -d".")"
|
||||
arch_err_msg="${arch_err_msg}\n - $(basename $arch | cut -f2 -d".")"
|
||||
done
|
||||
die "${arch_err_msg}"
|
||||
fi
|
||||
@@ -955,15 +822,6 @@ do_autoreconf() {
|
||||
export LIBTOOL=$TOOLCHAIN/bin/libtool
|
||||
fi
|
||||
|
||||
# >autoconf-2.69 will call gtkdocize when used in macros
|
||||
# when called with --install parameter.
|
||||
# use "true" unless gtkdocsize is in the toolchain.
|
||||
if [ -e "$TOOLCHAIN/bin/gtkdocize" ]; then
|
||||
export GTKDOCIZE=$TOOLCHAIN/bin/gtkdocize
|
||||
else
|
||||
export GTKDOCIZE=true
|
||||
fi
|
||||
|
||||
if [ -e "$TOOLCHAIN/bin/autoreconf" -a -e "$INTLTOOLIZE" ]; then
|
||||
mkdir -p $ACLOCAL_DIR
|
||||
if [ -e "$LIBTOOLIZE" ]; then
|
||||
@@ -980,11 +838,6 @@ is_sequential_build() {
|
||||
[ "${MTWITHLOCKS}" != "yes" ] && return 0 || return 1
|
||||
}
|
||||
|
||||
# arg1: filename (libtool) to remove hardcode rpath when --disable-rpath is not supported by configure
|
||||
libtool_remove_rpath() {
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' ${1}
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' ${1}
|
||||
}
|
||||
|
||||
### PACKAGE HELPERS ###
|
||||
# get variable ($2) for package ($1).
|
||||
@@ -1014,10 +867,6 @@ get_pkg_version() {
|
||||
get_pkg_variable "$1" PKG_VERSION
|
||||
}
|
||||
|
||||
get_pkg_sha256() {
|
||||
get_pkg_variable "$1" PKG_SHA256
|
||||
}
|
||||
|
||||
get_pkg_version_maj_min() {
|
||||
local pkg_version
|
||||
|
||||
@@ -1262,7 +1111,7 @@ source_package() {
|
||||
unset_functions
|
||||
|
||||
if [ -n "${1}" ]; then
|
||||
[ -f "${1}" ] && PKG_DIR="${1%/*}" || PKG_DIR="$(get_pkg_directory "${1}")"
|
||||
[ -f "${1}" ] && PKG_DIR="$(dirname "${1}")" || PKG_DIR="$(get_pkg_directory "${1}")"
|
||||
|
||||
[ -n "$PKG_DIR" -a -r $PKG_DIR/package.mk ] || die "FAILURE: unable to source package - ${1}/package.mk does not exist"
|
||||
|
||||
@@ -1314,10 +1163,10 @@ source_package() {
|
||||
${PKG_NAME}-${PKG_VERSION}.*)
|
||||
PKG_SOURCE_NAME=$PKG_SOURCE_NAME
|
||||
;;
|
||||
*.tar | *.tbz | *.tgz | *.txz | *.tzst | *.7z | *.zip)
|
||||
*.tar | *.tbz | *.tgz | *.txz | *.7z | *.zip)
|
||||
PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.${PKG_SOURCE_NAME##*\.}
|
||||
;;
|
||||
*.tar.bz2 | *.tar.gz | *.tar.xz | *.tar.zst )
|
||||
*.tar.bz2 | *.tar.gz | *.tar.xz)
|
||||
PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.tar.${PKG_SOURCE_NAME##*\.}
|
||||
;;
|
||||
*.diff | *.patch | *.diff.bz2 | *.patch.bz2 | patch-*.bz2 | *.diff.gz | *.patch.gz | patch-*.gz)
|
||||
@@ -1337,8 +1186,6 @@ source_package() {
|
||||
elif [[ "${1}" =~ :init$ ]]; then
|
||||
PKG_INSTALL="$BUILD/install_init/${PKG_NAME}-${PKG_VERSION}"
|
||||
fi
|
||||
|
||||
PKG_QA_CHECKS="${BUILD}/qa_checks/${PKG_NAME}-${PKG_VERSION}"
|
||||
fi
|
||||
|
||||
build_with_debug && BUILD_WITH_DEBUG="yes" || BUILD_WITH_DEBUG="no"
|
||||
@@ -1476,6 +1323,23 @@ get_full_firmware_dir() {
|
||||
echo "$(get_kernel_overlay_dir $1)/lib/firmware"
|
||||
}
|
||||
|
||||
fix_module_depends() {
|
||||
# modify .modinfo section in kernel module to depends on other required modules
|
||||
local MODULE="$1"
|
||||
local DEPENDS="$2"
|
||||
local OLD_DEPENDS=""
|
||||
cp ${MODULE} ${MODULE}_orig
|
||||
$OBJDUMP -s -j .modinfo ${MODULE}_orig | awk 'BEGIN{v=0;} /Contents/ {v=1; next;} {if (v==1) print $0;}' >new.modinfo1
|
||||
cat new.modinfo1 | cut -c7-41 | awk '{printf($0);}' | sed 's/ //g;s/../\\\x&/g;' >new.modinfo2
|
||||
/bin/echo -ne `cat new.modinfo2` | tr '\000' '\n' >new.modinfo3
|
||||
cat new.modinfo3 | awk '/^depends=/ {next;} {print $0;}' | tr '\n' '\000' >new.modinfo
|
||||
OLD_DEPENDS=$(awk '{FS="="} /depends=/ {print $2}' new.modinfo3)
|
||||
[ -n "$OLD_DEPENDS" ] && DEPENDS="$OLD_DEPENDS,$DEPENDS"
|
||||
/bin/echo -ne "depends=$DEPENDS\0" >>new.modinfo
|
||||
$OBJCOPY --remove-section=.modinfo --add-section=.modinfo=new.modinfo --set-section-flags .modinfo=contents,alloc,load,readonly,data ${MODULE}_orig ${MODULE}
|
||||
rm new.modinfo*
|
||||
}
|
||||
|
||||
|
||||
### ADDON HELPERS ###
|
||||
install_binary_addon() {
|
||||
@@ -1559,7 +1423,7 @@ done
|
||||
|
||||
for f in $PKG_DIR/source/resources/screenshot-*.{jpg,png}; do
|
||||
if [ -f "$f" ]; then
|
||||
screenshots+="<screenshot>resources/${f##*/}</screenshot>\n"
|
||||
screenshots+="<screenshot>resources/$(basename $f)</screenshot>\n"
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -1626,8 +1490,6 @@ add_user() {
|
||||
PASSWORD="$2"
|
||||
if [ "$PASSWORD" = "x" ]; then
|
||||
PASSWORD="*"
|
||||
else
|
||||
PASSWORD=$(openssl passwd -6 "${PASSWORD}")
|
||||
fi
|
||||
if ! grep -q "^$1:" ${INSTALL}/usr/cache/shadow; then
|
||||
echo "$1:$PASSWORD:::::::" >> ${INSTALL}/usr/cache/shadow
|
||||
@@ -1859,24 +1721,6 @@ release_update_lock() {
|
||||
flock --unlock 97 2>/dev/null
|
||||
}
|
||||
|
||||
# store current timestamp in TIMESTAMP_xxx variable (xxx set by arg)
|
||||
# timestamps are seconds.milliseconds since epoch
|
||||
record_timestamp() {
|
||||
if [ -n "${TRACE_BUILD_TIMING}" ]; then
|
||||
typeset -g "TIMESTAMP_$1=$(date +%s.%3N)"
|
||||
fi
|
||||
}
|
||||
|
||||
# args: text, start timestamp, end timestamp
|
||||
show_timestamp_diff() {
|
||||
if [ -n "${TRACE_BUILD_TIMING}" ]; then
|
||||
local start="TIMESTAMP_$2"
|
||||
local end="TIMESTAMP_$3"
|
||||
local timediff=$(echo "${!end}-${!start}" | bc)
|
||||
printf '%20s: %10.3f\n' "$1" "${timediff}"
|
||||
fi
|
||||
}
|
||||
|
||||
# Use distribution functions if any
|
||||
if [ -f "distributions/$DISTRO/config/functions" ]; then
|
||||
. distributions/$DISTRO/config/functions
|
||||
|
||||
@@ -1,32 +1,21 @@
|
||||
[ -z "${OPENGL}" ] && OPENGL="no"
|
||||
[ -z "${OPENGLES}" ] && OPENGLES="no"
|
||||
[ -z "${VULKAN}" ] && VULKAN="no"
|
||||
|
||||
if [ "${OPENGL}" = "no" ]; then
|
||||
if [ "${OPENGL}" = no ]; then
|
||||
OPENGL_SUPPORT="no"
|
||||
else
|
||||
OPENGL_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES}" = "no" ]; then
|
||||
if [ "${OPENGLES}" = no ]; then
|
||||
OPENGLES_SUPPORT="no"
|
||||
else
|
||||
OPENGLES_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if [ "${VULKAN}" = "no" ]; then
|
||||
VULKAN_SUPPORT="no"
|
||||
else
|
||||
VULKAN_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
get_graphicdrivers() {
|
||||
|
||||
# set defaults
|
||||
GALLIUM_DRIVERS=""
|
||||
DRI_DRIVERS=""
|
||||
XORG_DRIVERS=""
|
||||
VULKAN_DRIVERS_CONFIG=""
|
||||
VULKAN_DRIVERS_MESA=""
|
||||
LLVM_SUPPORT="no"
|
||||
COMPOSITE_SUPPORT="no"
|
||||
VDPAU_SUPPORT="no"
|
||||
@@ -34,14 +23,7 @@ get_graphicdrivers() {
|
||||
V4L2_SUPPORT="no"
|
||||
|
||||
if [ "${GRAPHIC_DRIVERS}" = "all" ]; then
|
||||
GRAPHIC_DRIVERS="crocus i915 iris r300 r600 radeonsi nvidia nvidia-legacy nvidia-ng vmware virtio vc4"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "crocus"; then
|
||||
GALLIUM_DRIVERS+=" crocus"
|
||||
XORG_DRIVERS+=" intel"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="yes"
|
||||
GRAPHIC_DRIVERS="iris i915 i965 r200 r300 r600 radeonsi nvidia nvidia-legacy vmware virtio vc4"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "etnaviv"; then
|
||||
@@ -59,7 +41,14 @@ get_graphicdrivers() {
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "i915"; then
|
||||
GALLIUM_DRIVERS+=" i915"
|
||||
DRI_DRIVERS+=" i915"
|
||||
XORG_DRIVERS+=" intel"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "i965"; then
|
||||
DRI_DRIVERS+=" i965"
|
||||
XORG_DRIVERS+=" intel"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="yes"
|
||||
@@ -68,7 +57,6 @@ get_graphicdrivers() {
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "iris"; then
|
||||
GALLIUM_DRIVERS+=" iris"
|
||||
XORG_DRIVERS+=" intel"
|
||||
VULKAN_DRIVERS_MESA+=" intel"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="yes"
|
||||
fi
|
||||
@@ -84,7 +72,6 @@ get_graphicdrivers() {
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "nvidia"; then
|
||||
XORG_DRIVERS+=" nvidia"
|
||||
VULKAN_DRIVERS_CONFIG+=" nvidia"
|
||||
VDPAU_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
@@ -93,17 +80,17 @@ get_graphicdrivers() {
|
||||
VDPAU_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "nvidia-ng"; then
|
||||
VULKAN_DRIVERS_CONFIG+=" nvidia-ng"
|
||||
VAAPI_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "panfrost"; then
|
||||
GALLIUM_DRIVERS+=" kmsro panfrost"
|
||||
VULKAN_DRIVERS_MESA+=" panfrost"
|
||||
V4L2_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "r200"; then
|
||||
DRI_DRIVERS+=" r200"
|
||||
XORG_DRIVERS+=" ati"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "r300"; then
|
||||
GALLIUM_DRIVERS+=" r300"
|
||||
XORG_DRIVERS+=" ati"
|
||||
@@ -124,7 +111,6 @@ get_graphicdrivers() {
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "radeonsi"; then
|
||||
GALLIUM_DRIVERS+=" radeonsi"
|
||||
XORG_DRIVERS+=" ati amdgpu"
|
||||
VULKAN_DRIVERS_MESA+=" amd"
|
||||
LLVM_SUPPORT="yes"
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
VDPAU_SUPPORT="yes"
|
||||
@@ -133,7 +119,6 @@ get_graphicdrivers() {
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "vc4"; then
|
||||
GALLIUM_DRIVERS+=" vc4 v3d kmsro"
|
||||
VULKAN_DRIVERS_MESA+=" broadcom"
|
||||
V4L2_SUPPORT="yes"
|
||||
VAAPI_SUPPORT="no"
|
||||
VDPAU_SUPPORT="no"
|
||||
@@ -149,16 +134,8 @@ get_graphicdrivers() {
|
||||
COMPOSITE_SUPPORT="yes"
|
||||
fi
|
||||
|
||||
# VDPAU Support depends on X11
|
||||
if [ ! "${DISPLAYSERVER}" = "x11" ]; then
|
||||
VDPAU_SUPPORT="no"
|
||||
fi
|
||||
|
||||
# remove duplicate entries
|
||||
GALLIUM_DRIVERS="$(echo ${GALLIUM_DRIVERS} | xargs -n1 | sort -u | xargs)"
|
||||
GRAPHIC_DRIVERS="$(echo ${GRAPHIC_DRIVERS} | xargs -n1 | sort -u | xargs)"
|
||||
XORG_DRIVERS="$(echo ${XORG_DRIVERS} | xargs -n1 | sort -u | xargs)"
|
||||
VULKAN_DRIVERS_MESA="$(echo ${VULKAN_DRIVERS_MESA} | xargs -n1 | sort -u | xargs)"
|
||||
VULKAN_DRIVERS_CONFIG+=" ${VULKAN_DRIVERS_MESA}"
|
||||
VULKAN_DRIVERS_CONFIG="$(echo ${VULKAN_DRIVERS_CONFIG} | xargs -n1 | sort -u | xargs)"
|
||||
DRI_DRIVERS="$(echo ${DRI_DRIVERS} | xargs -n1 | sort -u | xargs)"
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ fi
|
||||
|
||||
# create bootloader configuration
|
||||
echo "creating bootloader configuration..."
|
||||
echo "boot=$id1 disk=$id2 quiet @EXTRA_CMDLINE@" > $MOUNTPOINT/cmdline.txt
|
||||
echo "boot=$id1 disk=$id2 quiet" > $MOUNTPOINT/cmdline.txt
|
||||
|
||||
# cleanup mountpoint
|
||||
umount $MOUNTPOINT
|
||||
|
||||
@@ -27,29 +27,26 @@ FLAGS_OPTIM_LTO_FAT="-ffat-lto-objects"
|
||||
FLAGS_OPTIM_LTO_OFF="-fno-lto"
|
||||
LDFLAGS_OPTIM_LTO_COMMON="-fuse-linker-plugin"
|
||||
|
||||
# linker specific flags
|
||||
LDFLAGS_OPTIM_LINKER_COMPILER_DEFAULT=""
|
||||
LDFLAGS_OPTIM_LINKER_BFD="-fuse-ld=bfd"
|
||||
LDFLAGS_OPTIM_LINKER_GOLD="-fuse-ld=gold"
|
||||
LDFLAGS_OPTIM_LINKER_MOLD="-fuse-ld=mold"
|
||||
# gold flags
|
||||
LDFLAGS_OPTIM_GOLD="-fuse-ld=gold"
|
||||
|
||||
# default compiler optimization
|
||||
CFLAGS_OPTIM_DEFAULT="-O2 -fomit-frame-pointer -DNDEBUG"
|
||||
CFLAGS_OPTIM_DEFAULT="-O2 -fomit-frame-pointer"
|
||||
CXXFLAGS_OPTIM_DEFAULT="$CFLAGS_OPTIM_DEFAULT"
|
||||
# speed flag
|
||||
CFLAGS_OPTIM_SPEED="-O3 -fomit-frame-pointer -DNDEBUG"
|
||||
CFLAGS_OPTIM_SPEED="-O3 -fomit-frame-pointer"
|
||||
CXXFLAGS_OPTIM_SPEED="$CFLAGS_OPTIM_SPEED"
|
||||
# size flag
|
||||
CFLAGS_OPTIM_SIZE="-Os -fomit-frame-pointer -DNDEBUG"
|
||||
CFLAGS_OPTIM_SIZE="-Os -fomit-frame-pointer"
|
||||
CXXFLAGS_OPTIM_SIZE="$CFLAGS_OPTIM_SIZE"
|
||||
# debug settings
|
||||
CFLAGS_OPTIM_DEBUG="-ggdb -Og"
|
||||
CFLAGS_OPTIM_DEBUG="-ggdb -Os"
|
||||
CXXFLAGS_OPTIM_DEBUG="$CFLAGS_OPTIM_DEBUG"
|
||||
LDFLAGS_OPTIM_DEBUG="-ggdb"
|
||||
# split debug settings (requires gold)
|
||||
CFLAGS_OPTIM_DEBUG_SPLIT="-gdwarf-4 -gsplit-dwarf -Og"
|
||||
CFLAGS_OPTIM_DEBUG_SPLIT="-gsplit-dwarf -Os"
|
||||
CXXFLAGS_OPTIM_DEBUG_SPLIT="$CFLAGS_OPTIM_DEBUG_SPLIT"
|
||||
LDFLAGS_OPTIM_DEBUG_SPLIT="-gdwarf-4 -Wl,--gdb-index"
|
||||
LDFLAGS_OPTIM_DEBUG_SPLIT="-Wl,--gdb-index"
|
||||
|
||||
# position-independent code
|
||||
CFLAGS_OPTIM_PIC="-fPIC -DPIC"
|
||||
@@ -69,14 +66,13 @@ if [ -z "$HOST_LIBDIR" ]; then
|
||||
|
||||
# ubuntu/debian specific "multiarch support"
|
||||
export MACHINE_HARDWARE_NAME="$(uname -m)"
|
||||
FAMILY_TRIPLET=$($LOCAL_CC -print-multiarch)
|
||||
if [ -n "$FAMILY_TRIPLET" ]; then
|
||||
if [ -d /lib/$FAMILY_TRIPLET ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /lib/$FAMILY_TRIPLET"
|
||||
fi
|
||||
if [ -d /usr/lib/$FAMILY_TRIPLET ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /usr/lib/$FAMILY_TRIPLET"
|
||||
fi
|
||||
export MACHINE_HARDWARE_PLATFORM="$(uname -i)"
|
||||
FAMILY_TRIPLET=${HOST_NAME/${MACHINE_HARDWARE_NAME}/${MACHINE_HARDWARE_PLATFORM}}
|
||||
if [ -d /lib/$FAMILY_TRIPLET ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /lib/$FAMILY_TRIPLET"
|
||||
fi
|
||||
if [ -d /usr/lib/$FAMILY_TRIPLET ]; then
|
||||
HOST_LIBDIR="$HOST_LIBDIR /usr/lib/$FAMILY_TRIPLET"
|
||||
fi
|
||||
|
||||
# default multiarch support
|
||||
|
||||
@@ -26,41 +26,38 @@ DISTRO="${DISTRO:-LibreELEC}"
|
||||
# determines PROJECT, if not forced by user
|
||||
export PROJECT="${PROJECT:-Generic}"
|
||||
|
||||
# default to Generic device if building Generic project without device set
|
||||
if [ "${PROJECT}" = "Generic" -a -z "${DEVICE}" ]; then
|
||||
export DEVICE="Generic"
|
||||
fi
|
||||
|
||||
# determines TARGET_ARCH, if not forced by user
|
||||
export ARCH="${ARCH:-x86_64}"
|
||||
TARGET_ARCH="${ARCH}"
|
||||
|
||||
# include arm-mem package on arm
|
||||
if [ "${TARGET_ARCH}" = "arm" ]; then
|
||||
ARM_MEM_SUPPORT="yes"
|
||||
else
|
||||
ARM_MEM_SUPPORT="no"
|
||||
fi
|
||||
|
||||
# include helper functions
|
||||
. config/functions
|
||||
|
||||
# read DISTRO version information
|
||||
. "${DISTRO_DIR}/${DISTRO}/version" || die "\nERROR: No distro version present\n"
|
||||
|
||||
# read DISTRO options
|
||||
# read DISTRO options if available
|
||||
if [ -f "${DISTRO_DIR}/${DISTRO}/options" ]; then
|
||||
. "${DISTRO_DIR}/${DISTRO}/options"
|
||||
fi
|
||||
|
||||
# read PROJECT options
|
||||
# read PROJECT options if available
|
||||
if [ -f "${PROJECT_DIR}/${PROJECT}/options" ]; then
|
||||
. "${PROJECT_DIR}/${PROJECT}/options"
|
||||
fi
|
||||
|
||||
# read DEVICE options
|
||||
# read DEVICE options if available
|
||||
if [ -f "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options" ]; then
|
||||
. "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options"
|
||||
fi
|
||||
|
||||
# read architecture defaults
|
||||
if [ -f "config/arch.${TARGET_ARCH}" ]; then
|
||||
. "config/arch.${TARGET_ARCH}"
|
||||
fi
|
||||
|
||||
# projects can set KERNEL_NAME (kernel.img)
|
||||
KERNEL_NAME="${KERNEL_NAME:-KERNEL}"
|
||||
|
||||
@@ -96,15 +93,6 @@ VERBOSE="${VERBOSE:-yes}"
|
||||
# directory.
|
||||
CCACHE_CACHE_SIZE="10G"
|
||||
|
||||
# compression level for ccache
|
||||
# This option determines the level at which ccache will compress object files
|
||||
# using the real-time compression algorithm Zstandard. It only has effect if
|
||||
# compression is enabled (which it is by default). Zstandard is extremely fast
|
||||
# for decompression and very fast for compression for lower compression
|
||||
# levels. The default is 0. The value 0 means that ccache will choose a
|
||||
# suitable zstd level, currently 1.
|
||||
CCACHE_COMPRESSLEVEL="0"
|
||||
|
||||
# set addon paths
|
||||
if [ -z "$ADDON_PATH" ]; then
|
||||
if [ -n "$ADDON_PROJECT" ]; then
|
||||
@@ -127,18 +115,6 @@ if [ -f "${HOME}/.libreelec/options" ]; then
|
||||
. "${HOME}/.libreelec/options"
|
||||
fi
|
||||
|
||||
if [ "${LOCAL_CCACHE_SUPPORT}" = "yes" ] && [ -z "${CCACHE_DISABLE}" ]; then
|
||||
# like LOCAL_CC check for local ccache only on the very first
|
||||
# call to config/options, before toolchain has been added to the path,
|
||||
# otherwise we might pick up ccache from toolchain/bin here
|
||||
if [ -z "${LOCAL_CCACHE}" ] && [ "${LOCAL_CCACHE_CHECKED}" != "yes" ]; then
|
||||
export LOCAL_CCACHE="$(command -v ccache)"
|
||||
export LOCAL_CCACHE_CHECKED="yes"
|
||||
fi
|
||||
else
|
||||
export LOCAL_CCACHE=""
|
||||
fi
|
||||
|
||||
# overwrite OEM_SUPPORT via commandline
|
||||
if [ "${OEM}" = "yes" -o "${OEM}" = "no" ]; then
|
||||
OEM_SUPPORT="${OEM}"
|
||||
|
||||
28
config/path
28
config/path
@@ -13,6 +13,11 @@ set -e
|
||||
TARGET_IMG=${TARGET_DIR:-$ROOT/target}
|
||||
ADDONS=addons
|
||||
|
||||
# include ARCH specific options
|
||||
if [ -f config/arch.$TARGET_ARCH ]; then
|
||||
. config/arch.$TARGET_ARCH
|
||||
fi
|
||||
|
||||
[ -z "${HOST_NAME}" ] && export HOST_NAME="$($LOCAL_CC -dumpmachine)"
|
||||
TARGET_NAME=$TARGET_GCC_ARCH-libreelec-linux-gnu${TARGET_ABI}
|
||||
|
||||
@@ -56,12 +61,18 @@ XORG_PATH_DRIVERS=/usr/lib/xorg/modules/drivers
|
||||
|
||||
. config/optimize
|
||||
|
||||
# use different toolchain for 64/32 split builds
|
||||
# use ARM toolchain on 64/32 split builds
|
||||
if [ -z "$KERNEL_TOOLCHAIN" -a "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
|
||||
KERNEL_TOOLCHAIN="aarch64"
|
||||
if [ "${MACHINE_HARDWARE_NAME}" = "x86_64" ]; then
|
||||
KERNEL_TOOLCHAIN="aarch64-none-linux-gnu"
|
||||
elif [ "${MACHINE_HARDWARE_NAME}" = "aarch64" ]; then
|
||||
KERNEL_TOOLCHAIN="aarch64-none-elf"
|
||||
else
|
||||
die "No known toolchain available for ${MACHINE_HARDWARE_NAME}."
|
||||
fi
|
||||
fi
|
||||
if [ -n "$KERNEL_TOOLCHAIN" ]; then
|
||||
TARGET_KERNEL_PREFIX=$KERNEL_TOOLCHAIN-none-elf-
|
||||
TARGET_KERNEL_PREFIX=$TOOLCHAIN/lib/gcc-arm-$KERNEL_TOOLCHAIN/bin/$KERNEL_TOOLCHAIN-
|
||||
else
|
||||
TARGET_KERNEL_PREFIX=$TARGET_PREFIX
|
||||
fi
|
||||
@@ -70,14 +81,6 @@ if [ -z "$CCACHE_DIR" ]; then
|
||||
export CCACHE_DIR=$BUILD/.ccache
|
||||
fi
|
||||
|
||||
# keep a copy of ccache dir used for toolchain ccache
|
||||
export BUILD_CCACHE_DIR="${CCACHE_DIR}"
|
||||
|
||||
# local ccache dir in case we build early packages with local ccache
|
||||
if [ -z "${LOCAL_CCACHE_DIR}" ]; then
|
||||
export LOCAL_CCACHE_DIR="${BUILD}/.ccache-local"
|
||||
fi
|
||||
|
||||
if [[ -z "$PATH" || ( "$PATH" != "$TOOLCHAIN/bin:$TOOLCHAIN/sbin" && "$PATH" = "${PATH#$TOOLCHAIN/bin:$TOOLCHAIN/sbin:}" ) ]]; then
|
||||
export PATH="$TOOLCHAIN/bin:$TOOLCHAIN/sbin${PATH:+":$PATH"}"
|
||||
fi
|
||||
@@ -103,6 +106,3 @@ unset CONFIG_SITE
|
||||
# Ignore custom python installs...
|
||||
unset PYTHONHOME PYTHONPATH PYTHONSTARTUP
|
||||
export PYTHONNOUSERSITE=yes #disable PEP 370
|
||||
|
||||
# Fix #4737
|
||||
unset PYTHONDONTWRITEBYTECODE
|
||||
|
||||
166
config/show_config
Normal file → Executable file
166
config/show_config
Normal file → Executable file
@@ -5,141 +5,101 @@ show_config() {
|
||||
get_graphicdrivers
|
||||
|
||||
dashes="==========================="
|
||||
config_message="\n ${dashes}${dashes}${dashes}"
|
||||
config_message+="\n Configuration for ${DISTRONAME} "
|
||||
if [ "${OFFICIAL}" = "yes" ]; then
|
||||
config_message+="(official)"
|
||||
else
|
||||
config_message+="(community)"
|
||||
fi
|
||||
config_message+="\n ${dashes}${dashes}${dashes}"
|
||||
config_message="\n $dashes$dashes$dashes"
|
||||
config_message+="\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community"))"
|
||||
config_message+="\n $dashes$dashes$dashes"
|
||||
|
||||
# Build options
|
||||
|
||||
config_message+="\n\n Buildsystem configuration:"
|
||||
config_message+="\n ${dashes}${dashes}"
|
||||
config_message+="\n $dashes$dashes"
|
||||
|
||||
config_message+="\n - CPU:\t\t\t\t\t ${TARGET_CPU}"
|
||||
config_message+="\n - Kernel Architecture:\t\t\t ${TARGET_KERNEL_ARCH}"
|
||||
config_message+="\n - Userland Architecture:\t\t ${TARGET_ARCH}"
|
||||
if [ -n "${TARGET_FLOAT}" ]; then
|
||||
config_message+="\n - FLOAT:\t\t\t\t ${TARGET_FLOAT}"
|
||||
fi
|
||||
if [ -n "${TARGET_FPU}" ]; then
|
||||
config_message+="\n - FPU:\t\t\t\t\t ${TARGET_FPU}"
|
||||
fi
|
||||
config_message+="\n - CPU features:\t\t\t ${TARGET_FEATURES}"
|
||||
config_message+="\n - LTO (Link Time Optimization) support: ${LTO_SUPPORT}"
|
||||
config_message+="\n - GOLD (Google Linker) Support:\t ${GOLD_SUPPORT}"
|
||||
config_message+="\n - MOLD (Modern Linker) Support:\t ${MOLD_SUPPORT}"
|
||||
config_message+="\n - Default Linker:\t\t\t ${DEFAULT_LINKER}"
|
||||
config_message+="\n - Accelerated arm libc functions:\t ${ARM_MEM_SUPPORT}"
|
||||
config_message+="\n - LLVM support:\t\t\t ${LLVM_SUPPORT}"
|
||||
config_message+="\n - CPU (ARCH):\t\t\t\t $TARGET_CPU ($TARGET_ARCH)"
|
||||
config_message+="\n - FLOAT:\t\t\t\t $TARGET_FLOAT"
|
||||
config_message+="\n - FPU:\t\t\t\t\t $TARGET_FPU"
|
||||
config_message+="\n - CPU features:\t\t\t $TARGET_FEATURES"
|
||||
config_message+="\n - LTO (Link Time Optimization) support: $LTO_SUPPORT"
|
||||
config_message+="\n - GOLD (Google Linker) Support:\t $GOLD_SUPPORT"
|
||||
config_message+="\n - LLVM support:\t\t\t $LLVM_SUPPORT"
|
||||
config_message+="\n - DEBUG:\t\t\t\t ${DEBUG:-no}"
|
||||
config_message+="\n - CFLAGS:\t\t\t\t ${TARGET_CFLAGS}"
|
||||
config_message+="\n - LDFLAGS:\t\t\t\t $(sed 's/^ *//' <<< ${TARGET_LDFLAGS})"
|
||||
config_message+="\n - Local Ccache:\t\t\t ${LOCAL_CCACHE:-no}"
|
||||
config_message+="\n - CFLAGS:\t $TARGET_CFLAGS"
|
||||
config_message+="\n - LDFLAGS:\t $TARGET_LDFLAGS"
|
||||
|
||||
# Misc. hardware configuration
|
||||
|
||||
config_message+="\n\n Misc. hardware configuration:"
|
||||
config_message+="\n ${dashes}${dashes}"
|
||||
config_message+="\n $dashes$dashes"
|
||||
|
||||
config_message+="\n - ALSA support:\t\t\t ${ALSA_SUPPORT}"
|
||||
config_message+="\n - Pulseaudio support:\t\t\t ${PULSEAUDIO_SUPPORT}"
|
||||
config_message+="\n - Bluetooth support:\t\t\t ${BLUETOOTH_SUPPORT}"
|
||||
config_message+="\n - ALSA support:\t\t\t $ALSA_SUPPORT"
|
||||
config_message+="\n - Pulseaudio support:\t\t\t $PULSEAUDIO_SUPPORT"
|
||||
config_message+="\n - Bluetooth support:\t\t\t $BLUETOOTH_SUPPORT"
|
||||
|
||||
for config_driver in ${ADDITIONAL_DRIVERS}; do
|
||||
config_message+="\n - Include driver:\t\t\t ${config_driver}"
|
||||
for config_driver in $ADDITIONAL_DRIVERS; do
|
||||
config_message+="\n - Include driver:\t\t\t $config_driver"
|
||||
done
|
||||
|
||||
if [ "${DRIVER_ADDONS_SUPPORT}" = "yes" ]; then
|
||||
for config_driver_addons in ${DRIVER_ADDONS}; do
|
||||
config_message+="\n - Include driver add-ons:\t\t ${config_driver_addons}"
|
||||
if [ "$DRIVER_ADDONS_SUPPORT" = "yes" ]; then
|
||||
for config_driver_addons in $DRIVER_ADDONS; do
|
||||
config_message+="\n - Include driver add-ons:\t\t $config_driver_addons"
|
||||
done
|
||||
fi
|
||||
|
||||
for config_firmware in ${FIRMWARE}; do
|
||||
config_message+="\n - Include firmware:\t\t\t ${config_firmware}"
|
||||
for config_firmware in $FIRMWARE; do
|
||||
config_message+="\n - Include firmware:\t\t\t $config_firmware"
|
||||
done
|
||||
|
||||
# Image Filsystem
|
||||
|
||||
config_message+="\n\n Image Filesystems:"
|
||||
config_message+="\n ${dashes}${dashes}"
|
||||
config_message+="\n - Flash Size (MiB): \t\t\t ${SYSTEM_SIZE}"
|
||||
config_message+="\n - Storage Size (MiB): \t\t\t ${STORAGE_SIZE}"
|
||||
config_message+="\n - SquashFS Compression Method: \t ${SQUASHFS_COMPRESSION}"
|
||||
if [ -n "${SQUASHFS_COMPRESSION_OPTION}" ]; then
|
||||
config_message+="\n - SquashFS Compression Options: \t ${SQUASHFS_COMPRESSION_OPTION}"
|
||||
fi
|
||||
|
||||
# Misc. Filesystems
|
||||
|
||||
config_message+="\n\n Misc. Filesystems:"
|
||||
config_message+="\n ${dashes}${dashes}"
|
||||
config_message+="\n $dashes$dashes"
|
||||
|
||||
config_message+="\n - Swap Support:\t\t\t ${SWAP_SUPPORT}"
|
||||
if [ "${SWAP_SUPPORT}" = "yes" ]; then
|
||||
config_message+="\n - Swapfile default size:\t\t ${SWAPFILESIZE}"
|
||||
config_message+="\n - Swap Support:\t\t\t $SWAP_SUPPORT"
|
||||
if [ "$SWAP_SUPPORT" = "yes" ]; then
|
||||
config_message+="\n - Swapfile default size:\t\t $SWAPFILESIZE"
|
||||
fi
|
||||
config_message+="\n - NTFS Support (via Fuse):\t\t $NTFS3G"
|
||||
config_message+="\n - Install HFS Tools:\t\t\t $HFSTOOLS"
|
||||
|
||||
# Network service configuration
|
||||
|
||||
config_message+="\n\n Network service configuration:"
|
||||
config_message+="\n ${dashes}${dashes}"
|
||||
config_message+="\n $dashes$dashes"
|
||||
|
||||
config_message+="\n - Avahi (Zeroconf) support:\t\t ${AVAHI_DAEMON}"
|
||||
config_message+="\n - NFS mounting support:\t\t ${NFS_SUPPORT}"
|
||||
config_message+="\n - SAMBA mounting support:\t\t ${SAMBA_SUPPORT}"
|
||||
config_message+="\n - SAMBA server support:\t\t ${SAMBA_SERVER}"
|
||||
config_message+="\n - SFTP server support:\t\t\t ${SFTP_SERVER}"
|
||||
config_message+="\n - OpenVPN support:\t\t\t ${OPENVPN_SUPPORT}"
|
||||
config_message+="\n - WireGuard support:\t\t\t ${WIREGUARD_SUPPORT}"
|
||||
config_message+="\n - Avahi (Zeroconf) support:\t\t $AVAHI_DAEMON"
|
||||
config_message+="\n - NFS mounting support:\t\t $NFS_SUPPORT"
|
||||
config_message+="\n - SAMBA mounting support:\t\t $SAMBA_SUPPORT"
|
||||
config_message+="\n - SAMBA server support:\t\t $SAMBA_SERVER"
|
||||
config_message+="\n - SFTP server support:\t\t\t $SFTP_SERVER"
|
||||
config_message+="\n - OpenVPN support:\t\t\t $OPENVPN_SUPPORT"
|
||||
config_message+="\n - WireGuard support:\t\t\t $WIREGUARD_SUPPORT"
|
||||
|
||||
# Graphic configuration
|
||||
|
||||
config_message+="\n\n Graphic configuration:"
|
||||
config_message+="\n ${dashes}${dashes}"
|
||||
config_message+="\n - Graphic Drivers:\t\t\t ${GRAPHIC_DRIVERS}"
|
||||
config_message+="\n - Display Server:\t\t\t ${DISPLAYSERVER}"
|
||||
if [ "${DISPLAYSERVER}" = "x11" ] ; then
|
||||
for drv in ${XORG_DRIVERS}; do
|
||||
XORG_DRIVERS_CONFIG+="xf86-video-${drv} "
|
||||
done
|
||||
config_message+="\n - X.Org Graphic Drivers:\t\t ${XORG_DRIVERS_CONFIG}"
|
||||
config_message+="\n - X.Org Composite support:\t\t ${COMPOSITE_SUPPORT}"
|
||||
fi
|
||||
config_message+="\n - Window Manager / Compositor:\t\t ${WINDOWMANAGER}"
|
||||
config_message+="\n - OpenGL (GLX) support (provider):\t ${OPENGL_SUPPORT}"
|
||||
[ "${OPENGL}" != "no" ] && config_message+=" (${OPENGL})"
|
||||
config_message+="\n - OpenGL ES support (provider):\t ${OPENGLES_SUPPORT}"
|
||||
[ "${OPENGLES}" != "no" ] && config_message+=" (${OPENGLES})"
|
||||
config_message+="\n - Vulkan API support (provider):\t ${VULKAN_SUPPORT}"
|
||||
[ "${VULKAN}" != "no" ] && config_message+=" (${VULKAN})"
|
||||
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
|
||||
config_message+="\n - Vulkan Graphic Drivers:\t\t ${VULKAN_DRIVERS_CONFIG}"
|
||||
fi
|
||||
config_message+="\n $dashes$dashes"
|
||||
|
||||
# Video Acceleration configuration
|
||||
|
||||
config_message+="\n\n Video Acceleration configuration:"
|
||||
config_message+="\n ${dashes}${dashes}"
|
||||
config_message+="\n - VA-API Support:\t\t\t ${VAAPI_SUPPORT}"
|
||||
config_message+="\n - VDPAU Support:\t\t\t ${VDPAU_SUPPORT}"
|
||||
if [ "$DISPLAYSERVER" = "x11" ] ; then
|
||||
config_message+="\n - Xorg Graphic Drivers:\t\t $GRAPHIC_DRIVERS"
|
||||
config_message+="\n - XORG Composite support:\t\t $COMPOSITE_SUPPORT"
|
||||
config_message+="\n - WindowManager:\t\t\t $WINDOWMANAGER"
|
||||
fi
|
||||
config_message+="\n - OpenGL (GLX) support (provider):\t $OPENGL_SUPPORT ($OPENGL)"
|
||||
config_message+="\n - OpenGLES support (provider):\t\t $OPENGLES_SUPPORT ($OPENGLES)"
|
||||
config_message+="\n - VAAPI Support:\t\t\t $VAAPI_SUPPORT"
|
||||
config_message+="\n - VDPAU Support:\t\t\t $VDPAU_SUPPORT"
|
||||
|
||||
# OS configuration
|
||||
|
||||
config_message+="\n\n OS configuration:"
|
||||
config_message+="\n ${dashes}${dashes}"
|
||||
config_message+="\n $dashes$dashes"
|
||||
|
||||
config_message+="\n - OEM Support:\t\t\t\t ${OEM_SUPPORT}"
|
||||
config_message+="\n - Default ROOT Password:\t\t ${ROOT_PASSWORD}"
|
||||
config_message+="\n - Bootloader:\t\t\t\t ${BOOTLOADER}"
|
||||
config_message+="\n - UDevil support:\t\t\t ${UDEVIL}"
|
||||
config_message+="\n - Installer support:\t\t\t ${INSTALLER_SUPPORT}"
|
||||
for config_package in ${ADDITIONAL_PACKAGES}; do
|
||||
config_message+="\n - Include package:\t\t\t ${config_package}"
|
||||
config_message+="\n - OEM Support:\t\t\t\t $OEM_SUPPORT"
|
||||
config_message+="\n - Default ROOT Password:\t\t $ROOT_PASSWORD"
|
||||
config_message+="\n - Bootloader:\t\t\t\t $BOOTLOADER"
|
||||
config_message+="\n - UDevil support:\t\t\t $UDEVIL"
|
||||
config_message+="\n - Installer support:\t\t\t $INSTALLER_SUPPORT"
|
||||
for config_package in $ADDITIONAL_PACKAGES; do
|
||||
config_message+="\n - Include package:\t\t\t $config_package"
|
||||
done
|
||||
|
||||
# Distribution specific configuration
|
||||
@@ -154,10 +114,16 @@ show_config() {
|
||||
show_distro_config
|
||||
fi
|
||||
|
||||
config_message+="\n\n ${dashes}${dashes}${dashes}"
|
||||
config_message+="\n End Configuration for ${DISTRONAME}"
|
||||
config_message+="\n ${dashes}${dashes}${dashes}"
|
||||
config_message+="\n\n $dashes$dashes$dashes"
|
||||
config_message+="\n End Configuration for $DISTRONAME"
|
||||
config_message+="\n $dashes$dashes$dashes"
|
||||
config_message+="\n\n\n"
|
||||
|
||||
echo -e "${config_message}"
|
||||
echo -e "$config_message"
|
||||
}
|
||||
|
||||
|
||||
if [ "${FUNCNAME[0]}" = "main" ]; then
|
||||
. config/options ""
|
||||
show_config
|
||||
fi
|
||||
|
||||
@@ -4,28 +4,6 @@ CONFIG_SQUASHFS=y
|
||||
CONFIG_SQUASHFS_ZSTD=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_HUGETLBFS=n
|
||||
|
||||
# netfilter
|
||||
CONFIG_NETFILTER=y
|
||||
CONFIG_NF_CONNTRACK=m
|
||||
CONFIG_NETFILTER_XTABLES=m
|
||||
CONFIG_NF_REJECT_IPV4=m
|
||||
CONFIG_IP_NF_IPTABLES=m
|
||||
CONFIG_IP_NF_FILTER=m
|
||||
CONFIG_IP_NF_TARGET_REJECT=m
|
||||
CONFIG_IP_NF_MANGLE=m
|
||||
CONFIG_IP_NF_NAT=m
|
||||
CONFIG_IP_NF_TARGET_MASQUERADE=m
|
||||
CONFIG_NF_REJECT_IPV6=m
|
||||
CONFIG_IP6_NF_IPTABLES=m
|
||||
CONFIG_IP6_NF_FILTER=m
|
||||
CONFIG_IP6_NF_TARGET_REJECT=m
|
||||
CONFIG_IP6_NF_MANGLE=m
|
||||
CONFIG_IP6_NF_NAT=m
|
||||
CONFIG_IP6_NF_TARGET_MASQUERADE=m
|
||||
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
|
||||
CONFIG_NETFILTER_XT_TARGET_LOG=m
|
||||
|
||||
# packages/network/iwd
|
||||
CONFIG_CRYPTO_USER_API_HASH=y
|
||||
@@ -47,14 +25,10 @@ CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
|
||||
CONFIG_X509_CERTIFICATE_PARSER=y
|
||||
CONFIG_PKCS7_MESSAGE_PARSER=y
|
||||
CONFIG_PKCS8_PRIVATE_KEY_PARSER=m
|
||||
CONFIG_NLMON=m
|
||||
CONFIG_RFKILL=m
|
||||
|
||||
# packages/network/wireguard
|
||||
CONFIG_NET=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_ADVANCED_ROUTER=y
|
||||
CONFIG_IP_MULTIPLE_TABLES=y
|
||||
CONFIG_NET_UDP_TUNNEL=m
|
||||
CONFIG_CRYPTO_ALGAPI=y
|
||||
CONFIG_WIREGUARD=m
|
||||
@@ -62,23 +36,22 @@ CONFIG_WIREGUARD=m
|
||||
# packages/sysutils/systemd
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_FB_DEVICE=y
|
||||
CONFIG_INOTIFY_USER=y
|
||||
CONFIG_SIGNALFD=y
|
||||
CONFIG_TIMERFD=y
|
||||
CONFIG_EPOLL=y
|
||||
# CONFIG_NET=y # already set in packages/network/wireguard
|
||||
CONFIG_NET=y
|
||||
CONFIG_SYSFS=y
|
||||
CONFIG_PROC_FS=y
|
||||
CONFIG_FHANDLE=y
|
||||
# CONFIG_CRYPTO_USER_API_HASH=y # already set in packages/network/iwd
|
||||
# CONFIG_CRYPTO_HMAC=y # already set in packages/network/iwd
|
||||
# CONFIG_CRYPTO_SHA256=y # already set in packages/network/iwd
|
||||
CONFIG_CRYPTO_USER_API_HASH=y
|
||||
CONFIG_CRYPTO_HMAC=y
|
||||
CONFIG_CRYPTO_SHA256=y
|
||||
CONFIG_SYSFS_DEPRECATED=n
|
||||
CONFIG_UEVENT_HELPER=n
|
||||
CONFIG_FW_LOADER_USER_HELPER=n
|
||||
CONFIG_IPV6=y
|
||||
CONFIG_AUTOFS_FS=y
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
CONFIG_TMPFS_XATTR=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||
@@ -89,87 +62,3 @@ CONFIG_KCMP=y
|
||||
CONFIG_RT_GROUP_SCHED=n
|
||||
CONFIG_CGROUP_BPF=y
|
||||
CONFIG_BPF_SYSCALL=y
|
||||
|
||||
# Native language support
|
||||
CONFIG_NLS=y
|
||||
CONFIG_NLS_DEFAULT="utf8"
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ASCII=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_NLS_UTF8=y
|
||||
|
||||
# Human Interface Device (HID)
|
||||
CONFIG_HID_NINTENDO=m
|
||||
CONFIG_NINTENDO_FF=y
|
||||
|
||||
# Docker
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_NET_NS=y
|
||||
CONFIG_PID_NS=y
|
||||
CONFIG_IPC_NS=y
|
||||
CONFIG_UTS_NS=y
|
||||
# CONFIG_CGROUPS=y # already set in packages/sysutils/systemd
|
||||
CONFIG_CGROUP_CPUACCT=y
|
||||
CONFIG_CGROUP_DEVICE=y
|
||||
CONFIG_CGROUP_FREEZER=y
|
||||
CONFIG_CGROUP_SCHED=y
|
||||
CONFIG_CPUSETS=y
|
||||
CONFIG_MEMCG=y
|
||||
# CONFIG_KEYS=y # already set in packages/network/iwd
|
||||
CONFIG_VETH=m
|
||||
CONFIG_BRIDGE=m
|
||||
CONFIG_BRIDGE_NETFILTER=m
|
||||
# CONFIG_IP_NF_FILTER=m # already set in netfilter
|
||||
# CONFIG_IP_NF_TARGET_MASQUERADE=m # already set in netfilter
|
||||
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
|
||||
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
|
||||
CONFIG_NETFILTER_XT_MATCH_IPVS=m
|
||||
CONFIG_NETFILTER_XT_MARK=m
|
||||
# CONFIG_IP_NF_NAT=m # already set in netfilter
|
||||
CONFIG_NF_NAT=m
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
# CONFIG_CGROUP_BPF=y # already set in packages/sysutils/systemd
|
||||
CONFIG_USER_NS=y
|
||||
# CONFIG_SECCOMP=y # already set in packages/sysutils/systemd
|
||||
# CONFIG_SECCOMP_FILTER=y # already set in packages/sysutils/systemd
|
||||
CONFIG_CGROUP_PIDS=y
|
||||
CONFIG_BLK_CGROUP=y
|
||||
CONFIG_BLK_DEV_THROTTLING=y
|
||||
CONFIG_CGROUP_PERF=y
|
||||
CONFIG_NET_SCHED=y
|
||||
CONFIG_NET_CLS_CGROUP=m
|
||||
CONFIG_CGROUP_NET_PRIO=y
|
||||
CONFIG_CFS_BANDWIDTH=y
|
||||
CONFIG_FAIR_GROUP_SCHED=y
|
||||
CONFIG_IP_NF_TARGET_REDIRECT=m
|
||||
CONFIG_IP_VS=m
|
||||
CONFIG_IP_VS_NFCT=y
|
||||
CONFIG_IP_VS_PROTO_TCP=y
|
||||
CONFIG_IP_VS_PROTO_UDP=y
|
||||
CONFIG_IP_VS_RR=m
|
||||
# CONFIG_EXT4_FS=y # already set in general
|
||||
# CONFIG_EXT4_FS_POSIX_ACL=y # already set in packages/sysutils/systemd
|
||||
CONFIG_EXT4_FS_SECURITY=y
|
||||
CONFIG_VXLAN=m
|
||||
CONFIG_BRIDGE_VLAN_FILTERING=y
|
||||
CONFIG_CRYPTO=y
|
||||
CONFIG_CRYPTO_AEAD=y
|
||||
CONFIG_CRYPTO_GCM=y
|
||||
CONFIG_CRYPTO_SEQIV=y
|
||||
CONFIG_CRYPTO_GHASH=y
|
||||
CONFIG_XFRM=y
|
||||
CONFIG_XFRM_USER=y
|
||||
CONFIG_XFRM_ALGO=y
|
||||
CONFIG_INET_ESP=y
|
||||
CONFIG_IPVLAN=m
|
||||
CONFIG_MACVLAN=m
|
||||
CONFIG_DUMMY=m
|
||||
CONFIG_NF_NAT_FTP=m
|
||||
CONFIG_NF_CONNTRACK_FTP=m
|
||||
CONFIG_NF_NAT_TFTP=m
|
||||
CONFIG_NF_CONNTRACK_TFTP=m
|
||||
CONFIG_MD=y
|
||||
CONFIG_BLK_DEV_DM=m
|
||||
CONFIG_DM_THIN_PROVISIONING=m
|
||||
CONFIG_OVERLAY_FS=m
|
||||
|
||||
@@ -32,39 +32,23 @@
|
||||
# GOLD (Google Linker) support
|
||||
GOLD_SUPPORT="yes"
|
||||
|
||||
# MOLD (Modern Linker) support
|
||||
MOLD_SUPPORT="no"
|
||||
|
||||
# default linker (bfd / gold / mold)
|
||||
DEFAULT_LINKER="gold"
|
||||
|
||||
# HARDENING (security relevant linker and compiler flags) support
|
||||
HARDENING_SUPPORT="no"
|
||||
|
||||
# Default supported get handlers (archive, git, file etc.)
|
||||
GET_HANDLER_SUPPORT="archive"
|
||||
|
||||
# use local ccache on build host, if available, for early package
|
||||
# builds before ccache has been built
|
||||
LOCAL_CCACHE_SUPPORT="yes"
|
||||
|
||||
### OS CONFIGURATION ###
|
||||
|
||||
# Install glibc locales to the build (yes / no)
|
||||
GLIBC_LOCALES="yes"
|
||||
|
||||
# Install arm-mem package on ARM32 (yes / no)
|
||||
if [ "${TARGET_ARCH}" = "arm" ]; then
|
||||
ARM_MEM_SUPPORT="yes"
|
||||
else
|
||||
ARM_MEM_SUPPORT="no"
|
||||
fi
|
||||
|
||||
# additional drivers to install:
|
||||
# for a list of additional drivers see packages/linux-drivers
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
||||
ADDITIONAL_DRIVERS="RTL8192DU RTL8812AU"
|
||||
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU"
|
||||
|
||||
# Default size of system partition, in MB, eg. 512
|
||||
SYSTEM_SIZE=512
|
||||
@@ -72,9 +56,6 @@
|
||||
# Default system partition offset, in sectors, eg. 2048
|
||||
SYSTEM_PART_START=8192
|
||||
|
||||
# Size of storage partition, in MB. Must be >=32
|
||||
STORAGE_SIZE=32
|
||||
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="yes"
|
||||
|
||||
@@ -106,12 +87,6 @@
|
||||
# build and install PulseAudio support (yes / no)
|
||||
PULSEAUDIO_SUPPORT="yes"
|
||||
|
||||
# build and install pipewire support (yes / no)
|
||||
PIPEWIRE_SUPPORT="no"
|
||||
|
||||
# build and install eSpeak-NG support (yes / no)
|
||||
ESPEAK_SUPPORT="no"
|
||||
|
||||
# build and install with BluRay support (yes / no)
|
||||
KODI_BLURAY_SUPPORT="yes"
|
||||
|
||||
@@ -157,14 +132,6 @@
|
||||
# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no)
|
||||
KODI_SAMBA_SUPPORT="yes"
|
||||
|
||||
# build kodi with alsa support (yes/no)
|
||||
KODI_ALSA_SUPPORT="yes"
|
||||
|
||||
# build kodi with pulseaudio support (yes/no)
|
||||
KODI_PULSEAUDIO_SUPPORT="yes"
|
||||
|
||||
# build kodi with pipewire support (yes/no)
|
||||
KODI_PIPEWIRE_SUPPORT="no"
|
||||
|
||||
### KODI ADDONS ###
|
||||
|
||||
@@ -193,8 +160,11 @@
|
||||
DEBUG_GROUPS="kodi+=kodi+,kodi-platform+,p8-platform+,!mesa"
|
||||
DEBUG_GROUP_YES="kodi+"
|
||||
|
||||
# wireless daemon to use (wpa_supplicant/iwd)
|
||||
WIRELESS_DAEMON="wpa_supplicant"
|
||||
|
||||
# build and install iSCSI support - iscsistart (yes / no)
|
||||
ISCSI_SUPPORT="no"
|
||||
ISCSI_SUPPORT="yes"
|
||||
|
||||
# build with NFS support (mounting nfs shares via the OS) (yes / no)
|
||||
NFS_SUPPORT="yes"
|
||||
@@ -223,6 +193,12 @@
|
||||
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
|
||||
INITRAMFS_PARTED_SUPPORT="no"
|
||||
|
||||
# build and install NTFS-3G fuse support (yes / no)
|
||||
NTFS3G="yes"
|
||||
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="yes"
|
||||
|
||||
# build and install nano text editor (yes / no)
|
||||
NANO_EDITOR="yes"
|
||||
|
||||
@@ -232,6 +208,14 @@
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="yes"
|
||||
|
||||
# Windowmanager to use (fluxbox / none)
|
||||
WINDOWMANAGER="fluxbox"
|
||||
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
|
||||
# Space separated list is supported,
|
||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
|
||||
GRAPHIC_DRIVERS="r300 r600 radeonsi iris i915 i965 nvidia nvidia-legacy vmware virtio"
|
||||
|
||||
# build and install remote support (yes / no)
|
||||
REMOTE_SUPPORT="yes"
|
||||
|
||||
@@ -250,9 +234,6 @@
|
||||
# OEM packages for OEM's (yes / no)
|
||||
OEM_SUPPORT="no"
|
||||
|
||||
# build and install ALSA Audio support (yes / no)
|
||||
ALSA_SUPPORT="yes"
|
||||
|
||||
# additional packages to install:
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_PACKAGES="PACKAGE1 PACKAGE2"
|
||||
|
||||
@@ -2,41 +2,41 @@ show_distro_config() {
|
||||
# Hardware decoder support
|
||||
|
||||
config_message+="\n\n Kodi Hardware configuration:"
|
||||
config_message+="\n ${dashes}${dashes}"
|
||||
config_message+="\n $dashes$dashes"
|
||||
|
||||
config_message+="\n - Video Acceleration provider:\t\t ${KODIPLAYER_DRIVER}"
|
||||
config_message+="\n - Video Acceleration provider:\t\t $KODIPLAYER_DRIVER"
|
||||
|
||||
# Input device configuration
|
||||
|
||||
config_message+="\n - Remote support:\t\t\t ${REMOTE_SUPPORT}"
|
||||
config_message+="\n - CEC Adapter support:\t\t\t ${CEC_SUPPORT}"
|
||||
config_message+="\n - CEC Framework support:\t\t ${CEC_FRAMEWORK_SUPPORT}"
|
||||
config_message+="\n - Kodi Joystick support:\t\t ${JOYSTICK_SUPPORT}"
|
||||
config_message+="\n - Remote support:\t\t\t $REMOTE_SUPPORT"
|
||||
config_message+="\n - CEC Adapter support:\t\t\t $CEC_SUPPORT"
|
||||
config_message+="\n - CEC Framework support:\t\t $CEC_FRAMEWORK_SUPPORT"
|
||||
config_message+="\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
|
||||
|
||||
# Kodi configuration
|
||||
|
||||
config_message+="\n\n Kodi Software configuration:"
|
||||
config_message+="\n ${dashes}${dashes}"
|
||||
config_message+="\n $dashes$dashes"
|
||||
|
||||
config_message+="\n - Kodi Blu-ray support:\t\t ${KODI_BLURAY_SUPPORT}"
|
||||
if [ "${KODI_BLURAY_SUPPORT}" = "yes" ] ; then
|
||||
config_message+="\n - Blu-ray BD+ support:\t\t ${BLURAY_BDPLUS_SUPPORT}"
|
||||
config_message+="\n - Blu-ray AACS support:\t\t ${BLURAY_AACS_SUPPORT}"
|
||||
config_message+="\n - Kodi Blu-ray support:\t\t $KODI_BLURAY_SUPPORT"
|
||||
if [ "$KODI_BLURAY_SUPPORT" = "yes" ] ; then
|
||||
config_message+="\n - Blu-ray BD+ support:\t\t $BLURAY_BDPLUS_SUPPORT"
|
||||
config_message+="\n - Blu-ray AACS support:\t\t $BLURAY_AACS_SUPPORT"
|
||||
fi
|
||||
config_message+="\n - Kodi DVDCSS support:\t\t\t ${KODI_DVDCSS_SUPPORT}"
|
||||
config_message+="\n - Kodi Airplay support:\t\t ${KODI_AIRPLAY_SUPPORT}"
|
||||
config_message+="\n - Kodi Airtunes support:\t\t ${KODI_AIRTUNES_SUPPORT}"
|
||||
config_message+="\n - Kodi NFS support:\t\t\t ${KODI_NFS_SUPPORT}"
|
||||
config_message+="\n - Kodi MySQL support:\t\t\t ${KODI_MYSQL_SUPPORT}"
|
||||
config_message+="\n - Kodi Optical Drive support:\t\t ${KODI_OPTICAL_SUPPORT}"
|
||||
config_message+="\n - Kodi SAMBA client support:\t\t ${KODI_SAMBA_SUPPORT}"
|
||||
config_message+="\n - Kodi UPNP support:\t\t\t ${KODI_UPNP_SUPPORT}"
|
||||
config_message+="\n - Kodi Webserver support:\t\t ${KODI_WEBSERVER_SUPPORT}"
|
||||
config_message+="\n - Kodi DVDCSS support:\t\t\t $KODI_DVDCSS_SUPPORT"
|
||||
config_message+="\n - Kodi Airplay support:\t\t $KODI_AIRPLAY_SUPPORT"
|
||||
config_message+="\n - Kodi Airtunes support:\t\t $KODI_AIRTUNES_SUPPORT"
|
||||
config_message+="\n - Kodi NFS support:\t\t\t $KODI_NFS_SUPPORT"
|
||||
config_message+="\n - Kodi MySQL support:\t\t\t $KODI_MYSQL_SUPPORT"
|
||||
config_message+="\n - Kodi Optical Drive support:\t\t $KODI_OPTICAL_SUPPORT"
|
||||
config_message+="\n - Kodi SAMBA client support:\t\t $KODI_SAMBA_SUPPORT"
|
||||
config_message+="\n - Kodi UPNP support:\t\t\t $KODI_UPNP_SUPPORT"
|
||||
config_message+="\n - Kodi Webserver support:\t\t $KODI_WEBSERVER_SUPPORT"
|
||||
|
||||
for config_skin in ${SKINS}; do
|
||||
config_message+="\n - Include Skin:\t\t\t ${config_skin}"
|
||||
for config_skin in $SKINS; do
|
||||
config_message+="\n - Include Skin:\t\t\t $config_skin"
|
||||
done
|
||||
|
||||
config_message+="\n - Default Skin:\t\t\t ${SKIN_DEFAULT}"
|
||||
config_message+="\n - Include extra fonts:\t\t\t ${KODI_EXTRA_FONTS}"
|
||||
config_message+="\n - Default Skin:\t\t\t $SKIN_DEFAULT"
|
||||
config_message+="\n - Include extra fonts:\t\t\t $KODI_EXTRA_FONTS"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
LIBREELEC_VERSION="devel"
|
||||
|
||||
# OS_VERSION: OS Version
|
||||
OS_VERSION="12.0"
|
||||
OS_VERSION="10.0"
|
||||
|
||||
# ADDON_VERSION: Addon version
|
||||
ADDON_VERSION="12.0.0"
|
||||
ADDON_VERSION="10.0.0"
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
Permission to use, copy, modify, and/or distribute this
|
||||
software for any purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
||||
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||
THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
|
||||
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
||||
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
@@ -1,90 +0,0 @@
|
||||
7-Zip source code
|
||||
~~~~~~~~~~~~~~~~~
|
||||
License for use and distribution
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
7-Zip Copyright (C) 1999-2020 Igor Pavlov.
|
||||
|
||||
The licenses for files are:
|
||||
|
||||
1) CPP/7zip/Compress/Rar* files: the "GNU LGPL" with "unRAR license restriction"
|
||||
2) CPP/7zip/Compress/LzfseDecoder.cpp: the "BSD 3-clause License"
|
||||
3) Some files are "public domain" files, if "public domain" status is stated in source file.
|
||||
4) the "GNU LGPL" for all other files. If there is no license information in
|
||||
some source file, that file is under the "GNU LGPL".
|
||||
|
||||
The "GNU LGPL" with "unRAR license restriction" means that you must follow both
|
||||
"GNU LGPL" rules and "unRAR license restriction" rules.
|
||||
|
||||
|
||||
|
||||
|
||||
GNU LGPL information
|
||||
--------------------
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
|
||||
|
||||
BSD 3-clause License
|
||||
--------------------
|
||||
|
||||
The "BSD 3-clause License" is used for the code in LzfseDecoder.cpp that implements LZFSE data decompression.
|
||||
That code was derived from the code in the "LZFSE compression library" developed by Apple Inc,
|
||||
that also uses the "BSD 3-clause License":
|
||||
|
||||
----
|
||||
Copyright (c) 2015-2016, Apple Inc. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder(s) nor the names of any contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
----
|
||||
|
||||
|
||||
|
||||
|
||||
unRAR license restriction
|
||||
-------------------------
|
||||
|
||||
The decompression engine for RAR archives was developed using source
|
||||
code of unRAR program.
|
||||
All copyrights to original unRAR code are owned by Alexander Roshal.
|
||||
|
||||
The license for original unRAR code has the following restriction:
|
||||
|
||||
The unRAR sources cannot be used to re-create the RAR compression algorithm,
|
||||
which is proprietary. Distribution of modified unRAR sources in separate form
|
||||
or as a part of other software is permitted, provided that it is clearly
|
||||
stated in the documentation and source comments that the code may
|
||||
not be used to develop a RAR (WinRAR) compatible archiver.
|
||||
|
||||
|
||||
--
|
||||
Igor Pavlov
|
||||
@@ -1,32 +0,0 @@
|
||||
/*
|
||||
* Copyright 2023 Flirc Inc. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the following
|
||||
* disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY FLIRC INC. \`\`AS IS'' AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ${AUTHOR_UPPER} OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
||||
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
* DAMAGE.
|
||||
*
|
||||
* The views and conclusions contained in the software and documentation
|
||||
* are those of the authors and should not be interpreted as representing
|
||||
* official policies, either expressed or implied, of Flirc Inc.
|
||||
*/
|
||||
@@ -1,9 +0,0 @@
|
||||
HIDAPI - Multi-Platform library for
|
||||
communication with HID devices.
|
||||
|
||||
Copyright 2009, Alan Ott, Signal 11 Software.
|
||||
All Rights Reserved.
|
||||
|
||||
This software may be used by anyone for any reason so
|
||||
long as the copyright notice in the source files
|
||||
remains intact.
|
||||
@@ -1,17 +0,0 @@
|
||||
Software License Agreement for NextPVR
|
||||
|
||||
IMPORTANT- PLEASE READ CAREFULLY BEFORE USING THIS SOFTWARE: THIS LICENSE AGREEMENT FOR NextPVR ("LICENSE AGREEMENT") IS A LEGAL AGREEMENT BETWEEN YOU (EITHER ON BEHALF OF YOURSELF AS AN INDIVIDUAL OR ON BEHALF OF AN ENTITY AS ITS AUTHORIZED REPRESENTATIVE) AND PINSTRIPE LIMITED. FOR THE NextPVR SOFTWARE ("SOFTWARE"). THIS LICENSE AGREEMENT FOR NextPVR SUPERSEDES PREVIOUS VERSIONS. BY INSTALLING THE SOFTWARE (AS DEFINED BELOW), COPYING OR OTHERWISE USING THE SOFTWARE YOU AGREE TO BE BOUND BY ALL OF THE TERMS OF THIS END USER LICENSE AGREEMENT REGARDING YOUR USE OF THE SOFTWARE. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE AGREEMENT, UNINSTALL THE SOFTWARE, AND DO NOT COPY OR OTHERWISE USE THE SOFTWARE.
|
||||
|
||||
GRANT OF LICENSE: Subject to the following terms, PINSTRIPE LIMITED hereby grants you a non-exclusive, perpetual, non-transferable license to install and to use the NextPVR software ("Software") for personal, non-commercial use. You may copy the Software for back-up or archival purposes.
|
||||
|
||||
LICENSE RESTRICTIONS: You may not: (i) reverse engineer, decompile, or disassemble the Software; (ii) modify, or create derivative works based upon, the Software in whole or in part; (iii) distribute copies of the Software; (iv) remove any proprietary notices or labels on the Software; or (v) resell, lease, rent, transfer, sublicense, or otherwise transfer rights to the Software. You agree that the NextPVR software will not be used for commercial purposes without full written permission. Any such forbidden use shall immediately terminate your license to the software.
|
||||
|
||||
TITLE: You agree that no title to the intellectual property in the Software is transferred to you. Title, ownership, rights, and intellectual property rights in and to the Software shall remain in PINSTRIPE LIMITED.
|
||||
|
||||
UPDATES: From time to time, PINSTRIPE LIMITED may make updates to the Software generally available. You may download and install these software updates released by PINSTRIPE LIMITED. All updates to the Software shall be governed by this Agreement, unless other license terms are provided with the update. Under the Software's default configuration, if you are connected to the Internet, the Software is enabled by default to query latest version of Software and display if updates are available. You may choose to switch this version check off and not use it.
|
||||
|
||||
TECHNICAL SUPPORT: Technical support for the software, as made available by PINSTRIPE LIMITED, is available on the web site at: http://www.nextpvr.com
|
||||
|
||||
DISCLAIMER OF WARRANTY: The Software is provided to you at minimal charge. ACCORDINGLY, YOU AGREE THAT PINSTRIPE LIMITED HAS MADE NO EXPRESS WARRANTIES, ORAL OR WRITTEN, TO YOU REGARDING THE SOFTWARE AND THAT THE SOFTWARE IS BEING PROVIDED TO YOU "AS IS" WITHOUT WARRANTY OF ANY KIND. PINSTRIPE LIMITED DISCLAIMS ANY AND ALL OTHER WARRANTIES, WHETHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF NONINFRINGEMENT OF THIRD PARTY RIGHTS, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. PINSTRIPE LIMITED SHALL NOT BE LIABLE FOR INDIRECT, INCIDENTAL, SPECIAL, COVER, RELIANCE, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, LOSS OF ANTICIPATED PROFIT) ARISING FROM ANY CAUSE UNDER OR RELATED TO THIS AGREEMENT.
|
||||
|
||||
LIMITATION OF LIABILITY: You must assume the entire risk of using the program. IN NO EVENT SHALL PINSTRIPE LIMITED BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND ARISING OUT OF THE USE OF THE PINSTRIPE LIMITED SOFTWARE, EVEN IF PINSTRIPE LIMITED HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT WILL PINSTRIPE LIMITED'S LIABILITY FOR ANY CLAIM, WHETHER IN CONTRACT, TORT, OR ANY OTHER THEORY OF LIABILITY, EXCEED THE LICENSE FEE PAID BY YOU, PROVIDED, HOWEVER, IF THE RELEVANT SOFTWARE WAS PROVIDED TO YOU AT NO CHARGE YOU AGREE PINSTRIPE LIMITED SHALL NOT BE LIABLE TO YOU FOR ANY DAMAGES. THIS LIMITATION SHALL APPLY TO CLAIMS OF PERSONAL INJURY TO THE EXTENT PERMITTED BY LAW.
|
||||
@@ -1,25 +0,0 @@
|
||||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
For more information, please refer to <http://unlicense.org/>
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
Software License for The Fraunhofer FDK AAC Codec Library for Android
|
||||
|
||||
© Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten
|
||||
Forschung e.V. All rights reserved.
|
||||
|
||||
1. INTRODUCTION
|
||||
The Fraunhofer FDK AAC Codec Library for Android ("FDK AAC Codec") is software
|
||||
that implements the MPEG Advanced Audio Coding ("AAC") encoding and decoding
|
||||
scheme for digital audio. This FDK AAC Codec software is intended to be used on
|
||||
a wide variety of Android devices.
|
||||
|
||||
AAC's HE-AAC and HE-AAC v2 versions are regarded as today's most efficient
|
||||
general perceptual audio codecs. AAC-ELD is considered the best-performing
|
||||
full-bandwidth communications codec by independent studies and is widely
|
||||
deployed. AAC has been standardized by ISO and IEC as part of the MPEG
|
||||
specifications.
|
||||
|
||||
Patent licenses for necessary patent claims for the FDK AAC Codec (including
|
||||
those of Fraunhofer) may be obtained through Via Licensing
|
||||
(www.vialicensing.com) or through the respective patent owners individually for
|
||||
the purpose of encoding or decoding bit streams in products that are compliant
|
||||
with the ISO/IEC MPEG audio standards. Please note that most manufacturers of
|
||||
Android devices already license these patent claims through Via Licensing or
|
||||
directly from the patent owners, and therefore FDK AAC Codec software may
|
||||
already be covered under those patent licenses when it is used for those
|
||||
licensed purposes only.
|
||||
|
||||
Commercially-licensed AAC software libraries, including floating-point versions
|
||||
with enhanced sound quality, are also available from Fraunhofer. Users are
|
||||
encouraged to check the Fraunhofer website for additional applications
|
||||
information and documentation.
|
||||
|
||||
2. COPYRIGHT LICENSE
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted without payment of copyright license fees provided that you
|
||||
satisfy the following conditions:
|
||||
|
||||
You must retain the complete text of this software license in redistributions of
|
||||
the FDK AAC Codec or your modifications thereto in source code form.
|
||||
|
||||
You must retain the complete text of this software license in the documentation
|
||||
and/or other materials provided with redistributions of the FDK AAC Codec or
|
||||
your modifications thereto in binary form. You must make available free of
|
||||
charge copies of the complete source code of the FDK AAC Codec and your
|
||||
modifications thereto to recipients of copies in binary form.
|
||||
|
||||
The name of Fraunhofer may not be used to endorse or promote products derived
|
||||
from this library without prior written permission.
|
||||
|
||||
You may not charge copyright license fees for anyone to use, copy or distribute
|
||||
the FDK AAC Codec software or your modifications thereto.
|
||||
|
||||
Your modified versions of the FDK AAC Codec must carry prominent notices stating
|
||||
that you changed the software and the date of any change. For modified versions
|
||||
of the FDK AAC Codec, the term "Fraunhofer FDK AAC Codec Library for Android"
|
||||
must be replaced by the term "Third-Party Modified Version of the Fraunhofer FDK
|
||||
AAC Codec Library for Android."
|
||||
|
||||
3. NO PATENT LICENSE
|
||||
|
||||
NO EXPRESS OR IMPLIED LICENSES TO ANY PATENT CLAIMS, including without
|
||||
limitation the patents of Fraunhofer, ARE GRANTED BY THIS SOFTWARE LICENSE.
|
||||
Fraunhofer provides no warranty of patent non-infringement with respect to this
|
||||
software.
|
||||
|
||||
You may use this FDK AAC Codec software or modifications thereto only for
|
||||
purposes that are authorized by appropriate patent licenses.
|
||||
|
||||
4. DISCLAIMER
|
||||
|
||||
This FDK AAC Codec software is provided by Fraunhofer on behalf of the copyright
|
||||
holders and contributors "AS IS" and WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
including but not limited to the implied warranties of merchantability and
|
||||
fitness for a particular purpose. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
CONTRIBUTORS BE LIABLE for any direct, indirect, incidental, special, exemplary,
|
||||
or consequential damages, including but not limited to procurement of substitute
|
||||
goods or services; loss of use, data, or profits, or business interruption,
|
||||
however caused and on any theory of liability, whether in contract, strict
|
||||
liability, or tort (including negligence), arising in any way out of the use of
|
||||
this software, even if advised of the possibility of such damage.
|
||||
|
||||
5. CONTACT INFORMATION
|
||||
|
||||
Fraunhofer Institute for Integrated Circuits IIS
|
||||
Attention: Audio and Multimedia Departments - FDK AAC LL
|
||||
Am Wolfsmantel 33
|
||||
91058 Erlangen, Germany
|
||||
|
||||
www.iis.fraunhofer.de/amm
|
||||
amm-info@iis.fraunhofer.de
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
Additional license notices for GPGME. -*- org -*-
|
||||
|
||||
This file contains the copying permission notices for various files in
|
||||
the GPGME distribution which are not covered by the GNU Lesser
|
||||
General Public License (LGPL) or the GNU General Public License (GPL).
|
||||
|
||||
These notices all require that a copy of the notice be included
|
||||
in the accompanying documentation and be distributed with binary
|
||||
distributions of the code, so be sure to include this file along
|
||||
with any binary distributions derived from the GNU C Library.
|
||||
|
||||
* MIT License
|
||||
|
||||
For files:
|
||||
- cJSON.c, cJSON.h
|
||||
|
||||
#+begin_quote
|
||||
Copyright (c) 2009 Dave Gamble
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a opy of this software and associated documentation files (the
|
||||
"Software"), to eal in the Software without restriction, including
|
||||
without limitation the ights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING ROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#+end_quote
|
||||
@@ -0,0 +1,13 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_ADS1x15"
|
||||
PKG_VERSION="a963cc0ee83e2ba6d671b02df5febf7250f626aa"
|
||||
PKG_SHA256="2f81a9a6b7b7f46b79faa5b01df0c25fa5f16af80842d74e35b5fbf01ab0c619"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the ADS1015 and ADS1115 analog to digital converters with a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_ADXL345"
|
||||
PKG_VERSION="dca3d90b5477a304fa130f5cc90ea59e3968ce6f"
|
||||
PKG_SHA256="22ec0fc6679cc3e9b5f0aff5cfeef34cbbf13e59aecfb829c2f0dc2d90b5fb8b"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the ADXL345 triple-axis accelerometer over I2C with a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_BMP"
|
||||
PKG_VERSION="e8521e969afae3321d9789353d7e92ea9a5e9a56"
|
||||
PKG_SHA256="e5e140c34e312f6a00c62b1bd47ebe3f1857009b1c202c18c7b092ebb2e1eb9c"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python library for accessing the BMP series pressure and temperature sensors like the BMP085/BMP180 on a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_CharLCD"
|
||||
PKG_VERSION="bc75cad284766240424f29dc8e7b84d0caceb72e"
|
||||
PKG_SHA256="eae4b446162feb533a469a9dacf6e750250f925561c9f7983a11d340e1dd98d4"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python library for accessing Adafruit character LCDs from a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,32 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_DHT"
|
||||
PKG_VERSION="18846deec6a96572b3f2c4a9edfb5bac55b46f5b"
|
||||
PKG_SHA256="9125f8f42b4874db257a45184b866e8b424aa67230d2ffbc734b53686da7817f"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
pre_make_target() {
|
||||
export PYTHONXCPREFIX="${SYSROOT_PREFIX}/usr"
|
||||
export LDSHARED="${CC} -shared"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
case "${PROJECT}:${DEVICE}" in
|
||||
"RPi:RPi")
|
||||
PKG_RPI_VERSION="--force-pi"
|
||||
;;
|
||||
"RPi:RPi2")
|
||||
PKG_RPI_VERSION="--force-pi2"
|
||||
;;
|
||||
*)
|
||||
PKG_RPI_VERSION=""
|
||||
esac
|
||||
|
||||
python3 setup.py build ${PKG_RPI_VERSION} --cross-compile
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_GPIO"
|
||||
PKG_VERSION="c543d1df9c0a71bafb9f0a1f9dceecd79a920e74"
|
||||
PKG_SHA256="d3cb74fd033ebe5aea1786a584d64ef5eb8082ef2bf0a568b01691612cd04e88"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Library to provide a cross-platform GPIO interface on the Raspberry Pi ."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_LED_Backpack"
|
||||
PKG_VERSION="e34b9548e86e63747563a94f02b65b2980fdefff"
|
||||
PKG_SHA256="244d2625cdaebdc68e299fedde276efa5c9f7c143681c4ee056fb8350a4f7167"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python library for controlling LED backpack displays."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_LSM303"
|
||||
PKG_VERSION="37d288844515d7bb62a2329982eb033e92dceceb"
|
||||
PKG_SHA256="609591f2add15e849d3bba320417c705a50a3ed077632baf20c12c8b740d5331"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the LSM303 accelerometer & magnetometer with Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_MCP3008"
|
||||
PKG_VERSION="e721d26e650c99b0f6d3efd4ec30444e1adf5ccd"
|
||||
PKG_SHA256="f5e4c847a87716c16f0209df95c281b5071549644a79a143a77b212f25c464dc"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the MCP3008 analog to digital converter with a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_MCP4725"
|
||||
PKG_VERSION="4d028bbcf58b011a8f14c5d95057b7e1dcc1064e"
|
||||
PKG_SHA256="6ebbd1f76807b01dc2b723064e52b0c82fc45388265b8ec867e0a42a46a6e926"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the MCP4725 digital to analog converter with a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_PCA9685"
|
||||
PKG_VERSION="f86db2ca5de379748afd71e379ce2155f47d21e7"
|
||||
PKG_SHA256="46e11dcfbfaab5756ddeb6ab31740cf8c7419ec1d32be2519f19882e7d86e426"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the PCA9685 PWM servo/LED controller with a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_PureIO"
|
||||
PKG_VERSION="6f4976d91c52d70b67b28bba75a429b5328a52c1"
|
||||
PKG_SHA256="891a4d077fe6610de6aa4b0dc5b9933a6c7db3492072df60c0383662f28c2ae9"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Pure python access to Linux IO including I2C and SPI."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_SI1145"
|
||||
PKG_VERSION="18c400643b39dbf29ab7ff8e74ab0c5c36ef5cf1"
|
||||
PKG_SHA256="0238b2c01cfbb2890ae78468d2fc19c815748fc94860a4eb92b649d074476264"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/THP-JOE/Python_SI1145"
|
||||
PKG_URL="https://github.com/THP-JOE/Python_SI1145/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python library for accessing the SI1145 temperature sensor on a Raspberry Pi"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_SSD1306"
|
||||
PKG_VERSION="8819e2d203df49f2843059d981b7347d9881c82b"
|
||||
PKG_SHA256="ed1163dee2fe6c0c2065a429e1d93cff7397a309071ff83714c84566739680a2"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="SSD1306 oled driver library for 'monochrome' 128x64 and 128x32 OLEDs."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_TCS34725"
|
||||
PKG_VERSION="6306f90b4601237a852acef89eeecc1261ce38b3"
|
||||
PKG_SHA256="f2c3218551da55d7fdbe2499a6ffa3a0b8ed1709e4402c6b0e0f37b17d4aa81f"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the TCS34725 color sensor with the Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_VCNL40xx"
|
||||
PKG_VERSION="5c72575b7390fbedfae0b5fb2a881ca9efe9ca22"
|
||||
PKG_SHA256="78346836965562720248138203a4af9dc6aa18815bda2a5b7842e3b9af9d1ea8"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to use the VCNL4000 & VCNL4010 proximity sensors with the Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="Adafruit_Python_WS2801"
|
||||
PKG_VERSION="d0c190715ffef1b00e5ffa2d7b7560e7f8ed4263"
|
||||
PKG_SHA256="6219edb5c1d767ff950f5020bacdfb5ba608b4995eb14d6073fdec2f17f584cb"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
|
||||
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
||||
PKG_LONGDESC="Python code to control WS2801 and similar SPI interface addressable RGB LED strips on a Raspberry Pi."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
@@ -3,21 +3,17 @@
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="ccid"
|
||||
PKG_VERSION="1.6.0"
|
||||
PKG_SHA256="cdca7c22c45169cfc300d65d5362b7644ee195289f4fb8bf475a6cd321752c2c"
|
||||
PKG_VERSION="1.4.34"
|
||||
PKG_SHA256="e6f7645b59a9a2844eb4b1a7eff512960d7f04a4654af02f7fd2f8aded5db40a"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="https://ccid.apdu.fr"
|
||||
PKG_URL="https://ccid.apdu.fr/files/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_URL="https://ccid.apdu.fr/files/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain pcsc-lite"
|
||||
PKG_LONGDESC="A generic USB Chip/Smart Card Interface Devices driver."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --enable-twinserial"
|
||||
|
||||
post_configure_target() {
|
||||
libtool_remove_rpath libtool
|
||||
}
|
||||
|
||||
make_target() {
|
||||
make
|
||||
make -C src/ Info.plist
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2017 Escalade
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="at-spi2-atk"
|
||||
PKG_VERSION="2.38.0"
|
||||
PKG_SHA256="cfa008a5af822b36ae6287f18182c40c91dd699c55faa38605881ed175ca464f"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.gnome.org/"
|
||||
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/${PKG_VERSION:0:4}/at-spi2-atk-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain at-spi2-core atk libX11 libxml2"
|
||||
PKG_LONGDESC="A GTK+ module that bridges ATK to D-Bus at-spi."
|
||||
@@ -3,30 +3,18 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="at-spi2-core"
|
||||
PKG_VERSION="2.52.0"
|
||||
PKG_SHA256="0ac3fc8320c8d01fa147c272ba7fa03806389c6b03d3c406d0823e30e35ff5ab"
|
||||
PKG_VERSION="2.40.3"
|
||||
PKG_SHA256="e49837c2ad30d71e1f29ca8e0968a54b95030272f7ff40b89b48968653f37a5c"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://www.gnome.org/"
|
||||
PKG_URL="https://download.gnome.org/sources/at-spi2-core/${PKG_VERSION:0:4}/at-spi2-core-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain atk dbus glib libxml2"
|
||||
PKG_SITE="http://www.gnome.org/"
|
||||
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/at-spi2-core/${PKG_VERSION:0:4}/at-spi2-core-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain atk dbus glib libXtst"
|
||||
PKG_LONGDESC="Protocol definitions and daemon for D-Bus at-spi."
|
||||
|
||||
configure_package() {
|
||||
# Build with x11 support
|
||||
if [ ${DISPLAYSERVER} = "x11" ]; then
|
||||
PKG_DEPENDS_TARGET+=" libXtst"
|
||||
fi
|
||||
}
|
||||
PKG_MESON_OPTS_TARGET="-Denable_docs=false \
|
||||
-Denable-introspection=no \
|
||||
-Ddbus_daemon=/usr/bin/dbus-daemon"
|
||||
|
||||
pre_configure_target() {
|
||||
PKG_MESON_OPTS_TARGET="-Ddocs=false \
|
||||
-Dintrospection=disabled \
|
||||
-Ddbus_daemon=/usr/bin/dbus-daemon"
|
||||
|
||||
if [ ${DISPLAYSERVER} = "x11" ]; then
|
||||
PKG_MESON_OPTS_TARGET+="-Dx11=true"
|
||||
TARGET_LDFLAGS="${LDFLAGS} -lXext"
|
||||
else
|
||||
PKG_MESON_OPTS_TARGET+="-Dx11=false"
|
||||
fi
|
||||
TARGET_LDFLAGS="${LDFLAGS} -lXext"
|
||||
}
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="atk"
|
||||
PKG_VERSION="2.38.0"
|
||||
PKG_SHA256="ac4de2a4ef4bd5665052952fe169657e65e895c5057dffb3c2a810f6191a0c36"
|
||||
PKG_VERSION="2.36.0"
|
||||
PKG_SHA256="fb76247e369402be23f1f5c65d38a9639c1164d934e40f6a9cf3c9e96b652788"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://library.gnome.org/devel/atk/"
|
||||
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/atk/${PKG_VERSION:0:4}/atk-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain glib"
|
||||
PKG_DEPENDS_TARGET="toolchain glib glib:host"
|
||||
PKG_LONGDESC="Provides the set of accessibility interfaces that are implemented by other applications."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
|
||||
@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
|
||||
|
||||
unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
|
||||
}
|
||||
|
||||
@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
|
||||
|
||||
unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
|
||||
}
|
||||
|
||||
@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
|
||||
|
||||
unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
|
||||
}
|
||||
|
||||
@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
|
||||
|
||||
unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
|
||||
}
|
||||
|
||||
@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
|
||||
|
||||
unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
|
||||
}
|
||||
|
||||
@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
|
||||
|
||||
unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,10 @@ PKG_URL=""
|
||||
PKG_DEPENDS_UNPACK+=" libxkbcommon"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
PKG_MESON_OPTS_TARGET="${PKG_MESON_OPTS_TARGET} \
|
||||
-Denable-static=false \
|
||||
-Denable-shared=true"
|
||||
|
||||
unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
|
||||
|
||||
@@ -15,5 +15,5 @@ PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET} \
|
||||
|
||||
unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.xz -C ${PKG_BUILD}
|
||||
tar --strip-components=1 -xf ${SOURCES}/${PKG_NAME:7}/${PKG_NAME:7}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}
|
||||
}
|
||||
|
||||
@@ -3,19 +3,21 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="cups"
|
||||
PKG_VERSION="2.4.10"
|
||||
PKG_SHA256="f51b9edd631db1830b967101b51f0045c8c239ae799dff89f0399f3e47a95c02"
|
||||
PKG_VERSION="2.3.3"
|
||||
PKG_SHA256="fe298713aad0cbb861de24760f140851122caae9f34d480dbfff0bd9211d961a"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.cups.org"
|
||||
PKG_URL="https://github.com/openprinting/cups/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain gnutls zlib"
|
||||
PKG_URL="https://github.com/apple/cups/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain openssl zlib"
|
||||
PKG_LONGDESC="CUPS printing system."
|
||||
PKG_BUILD_FLAGS="+pic -sysroot"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--libdir=/usr/lib \
|
||||
--disable-gssapi \
|
||||
--with-dnssd=no \
|
||||
--with-tls=gnutls
|
||||
--disable-avahi \
|
||||
--disable-dnssd \
|
||||
--disable-systemd \
|
||||
--disable-launchd \
|
||||
--disable-unit-tests"
|
||||
|
||||
pre_configure_target() {
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="gdk-pixbuf"
|
||||
PKG_VERSION="2.42.6"
|
||||
PKG_SHA256="c4a6b75b7ed8f58ca48da830b9fa00ed96d668d3ab4b1f723dcf902f78bde77f"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.gtk.org/"
|
||||
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${PKG_VERSION:0:4}/gdk-pixbuf-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain glib libjpeg-turbo libpng jasper shared-mime-info tiff libX11"
|
||||
PKG_DEPENDS_CONFIG="shared-mime-info"
|
||||
PKG_LONGDESC="GdkPixbuf is a a GNOME library for image loading and manipulation."
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Ddocs=false \
|
||||
-Dgir=false \
|
||||
-Dman=false \
|
||||
-Drelocatable=false"
|
||||
@@ -3,14 +3,15 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="gtk3"
|
||||
PKG_VERSION="3.24.42"
|
||||
PKG_SHA256="50f89f615092d4dd01bbd759719f8bd380e5f149f6fd78a94725e2de112377e2"
|
||||
PKG_VERSION="3.24.30"
|
||||
PKG_SHA256="ba75bfff320ad1f4cfbee92ba813ec336322cc3c660d406aad014b07087a3ba9"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="https://www.gtk.org/"
|
||||
PKG_SITE="http://www.gtk.org/"
|
||||
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/gtk+/${PKG_VERSION:0:4}/gtk+-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain at-spi2-core atk cairo gdk-pixbuf glib libX11 libXi libXrandr libepoxy pango libxkbcommon"
|
||||
PKG_DEPENDS_TARGET="toolchain at-spi2-atk atk cairo gdk-pixbuf glib libX11 libXi libXrandr libepoxy pango"
|
||||
PKG_DEPENDS_CONFIG="libXft pango gdk-pixbuf shared-mime-info"
|
||||
PKG_LONGDESC="A library for creating graphical user interfaces for the X Window System."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Dbroadway_backend=false \
|
||||
|
||||
@@ -15,6 +15,7 @@ PKG_BUILD_FLAGS="-sysroot"
|
||||
PKG_MESON_OPTS_TARGET="-Dbenchmark=disabled \
|
||||
-Dcairo=enabled \
|
||||
-Ddocs=disabled \
|
||||
-Dfontconfig=enabled \
|
||||
-Dfreetype=enabled \
|
||||
-Dglib=enabled \
|
||||
-Dgobject=disabled \
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
From 93d58f8315fc3cbb2b15a4ff79329a1022ca8d54 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Tue, 28 May 2024 11:39:27 +0200
|
||||
Subject: [PATCH] meson: set -std=c++17 when building with icu >= 75
|
||||
|
||||
Fixes:
|
||||
https://github.com/harfbuzz/harfbuzz/issues/4671
|
||||
---
|
||||
meson.build | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index d8d8424e7b9..9e6f8de9c50 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -174,6 +174,10 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
+if icu_dep.found() and icu_dep.version().version_compare('>=75.1') and (get_option('cpp_std') == 'c++11' or get_option('cpp_std') == 'c++14')
|
||||
+ add_project_arguments('-std=c++17', language: 'cpp')
|
||||
+endif
|
||||
+
|
||||
if icu_dep.found() and icu_dep.type_name() == 'pkgconfig'
|
||||
icu_defs = icu_dep.get_variable(pkgconfig: 'DEFS', default_value: '').split()
|
||||
if icu_defs.length() > 0
|
||||
@@ -3,12 +3,12 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libXScrnSaver"
|
||||
PKG_VERSION="1.2.4"
|
||||
PKG_SHA256="75cd2859f38e207a090cac980d76bc71e9da99d48d09703584e00585abc920fe"
|
||||
PKG_VERSION="1.2.3"
|
||||
PKG_SHA256="f917075a1b7b5a38d67a8b0238eaab14acd2557679835b154cf2bca576e89bf8"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://xorg.freedesktop.org/"
|
||||
PKG_URL="https://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain libXext scrnsaverproto"
|
||||
PKG_SITE="http://xorg.freedesktop.org/"
|
||||
PKG_URL="https://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain scrnsaverproto"
|
||||
PKG_LONGDESC="X11 Screen Saver extension client library."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
|
||||
@@ -3,15 +3,11 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libXcursor"
|
||||
PKG_VERSION="1.2.2"
|
||||
PKG_SHA256="53d071bd2cc56e517a30998d5e685c8a74556ddada43c6985d14da9a023a88ee"
|
||||
PKG_VERSION="1.2.0"
|
||||
PKG_SHA256="3ad3e9f8251094af6fe8cb4afcf63e28df504d46bfa5a5529db74a505d628782"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.X.org"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXcursor-${PKG_VERSION}.tar.xz"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXcursor-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain libX11 libXfixes libXrender"
|
||||
PKG_LONGDESC="X11 Cursor management library.s"
|
||||
PKG_BUILD_FLAGS="+pic -sysroot"
|
||||
|
||||
post_configure_target() {
|
||||
libtool_remove_rpath libtool
|
||||
}
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libXft"
|
||||
PKG_VERSION="2.3.8"
|
||||
PKG_SHA256="5e8c3c4bc2d4c0a40aef6b4b38ed2fb74301640da29f6528154b5009b1c6dd49"
|
||||
PKG_VERSION="2.3.4"
|
||||
PKG_SHA256="57dedaab20914002146bdae0cb0c769ba3f75214c4c91bd2613d6ef79fc9abdd"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://www.X.org"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXft-${PKG_VERSION}.tar.xz"
|
||||
PKG_SITE="http://www.X.org"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXft-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain fontconfig freetype libXrender util-macros xorgproto"
|
||||
PKG_LONGDESC="X FreeType library."
|
||||
PKG_BUILD_FLAGS="+pic -sysroot"
|
||||
|
||||
@@ -2,17 +2,13 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libxss"
|
||||
PKG_VERSION="1.2.4"
|
||||
PKG_SHA256="75cd2859f38e207a090cac980d76bc71e9da99d48d09703584e00585abc920fe"
|
||||
PKG_VERSION="1.2.3"
|
||||
PKG_SHA256="f917075a1b7b5a38d67a8b0238eaab14acd2557679835b154cf2bca576e89bf8"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://www.X.org"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-${PKG_VERSION}.tar.xz"
|
||||
PKG_SITE="http://www.X.org"
|
||||
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain util-macros libXext scrnsaverproto"
|
||||
PKG_LONGDESC="X11 Screen Saver extension library."
|
||||
PKG_BUILD_FLAGS="+pic -sysroot"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-malloc0returnsnull"
|
||||
|
||||
post_configure_target() {
|
||||
libtool_remove_rpath libtool
|
||||
}
|
||||
|
||||
@@ -3,25 +3,16 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="pango"
|
||||
PKG_VERSION="1.52.2"
|
||||
PKG_SHA256="d0076afe01082814b853deec99f9349ece5f2ce83908b8e58ff736b41f78a96b"
|
||||
PKG_VERSION="1.49.1"
|
||||
PKG_SHA256="c4266dc06c01bf0133d3815502426d209de5ea7abd895899e73e7edebaf48f6f"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.pango.org/"
|
||||
PKG_URL="https://download.gnome.org/sources/pango/${PKG_VERSION:0:4}/pango-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain cairo freetype fontconfig fribidi glib json-glib harfbuzz"
|
||||
PKG_DEPENDS_CONFIG="cairo"
|
||||
PKG_DEPENDS_TARGET="toolchain cairo freetype fontconfig fribidi glib harfbuzz libX11 libXft"
|
||||
PKG_DEPENDS_CONFIG="libXft cairo"
|
||||
PKG_LONGDESC="The Pango library for layout and rendering of internationalized text."
|
||||
PKG_TOOLCHAIN="meson"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
configure_package() {
|
||||
# Build with X11 support
|
||||
if [ ${DISPLAYSERVER} = "x11" ]; then
|
||||
PKG_DEPENDS_TARGET+=" libX11 libXft"
|
||||
PKG_DEPENDS_CONFIG+=" libXft"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
fi
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
PKG_MESON_OPTS_TARGET="-Dgtk_doc=false \
|
||||
-Dintrospection=disabled"
|
||||
}
|
||||
PKG_MESON_OPTS_TARGET="-Denable_docs=false \
|
||||
-Dgir=false"
|
||||
@@ -0,0 +1,14 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="shared-mime-info"
|
||||
PKG_VERSION="2.1"
|
||||
PKG_SHA256="37df6475da31a8b5fc63a54ba0770a3eefa0a708b778cb6366dccee96393cb60"
|
||||
PKG_LICENSE="GPL2"
|
||||
PKG_SITE="https://freedesktop.org/wiki/Software/shared-mime-info/"
|
||||
PKG_URL="https://gitlab.freedesktop.org/xdg/${PKG_NAME}/-/archive/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain glib libxml2 gettext itstool:host"
|
||||
PKG_LONGDESC="The shared-mime-info package contains the core database of common types."
|
||||
PKG_BUILD_FLAGS="-parallel -sysroot"
|
||||
|
||||
PKG_MESON_OPTS_TARGET="-Dupdate-mimedb=false"
|
||||
@@ -0,0 +1,37 @@
|
||||
diff -Nur shared-mime-info-2.1.orig/data/meson.build shared-mime-info-2.1/data/meson.build
|
||||
--- shared-mime-info-2.1.orig/data/meson.build 2021-01-01 06:12:16.000000000 +1100
|
||||
+++ shared-mime-info-2.1/data/meson.build 2021-01-14 00:25:58.299790452 +1100
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
-install_man('update-mime-database.1')
|
||||
-
|
||||
freedesktop_org_xml = custom_target('freedesktop.org.xml',
|
||||
input : files(
|
||||
'freedesktop.org.xml.in',
|
||||
@@ -21,15 +19,3 @@
|
||||
[ 'its/shared-mime-info.loc', 'its/shared-mime-info.its', ],
|
||||
install_dir : get_option('datadir') / 'gettext/its'
|
||||
)
|
||||
-
|
||||
-custom_target('shared-mime-info-spec-html',
|
||||
- input : 'shared-mime-info-spec.xml',
|
||||
- output: 'shared-mime-info-spec-html',
|
||||
- command: [
|
||||
- xmlto,
|
||||
- '-o', '@OUTPUT@',
|
||||
- 'html-nochunks',
|
||||
- '@INPUT@',
|
||||
- ],
|
||||
- build_by_default: true,
|
||||
-)
|
||||
diff -Nur shared-mime-info-2.1.orig/meson.build shared-mime-info-2.1/meson.build
|
||||
--- shared-mime-info-2.1.orig/meson.build 2021-01-01 06:12:16.000000000 +1100
|
||||
+++ shared-mime-info-2.1/meson.build 2021-01-14 00:24:18.552142696 +1100
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
itstool = find_program('itstool')
|
||||
xmllint = find_program('xmllint')
|
||||
-xmlto = find_program('xmlto')
|
||||
|
||||
###############################################################################
|
||||
# Find xdgmime
|
||||
@@ -1,11 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="unix_ar"
|
||||
PKG_VERSION="0.2.1"
|
||||
PKG_SHA256="4e1c6e8fe5255b7babe93b9af51532ba09c6946eee413c5db00cab3878d7ed2f"
|
||||
PKG_LICENSE="BSD 3-Clause"
|
||||
PKG_SITE="https://github.com/getninjas/unix_ar"
|
||||
PKG_URL="https://github.com/getninjas/unix_ar/archive/refs/tags/${PKG_VERSION}.tar.gz"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_LONGDESC="Python: This packages allows the reading and writing of AR archive files."
|
||||
@@ -1,9 +1,9 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="comskip"
|
||||
PKG_VERSION="6e66de54358498aa276d233f5b3e7fa673526af1"
|
||||
PKG_SHA256="412f0cc543cbe327b36b0354c00ace260c996e95dd95cb585ca58dd52c926607"
|
||||
PKG_VERSION="84fcd7388394c95fc8a7e558642bbadb43134507"
|
||||
PKG_SHA256="4d45d30335ce1c28fb4de8865ada57f81de18d83a77950e9ab7c3ea26d24a883"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.kaashoek.com/comskip/"
|
||||
PKG_URL="https://github.com/erikkaashoek/Comskip/archive/${PKG_VERSION}.tar.gz"
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --git a/mpeg2dec.c b/mpeg2dec.c
|
||||
index 3013dc1..5b79227 100755
|
||||
--- a/mpeg2dec.c
|
||||
+++ b/mpeg2dec.c
|
||||
@@ -161,7 +161,6 @@ int64_t pev_best_effort_timestamp = 0;
|
||||
|
||||
int video_stream_index = -1;
|
||||
int audio_stream_index = -1;
|
||||
-int width, height;
|
||||
int have_frame_rate ;
|
||||
int stream_index;
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
From 3f940e6f8e83fbb0cbbca6a4f55b506ccec8d3c4 Mon Sep 17 00:00:00 2001
|
||||
From: bsperduto <brian.sperduto@gmail.com>
|
||||
Date: Sun, 3 Dec 2023 08:50:41 -0600
|
||||
Subject: [PATCH 1/2] Fix for deprecation of DECLARE_ALIGNED #164
|
||||
|
||||
---
|
||||
comskip.c | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/comskip.c b/comskip.c
|
||||
index 08ffd5e..e85f61a 100644
|
||||
--- a/comskip.c
|
||||
+++ b/comskip.c
|
||||
@@ -733,9 +733,9 @@ int sceneChangePercent;
|
||||
bool lastFrameWasBlack = false;
|
||||
bool lastFrameWasSceneChange = false;
|
||||
|
||||
-#include <libavutil/avutil.h> // only for DECLARE_ALIGNED
|
||||
-static DECLARE_ALIGNED(32, long, histogram)[256];
|
||||
-static DECLARE_ALIGNED(32, long, lastHistogram)[256];
|
||||
+
|
||||
+static long histogram[256];
|
||||
+static long lastHistogram[256];
|
||||
|
||||
#define MAXCSLENGTH 400*300
|
||||
#define MAXCUTSCENES 8
|
||||
@@ -10097,7 +10097,7 @@ void LoadCutScene(const char *filename)
|
||||
#define OWN_HISTOGRAM_WIDTH 4
|
||||
#define OWN_HISTOGRAM_HEIGHT 256
|
||||
|
||||
-static DECLARE_ALIGNED(32, int, own_histogram)[OWN_HISTOGRAM_WIDTH][OWN_HISTOGRAM_HEIGHT];
|
||||
+static int own_histogram[OWN_HISTOGRAM_WIDTH][OWN_HISTOGRAM_HEIGHT];
|
||||
int scan_step;
|
||||
|
||||
#define SCAN_MULTI
|
||||
|
||||
From eae0b430d7c9317333fb8759bd67369fd71a085a Mon Sep 17 00:00:00 2001
|
||||
From: bsperduto <brian.sperduto@gmail.com>
|
||||
Date: Sun, 10 Dec 2023 13:32:57 +0100
|
||||
Subject: [PATCH 2/2] [PATCH] Update mpeg2dec.c
|
||||
|
||||
---
|
||||
mpeg2dec.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/mpeg2dec.c b/mpeg2dec.c
|
||||
index 626a991..bb2fa2b 100755
|
||||
--- a/mpeg2dec.c
|
||||
+++ b/mpeg2dec.c
|
||||
@@ -349,7 +349,7 @@ static void signal_handler (int sig)
|
||||
#define AUDIOBUFFER 1600000
|
||||
|
||||
static double base_apts = 0.0, apts, top_apts = 0.0;
|
||||
-static DECLARE_ALIGNED(16, short, audio_buffer[AUDIOBUFFER]);
|
||||
+static short audio_buffer[AUDIOBUFFER];
|
||||
static short *audio_buffer_ptr = audio_buffer;
|
||||
static int audio_samples = 0;
|
||||
#define ISSAME(T1,T2) (fabs((T1) - (T2)) < 0.001)
|
||||
@@ -3,25 +3,25 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="containerd"
|
||||
PKG_VERSION="1.7.19"
|
||||
PKG_SHA256="152e23d017b053ee786080ec0410c98aa91967f3aaebdcfaaf4521ac2172ef62"
|
||||
PKG_VERSION="1.3.9"
|
||||
PKG_SHA256="9244212589c84b12262769dca6fb985c0c680cb5259c8904b29c511d81fd62d0"
|
||||
PKG_LICENSE="APL"
|
||||
PKG_SITE="https://containerd.io"
|
||||
PKG_SITE="https://containerd.tools/"
|
||||
PKG_URL="https://github.com/containerd/containerd/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain go:host"
|
||||
PKG_LONGDESC="A daemon to control runC, built for performance and density."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
# Git commit of the matching release https://github.com/containerd/containerd/releases
|
||||
export PKG_GIT_COMMIT="2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41"
|
||||
PKG_GIT_COMMIT="8fba4e9a7d01810a393d5d25a3621dc101981175"
|
||||
|
||||
pre_make_target() {
|
||||
|
||||
go_configure
|
||||
|
||||
export CONTAINERD_VERSION="${PKG_VERSION}"
|
||||
export CONTAINERD_REVISION="${PKG_GIT_COMMIT}"
|
||||
export CONTAINERD_PKG="github.com/containerd/containerd"
|
||||
export CONTAINERD_VERSION=${PKG_VERSION}
|
||||
export CONTAINERD_REVISION=${PKG_GIT_COMMIT}
|
||||
export CONTAINERD_PKG=github.com/containerd/containerd
|
||||
export LDFLAGS="-w -extldflags -static -X ${CONTAINERD_PKG}/version.Version=${CONTAINERD_VERSION} -X ${CONTAINERD_PKG}/version.Revision=${CONTAINERD_REVISION} -X ${CONTAINERD_PKG}/version.Package=${CONTAINERD_PKG} -extld ${CC}"
|
||||
export GO111MODULE=off
|
||||
|
||||
@@ -30,14 +30,11 @@ pre_make_target() {
|
||||
mv ${PKG_BUILD}/vendor ${GOPATH}/src
|
||||
fi
|
||||
|
||||
mv ${GOPATH}/src/github.com/containerd/containerd/api ${PKG_BUILD}/api-vendor-duplicate
|
||||
rmdir ${GOPATH}/src/github.com/containerd/containerd
|
||||
ln -fs ${PKG_BUILD} ${GOPATH}/src/github.com/containerd/containerd
|
||||
}
|
||||
|
||||
make_target() {
|
||||
mkdir -p bin
|
||||
${GOLANG} build -v -o bin/containerd -a -tags "static_build no_btrfs" -ldflags "${LDFLAGS}" ./cmd/containerd
|
||||
${GOLANG} build -v -o bin/containerd-shim -a -tags "static_build no_btrfs" -ldflags "${LDFLAGS}" ./cmd/containerd-shim
|
||||
${GOLANG} build -v -o bin/containerd-shim-runc-v2 -a -tags "static_build no_btrfs" -ldflags "${LDFLAGS}" ./cmd/containerd-shim-runc-v2
|
||||
${GOLANG} build -v -o bin/containerd -a -tags "static_build no_btrfs" -ldflags "${LDFLAGS}" ./cmd/containerd
|
||||
${GOLANG} build -v -o bin/containerd-shim -a -tags "static_build no_btrfs" -ldflags "${LDFLAGS}" ./cmd/containerd-shim
|
||||
}
|
||||
@@ -3,13 +3,13 @@
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="cxxtools"
|
||||
PKG_VERSION="3.0"
|
||||
PKG_SHA256="07b18037fb0983f6292f5c8d53e2369e9e7a9711df2c9ad50838aacbc8c62f7c"
|
||||
PKG_VERSION="2.2.1"
|
||||
PKG_SHA256="8cebb6d6cda7c93cc4f7c0d552a68d50dd5530b699cf87916bb3b708fdc4e342"
|
||||
PKG_LICENSE="GPL-2"
|
||||
PKG_SITE="http://www.tntnet.org/cxxtools.html"
|
||||
PKG_URL="http://www.tntnet.org/download/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST="toolchain:host openssl:host"
|
||||
PKG_DEPENDS_TARGET="toolchain cxxtools:host openssl"
|
||||
PKG_DEPENDS_HOST="toolchain:host"
|
||||
PKG_DEPENDS_TARGET="toolchain cxxtools:host"
|
||||
PKG_LONGDESC="Cxxtools is a collection of general-purpose C++ classes."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
From b773c01fc13d2ae67abc0839888e383be23562fd Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Tommi=20M=C3=A4kitalo?= <tommi@tntnet.org>
|
||||
Date: Sun, 24 Jan 2021 17:20:24 +0100
|
||||
Subject: [PATCH] make cxxtools::Char a trivial class by definining the default
|
||||
constructor as default
|
||||
|
||||
---
|
||||
include/cxxtools/char.h | 4 +---
|
||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/include/cxxtools/char.h b/include/cxxtools/char.h
|
||||
index 1e637317..3a4ed62a 100644
|
||||
--- a/include/cxxtools/char.h
|
||||
+++ b/include/cxxtools/char.h
|
||||
@@ -68,9 +68,7 @@ namespace cxxtools
|
||||
typedef int32_t value_type;
|
||||
|
||||
//! Constructs a character with a value of 0.
|
||||
- Char()
|
||||
- : _value(0)
|
||||
- {}
|
||||
+ Char() = default;
|
||||
|
||||
//! Constructs a character using the given value as base for the character value.
|
||||
Char(value_type ch)
|
||||
@@ -1,11 +0,0 @@
|
||||
https://bugs.gentoo.org/851837
|
||||
--- a/src/timer.cpp
|
||||
+++ b/src/timer.cpp
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "cxxtools/clock.h"
|
||||
#include "cxxtools/selector.h"
|
||||
#include "cxxtools/datetime.h"
|
||||
+#include <ctime>
|
||||
#include <stdexcept>
|
||||
|
||||
namespace cxxtools
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -173,7 +173,7 @@ libcxxtools_la_LIBADD = $(LIBICONV)
|
||||
libcxxtools_la_LDFLAGS = -version-info @sonumber@ @SHARED_LIB_FLAG@
|
||||
|
||||
if MAKE_OPENSSL
|
||||
-libcxxtools_la_LDFLAGS += -lssl
|
||||
+libcxxtools_la_LIBADD += -lssl -lcrypto
|
||||
libcxxtools_la_SOURCES += \
|
||||
sslcertificateimpl.cpp
|
||||
endif
|
||||
@@ -12,9 +12,9 @@ diff -Naur cxxtools-2.2/configure cxxtools-2.2.patch/configure
|
||||
|
||||
|
||||
|
||||
diff -Naur cxxtools-2.2/configure.ac cxxtools-2.2.patch/configure.ac
|
||||
--- cxxtools-2.2/configure.ac 2013-04-20 23:31:50.000000000 +0200
|
||||
+++ cxxtools-2.2.patch/configure.ac 2014-01-03 20:26:32.064005192 +0100
|
||||
diff -Naur cxxtools-2.2/configure.in cxxtools-2.2.patch/configure.in
|
||||
--- cxxtools-2.2/configure.in 2013-04-20 23:31:50.000000000 +0200
|
||||
+++ cxxtools-2.2.patch/configure.in 2014-01-03 20:26:32.064005192 +0100
|
||||
@@ -106,8 +106,8 @@
|
||||
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="cli"
|
||||
PKG_VERSION="$(get_pkg_version moby)"
|
||||
PKG_SHA256="f992e895c949852686abef9a6fa9efd622826c4f4d70b83876569a4641c4c8fc"
|
||||
PKG_LICENSE="ASL"
|
||||
PKG_SITE="https://github.com/docker/cli"
|
||||
PKG_URL="https://github.com/docker/cli/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain go:host"
|
||||
PKG_LONGDESC="The Docker CLI"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
# Git commit of the matching tag https://github.com/docker/cli/tags
|
||||
export PKG_GIT_COMMIT="7d4bcd863a4c863e650eed02a550dfeb98560b83"
|
||||
|
||||
configure_target() {
|
||||
go_configure
|
||||
|
||||
export LDFLAGS="-w -linkmode external -extldflags -Wl,--unresolved-symbols=ignore-in-shared-libs -extld ${CC}"
|
||||
|
||||
# used for docker version
|
||||
export GITCOMMIT=${PKG_GIT_COMMIT}
|
||||
export VERSION=${PKG_VERSION}
|
||||
export BUILDTIME="$(date --utc)"
|
||||
|
||||
cat > "${PKG_BUILD}/go.mod" << EOF
|
||||
module github.com/docker/cli
|
||||
|
||||
go 1.18
|
||||
EOF
|
||||
|
||||
GO111MODULE=auto ${GOLANG} mod tidy -modfile 'vendor.mod' -compat 1.18
|
||||
GO111MODULE=auto ${GOLANG} mod vendor -modfile vendor.mod
|
||||
}
|
||||
|
||||
make_target() {
|
||||
mkdir -p bin
|
||||
PKG_CLI_FLAGS="-X 'github.com/docker/cli/cli/version.Version=${VERSION}'"
|
||||
PKG_CLI_FLAGS+=" -X 'github.com/docker/cli/cli/version.GitCommit=${GITCOMMIT}'"
|
||||
PKG_CLI_FLAGS+=" -X 'github.com/docker/cli/cli/version.BuildTime=${BUILDTIME}'"
|
||||
${GOLANG} build -mod=mod -modfile=vendor.mod -v -o bin/docker -a -tags "${PKG_DOCKER_BUILDTAGS}" -ldflags "${LDFLAGS} ${PKG_CLI_FLAGS}" ./cmd/docker
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
--- a/cli-plugins/manager/manager_unix.go 2023-02-03 11:54:16.746399916 +0000
|
||||
+++ b/cli-plugins/manager/manager_unix.go 2023-02-03 11:59:04.528175595 +0000
|
||||
@@ -13,8 +13,6 @@
|
||||
//
|
||||
// [ConfigFile.CLIPluginsExtraDirs]: https://pkg.go.dev/github.com/docker/cli@v26.1.4+incompatible/cli/config/configfile#ConfigFile.CLIPluginsExtraDirs
|
||||
var defaultSystemPluginDirs = []string{
|
||||
- "/usr/local/lib/docker/cli-plugins",
|
||||
- "/usr/local/libexec/docker/cli-plugins",
|
||||
- "/usr/lib/docker/cli-plugins",
|
||||
- "/usr/libexec/docker/cli-plugins",
|
||||
+ "/storage/.kodi/addons/service.system.docker/cli-plugins",
|
||||
+ "/storage/.kodi/userdata/addon_data/service.system.docker/docker/cli-plugins",
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="ctop"
|
||||
PKG_VERSION="0.7.7"
|
||||
PKG_SHA256="0db439f2030af73ad5345884b08a33a762c3b41b30604223dd0ebddde72d2741"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://ctop.sh"
|
||||
PKG_URL="https://github.com/bcicen/ctop/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain go:host"
|
||||
PKG_LONGDESC="Top-like interface for container metrics"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
# Git commit of the matching release https://github.com/bcicen/ctop/releases
|
||||
export PKG_GIT_COMMIT="11a1cb10f416b4ca5e36c22c1acc2d11dbb24fb4"
|
||||
|
||||
pre_make_target() {
|
||||
go_configure
|
||||
|
||||
export CTOP_VERSION="${PKG_VERSION}"
|
||||
export CTOP_REVISION="${PKG_GIT_COMMIT}"
|
||||
export CTOP_PKG="github.com/bcicen/ctop"
|
||||
export LDFLAGS="-w -extldflags -static -X main.version=${CTOP_VERSION} -X main.build=${CTOP_REVISION} -extld ${CC}"
|
||||
|
||||
mkdir -p ${GOPATH}/src/github.com/bcicen
|
||||
ln -fs ${PKG_BUILD} ${GOPATH}/src/${CTOP_PKG}
|
||||
}
|
||||
|
||||
make_target() {
|
||||
mkdir -p bin
|
||||
${GOLANG} build -v -o bin/ctop -a -tags "static_build release" -ldflags "${LDFLAGS}"
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="moby"
|
||||
PKG_VERSION="27.0.3"
|
||||
PKG_SHA256="db02d9b5d98e85284538d6ead43b549c025acf937e98c09d18395bb331c1e607"
|
||||
PKG_LICENSE="ASL"
|
||||
PKG_SITE="https://mobyproject.org/"
|
||||
PKG_URL="https://github.com/moby/moby/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain go:host systemd"
|
||||
PKG_LONGDESC="Moby is an open-source project created by Docker to enable and accelerate software containerization."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
# Git commit of the matching release https://github.com/moby/moby
|
||||
export PKG_GIT_COMMIT="662f78c0b1bb5114172427cfcb40491d73159be2"
|
||||
|
||||
PKG_MOBY_BUILDTAGS="daemon \
|
||||
autogen \
|
||||
exclude_graphdriver_devicemapper \
|
||||
exclude_graphdriver_aufs \
|
||||
exclude_graphdriver_btrfs \
|
||||
journald"
|
||||
|
||||
configure_target() {
|
||||
go_configure
|
||||
|
||||
export LDFLAGS="-w -linkmode external -extldflags -Wl,--unresolved-symbols=ignore-in-shared-libs -extld ${CC}"
|
||||
|
||||
# used for docker version
|
||||
export GITCOMMIT=${PKG_GIT_COMMIT}
|
||||
export VERSION=${PKG_VERSION}
|
||||
export BUILDTIME="$(date --utc)"
|
||||
|
||||
cat > "${PKG_BUILD}/go.mod" << EOF
|
||||
module github.com/docker/docker
|
||||
|
||||
go 1.18
|
||||
EOF
|
||||
|
||||
GO111MODULE=auto ${GOLANG} mod tidy -modfile 'vendor.mod' -compat 1.18
|
||||
GO111MODULE=auto ${GOLANG} mod vendor -modfile vendor.mod
|
||||
|
||||
source hack/make/.go-autogen
|
||||
}
|
||||
|
||||
make_target() {
|
||||
mkdir -p bin
|
||||
${GOLANG} build -mod=mod -modfile=vendor.mod -v -o bin/docker-proxy -a -ldflags "${LDFLAGS}" ./cmd/docker-proxy
|
||||
${GOLANG} build -mod=mod -modfile=vendor.mod -v -o bin/dockerd -a -tags "${PKG_MOBY_BUILDTAGS}" -ldflags "${LDFLAGS}" ./cmd/dockerd
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
@@ -1,285 +0,0 @@
|
||||
# when updating this patch just create it from scratch using this command
|
||||
#
|
||||
# find . -name "*.go" -print | xargs sed -i 's/\/etc\/docker/\/storage\/.kodi\/userdata\/addon_data\/service.system.docker\/config/g'
|
||||
#
|
||||
#
|
||||
diff -Naur a/cmd/dockerd/daemon_unix.go b/cmd/dockerd/daemon_unix.go
|
||||
--- a/cmd/dockerd/daemon_unix.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/cmd/dockerd/daemon_unix.go 2024-01-06 03:43:42.144311172 +0000
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
func getDefaultDaemonConfigDir() (string, error) {
|
||||
if !honorXDG {
|
||||
- return "/etc/docker", nil
|
||||
+ return "/storage/.kodi/userdata/addon_data/service.system.docker/config", nil
|
||||
}
|
||||
// NOTE: CLI uses ~/.docker while the daemon uses ~/.config/docker, because
|
||||
// ~/.docker was not designed to store daemon configurations.
|
||||
diff -Naur a/cmd/dockerd/options.go b/cmd/dockerd/options.go
|
||||
--- a/cmd/dockerd/options.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/cmd/dockerd/options.go 2024-01-06 03:43:42.144311172 +0000
|
||||
@@ -39,7 +39,7 @@
|
||||
//
|
||||
// - DOCKER_CONFIG only affects TLS certificates, but does not change the
|
||||
// location for the actual *daemon configuration* (which defaults to
|
||||
- // "/etc/docker/daemon.json").
|
||||
+ // "/storage/.kodi/userdata/addon_data/service.system.docker/config/daemon.json").
|
||||
// - If no value is set, configDir uses "~/.docker/" as default, but does
|
||||
// not take $XDG_CONFIG_HOME into account (it uses pkg/homedir.Get, which
|
||||
// is not XDG_CONFIG_HOME-aware).
|
||||
@@ -52,7 +52,7 @@
|
||||
// We should:
|
||||
//
|
||||
// - deprecate DOCKER_CONFIG for the daemon
|
||||
- // - decide where the TLS certs should live by default ("/etc/docker/"?)
|
||||
+ // - decide where the TLS certs should live by default ("/storage/.kodi/userdata/addon_data/service.system.docker/config/"?)
|
||||
// - look at "when" (and when _not_) XDG_CONFIG_HOME should be used. Its
|
||||
// needed for rootless, but perhaps could be used for non-rootless(?)
|
||||
// - When changing the location for TLS config, (ideally) they should
|
||||
diff -Naur a/integration/plugin/authz/authz_plugin_test.go b/integration/plugin/authz/authz_plugin_test.go
|
||||
--- a/integration/plugin/authz/authz_plugin_test.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/integration/plugin/authz/authz_plugin_test.go 2024-01-06 03:43:42.100977532 +0000
|
||||
@@ -56,15 +56,15 @@
|
||||
|
||||
ctrl = &authorizationController{}
|
||||
|
||||
- err := os.MkdirAll("/etc/docker/plugins", 0o755)
|
||||
+ err := os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0o755)
|
||||
assert.NilError(t, err)
|
||||
|
||||
- fileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", testAuthZPlugin)
|
||||
+ fileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", testAuthZPlugin)
|
||||
err = os.WriteFile(fileName, []byte(server.URL), 0o644)
|
||||
assert.NilError(t, err)
|
||||
|
||||
t.Cleanup(func() {
|
||||
- err := os.RemoveAll("/etc/docker/plugins")
|
||||
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
|
||||
assert.NilError(t, err)
|
||||
ctrl = nil
|
||||
})
|
||||
diff -Naur a/integration/plugin/graphdriver/external_test.go b/integration/plugin/graphdriver/external_test.go
|
||||
--- a/integration/plugin/graphdriver/external_test.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/integration/plugin/graphdriver/external_test.go 2024-01-06 03:43:42.100977532 +0000
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
sserver.Close()
|
||||
jserver.Close()
|
||||
- err := os.RemoveAll("/etc/docker/plugins")
|
||||
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
|
||||
assert.NilError(t, err)
|
||||
}
|
||||
|
||||
@@ -351,10 +351,10 @@
|
||||
respond(w, &graphDriverResponse{Size: size})
|
||||
})
|
||||
|
||||
- err = os.MkdirAll("/etc/docker/plugins", 0o755)
|
||||
+ err = os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0o755)
|
||||
assert.NilError(t, err)
|
||||
|
||||
- specFile := "/etc/docker/plugins/" + name + "." + ext
|
||||
+ specFile := "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/" + name + "." + ext
|
||||
err = os.WriteFile(specFile, b, 0o644)
|
||||
assert.NilError(t, err)
|
||||
}
|
||||
diff -Naur a/integration-cli/docker_cli_external_volume_driver_test.go b/integration-cli/docker_cli_external_volume_driver_test.go
|
||||
--- a/integration-cli/docker_cli_external_volume_driver_test.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/integration-cli/docker_cli_external_volume_driver_test.go 2024-01-06 03:43:42.487646940 +0000
|
||||
@@ -262,10 +262,10 @@
|
||||
send(w, `{"Capabilities": { "Scope": "global" }}`)
|
||||
})
|
||||
|
||||
- err := os.MkdirAll("/etc/docker/plugins", 0o755)
|
||||
+ err := os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0o755)
|
||||
assert.NilError(c, err)
|
||||
|
||||
- err = os.WriteFile("/etc/docker/plugins/"+name+".spec", []byte(s.Server.URL), 0o644)
|
||||
+ err = os.WriteFile("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/"+name+".spec", []byte(s.Server.URL), 0o644)
|
||||
assert.NilError(c, err)
|
||||
return s
|
||||
}
|
||||
@@ -273,7 +273,7 @@
|
||||
func (s *DockerExternalVolumeSuite) TearDownSuite(ctx context.Context, c *testing.T) {
|
||||
s.volumePlugin.Close()
|
||||
|
||||
- err := os.RemoveAll("/etc/docker/plugins")
|
||||
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
|
||||
assert.NilError(c, err)
|
||||
}
|
||||
|
||||
@@ -367,7 +367,7 @@
|
||||
|
||||
// Make sure a request to use a down driver doesn't block other requests
|
||||
func (s *DockerExternalVolumeSuite) TestExternalVolumeDriverLookupNotBlocked(c *testing.T) {
|
||||
- specPath := "/etc/docker/plugins/down-driver.spec"
|
||||
+ specPath := "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/down-driver.spec"
|
||||
err := os.WriteFile(specPath, []byte("tcp://127.0.0.7:9999"), 0o644)
|
||||
assert.NilError(c, err)
|
||||
defer os.RemoveAll(specPath)
|
||||
diff -Naur a/integration-cli/docker_cli_network_unix_test.go b/integration-cli/docker_cli_network_unix_test.go
|
||||
--- a/integration-cli/docker_cli_network_unix_test.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/integration-cli/docker_cli_network_unix_test.go 2024-01-06 03:43:42.487646940 +0000
|
||||
@@ -201,14 +201,14 @@
|
||||
}
|
||||
})
|
||||
|
||||
- err := os.MkdirAll("/etc/docker/plugins", 0o755)
|
||||
+ err := os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0o755)
|
||||
assert.NilError(c, err)
|
||||
|
||||
- fileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", netDrv)
|
||||
+ fileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", netDrv)
|
||||
err = os.WriteFile(fileName, []byte(url), 0o644)
|
||||
assert.NilError(c, err)
|
||||
|
||||
- ipamFileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", ipamDrv)
|
||||
+ ipamFileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", ipamDrv)
|
||||
err = os.WriteFile(ipamFileName, []byte(url), 0o644)
|
||||
assert.NilError(c, err)
|
||||
}
|
||||
@@ -220,7 +220,7 @@
|
||||
|
||||
s.server.Close()
|
||||
|
||||
- err := os.RemoveAll("/etc/docker/plugins")
|
||||
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
|
||||
assert.NilError(c, err)
|
||||
}
|
||||
|
||||
diff -Naur a/integration-cli/docker_cli_swarm_test.go b/integration-cli/docker_cli_swarm_test.go
|
||||
--- a/integration-cli/docker_cli_swarm_test.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/integration-cli/docker_cli_swarm_test.go 2024-01-06 03:43:42.494313654 +0000
|
||||
@@ -793,14 +793,14 @@
|
||||
}
|
||||
})
|
||||
|
||||
- err := os.MkdirAll("/etc/docker/plugins", 0o755)
|
||||
+ err := os.MkdirAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", 0o755)
|
||||
assert.NilError(c, err)
|
||||
|
||||
- fileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", netDrv)
|
||||
+ fileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", netDrv)
|
||||
err = os.WriteFile(fileName, []byte(url), 0o644)
|
||||
assert.NilError(c, err)
|
||||
|
||||
- ipamFileName := fmt.Sprintf("/etc/docker/plugins/%s.spec", ipamDrv)
|
||||
+ ipamFileName := fmt.Sprintf("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins/%s.spec", ipamDrv)
|
||||
err = os.WriteFile(ipamFileName, []byte(url), 0o644)
|
||||
assert.NilError(c, err)
|
||||
}
|
||||
@@ -813,7 +813,7 @@
|
||||
setupRemoteGlobalNetworkPlugin(c, mux, s.server.URL, globalNetworkPlugin, globalIPAMPlugin)
|
||||
defer func() {
|
||||
s.server.Close()
|
||||
- err := os.RemoveAll("/etc/docker/plugins")
|
||||
+ err := os.RemoveAll("/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins")
|
||||
assert.NilError(c, err)
|
||||
}()
|
||||
|
||||
diff -Naur a/libnetwork/drivers/remote/driver_test.go b/libnetwork/drivers/remote/driver_test.go
|
||||
--- a/libnetwork/drivers/remote/driver_test.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/libnetwork/drivers/remote/driver_test.go 2024-01-06 03:43:42.480980226 +0000
|
||||
@@ -41,7 +41,7 @@
|
||||
}
|
||||
|
||||
func setupPlugin(t *testing.T, name string, mux *http.ServeMux) func() {
|
||||
- specPath := "/etc/docker/plugins"
|
||||
+ specPath := "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins"
|
||||
if runtime.GOOS == "windows" {
|
||||
specPath = filepath.Join(os.Getenv("programdata"), "docker", "plugins")
|
||||
}
|
||||
diff -Naur a/libnetwork/ipams/remote/remote_test.go b/libnetwork/ipams/remote/remote_test.go
|
||||
--- a/libnetwork/ipams/remote/remote_test.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/libnetwork/ipams/remote/remote_test.go 2024-01-06 03:43:42.470980156 +0000
|
||||
@@ -36,7 +36,7 @@
|
||||
}
|
||||
|
||||
func setupPlugin(t *testing.T, name string, mux *http.ServeMux) func() {
|
||||
- specPath := "/etc/docker/plugins"
|
||||
+ specPath := "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins"
|
||||
if runtime.GOOS == "windows" {
|
||||
specPath = filepath.Join(os.Getenv("programdata"), "docker", "plugins")
|
||||
}
|
||||
diff -Naur a/libnetwork/libnetwork_unix_test.go b/libnetwork/libnetwork_unix_test.go
|
||||
--- a/libnetwork/libnetwork_unix_test.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/libnetwork/libnetwork_unix_test.go 2024-01-06 03:43:42.484313584 +0000
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
package libnetwork_test
|
||||
|
||||
-var specPath = "/etc/docker/plugins"
|
||||
+var specPath = "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins"
|
||||
diff -Naur a/pkg/plugins/discovery.go b/pkg/plugins/discovery.go
|
||||
--- a/pkg/plugins/discovery.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/pkg/plugins/discovery.go 2024-01-06 03:43:42.107644246 +0000
|
||||
@@ -120,12 +120,12 @@
|
||||
//
|
||||
// On Unix in non-rootless mode:
|
||||
//
|
||||
-// - "/etc/docker/plugins"
|
||||
+// - "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins"
|
||||
// - "/usr/lib/docker/plugins"
|
||||
//
|
||||
// On Unix in rootless-mode:
|
||||
//
|
||||
-// - "$XDG_CONFIG_HOME/docker/plugins" (or "/etc/docker/plugins" if $XDG_CONFIG_HOME is not set)
|
||||
+// - "$XDG_CONFIG_HOME/docker/plugins" (or "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins" if $XDG_CONFIG_HOME is not set)
|
||||
// - "$HOME/.local/lib/docker/plugins" (pr "/usr/lib/docker/plugins" if $HOME is set)
|
||||
func SpecsPaths() []string {
|
||||
return specsPaths()
|
||||
diff -Naur a/pkg/plugins/discovery_unix.go b/pkg/plugins/discovery_unix.go
|
||||
--- a/pkg/plugins/discovery_unix.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/pkg/plugins/discovery_unix.go 2024-01-06 03:43:42.107644246 +0000
|
||||
@@ -12,7 +12,7 @@
|
||||
if configHome, err := homedir.GetConfigHome(); err != nil {
|
||||
return filepath.Join(configHome, "docker/plugins")
|
||||
}
|
||||
- return "/etc/docker/plugins"
|
||||
+ return "/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins"
|
||||
}
|
||||
|
||||
func rootlessLibPluginsPath() string {
|
||||
@@ -27,5 +27,5 @@
|
||||
if rootless.RunningWithRootlessKit() {
|
||||
return []string{rootlessConfigPluginsPath(), rootlessLibPluginsPath()}
|
||||
}
|
||||
- return []string{"/etc/docker/plugins", "/usr/lib/docker/plugins"}
|
||||
+ return []string{"/storage/.kodi/userdata/addon_data/service.system.docker/config/plugins", "/usr/lib/docker/plugins"}
|
||||
}
|
||||
diff -Naur a/pkg/plugins/plugins.go b/pkg/plugins/plugins.go
|
||||
--- a/pkg/plugins/plugins.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/pkg/plugins/plugins.go 2024-01-06 03:43:42.107644246 +0000
|
||||
@@ -4,7 +4,7 @@
|
||||
// Docker discovers plugins by looking for them in the plugin directory whenever
|
||||
// a user or container tries to use one by name. UNIX domain socket files must
|
||||
// be located under /run/docker/plugins, whereas spec files can be located
|
||||
-// either under /etc/docker/plugins or /usr/lib/docker/plugins. This is handled
|
||||
+// either under /storage/.kodi/userdata/addon_data/service.system.docker/config/plugins or /usr/lib/docker/plugins. This is handled
|
||||
// by the Registry interface, which lets you list all plugins or get a plugin by
|
||||
// its name if it exists.
|
||||
//
|
||||
diff -Naur a/registry/config_unix.go b/registry/config_unix.go
|
||||
--- a/registry/config_unix.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/registry/config_unix.go 2024-01-06 03:43:42.487646940 +0000
|
||||
@@ -5,7 +5,7 @@
|
||||
// defaultCertsDir is the platform-specific default directory where certificates
|
||||
// are stored. On Linux, it may be overridden through certsDir, for example, when
|
||||
// running in rootless mode.
|
||||
-const defaultCertsDir = "/etc/docker/certs.d"
|
||||
+const defaultCertsDir = "/storage/.kodi/userdata/addon_data/service.system.docker/config/certs.d"
|
||||
|
||||
// cleanPath is used to ensure that a directory name is valid on the target
|
||||
// platform. It will be passed in something *similar* to a URL such as
|
||||
diff -Naur a/registry/search_endpoint_v1.go b/registry/search_endpoint_v1.go
|
||||
--- a/registry/search_endpoint_v1.go 2024-01-04 15:38:22.000000000 +0000
|
||||
+++ b/registry/search_endpoint_v1.go 2024-01-06 03:43:42.487646940 +0000
|
||||
@@ -54,7 +54,7 @@
|
||||
if endpoint.IsSecure {
|
||||
// If registry is secure and HTTPS failed, show user the error and tell them about `--insecure-registry`
|
||||
// in case that's what they need. DO NOT accept unknown CA certificates, and DO NOT fall back to HTTP.
|
||||
- return nil, invalidParamf("invalid registry endpoint %s: %v. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry %s` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/%s/ca.crt", endpoint, err, endpoint.URL.Host, endpoint.URL.Host)
|
||||
+ return nil, invalidParamf("invalid registry endpoint %s: %v. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry %s` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /storage/.kodi/userdata/addon_data/service.system.docker/config/certs.d/%s/ca.crt", endpoint, err, endpoint.URL.Host, endpoint.URL.Host)
|
||||
}
|
||||
|
||||
// registry is insecure and HTTPS failed, fallback to HTTP.
|
||||
@@ -1,22 +0,0 @@
|
||||
--- a/daemon/config/config.go 2022-06-03 10:30:24.000000000 -0700
|
||||
+++ b/daemon/config/config.go 2022-06-07 14:29:36.755713207 -0700
|
||||
@@ -60,7 +60,7 @@
|
||||
// by [minAPIVersion].
|
||||
defaultMinAPIVersion = "1.24"
|
||||
// SeccompProfileDefault is the built-in default seccomp profile.
|
||||
- SeccompProfileDefault = "builtin"
|
||||
+ SeccompProfileDefault = "unconfined"
|
||||
// SeccompProfileUnconfined is a special profile name for seccomp to use an
|
||||
// "unconfined" seccomp profile.
|
||||
SeccompProfileUnconfined = "unconfined"
|
||||
--- a/daemon/daemon_unix.go 2022-06-03 10:30:24.000000000 -0700
|
||||
+++ b/daemon/daemon_unix.go 2022-06-07 14:34:55.315558083 -0700
|
||||
@@ -1463,8 +1463,6 @@
|
||||
|
||||
func (daemon *Daemon) setupSeccompProfile(cfg *config.Config) error {
|
||||
switch profile := cfg.SeccompProfile; profile {
|
||||
- case "", config.SeccompProfileDefault:
|
||||
- daemon.seccompProfilePath = config.SeccompProfileDefault
|
||||
case config.SeccompProfileUnconfined:
|
||||
daemon.seccompProfilePath = config.SeccompProfileUnconfined
|
||||
default:
|
||||
@@ -0,0 +1,26 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="aspnet5-runtime"
|
||||
PKG_VERSION="5.0.7"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://dotnet.microsoft.com/"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="ASP.NET Core Runtime enables you to run existing web/server applications."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
case "${ARCH}" in
|
||||
"aarch64")
|
||||
PKG_SHA256="219f233d4e23e2381d93dc99a7cbdbe55c55e45da2e025b5d139d1338d11d62a"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/d0a22fa3-b916-49ce-8284-97131b424cb3/cb884163ad34b83f1ae1dbd33e09d77a/aspnetcore-runtime-5.0.7-linux-arm64.tar.gz"
|
||||
;;
|
||||
"arm")
|
||||
PKG_SHA256="c14e64527f2bf7356d1de154132a07b86de4a30c62129e138f3ca95a43c2dd54"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/2f690848-1342-4768-a7d7-45fa476a4a22/50dd1c50ed7864140b04fec057bb8bd6/aspnetcore-runtime-5.0.7-linux-arm.tar.gz"
|
||||
;;
|
||||
"x86_64")
|
||||
PKG_SHA256="22f9f93b4d6a00e76980918b721f7f62654421d7582d486e830ec478c365707c"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/d6be94b3-458f-43c4-8bb5-9ba261de8c9c/bbe13b54208d088b5fdf428759b5bc0a/aspnetcore-runtime-5.0.7-linux-x64.tar.gz"
|
||||
;;
|
||||
esac
|
||||
PKG_SOURCE_NAME="aspnetcore-runtime_${PKG_VERSION}_${ARCH}.tar.gz"
|
||||
@@ -1,26 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="aspnet6-runtime"
|
||||
PKG_VERSION="6.0.32"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://dotnet.microsoft.com/"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="ASP.NET Core Runtime enables you to run existing web/server applications."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
case "${ARCH}" in
|
||||
"aarch64")
|
||||
PKG_SHA256="70d7035083bc2b330709eb6208d082a3cfc18839425b31bccff032aadc66c212"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/7b3ead1a-441d-42b9-ac91-1253ed8aee48/044d517eaff9f65e18e3e27f4d825d34/aspnetcore-runtime-6.0.32-linux-arm64.tar.gz"
|
||||
;;
|
||||
"arm")
|
||||
PKG_SHA256="1500178b218dc218c1465b9b60b248c8780dccb15b62a56641d03c8d816eff16"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/d5106f1a-d140-4c8c-b480-001824b72768/7e9cf426bf45040eadfcc8bb20227b6d/aspnetcore-runtime-6.0.32-linux-arm.tar.gz"
|
||||
;;
|
||||
"x86_64")
|
||||
PKG_SHA256="ee937f7c03f4e908c3dcb0f1c063bd911bc08f7a30d49ea41f084fa403b923f0"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/99f90118-96b4-4d06-97ad-d779715319f6/aecf393f9b9d362b66b93a47d90cfa8d/aspnetcore-runtime-6.0.32-linux-x64.tar.gz"
|
||||
;;
|
||||
esac
|
||||
PKG_SOURCE_NAME="aspnetcore-runtime_${PKG_VERSION}_${ARCH}.tar.gz"
|
||||
@@ -1,26 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="aspnet8-runtime"
|
||||
PKG_VERSION="8.0.7"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://dotnet.microsoft.com/"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="ASP.NET Core Runtime enables you to run existing web/server applications."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
case "${ARCH}" in
|
||||
"aarch64")
|
||||
PKG_SHA256="61a21ef486e0075ba2c68aaceee0429d731414611d2291e1c7056cd3e5d955bb"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/421d499f-85cb-43dd-97b2-8ebfd06dda8a/61b03be4662125e4af044c7881e66f0e/aspnetcore-runtime-8.0.7-linux-arm64.tar.gz"
|
||||
;;
|
||||
"arm")
|
||||
PKG_SHA256="9ad9398327a6cb239e7bda239f29a9db64838676113d5a2e54d9319b443f52e7"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/d37fc703-70c6-46f2-a5a1-b60f45fd71d0/6a74aa0bb89feb7f795df1ea92d030bf/aspnetcore-runtime-8.0.7-linux-arm.tar.gz"
|
||||
;;
|
||||
"x86_64")
|
||||
PKG_SHA256="e55bc969b1cb58f96b927127b5c448a15ea844cfc94387f6e35ab585d94abc93"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/06cbb934-ef54-4627-8848-a24a879f2130/52d4247944cee754ec8f4fd617d502a6/aspnetcore-runtime-8.0.7-linux-x64.tar.gz"
|
||||
;;
|
||||
esac
|
||||
PKG_SOURCE_NAME="aspnetcore-runtime_${PKG_VERSION}_${ARCH}.tar.gz"
|
||||
@@ -0,0 +1,26 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="dotnet3-runtime"
|
||||
PKG_VERSION="3.1.16"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://dotnet.microsoft.com/"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="ASP.NET Core Runtime runs applications built with .NET Core, a cross-platform .NET implementation."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
case "${ARCH}" in
|
||||
"aarch64")
|
||||
PKG_SHA256="b76c049484efd86466d2e1cd88994521633c399d090adb1c6804128603816abe"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/64353333-3080-45f7-a3d5-33e391e4596c/e9d5d53cb318628485e8d1fbd26ec30d/aspnetcore-runtime-3.1.16-linux-arm64.tar.gz"
|
||||
;;
|
||||
"arm")
|
||||
PKG_SHA256="a0163cd5c5ceae228bfffb40053f3509e155a110c23e81c38705757a870e24cc"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/bd734390-3b5f-402a-826f-e0eae538b8ba/5914dd937ede96cb9297e6e7a80f46f3/aspnetcore-runtime-3.1.16-linux-arm.tar.gz"
|
||||
;;
|
||||
"x86_64")
|
||||
PKG_SHA256="b1a2f61d8a49e2a3ca5eb9daa103b83eb49ea1bcf14914560e601222e94a3022"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/c20a5ac5-5174-46b8-a875-b916a416050d/b2ddd212a183260569178d880899bd94/aspnetcore-runtime-3.1.16-linux-x64.tar.gz"
|
||||
;;
|
||||
esac
|
||||
PKG_SOURCE_NAME="aspnetcore3-runtime_${PKG_VERSION}_${ARCH}.tar.gz"
|
||||
@@ -0,0 +1,26 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="dotnet5-runtime"
|
||||
PKG_VERSION="5.0.7"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://dotnet.microsoft.com/"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC=".NET Runtime runs applications built with .NET Core, a cross-platform .NET implementation."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
case "${ARCH}" in
|
||||
"aarch64")
|
||||
PKG_SHA256="375956c3d326f5030a1eff2cafdba8b994ed0e1b87db2dd812ce17e0bca5fb27"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/a9a37d9f-6158-43a4-a610-f0f9e8c2cb73/c69c6d22c668cb09b2d00bea8209335b/dotnet-runtime-5.0.7-linux-arm64.tar.gz"
|
||||
;;
|
||||
"arm")
|
||||
PKG_SHA256="fcc811f37cb6914bf3aa1c96040b1a46fad42939e6b1e1e7e0f513a9be1de680"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/09a24e9f-0096-454a-b761-70cdf9504775/eafe9578bbedd15c9319b7580d5a20d9/dotnet-runtime-5.0.7-linux-arm.tar.gz"
|
||||
;;
|
||||
"x86_64")
|
||||
PKG_SHA256="ed864299f0e736f9d284b655e62d8a29aee97c14741ef8baf13d5ff493f83a47"
|
||||
PKG_URL="https://download.visualstudio.microsoft.com/download/pr/f229fc63-747e-46c8-89ac-88563c2e0b7d/8e59115deda958a26e1546f603cbad9a/dotnet-runtime-5.0.7-linux-x64.tar.gz"
|
||||
;;
|
||||
esac
|
||||
PKG_SOURCE_NAME="dotnet-runtime_${PKG_VERSION}_${ARCH}.tar.gz"
|
||||
@@ -1,17 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="dtv-scan-tables"
|
||||
PKG_VERSION="2022-04-30-57ed29822750"
|
||||
PKG_SHA256="6a6268aa392459378fa3a13922fc015a3fa63ff822f4b0d64d33d71350a6ec9e"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://git.linuxtv.org/dtv-scan-tables.git"
|
||||
PKG_URL="https://linuxtv.org/downloads/dtv-scan-tables/dtv-scan-tables-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Digital TV scan tables."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
makeinstall_target() {
|
||||
make -C share/dvb install DATADIR=${INSTALL}/usr/share
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
From e6ff7da39edd44fe6bb14bcba29c0fc5a02957a8 Mon Sep 17 00:00:00 2001
|
||||
From: CrazyCat <crazycat69@narod.ru>
|
||||
Date: Sun, 20 May 2018 21:22:24 +0300
|
||||
Subject: [PATCH] Some compat fixes.
|
||||
|
||||
---
|
||||
lib/libdvbapi/dvbnet.c | 4 ++++
|
||||
lib/libdvbapi/dvbvideo.c | 1 -
|
||||
2 files changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/libdvbapi/dvbnet.c b/lib/libdvbapi/dvbnet.c
|
||||
index 25c09ad..7ddaabe 100644
|
||||
--- a/lib/libdvbapi/dvbnet.c
|
||||
+++ b/lib/libdvbapi/dvbnet.c
|
||||
@@ -29,6 +29,10 @@
|
||||
#include <errno.h>
|
||||
#include "dvbnet.h"
|
||||
|
||||
+#ifndef DVB_NET_FEEDTYPE_GSE
|
||||
+#define DVB_NET_FEEDTYPE_GSE 2 /* generic stream encapsulation */
|
||||
+#endif
|
||||
+
|
||||
int dvbnet_open(int adapter, int netdeviceid)
|
||||
{
|
||||
char filename[PATH_MAX+1];
|
||||
diff --git a/lib/libdvbapi/dvbvideo.c b/lib/libdvbapi/dvbvideo.c
|
||||
index f1ffbe8..18a4d3a 100644
|
||||
--- a/lib/libdvbapi/dvbvideo.c
|
||||
+++ b/lib/libdvbapi/dvbvideo.c
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/types.h>
|
||||
-#include <linux/dvb/video.h>
|
||||
#include <errno.h>
|
||||
#include "dvbvideo.h"
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
diff -ru a/Makefile b/Makefile
|
||||
--- a/Makefile 2014-03-21 20:26:36.000000000 +0100
|
||||
+++ b/Makefile 2022-12-04 20:52:52.827027541 +0100
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
all clean install:
|
||||
$(MAKE) -C lib $@
|
||||
- $(MAKE) -C test $@
|
||||
$(MAKE) -C util $@
|
||||
|
||||
update:
|
||||
@@ -1,49 +0,0 @@
|
||||
--- a/lib/libdvbapi/dvbaudio.c 2021-07-27 22:57:28.723492743 +1000
|
||||
+++ b/lib/libdvbapi/dvbaudio.c 2021-07-27 23:07:08.672581030 +1000
|
||||
@@ -25,10 +25,13 @@
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
-#include <linux/dvb/audio.h>
|
||||
#include <errno.h>
|
||||
#include "dvbaudio.h"
|
||||
|
||||
+#ifndef AUDIO_SET_BYPASS_MODE
|
||||
+#define AUDIO_SET_BYPASS_MODE _IO('o', 8)
|
||||
+#endif
|
||||
+
|
||||
int dvbaudio_open(int adapter, int audiodeviceid)
|
||||
{
|
||||
char filename[PATH_MAX+1];
|
||||
--- a/test/test_av.c 2021-07-27 23:11:51.105535377 +1000
|
||||
+++ b/test/test_av.c 2021-07-27 23:12:05.035519211 +1000
|
||||
@@ -31,8 +31,6 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include <linux/types.h>
|
||||
-#include <linux/dvb/audio.h>
|
||||
-#include <linux/dvb/video.h>
|
||||
|
||||
int audioStop(int fd, char *arg)
|
||||
{
|
||||
--- a/util/szap/szap.c 2021-07-27 23:26:32.667530471 +1000
|
||||
+++ b/util/szap/szap.c 2021-07-27 23:26:46.154138354 +1000
|
||||
@@ -46,7 +46,6 @@
|
||||
|
||||
#include <linux/dvb/frontend.h>
|
||||
#include <linux/dvb/dmx.h>
|
||||
-#include <linux/dvb/audio.h>
|
||||
#include "lnb.h"
|
||||
#include "util.h"
|
||||
|
||||
@@ -57,6 +56,10 @@
|
||||
#define FALSE (1==0)
|
||||
#endif
|
||||
|
||||
+#ifndef AUDIO_SET_BYPASS_MODE
|
||||
+#define AUDIO_SET_BYPASS_MODE _IO('o', 8)
|
||||
+#endif
|
||||
+
|
||||
/* location of channel list file */
|
||||
#define CHANNEL_FILE "channels.conf"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="dvbsnoop"
|
||||
PKG_VERSION="72a64d59b6b00272fbfbeebdc9da9d6e8ace67da" # 2021-12-12
|
||||
PKG_SHA256="7364c04b05e3ce311c14544fd01ca8ad846f4cfab5951815bdec64fe6cc35a0c"
|
||||
PKG_VERSION="badf61fcdab1177c1162747be06d035a2b671e9b"
|
||||
PKG_SHA256="7f0f5d9ca15c5caae3ca249d95a5fc30cececd16f63e00a1404e0d2368ce56fa"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://dvbsnoop.sourceforge.net/"
|
||||
PKG_URL="https://github.com/Duckbox-Developers/dvbsnoop/archive/${PKG_VERSION}.tar.gz"
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="szap-s2"
|
||||
PKG_VERSION="c4e6ff29c7371c42653edce152d50d18066a4ae7"
|
||||
PKG_SHA256="4c512c891fa4a1e4326632956b60a96eca3d1341f862ae10c1ef2c98676e4c4b"
|
||||
PKG_VERSION="69ff3584caf9b46f7a551b39b9f9956f8461377c"
|
||||
PKG_SHA256="eea8d99d2d5d6403d624acdd9df908a2dd7767dd5469b44e9a281ff863096b32"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/crazycat69/szap-s2"
|
||||
PKG_URL="https://github.com/crazycat69/szap-s2/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_SITE="https://bitbucket.org/updatelee/tune-s2"
|
||||
PKG_URL="https://bitbucket.org/CrazyCat/szap-s2/get/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="szap-s2 is a simple zapping tool for the Linux DVB S2 API"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="enet"
|
||||
PKG_VERSION="8d69c5abe4b699e7077395e01927bd102b3ba597" # 12 Jun 2021
|
||||
PKG_SHA256="4da28dc923828f2241f9086009c87d9679cb52bb3085305754cbcac33a06f312"
|
||||
PKG_VERSION="d9e561938fd9360cdbbd67d78b105ccbe4af0a65" # 10 Jan 2021 # 1.3.17+vita
|
||||
PKG_SHA256="ff52ea54edb71662d5933b165c073f079c90ed9adcf98bcb7b2e74d4ddf3dc6b"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/cgutman/enet/"
|
||||
PKG_URL="https://github.com/cgutman/enet/archive/${PKG_VERSION}.tar.gz"
|
||||
|
||||
@@ -3,15 +3,24 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="faad2"
|
||||
PKG_VERSION="2.11.1"
|
||||
PKG_SHA256="72dbc0494de9ee38d240f670eccf2b10ef715fd0508c305532ca3def3225bb06"
|
||||
PKG_VERSION="2.10.0"
|
||||
PKG_SHA256="0c6d9636c96f95c7d736f097d418829ced8ec6dbd899cc6cc82b728480a84bfb"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/knik0/faad2/"
|
||||
PKG_URL="https://github.com/knik0/faad2/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_URL="https://github.com/knik0/faad2/archive/${PKG_VERSION//./_}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="An MPEG-4 AAC decoder."
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DBUILD_SHARED_LIBS=OFF"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--disable-shared \
|
||||
--without-drm \
|
||||
--with-gnu-ld \
|
||||
--without-mpeg4ip \
|
||||
--without-xmms"
|
||||
pre_configure_target() {
|
||||
./bootstrap
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf ${INSTALL}/usr/bin
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user