Skip to content

Commit

Permalink
fix build of _cefbrowser
Browse files Browse the repository at this point in the history
  • Loading branch information
Zabrimus committed Sep 23, 2024
1 parent 979b9ed commit 679e0a7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/vdr/vdr-depends/_cefbrowser/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ if [ "${DISTRONAME}" = "LibreELEC" ] && [ "${OS_VERSION}" = "11.0" ]; then
fi

CEF_PREFIX="/usr/local"
CEF_DIR="$(get_build_dir _cef)/../../../../cef"
CEF_VERSION_FILE="$(get_build_dir _cef)/VERSION"
CEF_VERSION="$(cat ${CEF_VERSION_FILE})"

case "${ARCH}" in
arm) DARCH="arm";;
Expand All @@ -55,6 +52,10 @@ PKG_MESON_OPTS_TARGET="-Darch=${DARCH} -Dsubarch=${DSUBARCH} \
--sbindir=${CEF_PREFIX}/bin"

pre_configure_target() {
CEF_DIR="$(get_build_dir _cef)/../../../../cef"
CEF_VERSION_FILE="$(get_build_dir _cef)/VERSION"
CEF_VERSION="$(cat ${CEF_VERSION_FILE})"

export SSL_CERT_FILE=$(get_install_dir openssl)/etc/ssl/cacert.pem.system
rm -rf ${PKG_BUILD}/subprojects/cef
ln -s ${CEF_DIR}/cef-${CEF_VERSION}-${ARCH} ${PKG_BUILD}/subprojects/cef
Expand Down

0 comments on commit 679e0a7

Please sign in to comment.