summaryrefslogtreecommitdiff
path: root/repo/kconfig/kconfig.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/kconfig/kconfig.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/kconfig/kconfig.xibuild')
-rw-r--r--repo/kconfig/kconfig.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/kconfig/kconfig.xibuild b/repo/kconfig/kconfig.xibuild
new file mode 100644
index 0000000..8c83613
--- /dev/null
+++ b/repo/kconfig/kconfig.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="kconfig"
+DESC="Configuration system"
+
+MAKEDEPS="doxygen extra-cmake-modules graphviz qt5-qtdeclarative qt5-qttools ninja"
+
+PKG_VER=5.93.0
+SOURCE="https://download.kde.org/stable/frameworks/${PKG_VER%.*}/kconfig-$PKG_VER.tar.xz"
+
+build() {
+ cmake -B build -G Ninja \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
+ cmake --build build
+}
+
+package() {
+ cd $BUILD_ROOT
+ DESTDIR="$PKG_DEST" cmake --install build
+}
+