summaryrefslogtreecommitdiffstats
path: root/core/modules/qt5core
diff options
context:
space:
mode:
authorSimon Rettberg2018-09-07 14:14:46 +0200
committerSimon Rettberg2018-09-07 14:14:46 +0200
commit78e481e1807b9ce9ef5e75ef913ca3a00f1cf959 (patch)
tree29a264203ab0f772b9e1b845753332a44fa0037a /core/modules/qt5core
parent[qt5core] Put common qt requirements in own module (diff)
downloadmltk-78e481e1807b9ce9ef5e75ef913ca3a00f1cf959.tar.gz
mltk-78e481e1807b9ce9ef5e75ef913ca3a00f1cf959.tar.xz
mltk-78e481e1807b9ce9ef5e75ef913ca3a00f1cf959.zip
ADD MODULE YOU IDIOT
Diffstat (limited to 'core/modules/qt5core')
-rw-r--r--core/modules/qt5core/module.build16
-rw-r--r--core/modules/qt5core/module.conf15
-rw-r--r--core/modules/qt5core/module.conf.ubuntu18
3 files changed, 49 insertions, 0 deletions
diff --git a/core/modules/qt5core/module.build b/core/modules/qt5core/module.build
new file mode 100644
index 00000000..f39ee4cd
--- /dev/null
+++ b/core/modules/qt5core/module.build
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+fetch_source() {
+ :
+}
+
+build() {
+ local COPYLIST="$MODULE_BUILD_DIR/list_packet_files"
+ list_packet_files | sort -u > "$COPYLIST"
+ tarcopy "$(cat "$COPYLIST")" "${MODULE_BUILD_DIR}"
+}
+
+post_copy() {
+ :
+}
+
diff --git a/core/modules/qt5core/module.conf b/core/modules/qt5core/module.conf
new file mode 100644
index 00000000..c7ed9acd
--- /dev/null
+++ b/core/modules/qt5core/module.conf
@@ -0,0 +1,15 @@
+#!/bin/bash
+REQUIRED_LIBRARIES="
+ libqjpeg
+ libqsvg
+ libqsvgicon
+ libqxcb
+"
+REQUIRED_DIRECTORIES="
+"
+REQUIRED_FILES="
+ /usr/share/qt5/translations/qt_en.qm
+ /usr/share/qt5/translations/qt_de.qm
+ /usr/share/qt5/translations/qt_fr.qm
+ /usr/share/qt5/translations/qt_zh_CN.qm
+"
diff --git a/core/modules/qt5core/module.conf.ubuntu b/core/modules/qt5core/module.conf.ubuntu
new file mode 100644
index 00000000..0a7aadf3
--- /dev/null
+++ b/core/modules/qt5core/module.conf.ubuntu
@@ -0,0 +1,18 @@
+#!/bin/bash
+REQUIRED_INSTALLED_PACKAGES="
+ cmake
+ libqt5gui5
+ libqt5svg5-dev
+ qt5-qmake
+ qtbase5-dev
+ qtbase5-dev-tools
+ qttools5-dev
+ qttools5-dev-tools
+ qttranslations5-l10n
+"
+
+REQUIRED_CONTENT_PACKAGES="
+ libqt5gui5
+ libqt5svg5
+ qttranslations5-l10n
+"