Commit f0589621 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack trueconf: fix for trueconf client since 8.4.0.1957

parent e0381b11
......@@ -5,7 +5,7 @@ SPEC="$2"
ORIGINPACKAGE="$4"
PRODUCT=trueconf
PRODUCTDIR=/opt/trueconf
PRODUCTDIR=/opt/trueconf/client
. $(dirname $0)/common.sh
......@@ -13,25 +13,23 @@ PRODUCTDIR=/opt/trueconf
reqs="$(epm requires "$ORIGINPACKAGE")"
[ -n "$reqs" ] && add_requires $reqs
# for old trueconf (before 8.4.0.1957)
[ -d .$PRODUCTDIR ] || PRODUCTDIR=/opt/$PRODUCT
add_bin_link_command
chmod a+x $BUILDROOT/opt/trueconf/trueconf
chmod a+x $BUILDROOT/opt/trueconf/trueconf-autostart
chmod a+x .$PRODUCTDIR/trueconf
chmod a+x .$PRODUCTDIR/trueconf-autostart
if [ -e .$PRODUCTDIR/QtWebEngineProcess ]; then
chmod a+x .$PRODUCTDIR/QtWebEngineProcess
fi
# TODO: report the bug:
# libhwloc.so.5 => not found (we have only libhwloc.so.15)
remove_file $PRODUCTDIR/lib/libtbbbind.so
remove_file $PRODUCTDIR/lib/libtbbbind.so.2
exit
if epm assure patchelf ; then
for i in lib/lib*.so ; do
a= patchelf --set-rpath '$ORIGIN' $BUILDROOT$PRODUCTDIR/$i
done
for i in TrueConf ; do
a= patchelf --set-rpath '$ORIGIN/lib' $BUILDROOT$PRODUCTDIR/$i
done
fi
#remove_file $PRODUCTDIR/lib/libtbbbind.so
#remove_file $PRODUCTDIR/lib/libtbbbind.so.2
# or
#filter_from_requires libhwloc.so.5
# (requires is disabled by default now)
\ No newline at end of file
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