From 9ab66fbcf7d1defb66b1e5b4d26260a6628c6e91 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 29 Jul 2021 15:27:03 +0200 Subject: [x11vnc-src] Module that builds x11vnc from the 18.04 source package --- core/modules/x11vnc-src/module.build | 18 ++++++++++++++++++ core/modules/x11vnc-src/module.conf | 5 +++++ 2 files changed, 23 insertions(+) create mode 100644 core/modules/x11vnc-src/module.build create mode 100644 core/modules/x11vnc-src/module.conf (limited to 'core/modules/x11vnc-src') diff --git a/core/modules/x11vnc-src/module.build b/core/modules/x11vnc-src/module.build new file mode 100644 index 00000000..eeaa462d --- /dev/null +++ b/core/modules/x11vnc-src/module.build @@ -0,0 +1,18 @@ +#!/bin/bash + +fetch_source() { + download_untar "$REQUIRED_DEB_URL" "src/" +} + +build() { + cde "${MODULE_WORK_DIR}"/src/x11vnc-* + ./configure --without-filetransfer --with-x11vnc \ + --without-xrecord --without-xdamage --without-dpms \ + --without-v4l --without-fbdev --without-macosx-native \ + --without-avahi \ + || perror "Cannot configure x11vnc" + make || perror "make failed" + cde x11vnc + mkdir -p "${MODULE_BUILD_DIR}/usr/bin" + cp "x11vnc" "${MODULE_BUILD_DIR}/usr/bin/" || perror "cp fail" +} diff --git a/core/modules/x11vnc-src/module.conf b/core/modules/x11vnc-src/module.conf new file mode 100644 index 00000000..2e5b9e5b --- /dev/null +++ b/core/modules/x11vnc-src/module.conf @@ -0,0 +1,5 @@ +REQUIRED_DEB_URL="http://archive.ubuntu.com/ubuntu/pool/universe/x/x11vnc/x11vnc_0.9.13.orig.tar.gz" + +REQUIRED_BINARIES=" + x11vnc +" -- cgit v1.2.3-55-g7522