Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
sony
:
scorpion_windy
>
qt5-qpa-hwcomposer-plugin
> _service:tar_git:qt5-qpa-hwcomposer-plugin.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:qt5-qpa-hwcomposer-plugin.spec of Package qt5-qpa-hwcomposer-plugin
Name: qt5-qpa-hwcomposer-plugin Summary: Qt 5 QPA hwcomposer plugin Version: 5.6.2.12 # The following two lines can be removed after next stop release. Provides: qt5-qpa-hwcomposer-plugin-sbj >= %{version} Obsoletes: qt5-qpa-hwcomposer-plugin-sbj < %{version} Release: 1 Group: Qt/Qt License: LGPLv2.1 with exception or GPLv3 URL: http://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin Source0: %{name}-%{version}.tar.bz2 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: qt5-qtplatformsupport-devel >= 5.6.0 BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(wayland-egl) BuildRequires: pkgconfig(libhardware) %if 0%{?droid_has_no_libsync} == 0 # Define droid_has_no_libsync 1 in prjconf if the android-headers have # no libsync (in older hw adaptations) BuildRequires: pkgconfig(libsync) %endif BuildRequires: pkgconfig(hybris-egl-platform) BuildRequires: pkgconfig(android-headers) BuildRequires: qt5-qtwayland-wayland_egl-devel BuildRequires: wayland-devel BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(mtdev) %description This package contains a Qt 5 QPA plugin using libhybris' Droid hwcomposer for composing content onto the screen. %prep %setup -q %build export QTDIR=/usr/share/qt5 cd hwcomposer # Qt is built with mesa, which has gl3.h. We're built with hybris which doesn't include gl3.h, so explicitly disable es3 %qmake5 DEFINES+=QT_NO_OPENGL_ES_3 make %{_smp_mflags} %install rm -rf %{buildroot} cd hwcomposer %qmake5_install # doesn't exist on Qt 5.1, we don't currently care about this for 5.2 rm -f %{buildroot}/usr/lib/cmake/Qt5Gui/Qt5Gui_QEglFSIntegrationPlugin.cmake rm -f %{buildroot}/usr/lib/cmake/Qt5Gui/Qt5Gui_QEglFShwcIntegrationPlugin.cmake %files %defattr(-,root,root,-) %{_libdir}/qt5/plugins/platforms/libhwcomposer.so