Skip to content

Commit

Permalink
Rename QPA plugin to aurora-eglfs
Browse files Browse the repository at this point in the history
Closes: #40
  • Loading branch information
plfiorini committed Aug 2, 2023
1 parent fd952aa commit eb00c8b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/plugins/platforms/eglfs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ liri_extend_target(EglFSDeviceIntegration CONDITION FEATURE_aurora_drm_atomic

liri_finalize_module(EglFSDeviceIntegration)

liri_add_plugin(lirieglfs
liri_add_plugin(aurora-eglfs
TYPE
platforms
SOURCES
Expand All @@ -96,4 +96,4 @@ liri_add_plugin(lirieglfs
Fontconfig::Fontconfig
)

liri_finalize_plugin(lirieglfs)
liri_finalize_plugin(aurora-eglfs)
3 changes: 3 additions & 0 deletions src/plugins/platforms/eglfs/aurora-eglfs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"Keys": [ "aurora-eglfs" ]
}
3 changes: 0 additions & 3 deletions src/plugins/platforms/eglfs/liri.json

This file was deleted.

4 changes: 2 additions & 2 deletions src/plugins/platforms/eglfs/qeglfsmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ QT_BEGIN_NAMESPACE
class QEglFSIntegrationPlugin : public QPlatformIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "liri.json")
Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "aurora-eglfs.json")
public:
QPlatformIntegration *create(const QString&, const QStringList&) override;
};

QPlatformIntegration* QEglFSIntegrationPlugin::create(const QString& system, const QStringList& paramList)
{
Q_UNUSED(paramList);
if (!system.compare(QLatin1String("liri"), Qt::CaseInsensitive))
if (!system.compare(QLatin1String("aurora-eglfs"), Qt::CaseInsensitive))
return new QEglFSIntegration;

return 0;
Expand Down

0 comments on commit eb00c8b

Please sign in to comment.