Skip to content

Instantly share code, notes, and snippets.

@cniw
Last active February 17, 2022 12:43
Show Gist options
  • Save cniw/3a6a197fa3d9144dc361ee738011dd2a to your computer and use it in GitHub Desktop.
Save cniw/3a6a197fa3d9144dc361ee738011dd2a to your computer and use it in GitHub Desktop.
build maui-shell on ubuntu 20.04 (focal)
sudo apt install software-properties-common
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E6D4736255751E5D
sudo apt-add-repository "deb https://archive.neon.kde.org/dev/unstable focal main"
sudo apt install -y \
libkf5config-dev libkf5coreaddons-dev libkf5i18n-dev libkf5kio-dev libkf5notifications-dev libkf5service-dev libqt5svg5-dev libqt5waylandcompositor5-dev qtbase5-dev qtdeclarative5-dev qtquickcontrols2-5-dev libkf5idletime-dev libpolkit-agent-1-dev libpolkit-qt5-1-dev \
mauikit-dev libmauikitfilebrowsing-dev \
cmake extra-cmake-modules gettext git \
qml-module-qt-labs-settings qml-module-qtwayland-compositor qml-module-qt-labs-calendar plasma-nm bluedevil plasma-pa qml-module-qt-labs-platform
git clone --depth 1 --branch master https://github.com/Nitrux/maui-shell.git
export MAKEFLAGS="-j $(nproc)"
cmake -B build -S maui-shell -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib/x86_64-linux-gnu/qt5
cmake --build build
sudo cmake --install build
cask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment