mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
raspi fixes
This commit is contained in:
parent
d9d43213c5
commit
bdb064b3e0
12 changed files with 14 additions and 9 deletions
|
@ -2160,7 +2160,7 @@ if (is_win) {
|
|||
common_optimize_on_cflags = [ "-O3", ]
|
||||
common_optimize_on_ldflags = [ "-Wl,-O3", ]
|
||||
|
||||
if (current_cpu == "arm64" || target_cpu == "arm64") {
|
||||
if (current_cpu == "arm64") {
|
||||
common_optimize_on_cflags += [ "-march=armv8-a+crc", "-mtune=cortex-a72", "-mfpu=neon-fp-armv8", "-mfloat-abi=hard", ]
|
||||
common_optimize_on_ldflags += [ "-march=armv8-a+crc", ]
|
||||
if (is_linux) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2023 Alex313031
|
||||
# Copyright (c) 2023 Alex313031 and Iridium
|
||||
# Shows the output of a given command only on failure, or when VERBOSE is set.
|
||||
log_cmd() {
|
||||
if [ "${VERBOSE:-}" ]; then
|
||||
|
@ -171,15 +171,15 @@ stage_install_common() {
|
|||
install -m 644 "${OUTPUTDIR}/resources/inspector_overlay/inspector_overlay_resources.grd" "${STAGEDIR}/${INSTALLDIR}/resources/inspector_overlay/"
|
||||
install -m 644 "${OUTPUTDIR}/resources/inspector_overlay/main.js" "${STAGEDIR}/${INSTALLDIR}/resources/inspector_overlay/"
|
||||
install -m 755 "${OUTPUTDIR}/thorium_shell" "${STAGEDIR}/${INSTALLDIR}/"
|
||||
install -m 644 "${OUTPUTDIR}/libffmpeg.so" "${STAGEDIR}/${INSTALLDIR}/"
|
||||
install -m 644 "${OUTPUTDIR}/libffmpeg.so" "${STAGEDIR}/${INSTALLDIR}/lib"
|
||||
install -m 644 "${OUTPUTDIR}/libblink_test_plugin.so" "${STAGEDIR}/${INSTALLDIR}/lib"
|
||||
install -m 644 "${OUTPUTDIR}/ClearKeyCdm/_platform_specific/linux_arm64/libclearkeycdm.so" "${STAGEDIR}/${INSTALLDIR}/lib"
|
||||
install -m ${SHLIB_PERMS} "${OUTPUTDIR}/libffmpeg.so" "${STAGEDIR}/${INSTALLDIR}/"
|
||||
install -m ${SHLIB_PERMS} "${OUTPUTDIR}/libffmpeg.so" "${STAGEDIR}/${INSTALLDIR}/lib"
|
||||
install -m ${SHLIB_PERMS} "${OUTPUTDIR}/libblink_test_plugin.so" "${STAGEDIR}/${INSTALLDIR}/lib"
|
||||
install -m ${SHLIB_PERMS} "${OUTPUTDIR}/ClearKeyCdm/_platform_specific/linux_x64/libclearkeycdm.so" "${STAGEDIR}/${INSTALLDIR}/lib"
|
||||
install -m 644 "${OUTPUTDIR}/thorium_shell.png" "${STAGEDIR}/${INSTALLDIR}/"
|
||||
install -m 644 "${OUTPUTDIR}/thorium-shell.desktop" "${STAGEDIR}/usr/share/applications/"
|
||||
install -m 755 "${OUTPUTDIR}/thorium-shell" "${STAGEDIR}/usr/bin/"
|
||||
install -m 755 "${OUTPUTDIR}/chromedriver" "${STAGEDIR}/${INSTALLDIR}/"
|
||||
# install -m 755 "${OUTPUTDIR}/pak" "${STAGEDIR}/usr/bin/"
|
||||
install -m 644 "${OUTPUTDIR}/initial_preferences" "${STAGEDIR}/${INSTALLDIR}/"
|
||||
else
|
||||
install -m 644 "${OUTPUTDIR}/theme_resources_100_percent.pak" "${STAGEDIR}/${INSTALLDIR}/"
|
||||
install -m 644 "${OUTPUTDIR}/ui_resources_100_percent.pak" "${STAGEDIR}/${INSTALLDIR}/"
|
||||
|
@ -280,12 +280,17 @@ stage_install_common() {
|
|||
install -m ${SHLIB_PERMS} "${strippedfile}" "${STAGEDIR}/${INSTALLDIR}/${file}"
|
||||
fi
|
||||
|
||||
# QT shim
|
||||
# QT shims
|
||||
if [ -f "${OUTPUTDIR}/libqt5_shim.so" ]; then
|
||||
file="libqt5_shim.so"
|
||||
strippedfile="${OUTPUTDIR}/${file}.stripped"
|
||||
install -m ${SHLIB_PERMS} "${strippedfile}" "${STAGEDIR}/${INSTALLDIR}/${file}"
|
||||
fi
|
||||
if [ -f "${OUTPUTDIR}/libqt6_shim.so" ]; then
|
||||
file="libqt6_shim.so"
|
||||
strippedfile="${OUTPUTDIR}/${file}.stripped"
|
||||
install -m ${SHLIB_PERMS} "${strippedfile}" "${STAGEDIR}/${INSTALLDIR}/${file}"
|
||||
fi
|
||||
|
||||
# libc++
|
||||
if [ -f "${OUTPUTDIR}/lib/libc++.so" ]; then
|
||||
|
|
|
@ -66,7 +66,7 @@ use_webaudio_pffft = true
|
|||
use_vaapi = true
|
||||
enable_library_cdms = true
|
||||
enable_widevine = true
|
||||
bundle_widevine_cdm = false
|
||||
bundle_widevine_cdm = true
|
||||
# enable_widevine_cdm_component = true
|
||||
enable_cdm_host_verification = false
|
||||
ignore_missing_widevine_signing_cert = true
|
||||
|
|
0
arm/raspi/third_party/widevine/cdm/arm64/libwidevinecdm.so → arm/raspi/third_party/widevine/cdm/linux/arm64/libwidevinecdm.so
vendored
Normal file → Executable file
0
arm/raspi/third_party/widevine/cdm/arm64/libwidevinecdm.so → arm/raspi/third_party/widevine/cdm/linux/arm64/libwidevinecdm.so
vendored
Normal file → Executable file
0
arm/raspi/third_party/widevine/cdm/arm64/libwidevinecdm_real.so → arm/raspi/third_party/widevine/cdm/linux/arm64/libwidevinecdm_real.so
vendored
Normal file → Executable file
0
arm/raspi/third_party/widevine/cdm/arm64/libwidevinecdm_real.so → arm/raspi/third_party/widevine/cdm/linux/arm64/libwidevinecdm_real.so
vendored
Normal file → Executable file
0
src/third_party/widevine/cdm/chromeos/arm64/libwidevinecdm.so
vendored
Normal file → Executable file
0
src/third_party/widevine/cdm/chromeos/arm64/libwidevinecdm.so
vendored
Normal file → Executable file
0
src/third_party/widevine/cdm/linux/x64/libwidevinecdm.so
vendored
Normal file → Executable file
0
src/third_party/widevine/cdm/linux/x64/libwidevinecdm.so
vendored
Normal file → Executable file
0
src/third_party/widevine/cdm/mac/arm64/libwidevinecdm.dylib
vendored
Normal file → Executable file
0
src/third_party/widevine/cdm/mac/arm64/libwidevinecdm.dylib
vendored
Normal file → Executable file
0
src/third_party/widevine/cdm/mac/x64/libwidevinecdm.dylib
vendored
Normal file → Executable file
0
src/third_party/widevine/cdm/mac/x64/libwidevinecdm.dylib
vendored
Normal file → Executable file
Loading…
Reference in a new issue