Commit 555992fc authored by Ivan Mazhukin's avatar Ivan Mazhukin Committed by Vitaly Lipatov

epm play: add xeoma (eterbug #17431)

parent 6397b133
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
VERSION="$3"
. $(dirname $0)/common.sh
# xeoma_linux64.tgz
erc unpack $TAR || fatal
mkdir -p opt/xeoma
mv xeoma.app* opt/xeoma/xeoma
install_file ipfs://QmaVnzNmFjR3BmA5b4jzjwo4MNBRkN7UoewiKotDULbCH5 usr/share/icons/hicolor/512x512/apps/$PRODUCT.png
# create desktop file
cat <<EOF | create_file /usr/share/applications/$PRODUCT.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Xeoma
Comment=Video surveillance with AI video analytics
Exec=$PRODUCT %U
Icon=$PRODUCT
Terminal=false
StartupNotify=true
Categories=Video;
StartupWMClass=xeoma
MimeType=x-scheme-handler/xeoma
EOF
PKGNAME=$PRODUCT-$VERSION
erc pack $PKGNAME.tar opt usr || fatal
return_tar $PKGNAME.tar
#!/bin/sh
PKGNAME=xeoma
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="Video surveillance with AI video analytics"
URL="https://felenasoft.com/xeoma/ru/"
. $(dirname $0)/common.sh
warn_version_is_not_supported
VERSION=$(eget -q -O- "https://felenasoft.com/xeoma/en/changes/" | grep "Official version" | grep -o -m 1 "[0-9.]\+" | grep -o -m 1 "[0-9.]\+")
PKGURL="https://felenasoft.com/xeoma/downloads/latest/linux/xeoma_linux64.tgz"
install_pack_pkgurl $VERSION
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