diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-09-13 20:03:15 +0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2012-09-19 11:52:24 +0200 |
commit | 10c9a186b89afbce36535e4b797a3bb0353cc770 (patch) | |
tree | ea6a61ef4e6ccbdd9e2e804b20a0f433cdf28c4b | |
parent | eaa78cf3394bc734db281f44a5c0f18e7972c658 (diff) | |
download | qtwayland-10c9a186b89afbce36535e4b797a3bb0353cc770.tar.gz qtwayland-10c9a186b89afbce36535e4b797a3bb0353cc770.tar.bz2 qtwayland-10c9a186b89afbce36535e4b797a3bb0353cc770.zip |
Update QtWayland to 5.0 beta1HEAD1.0_branch1.0
Change-Id: I46ae451f96f838ed6f8326e53ed37cee4d58eeb1
-rw-r--r-- | packaging/qtwayland.changes | 19 | ||||
-rw-r--r-- | packaging/qtwayland.spec | 60 |
2 files changed, 79 insertions, 0 deletions
diff --git a/packaging/qtwayland.changes b/packaging/qtwayland.changes new file mode 100644 index 0000000..085c2ed --- /dev/null +++ b/packaging/qtwayland.changes @@ -0,0 +1,19 @@ +* Fri Jul 11 2012 - Rusty Lynch <rusty.lynch@intel.com> - 5.0.0+start+754+g0233e65 +- Refreshed changes from upstream master to sync with wayland update +- Add a temporary workaround for build breakage where QtPlatformSupport.prl is not + being parsed by the new qmake utility + +* Tue Jun 19 2012 - Rusty Lynch <rusty.lynch@intel.com> - 5.0.0+start+741+ga81e3ca +- Refreshed changes from upstream master + - Decouple application activation from onscreen visibility + - Reset keyboard focus when a surface is destroyed + - Introduce standard pkg config usage + - Map function keys properly + - Fix build when QtQuick is not available + - Fix output geometry in qwindow compositor + - Fix global coordinate translation in clients + - Fix broken handling of inactive transient surfaces +- Adding an experimental changeset to add fullscreen support + +* Wed Jun 12 2012 - Rusty Lynch <rusty.lynch@intel.com> - 5.0.0+start+729+g2a5d11c +- initial packaging using a snapshot from master diff --git a/packaging/qtwayland.spec b/packaging/qtwayland.spec new file mode 100644 index 0000000..25e167f --- /dev/null +++ b/packaging/qtwayland.spec @@ -0,0 +1,60 @@ +Name: qtwayland +Version: 5.0.0beta1 +Release: 1 +License: LGPLv2.1 with exception or GPLv3 +Summary: Wayland support for Qt5 +Url: http://qt-project.org/ +Group: System/Libraries +Source0: %{name}-%{version}.tar.bz2 +Requires: qtbase >= 5.0.0beta1 + +BuildRequires: qtbase-devel >= 5.0.0beta1 +BuildRequires: pkgconfig(QtGui) +BuildRequires: pkgconfig(QtPlatformSupport) +BuildRequires: gcc-c++ +#BuildRequires: pkgconfig(QtV8) +#BuildRequires: pkgconfig(QtQuick) + +# QtWayland dependencies +BuildRequires: mesa-libEGL-devel +BuildRequires: mesa-libGLESv2-devel +BuildRequires: mesa-libgbm +BuildRequires: pkgconfig(xkbcommon) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: mesa-libwayland-egl-devel pkgconfig(wayland-egl) + +# indirect dependencies via QtPlatformSupport (static library) +# (its .pc file does not list its dependencies properly): +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(glib-2.0) + +%description +Wayland support for Qt5 + +%prep +%setup -q -n %{name}-%{version} + +%build + +export QTDIR=/usr/share/qt5 +export DESTDIR=%{buildroot} + +qmake +# Build everything, including QtCompositor, otherwise the plugin +# build fails +make %{?jobs:-j%jobs} + +%install +# Install only the wayland platform plugin +# We don't need the QtCompositor library +cd src/plugins +%make_install #INSTALL_ROOT="%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/qt5/plugins/platforms/* |