ipera-client.sh 800 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 14 15 16 17 18

epm assure patchelf || exit
cd $LIBDIR
for i in lib*.so.* gstreamer-0.10/lib*.so.*  ; do
    a= patchelf --set-rpath '$ORIGIN' $i
done

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

filter_from_requires "libldap_r-2.4.so.2(OPENLDAP_2.*)(64bit)" "liblber-2.4.so.2(OPENLDAP_2.*)(64bit)" "ld-linux-.*(GLIBC_PRIVATE)"
24 25 26
# 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