You need to sign in or sign up before continuing.
ipera-client.sh 805 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=ipera-client
PRODUCTDIR=/opt/ipera

. $(dirname $0)/common.sh

LIBDIR=$(echo $BUILDROOT/opt/ipera/client/*/lib)
11
[ -d "$LIBDIR" ] || exit
12

13
if epm assure patchelf ; then
14 15 16 17
cd $LIBDIR
for i in lib*.so.* gstreamer-0.10/lib*.so.*  ; do
    a= patchelf --set-rpath '$ORIGIN' $i
done
18
fi
19

20 21 22
#for i in ../bin/qml/QtQuick/Particles.2/libparticlesplugin.so ; do
#    a= patchelf --set-rpath "$LIBDIR" $i
#done
23 24

filter_from_requires "libldap_r-2.4.so.2(OPENLDAP_2.*)(64bit)" "liblber-2.4.so.2(OPENLDAP_2.*)(64bit)" "ld-linux-.*(GLIBC_PRIVATE)"
25 26 27
# ignore embedded libs
filter_from_requires libQt5 libav libcrypto.so libdbus-1.so libicu liblibraw.so libssl.so libswresample libswscale libva libvdpau
filter_from_requires libgst libuv