Skip to content
Permalink
Browse files
[eglfs] Build eglfs kms plugin. MER#2046
  • Loading branch information
piggz committed Jul 11, 2019
1 parent eef2159 commit b976bd5a768b06c815c769178b7a823e50b06fbb
Showing with 8 additions and 0 deletions.
  1. +2 −0 config.tests/qpa/eglfs-egldevice/eglfs-egldevice.pro
  2. +6 −0 rpm/qtbase.spec
@@ -3,6 +3,8 @@ SOURCES = eglfs-egldevice.cpp
for(p, QMAKE_LIBDIR_EGL) {
LIBS += -L$$p
}
# Avoid X11 header collision
DEFINES += MESA_EGL_NO_X11_HEADERS

INCLUDEPATH += $$QMAKE_INCDIR_EGL
LIBS += $$QMAKE_LIBS_EGL
@@ -36,6 +36,8 @@ BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(mtdev)
BuildRequires: pkgconfig(libsystemd-journal)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(gbm)
BuildRequires: cups-devel
BuildRequires: fdupes
BuildRequires: flex
@@ -510,6 +512,8 @@ MAKEFLAGS=%{?_smp_mflags} \
%ifarch aarch64
-no-pch \
%endif
-kms \
-gbm \
-qreal float \
-journald \
-no-use-gold-linker
@@ -893,6 +897,8 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%if %{with X11}
%{_libdir}/qt5/plugins/egldeviceintegrations/libqeglfs-x11-integration.so
%endif
%{_libdir}/qt5/plugins/egldeviceintegrations/libqeglfs-kms-integration.so
%{_libdir}/qt5/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.so
%{_datadir}/qt5/mkspecs/modules/qt_lib_eglfs_device_lib_private.pri

%files plugin-platform-minimalegl

0 comments on commit b976bd5

Please sign in to comment.