diff options
author | Eric Hameleers <alien@slackware.com> | 2023-08-04 17:16:09 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2023-08-04 17:16:09 +0000 |
commit | 955c76f3fb02c0ab0e53309596b77a2898306f87 (patch) | |
tree | 4c2426c11be44e02ebe7efea7950fa49b175f7a6 | |
parent | 794429096f9dc3d5ddae1f7239f5bcd13c0e27d6 (diff) | |
download | asb-955c76f3fb02c0ab0e53309596b77a2898306f87.tar.gz asb-955c76f3fb02c0ab0e53309596b77a2898306f87.tar.xz |
chromium: try to enable HEVC support again
-rwxr-xr-x | chromium/build/chromium.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/build/chromium.SlackBuild b/chromium/build/chromium.SlackBuild index a6690db4..29c9f491 100755 --- a/chromium/build/chromium.SlackBuild +++ b/chromium/build/chromium.SlackBuild @@ -933,9 +933,6 @@ sed \ -i third_party/libxml/src/libxml2-config.cmake.in \ -e 's%set(LIBXML2_LIBRARY_DIR *${_libxml2_rootdir}/lib%&'${LIBDIRSUFFIX}'%' -## Fix a compilation error because we enable HEVC but are not ChromeOS: -#cat $SRCDIR/patches/chromium_hevc_non_chromeos.patch | patch -p1 --verbose \ -# 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log # Slackware specific: # When compiling google's clang on 32bit Slackware or on ARM, add our triplets. # I am a python noob so this is clumsy, better implementation is welcome :-) @@ -951,6 +948,9 @@ if [ $FFMPEG_HEVC -eq 1 ]; then # Add essential proprietary codecs to the "chrome" branding of ffmpeg: cat $SRCDIR/patches/chromium_ffmpeg_prop.patch | patch -p1 --verbose \ 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log + # Advertise support for HEVC: + sed -i media/base/supported_types.cc \ + -e '/^bool IsHevcProfileSupported(const VideoType& type) {$/s//& return true;/' fi # Also needed for Slackware <= 14.2: @@ -1058,6 +1058,7 @@ _chromium_conf=( 'enable_mse_mpeg2ts_stream_parser=true' 'enable_precompiled_headers=false' 'enable_pseudolocales=false' + 'enable_rust=false' 'enable_webrtc=true' 'fatal_linker_warnings=false' "ffmpeg_branding=\"${FFMPEG_BRANDING}\"" @@ -1133,7 +1134,6 @@ else 'enable_nacl=false' 'enable_nacl_nonsfi=false' 'enable_pepper_cdms=true' - 'enable_rust=false' "enable_widevine=${do_cdm}" 'exclude_unwind_tables=true' 'disable_fieldtrial_testing_config=true' |