Search
SailfishOS Open Build Service
>
Projects
>
home:tangtao77
>
qtwayland
> qtwayland.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File qtwayland.spec of Package qtwayland
%define _qtmodule_snapshot_version 0.0-git855.e5601d283c Name: qt5-qtwayland-wayland_egl Summary: Qt Wayland compositor, wayland_egl variant Version: 5.4.0 Release: 1.0.0 Group: Qt/Qt License: LGPLv2.1 with exception or GPLv3 URL: http://qt.nokia.com Source0: %{name}-%{version}.tar.bz2 Source100: precheckin.sh BuildRequires: pkgconfig(Qt5Core) >= 5.2.1 BuildRequires: pkgconfig(Qt5Gui) >= 5.2.1 BuildRequires: pkgconfig(Qt5PlatformSupport) >= 5.2.1 BuildRequires: pkgconfig(Qt5Qml) >= 5.2.1 BuildRequires: pkgconfig(Qt5Quick) >= 5.2.1 BuildRequires: pkgconfig(Qt5DBus) >= 5.2.1 BuildRequires: pkgconfig(wayland-server) >= 1.2.0 BuildRequires: pkgconfig(wayland-client) >= 1.2.0 %if "%{name}" == "qt5-qtwayland-wayland_egl" BuildRequires: pkgconfig(wayland-egl) %endif BuildRequires: libxkbcommon-devel BuildRequires: pkgconfig(glib-2.0) BuildRequires: libffi-devel BuildRequires: fdupes Requires: xkeyboard-config %description Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded systems without rewriting the source code. . This package contains the Qt wayland compositor for wayland_egl %package devel Summary: Qt Wayland compositor - development files Group: Qt/Qt Requires: %{name} = %{version}-%{release} %description devel Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded systems without rewriting the source code. . This package contains the Qt wayland compositor development files for wayland_egl %package examples Summary: Qt Wayland compositor - examples Group: Qt/Qt Requires: %{name} = %{version}-%{release} %description examples Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded systems without rewriting the source code. . This package contains the Qt wayland compositor examples for wayland_egl %prep %setup -q -n %{name}-%{version} %build export QTDIR=/usr/share/qt5 export QT_WAYLAND_GL_CONFIG=wayland_egl touch .git %qmake5 "QT_BUILD_PARTS += examples" "CONFIG += wayland-compositor" make %{?_smp_mflags} %install rm -rf %{buildroot} %qmake_install rm %{buildroot}%{_libdir}/cmake/Qt5Gui/Qt5Gui_.cmake # Fix wrong path in pkgconfig files find %{buildroot}%{_libdir}/pkgconfig -type f -name '*.pc' \ -exec perl -pi -e "s, -L%{_builddir}/?\S+,,g" {} \; # Fix wrong path in prl files find %{buildroot}%{_libdir} -type f -name '*.prl' \ -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/" {} \; # We don't need qt5/Qt/ rm -rf %{buildroot}/%{_includedir}/qt5/Qt rm -f %{buildroot}/%{_libdir}/qt5/plugins/wayland-graphics-integration-server/liblibhybris-egl-server.so rm -f %{buildroot}/%{_libdir}/qt5/plugins/wayland-graphics-integration-client/liblibhybris-egl-server.so rm -r %{buildroot}/%{_libdir}/qt5/plugins/wayland-decoration-client/libbradient.so %fdupes %{buildroot}/%{_includedir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/libQt5Compositor.so.5 %{_libdir}/libQt5Compositor.so.5.* %{_libdir}/libQt5WaylandClient.so.5 %{_libdir}/libQt5WaylandClient.so.5.* %{_libdir}/qt5/plugins/platforms/libqwayland-generic.so %if "%{name}" == "qt5-qtwayland-wayland_egl" %{_libdir}/qt5/plugins/platforms/libqwayland-egl.so %{_libdir}/qt5/plugins/wayland-graphics-integration-client/libdrm-egl-server.so %{_libdir}/qt5/plugins/wayland-graphics-integration-client/libwayland-egl.so %{_libdir}/qt5/plugins/wayland-graphics-integration-server/libdrm-egl-server.so %{_libdir}/qt5/plugins/wayland-graphics-integration-server/libwayland-egl.so %endif %if "%{name}" == "qt5-qtwayland-xcomposite_egl" %{_libdir}/qt5/plugins/platforms/libqwayland-xcomposite-egl.so %{_libdir}/qt5/plugins/wayland-graphics-integration/libxcomposite-egl.so %endif %if "%{name}" == "qt5-qtwayland-nogl" %{_libdir}/qt5/plugins/platforms/libqwayland-nogl.so %endif %files devel %defattr(-,root,root,-) %{_libdir}/libQt5Compositor.so %{_includedir}/qt5/* %{_libdir}/libQt5Compositor.la %{_libdir}/libQt5Compositor.prl %{_libdir}/pkgconfig/Qt5Compositor.pc %{_libdir}/cmake/Qt5Compositor/* %{_datadir}/qt5/mkspecs/modules/qt_lib_waylandclient.pri %{_datadir}/qt5/mkspecs/modules/qt_lib_waylandclient_private.pri %{_datadir}/qt5/mkspecs/modules/qt_lib_compositor.pri %{_datadir}/qt5/mkspecs/modules/qt_lib_compositor_private.pri %{_libdir}/libQt5WaylandClient.so %{_libdir}/libQt5WaylandClient.la %{_libdir}/libQt5WaylandClient.prl %{_libdir}/pkgconfig/Qt5WaylandClient.pc %{_libdir}/cmake/Qt5WaylandClient/* %{_libdir}/qt5/bin/qtwaylandscanner %files examples %defattr(-,root,root,-) %{_libdir}/qt5/examples/wayland/ %changelog * Fri Dec 12 2014 Giulio Camuffo <giulio.camuffo@jollamobile.com> - 5.4.0+git7 - [qtwayland] Fix crash when copying data multiple times * Wed Nov 26 2014 Giulio Camuffo <giuliocamuffo@gmail.com> - 5.4.0+git6 - [qtwayland] Don't access a dangling pointer * Mon Nov 17 2014 Giulio Camuffo <giulio.camuffo@jollamobile.com> - 5.4.0+git5 - [qtwayland] Remove deleted views from the list * Mon Nov 10 2014 Giulio Camuffo <giulio.camuffo@jollamobile.com> - 5.4.0+git4 - [qtwayland] Make sure to have valid textures * Fri Oct 24 2014 Giulio Camuffo <giuliocamuffo@gmail.com> - 5.4.0+git3 - [qtwayland] Fix hiding plain windows with Qt::Window type * Mon Oct 13 2014 Giulio Camuffo <giuliocamuffo@gmail.com> - 5.4.0+git2 - [qtwayland] Backport several fixes * Fri Apr 5 2013 Carsten Munk <carsten.munk@jollamobile.com> - 0.0-git803.g4323bf663ea131897857ff564943b17e914ccd9b - Move to use qmake -qt=5 * Wed Feb 6 2013 Carsten Munk <carsten.munk@jollamobile.com> - 0.0-git803.g4323bf663ea131897857ff564943b17e914ccd9b - Fix nogl build and make examples actually be nogl too. - Wed Jan 23 2013 Carsten Munk <carsten.munk@jollamobile.com> - 0.0-git803.g4323bf663ea131897857ff564943b17e914ccd9b - Upgrade to git snapshot to match 5.0.0 * Sun Nov 11 2012 Carsten Munk <carsten.munk@jollamobile.com> - 5.0.0~beta1 - Add examples, -nogl and variant support * Fri Sep 21 2012 Carsten Munk <carsten.munk@jollamobile.com> - 5.0.0~beta1 - Automatic source update