Commit efbaa8a0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack generic-appimage: use add_libs_requires

parent 4259b865
...@@ -89,12 +89,11 @@ add_bin_cdexec_command $PRODUCT $PRODUCTDIR/AppRun ...@@ -89,12 +89,11 @@ add_bin_cdexec_command $PRODUCT $PRODUCTDIR/AppRun
# Strange AppRun script uses args as path, so override path detection # Strange AppRun script uses args as path, so override path detection
subst "2iexport APPDIR=$PRODUCTDIR" $BUILDROOT/usr/bin/$PRODUCT subst "2iexport APPDIR=$PRODUCTDIR" $BUILDROOT/usr/bin/$PRODUCT
# detect requires by libs
add_libs_requires
if [ -f v8_context_snapshot.bin ] ; then if [ -f v8_context_snapshot.bin ] ; then
echo "electron based application detected, adding requires ..." echo "electron based application detected, adding requires for it ..."
. $(dirname $0)/common-chromium-browser.sh
# don't use install: we disabled AutoReq before
add_electron_deps add_electron_deps
fi fi
# ignore embedded libs
drop_embedded_reqs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment