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 3063e25
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/build_starc_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,26 @@ 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: Build 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
- name: Run QMake
shell: bash
Expand Down
11 changes: 11 additions & 0 deletions build/linux/make-starc-app-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
APP_IMAGE_DIR="appdir"
mkdir $APP_IMAGE_DIR/lib
mkdir $APP_IMAGE_DIR/plugins
mkdir $APP_IMAGE_DIR/plugins/platformthemes
mkdir $APP_IMAGE_DIR/plugins/wayland-decoration-client
ls -l $APP_IMAGE_DIR

#
Expand All @@ -28,6 +30,15 @@ FLATHUB_DIR="flathub/share"
ls -l $FLATHUB_DIR
cp -R $FLATHUB_DIR $APP_IMAGE_DIR

#
# Copy qgnomeplatform plugin
#
QGNOMEPLATFORM_DIR="../../../qgnomeplatform/build"
ls -l $QGNOMEPLATFORM_DIR
cp $QGNOMEPLATFORM_DIR/libqgnomeplatform.so $APP_IMAGE_DIR/lib/
cp $QGNOMEPLATFORM_DIR/libqgnomeplatformdecoration.so $APP_IMAGE_DIR/plugins/wayland-decoration-client/
cp $QGNOMEPLATFORM_DIR/libqgnomeplatformtheme.so $APP_IMAGE_DIR/plugins/platformthemes/

#
# Make installer
#
Expand Down

0 comments on commit 3063e25

Please sign in to comment.