Commit c50d8e14 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add Flyview (Ipera) server

parent cc45e6c1
#!/bin/sh
PKGNAME=ipera-mediaserver
SUPPORTEDARCHES="x86_64"
DESCRIPTION="FlyView (Ipera) Server from the official site"
. $(dirname $0)/common.sh
PKG="$(epm tool eget --list --latest https://flyviewvms.ru/downloads/ "flyview-server*linux64.deb")"
epm install $PKG
#!/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)
[ -d "$LIBDIR" ] || fatal "Can't find $LIBDIR"
epm assure patchelf || exit
cd $LIBDIR
for i in lib*.so.* gstreamer-0.10/lib*.so.* ; do
a= patchelf --set-rpath '$ORIGIN' $i
done
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=ipera-mediaserver
PRODUCTDIR=/opt/ipera/mediaserver
. $(dirname $0)/common.sh
remove_dir /etc/init
epm assure patchelf || exit
cd $BUILDROOT$PRODUCTDIR || exit
for i in lib/lib*.so.* ; do
a= patchelf --set-rpath '$ORIGIN' $i
done
for i in bin/plugins_optional/lib*.so bin/plugins/lib*.so ; do
a= patchelf --set-rpath '$ORIGIN/../../lib' $i
done
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