From 01bb9b9cded320f93bd4223b122d9abfa4ef6e51 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 8 Oct 2014 09:42:53 +0200 Subject: [PATCH] Recipe for VNC Viewer. Unfortunately, it crashes on startup. It seems we have problems unarchiving the window that was archived on BeOS. --- net-misc/vncviewer/vncviewer-3.3.1r6.recipe | 48 +++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 net-misc/vncviewer/vncviewer-3.3.1r6.recipe diff --git a/net-misc/vncviewer/vncviewer-3.3.1r6.recipe b/net-misc/vncviewer/vncviewer-3.3.1r6.recipe new file mode 100644 index 000000000..ddbdeaea5 --- /dev/null +++ b/net-misc/vncviewer/vncviewer-3.3.1r6.recipe @@ -0,0 +1,48 @@ +SUMMARY="VNC Viewer for BeOS and Haiku" +DESCRIPTION="Connect to remote machines and view their desktop. Interact with \ +them using your keyboard and mouse. + +The VNC protocol is cross-platform with client and servers available on many \ +operating systems. Several encoding schemes are supported to limit network \ +bandwidth needs, making VNC useable even over a relatively slow network \ +connection." +REVISION="1" +HOMEPAGE="https://github.com/HaikuArchives/VNCViewer" +ARCHITECTURES="x86_gcc2" +COPYRIGHT="1998 Abstrakt Design, Andreas F. Bobak." +LICENSE="GNU GPL v2" + +SRC_URI="https://github.com/HaikuArchives/VNCViewer/archive/$portVersion.tar.gz" +SOURCE_DIR="VNCViewer-$portVersion" +CHECKSUM_SHA256="e131737811f34903ea928cccc4e75bb9942f3fd484c38ebdf9db0f866ced4e67" + +PROVIDES=" + vncviewer = $portVersion + app:vncviewer +" + +BUILD_REQUIRES=" + devel:libz +" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + makefile_engine + cmd:gcc + cmd:make + cmd:mkdepend +" + +BUILD() +{ + cd source + make $jobArgs +} + +INSTALL() +{ + cd source + make install INSTALL_DIR=$appsDir + + addAppDeskbarSymlink $appsDir/VNCViewer "VNC Viewer" +}