Skip to content

Commit

Permalink
Add qgnomeplatformdecoration plugin for Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkanovikov committed Dec 13, 2022
1 parent ba78cbf commit c970035
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/build_starc_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,27 @@ jobs:
shell: bash
run: |
sudo apt update
sudo apt install libgstreamer-plugins-base1.0-0
sudo apt install libgstreamer-plugins-base1.0-0 cmake make pkg-config libx11-dev xcb libx11-xcb-dev libxkbcommon-dev libgtk-3-dev sassc
- name: Install Adwaita-qt
run: |
git clone https://github.com/FedoraQt/adwaita-qt.git adwaita-qt
cd adwaita-qt
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DUSE_QT6=OFF
make -j2
sudo make install
- name: Install QGnomePlatform
run: |
git clone https://github.com/FedoraQt/QGnomePlatform qgnomeplatform
cd qgnomeplatform
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DUSE_QT6=OFF
make -j2
sudo make install
- name: Run QMake
shell: bash
Expand Down
7 changes: 6 additions & 1 deletion build/linux/make-starc-app-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,15 @@ FLATHUB_DIR="flathub/share"
ls -l $FLATHUB_DIR
cp -R $FLATHUB_DIR $APP_IMAGE_DIR

#
# Copy qgnomeplatform library
#
cp /usr/lib/x86_64-linux-gnu/libqgnomeplatform.so $APP_IMAGE_DIR/lib/

#
# Make installer
#
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" -O linuxdeployqt
chmod a+x linuxdeployqt
./linuxdeployqt appdir/starc -no-copy-copyright-files -no-translations -always-overwrite -extra-plugins=platforms,wayland-decoration-client,wayland-graphics-integration-client,wayland-shell-integration -executable=appdir/plugins/libcoreplugin.so -appimage
./linuxdeployqt appdir/starc -no-copy-copyright-files -no-translations -always-overwrite -extra-plugins=platforms,platformthemes,wayland-decoration-client,wayland-graphics-integration-client,wayland-shell-integration -executable=appdir/plugins/libcoreplugin.so -appimage
mv *.AppImage starc-setup.AppImage

0 comments on commit c970035

Please sign in to comment.