2013-09-23 17:50:41 +00:00
|
|
|
|
|
|
|
%global qt_module qtwayland
|
|
|
|
|
|
|
|
Summary: Qt5 - Wayland platform support and QtCompositor module
|
|
|
|
Name: qt5-%{qt_module}
|
2014-05-27 11:20:42 +00:00
|
|
|
Version: 5.3.0
|
2014-07-24 15:50:25 +00:00
|
|
|
Release: 0.2.20140723git02c499c%{?dist}
|
2013-09-23 17:50:41 +00:00
|
|
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
|
|
|
Url: http://qt-project.org/wiki/QtWayland
|
|
|
|
# git clone --no-checkout git://gitorious.org/qt/qtwayland.git
|
|
|
|
# cd qtwayland/
|
2014-07-24 15:50:25 +00:00
|
|
|
# git archive 02c499c --prefix=qtwayland/ |gzip >qtwayland.tar.gz
|
2013-09-23 17:50:41 +00:00
|
|
|
Source0: qtwayland.tar.gz
|
|
|
|
|
2013-10-18 15:34:03 +00:00
|
|
|
BuildRequires: qt5-qtbase-devel >= 5.2
|
|
|
|
BuildRequires: qt5-qtbase-static >= 5.2
|
2014-01-04 14:02:10 +00:00
|
|
|
BuildRequires: qt5-qtdeclarative-devel
|
2013-09-23 17:50:41 +00:00
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
|
|
BuildRequires: pkgconfig(wayland-scanner)
|
|
|
|
BuildRequires: pkgconfig(wayland-server)
|
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
BuildRequires: pkgconfig(wayland-cursor)
|
|
|
|
BuildRequires: pkgconfig(wayland-egl)
|
|
|
|
BuildRequires: pkgconfig(egl)
|
|
|
|
BuildRequires: pkgconfig(gl)
|
|
|
|
BuildRequires: pkgconfig(glesv2)
|
|
|
|
BuildRequires: pkgconfig(xcomposite)
|
|
|
|
BuildRequires: pkgconfig(xrender)
|
|
|
|
BuildRequires: pkgconfig(libudev)
|
2014-02-14 20:05:48 +00:00
|
|
|
BuildRequires: git
|
2013-09-23 17:50:41 +00:00
|
|
|
|
|
|
|
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: qt5-qtbase-devel%{?_isa}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
2014-02-14 20:05:48 +00:00
|
|
|
%package examples
|
|
|
|
Summary: Examples for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description examples
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
2013-09-23 17:50:41 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{qt_module}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2014-02-14 20:05:48 +00:00
|
|
|
# Presence of repository tricks qmake into invoking syncqt for us with
|
|
|
|
# correct arguments at make time.
|
|
|
|
git init
|
2013-11-22 14:05:52 +00:00
|
|
|
|
|
|
|
%{_qt5_qmake} -o gl/Makefile CONFIG+=wayland-compositor
|
|
|
|
%{_qt5_qmake} -o nogl/Makefile QT_WAYLAND_GL_CONFIG=nogl
|
|
|
|
make -C nogl %{?_smp_mflags}
|
|
|
|
make -C gl %{?_smp_mflags}
|
2013-09-23 17:50:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2013-11-22 14:05:52 +00:00
|
|
|
make -C nogl install INSTALL_ROOT=%{buildroot}
|
|
|
|
make -C gl install INSTALL_ROOT=%{buildroot}
|
2014-02-14 20:05:48 +00:00
|
|
|
install -pm644 gl/include/QtCompositor/%{version}/QtCompositor/private/{wayland-wayland-server-protocol.h,qwayland-server-wayland.h} \
|
2013-10-24 09:39:54 +00:00
|
|
|
%{buildroot}%{_qt5_headerdir}/QtCompositor/%{version}/QtCompositor/private
|
2013-09-23 17:50:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2013-10-24 09:39:54 +00:00
|
|
|
|
2013-09-23 17:50:41 +00:00
|
|
|
%files
|
|
|
|
%{_qt5_plugindir}/platforms
|
2014-05-27 11:20:42 +00:00
|
|
|
%{_qt5_plugindir}/wayland-graphics-integration-server
|
|
|
|
%{_qt5_plugindir}/wayland-graphics-integration-client
|
2014-02-14 20:05:48 +00:00
|
|
|
%{_qt5_libdir}/libQt5*.so.5*
|
2013-09-23 17:50:41 +00:00
|
|
|
%doc README
|
2014-01-04 10:02:45 +00:00
|
|
|
%doc LICENSE.FDL LICENSE.LGPL LICENSE.GPL
|
|
|
|
%doc LGPL_EXCEPTION.txt
|
2013-09-23 17:50:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_qt5_bindir}/qtwaylandscanner
|
|
|
|
%{_qt5_headerdir}/Qt*/
|
|
|
|
%{_qt5_libdir}/libQt5*.so
|
|
|
|
%{_qt5_libdir}/libQt5*.prl
|
|
|
|
%{_qt5_libdir}/cmake/Qt5*/
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5*.pc
|
|
|
|
%{_qt5_archdatadir}/mkspecs/modules/*.pri
|
2014-02-14 20:05:48 +00:00
|
|
|
%exclude %{_qt5_libdir}/libQt5*.la
|
|
|
|
|
|
|
|
|
|
|
|
%files examples
|
|
|
|
%{_qt5_examplesdir}
|
2013-09-23 17:50:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2014-07-24 15:50:25 +00:00
|
|
|
* Thu Jul 24 2014 Lubomir Rintel <lkundrak@v3.sk> - 5.3.0-0.2.20140723git02c499c
|
|
|
|
- Update
|
|
|
|
|
2014-06-08 01:24:58 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-0.2.20140529git98dca3b
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-27 11:20:42 +00:00
|
|
|
* Tue May 27 2014 Lubomir Rintel <lkundrak@v3.sk> - 5.3.0-0.1.20140529git98dca3b
|
|
|
|
- Update and rebuild for Qt 5.3
|
|
|
|
|
2014-02-14 20:05:48 +00:00
|
|
|
* Fri Feb 14 2014 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.6.20140202git6d038fb
|
|
|
|
- A more recent snapshot
|
|
|
|
- Disable xcomposite compositor until it builds
|
|
|
|
|
2014-01-04 14:02:10 +00:00
|
|
|
* Sat Jan 04 2014 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.6.20131203git6b20dfe
|
|
|
|
- Enable QtQuick compositor
|
|
|
|
|
2014-01-04 10:02:45 +00:00
|
|
|
* Sat Jan 04 2014 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.5.20131203git6b20dfe
|
|
|
|
- A newer snapshot
|
|
|
|
|
|
|
|
* Mon Nov 25 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.5.20131125git4f5985c
|
|
|
|
- Rebase to a later snapshot, drop our patches
|
|
|
|
- Add license texts
|
|
|
|
|
2013-11-23 18:17:57 +00:00
|
|
|
* Sat Nov 23 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.5.20131120git8cd1a77
|
|
|
|
- Rebuild with EGL backend
|
|
|
|
|
|
|
|
* Fri Nov 22 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.4.20131120git8cd1a77
|
2013-11-22 14:07:10 +00:00
|
|
|
- Rebase to a later snapshot, drop 5.2 ABI patch
|
|
|
|
- Enable nogl backend
|
|
|
|
|
2013-11-10 19:48:14 +00:00
|
|
|
* Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.0-0.4.20130826git3b0b90b
|
|
|
|
- rebuild (arm/qreal)
|
|
|
|
|
2013-10-24 09:39:54 +00:00
|
|
|
* Thu Oct 24 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.3.20130826git3b0b90b
|
|
|
|
- Bulk sad and useless attempt at consistent SPEC file formatting
|
|
|
|
|
2013-10-18 15:34:03 +00:00
|
|
|
* Sun Oct 06 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.2.20130826git3b0b90b
|
|
|
|
- Bump platform plugin ABI to 5.2 for Qt 5.2 aplha
|
|
|
|
|
2013-09-23 17:50:48 +00:00
|
|
|
* Wed Sep 11 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.1.20130826git3b0b90b
|
2013-09-23 17:50:41 +00:00
|
|
|
- Initial packaging
|
2013-09-23 17:50:48 +00:00
|
|
|
- Adjustments from review (Rex Dieter, #1008529)
|