Commit 7bfd9754 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add realvnc-server and realvnc-viewer

parent e2f589d1
#!/bin/sh
PKGNAME=realvnc-vnc-server
SUPPORTEDARCHES="x86_64"
DESCRIPTION="Real VNC Server from the official site"
. $(dirname $0)/common.sh
pkgtype="$(epm print info -p)"
arch="$(epm print info -a)"
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
case $pkgtype-$arch in
rpm-x86_64)
PKG="VNC-Server-*-Linux-x64.rpm"
;;
*-x86_64)
PKG="VNC-Server-*-Linux-x64.deb"
;;
*)
fatal "Unsupported arch"
;;
esac
PKGURL=$(epm tool eget --list --latest https://www.realvnc.com/en/connect/download/vnc/ $PKG)
epm $repack install $PKGURL
#!/bin/sh
PKGNAME=realvnc-vnc-viewer
SUPPORTEDARCHES="x86_64 armhf aarch64"
DESCRIPTION="Real VNC Viewer from the official site"
. $(dirname $0)/common.sh
pkgtype="$(epm print info -p)"
arch="$(epm print info -a)"
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
case $pkgtype-$arch in
rpm-x86_64)
PKG="VNC-Viewer-*-Linux-x64.rpm"
;;
*-x86_64)
PKG="VNC-Viewer-*-Linux-x64.deb"
;;
*-aarch64)
PKG="VNC-Viewer-*-Linux-ARM64.deb"
;;
*-armhf)
PKG="VNC-Viewer-*-Linux-ARM.deb"
;;
*)
fatal "Unsupported arch"
;;
esac
PKGURL=$(epm tool eget --list --latest https://www.realvnc.com/en/connect/download/viewer/ $PKG)
epm $repack install $PKGURL
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
subst '1iConflicts: tigervnc' $SPEC
filter_from_requires '\\/bin\\/chkconfig' '\\/bin\\/service' '\\/lib\\/svc\\/share\\/smf_include.sh'
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
subst '1iConflicts: tigervnc' $SPEC
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