summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-05-13 16:24:52 +0200
committerSimon Rettberg2024-05-13 16:24:52 +0200
commit8ea37c381b3f2a5236b5aeee92a70c6427690cdc (patch)
tree642f7fb5ca6c427e99c373be6f36180d5d40fffa
parent[vmware-common] Run windowed in CoW mode (diff)
downloadmltk-8ea37c381b3f2a5236b5aeee92a70c6427690cdc.tar.gz
mltk-8ea37c381b3f2a5236b5aeee92a70c6427690cdc.tar.xz
mltk-8ea37c381b3f2a5236b5aeee92a70c6427690cdc.zip
[cowgui] New module for managing CoW session
-rw-r--r--core/modules/cowgui/module.build22
-rw-r--r--core/modules/cowgui/module.conf9
l---------core/targets/bwlp/cowgui1
3 files changed, 32 insertions, 0 deletions
diff --git a/core/modules/cowgui/module.build b/core/modules/cowgui/module.build
new file mode 100644
index 00000000..05730c02
--- /dev/null
+++ b/core/modules/cowgui/module.build
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+fetch_source() {
+ autoclone
+}
+
+build() {
+ local SRCDIR="${MODULE_WORK_DIR}/src/cowgui"
+
+ mkdir -p "${MODULE_BUILD_DIR}/${REQUIRED_PREFIX}"
+ cde "${MODULE_BUILD_DIR}/${REQUIRED_PREFIX}"
+
+ pinfo "Running cmake"
+
+ cmake "$SRCDIR" || perror "'cmake $SRCDIR' failed."
+ make || perror "'make' failed."
+}
+
+post_copy() {
+ :
+}
+
diff --git a/core/modules/cowgui/module.conf b/core/modules/cowgui/module.conf
new file mode 100644
index 00000000..92eb4b9f
--- /dev/null
+++ b/core/modules/cowgui/module.conf
@@ -0,0 +1,9 @@
+#!/bin/bash
+REQUIRED_MODULES="
+ qt5core
+"
+REQUIRED_GIT="https://git.openslx.org/openslx-ng/cowgui.git"
+REQUIRED_PREFIX="/opt/openslx/bin"
+REQUIRED_BINARIES="cowgui"
+REQUIRED_LIBRARIES="
+"
diff --git a/core/targets/bwlp/cowgui b/core/targets/bwlp/cowgui
new file mode 120000
index 00000000..1ee037e9
--- /dev/null
+++ b/core/targets/bwlp/cowgui
@@ -0,0 +1 @@
+../../modules/cowgui \ No newline at end of file