Commit 54b799ab authored by Boria138's avatar Boria138 Committed by Vitaly Lipatov

epm play: added add_bin_exec_command to generic-default.sh (eterbug #17248)

parent dd219731
......@@ -15,6 +15,7 @@ move_to_opt /usr/local/DJV2
rm -v $BUILDROOT/usr/bin/djv
add_bin_exec_command $PRODUCT $PRODUCTDIR/bin/$PRODUCT
add_bin_link_command $PRODUCTCUR $PRODUCT
fix_desktop_file /usr/local/DJV2/bin/djv.sh $PRODUCT
......
......@@ -13,7 +13,7 @@ install_file $PRODUCTDIR/lib/audiorelay-AudioRelay.desktop /usr/share/applicatio
fix_desktop_file /opt/audiorelay/bin/AudioRelay $PRODUCT
fix_desktop_file /opt/audiorelay/lib/AudioRelay.png $PRODUCT
add_libs_requires
# TODO:
# https://aur.archlinux.org/packages/audiorelay
add_libs_requires
......@@ -16,6 +16,7 @@ remove_dir /etc/apt/trusted.gpg.d
add_bin_exec_command $PRODUCTCUR $PRODUCTDIR/$PRODUCTCUR
add_bin_exec_command $PRODUCTCUR-web $PRODUCTDIR/$PRODUCTCUR-web
add_bin_link_command $PRODUCT $PRODUCTCUR
add_bin_link_command $PRODUCT-web $PRODUCTCUR-web
......
......@@ -13,6 +13,10 @@ PKG="$4"
# detect requires by libs
add_libs_requires
if [ -f "$BUILDROOT/$PRODUCTDIR/$PRODUCT" ] ; then
add_bin_exec_command
fi
# TODO: add product dir detection
if [ -f $PRODUCTDIR/v8_context_snapshot.bin ] ; then
echo "electron based application detected, adding requires for it ..."
......
......@@ -21,6 +21,7 @@ mv $BUILDROOT/* $BUILDROOT$PRODUCTDIR
subst "s|\"/|\"$PRODUCTDIR/|" $SPEC
add_bin_exec_command $PRODUCT
# Hack against https://bugzilla.altlinux.org/43779
# Create non writeable local .desktop file
cat <<EOF >$BUILDROOT/usr/bin/$PRODUCT
......
......@@ -12,7 +12,6 @@ PRODUCTDIR=/opt/Obsidian
cleanup
rm usr/bin/$PRODUCT
add_bin_exec_command
add_chromium_deps
......
......@@ -6,8 +6,6 @@ SPEC="$2"
. $(dirname $0)/common.sh
add_bin_exec_command
add_libs_requires
add_bin_link_command
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
add_bin_exec_command
add_libs_requires
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