6565 qtwayland5-dev-tools
6666
6767 libkf5notifications-dev
68+ kf6_packages : >-
69+ libkf6notifications-dev
70+ libkf6statusnotifieritem-dev
6871 # FIXME: Sending signal to client process does not cause the process
6972 # to exit with non-zero code with GitHub Actions. Why?
7073 COPYQ_TESTS_SKIP_SIGNAL : ' 1'
@@ -117,7 +120,7 @@ jobs:
117120 compiler_package : g++
118121 appimage : true
119122 with_qt6 : true
120- with_native_notifications : false
123+ with_native_notifications : true
121124 cmake_preset : Release
122125
123126 steps :
@@ -136,6 +139,16 @@ jobs:
136139 run : |
137140 export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
138141
142+ - name : Set up KDE Neon repository for KF6 packages
143+ if : matrix.appimage
144+ run : |
145+ # Download and install KDE neon archive keyring
146+ wget -qO - https://archive.neon.kde.org/public.key | sudo gpg --dearmor -o /usr/share/keyrings/neon-archive-keyring.gpg
147+ # Add KDE neon repository
148+ echo "deb [signed-by=/usr/share/keyrings/neon-archive-keyring.gpg] http://archive.neon.kde.org/user noble main" | sudo tee /etc/apt/sources.list.d/neon.list
149+ # Update package list
150+ sudo apt-get update
151+
139152 - name : Install dependencies
140153 uses : awalsh128/cache-apt-pkgs-action@acb598e5ddbc6f68a970c5da0688d2f3a9f04d05 # v1
141154 with :
@@ -144,6 +157,7 @@ jobs:
144157 ${{ matrix.compiler_package }}
145158 ${{ env.common_packages }}
146159 ${{ matrix.with_qt6 && env.qt6_packages || env.qt5_packages }}
160+ ${{ matrix.with_native_notifications && matrix.with_qt6 && env.kf6_packages || '' }}
147161 ${{ matrix.coverage && 'lcov' || '' }}
148162 ${{ matrix.coverage && 'kwin-wayland kwin-wayland-backend-virtual procps' || '' }}
149163
0 commit comments