!8 update to upstream version 5.15.2
Merge pull request !8 from pei-jiankang/master
This commit is contained in:
commit
e511297b29
Binary file not shown.
22
qt3dcore-config-multilib_p.h
Normal file
22
qt3dcore-config-multilib_p.h
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* qt3dcore-config_p.h */
|
||||||
|
/* This file is here to prevent a file conflict on multiarch systems. A
|
||||||
|
* conflict will occur because qt3dcore-config_p.h has arch-specific definitions.
|
||||||
|
*
|
||||||
|
* DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
|
||||||
|
|
||||||
|
#ifndef Q3DCONFIG_MULTILIB_H
|
||||||
|
#define Q3DCONFIG_MULTILIB_H
|
||||||
|
|
||||||
|
#ifndef __WORDSIZE
|
||||||
|
#include <bits/wordsize.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if __WORDSIZE == 32
|
||||||
|
#include "Qt3DCore/private/qt3dcore-config-32_p.h"
|
||||||
|
#elif __WORDSIZE == 64
|
||||||
|
#include "Qt3DCore/private/qt3dcore-config-64_p.h"
|
||||||
|
#else
|
||||||
|
#error "unexpected value for __WORDSIZE macro"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
@ -1,15 +1,19 @@
|
|||||||
Name: qt5-qt3d
|
Name: qt5-qt3d
|
||||||
Version: 5.11.1
|
Version: 5.15.2
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: Qt5 - Qt3D C++ APIs and QML bindings
|
Summary: Qt5 - Qt3D C++ APIs and QML bindings
|
||||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||||
Url: http://www.qt.io
|
Url: http://www.qt.io
|
||||||
Source0: https://download.qt.io/new_archive/qt/5.11/%{version}/submodules/qt3d-everywhere-src-%{version}.tar.xz
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||||
|
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/qt3d-everywhere-src-%{version}.tar.xz
|
||||||
|
Source1: qt3dcore-config-multilib_p.h
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: qt5-rpm-macros >= %{version} qt5-qtbase-private-devel qt5-qtdeclarative-devel
|
BuildRequires: qt5-rpm-macros >= %{version} qt5-qtbase-private-devel qt5-qtdeclarative-devel
|
||||||
BuildRequires: qt5-qtimageformats qt5-qtxmlpatterns-devel pkgconfig(assimp) >= 3.3.1
|
BuildRequires: qt5-qtimageformats qt5-qtxmlpatterns-devel pkgconfig(assimp) >= 3.3.1
|
||||||
Requires: qt5-qtimageformats >= %{version}
|
Requires: qt5-qtimageformats >= %{version}
|
||||||
%{?_qt5:Requires: %{_qt5} = %{_qt5_version}}
|
%{?_qt5:Requires: %{_qt5} = %{_qt5_version}}
|
||||||
|
BuildRequires: qt5-qtbase-static >= %{version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Qt 3D support for 2D and 3D rendering in both Qt C++ and Qt Quick applications for
|
Qt 3D support for 2D and 3D rendering in both Qt C++ and Qt Quick applications for
|
||||||
@ -29,12 +33,19 @@ Provides development files and programming examples for qt5-qt3d.
|
|||||||
%autosetup -n qt3d-everywhere-src-%{version}
|
%autosetup -n qt3d-everywhere-src-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
|
|
||||||
%{qmake_qt5}
|
%{qmake_qt5}
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install INSTALL_ROOT=%{buildroot}
|
make install INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
|
%ifarch x86_64
|
||||||
|
mv %{buildroot}%{_qt5_headerdir}/Qt3DCore/%{version}/Qt3DCore/private/qt3dcore-config_p.h %{buildroot}%{_qt5_headerdir}/Qt3DCore/%{version}/Qt3DCore/private/qt3dcore-config-%{__isa_bits}_p.h
|
||||||
|
install -p -m644 -D %{SOURCE1} %{buildroot}%{_qt5_headerdir}/Qt3DCore/%{version}/Qt3DCore/private/qt3dcore-config_p.h
|
||||||
|
%endif
|
||||||
|
|
||||||
pushd %{buildroot}%{_qt5_libdir}
|
pushd %{buildroot}%{_qt5_libdir}
|
||||||
for prl_file in libQt5*.prl ; do
|
for prl_file in libQt5*.prl ; do
|
||||||
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
|
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
|
||||||
@ -55,6 +66,7 @@ popd
|
|||||||
%{_qt5_libdir}/{libQt53D*.so.5*}
|
%{_qt5_libdir}/{libQt53D*.so.5*}
|
||||||
%{_qt5_qmldir}/{Qt3D/,QtQuick/Scene3D/,QtQuick/Scene2D/}
|
%{_qt5_qmldir}/{Qt3D/,QtQuick/Scene3D/,QtQuick/Scene2D/}
|
||||||
%{_qt5_plugindir}/{sceneparsers/,renderplugins/,geometryloaders/}
|
%{_qt5_plugindir}/{sceneparsers/,renderplugins/,geometryloaders/}
|
||||||
|
%{_qt5_plugindir}/renderers/
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_qt5_bindir}/qgltf
|
%{_qt5_bindir}/qgltf
|
||||||
@ -73,6 +85,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
|
||||||
|
- update to upstream version 5.15.2
|
||||||
|
|
||||||
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-4
|
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-4
|
||||||
- Fix Source0
|
- Fix Source0
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version_control: git
|
version_control: git
|
||||||
src_repo: https://code.qt.io/cgit/qt/qt3d.git/
|
src_repo: https://code.qt.io/cgit/qt/qt3d.git/
|
||||||
tag_prefix: ^v
|
tag_prefix: "^v"
|
||||||
seperator: .
|
separator: "."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user