[packages/qt5-qtwebglplugin] - new
qboosh
qboosh at pld-linux.org
Tue Apr 20 18:08:09 CEST 2021
commit b830be7980e71231f3d16fbe28a6cbc8d3075698
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Apr 20 18:09:49 2021 +0200
- new
qt5-qtwebglplugin.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 88 insertions(+)
---
diff --git a/qt5-qtwebglplugin.spec b/qt5-qtwebglplugin.spec
new file mode 100644
index 0000000..c0a7c94
--- /dev/null
+++ b/qt5-qtwebglplugin.spec
@@ -0,0 +1,88 @@
+%define orgname qtwebglplugin
+%define qtbase_ver %{version}
+%define qtdeclarative_ver %{version}
+%define qtwebsockets_ver %{version}
+Summary: The Qt5 WebGL platform plugin
+Summary(pl.UTF-8): Wtyczka platformy Qt5 WebGL
+Name: qt5-%{orgname}
+Version: 5.15.2
+Release: 1
+License: GPL v3+ or commercial
+Group: X11/Libraries
+Source0: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-src-%{version}.tar.xz
+# Source0-md5: db157b2002e900a38ecfcb152699d27a
+URL: https://www.qt.io/
+BuildRequires: Qt5Core-devel >= %{qtbase_ver}
+BuildRequires: Qt5DBus-devel >= %{qtbase_ver}
+BuildRequires: Qt5Gui-devel >= %{qtbase_ver}
+BuildRequires: Qt5Network-devel >= %{qtbase_ver}
+BuildRequires: Qt5Quick-devel >= %{qtdeclarative_ver}
+BuildRequires: Qt5WebSockets-devel >= %{qtwebsockets_ver}
+BuildRequires: fontconfig-devel
+BuildRequires: freetype-devel >= 2
+BuildRequires: glib2-devel >= 2.0
+BuildRequires: pkgconfig
+BuildRequires: qt5-build >= %{qtbase_ver}
+BuildRequires: qt5-qmake >= %{qtbase_ver}
+BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define specflags -fno-strict-aliasing
+%define qt5dir %{_libdir}/qt5
+
+%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 Qt5 WebGL platform plugin.
+
+%description -l pl.UTF-8
+Qt to wieloplatformowy szkielet aplikacji i interfejsów użytkownika.
+Przy użyciu Qt można pisać aplikacje powiązane z WWW i wdrażać je w
+systemach biurkowych, przenośnych i wbudowanych bez przepisywania kodu
+źródłowego.
+
+Ten pakiet zawiera wtyczkę platformy Qt5 WebGL.
+
+%package -n Qt5Gui-platform-webgl
+Summary: Qt5 Gui WebGL platform plugin
+Summary(pl.UTF-8): Wtyczka platformy WebGL do biblioteki Qt5 Gui
+Group: X11/Libraries
+Requires: Qt5Core >= %{qtbase_ver}
+Requires: Qt5DBus >= %{qtbase_ver}
+Requires: Qt5Gui >= %{qtbase_ver}
+Requires: Qt5Network >= %{qtbase_ver}
+Requires: Qt5Quick >= %{qtdeclarative_ver}
+Requires: Qt5WebSockets >= %{qtwebsockets_ver}
+
+%description -n Qt5Gui-platform-webgl
+Qt5 Gui WebGL platform plugin.
+
+%description -n Qt5Gui-platform-webgl -l pl.UTF-8
+Wtyczka platformy WebGL do biblioteki Qt5 Gui.
+
+%prep
+%setup -q -n %{orgname}-everywhere-src-%{version}
+
+%build
+qmake-qt5
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ INSTALL_ROOT=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -n Qt5Gui-platform-webgl
+%defattr(644,root,root,755)
+%doc dist/changes-*
+# R: Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Quick Qt5WebSockets fontconfig freetype glib2
+%attr(755,root,root) %{qt5dir}/plugins/platforms/libqwebgl.so
+%{_libdir}/cmake/Qt5Gui/Qt5Gui_QWebGLIntegrationPlugin.cmake
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtwebglplugin.git/commitdiff/b830be7980e71231f3d16fbe28a6cbc8d3075698
More information about the pld-cvs-commit
mailing list