[packages/OpenSceneGraph] - switched to Qt5; release 14
qboosh
qboosh at pld-linux.org
Wed Mar 29 22:35:53 CEST 2023
commit 0019aed0d5aed1ef2f412ee75828ca3691edb73e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Mar 29 22:38:20 2023 +0200
- switched to Qt5; release 14
OpenSceneGraph.spec | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/OpenSceneGraph.spec b/OpenSceneGraph.spec
index e647a1a..6806161 100644
--- a/OpenSceneGraph.spec
+++ b/OpenSceneGraph.spec
@@ -2,7 +2,7 @@ Summary: Open Scene Graph - real-time visualization library
Summary(pl.UTF-8): Open Scene Graph - biblioteka do wizualizacji
Name: OpenSceneGraph
Version: 3.5.1
-Release: 13
+Release: 14
License: OpenSceneGraph Public Licence (based on LGPL with exceptions)
Group: X11/Libraries
Source0: http://trac.openscenegraph.org/downloads/developer_releases/%{name}-%{version}.zip
@@ -12,8 +12,10 @@ Source0: http://trac.openscenegraph.org/downloads/developer_releases/%{name}-%{v
Patch0: ffmpeg3.patch
Patch1: %{name}-asio.patch
URL: http://www.openscenegraph.org/projects/osg/
-BuildRequires: QtCore-devel
-BuildRequires: QtOpenGL-devel
+BuildRequires: Qt5Core-devel >= 5
+BuildRequires: Qt5Gui-devel >= 5
+BuildRequires: Qt5OpenGL-devel >= 5
+BuildRequires: Qt5Widgets-devel >= 5
BuildRequires: asio-devel >= 1.11
BuildRequires: boost-devel >= 1.37
BuildRequires: cairo-devel
@@ -28,8 +30,8 @@ BuildRequires: librsvg-devel
BuildRequires: libtiff-devel
BuildRequires: pkgconfig
BuildRequires: poppler-glib-devel
-BuildRequires: qt4-build
-BuildRequires: qt4-qmake
+BuildRequires: qt5-build >= 5
+BuildRequires: qt5-qmake >= 5
BuildRequires: rpmbuild(macros) >= 1.600
BuildRequires: unzip
#BuildRequires: xulrunner-devel
@@ -92,7 +94,7 @@ install -d build
cd build
CXXFLAGS="%{rpmcxxflags} -DASIO_ENABLE_BOOST=1"
%cmake \
- -DDESIRED_QT_VERSION=4 \
+ -DDESIRED_QT_VERSION=5 \
%ifarch x32
-DLIB_POSTFIX=x32 \
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/OpenSceneGraph.git/commitdiff/0019aed0d5aed1ef2f412ee75828ca3691edb73e
More information about the pld-cvs-commit
mailing list