Commit 5fe1c871 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack.d/generic-appimage.sh: add predefined deps for electron based apps

parent d054051e
...@@ -19,6 +19,10 @@ cd $BUILDROOT$PRODUCTDIR ...@@ -19,6 +19,10 @@ cd $BUILDROOT$PRODUCTDIR
# TODO # TODO
if false ; then if false ; then
# /opt/whatsapp-for-linux/usr/lib/ssl/certs -> /etc/ssl/certs
# /opt/whatsapp-for-linux/usr/lib/ssl/private -> /etc/ssl/private
# on whatsapp-for-linux example # on whatsapp-for-linux example
epm assure patchelf || exit epm assure patchelf || exit
# hack for # hack for
...@@ -77,8 +81,6 @@ done ...@@ -77,8 +81,6 @@ done
# hack for remove MacOS only stuffs # hack for remove MacOS only stuffs
remove_dir $(find $BUILDROOT -type d -name "*catalina*" | sed -e "s|$BUILDROOT||") remove_dir $(find $BUILDROOT -type d -name "*catalina*" | sed -e "s|$BUILDROOT||")
cd - >/dev/null
add_bin_exec_command $PRODUCT $PRODUCTDIR/AppRun add_bin_exec_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
...@@ -87,5 +89,12 @@ subst '1iAutoProv:no' $SPEC ...@@ -87,5 +89,12 @@ subst '1iAutoProv:no' $SPEC
#subst '1iAutoReq:yes,nopython,nomono,nomonolib' $SPEC #subst '1iAutoReq:yes,nopython,nomono,nomonolib' $SPEC
subst '1iAutoReq:no' $SPEC subst '1iAutoReq:no' $SPEC
if [ -f v8_context_snapshot.bin ] ; then
"electron based application detected, install requires"
. $(dirname $0)/common-chromium-browser.sh
# don't use install: we disabled AutoReq before
add_deps
fi
# ignore embedded libs # ignore embedded libs
drop_embedded_reqs 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