mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +00:00
Grid tiles now show Steam library artwork when available, falling back to icon+label for games without cover art. Cell proportions adjusted to 2:3 for portrait covers. Search bar filters the library by name. Source tabs filter by All/Steam/Desktop. Both properties live in C++ so QML just binds filterString and sourceFilter. "Continue Playing" row shows the last 5 launched games with artwork, persisted across sessions via plasmamobilerc. Remove orphaned GameTile.qml (replaced by inline delegate).
25 lines
570 B
CMake
25 lines
570 B
CMake
# SPDX-FileCopyrightText: 2026 Marco Allegretti
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
find_package(SDL3 REQUIRED)
|
|
|
|
ecm_add_qml_module(gamingshellplugin URI org.kde.plasma.private.mobileshell.gamingshellplugin GENERATE_PLUGIN_SOURCE)
|
|
|
|
target_sources(gamingshellplugin PRIVATE
|
|
gamepadmanager.cpp
|
|
gamepaddevice.cpp
|
|
gamelauncherprovider.cpp
|
|
)
|
|
|
|
target_link_libraries(gamingshellplugin PRIVATE
|
|
Qt::Core
|
|
Qt::Qml
|
|
Qt::Quick
|
|
KF6::I18n
|
|
KF6::Service
|
|
KF6::CoreAddons
|
|
KF6::ConfigCore
|
|
SDL3::SDL3
|
|
)
|
|
|
|
ecm_finalize_qml_module(gamingshellplugin)
|