Package for qt5-qt3d

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Qt3D is not yet integrated in Qt5. However, I will soon monitor a Google 
Summer of Code student (for porting Qt4 demos of cgal.org to Qt5), and I may 
need Qt3D (a student candidate already proposed to use that new library).

Do we already have packages for Qt3D somewhere? There was an old review 
request [1], but it was closed NOTABUG. There is new review request [2], yet 
unanswered so far, and about an old version. There is also a package mingw32-
qt5-qt3d in Fedora, but I do not see any non-Mingw package. I also have a spec 
file for it (see the attachment) for a very recent release (but it requires a 
snapshot of Qt-5.3).

[1] https://bugzilla.redhat.com/show_bug.cgi?id=731794
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1073794

-- 
Laurent Rineau
http://fedoraproject.org/wiki/LaurentRineau
%global commit 4440abadc194b0124d95ccf4b132b21a8277257a
%global shortcommit %(c=%{commit}; echo ${c:0:7})

Summary: Qt3D is a set of C++ APIs for 3D programming built on top of QtOpenGL
Name: qt5-qt3d
Version: 0.0
Release: 2.%{shortcommit}.git%{?dist}
License: (LGPLv2 with exceptions or GPLv3 with exceptions) and GFDL
Group: System Environment/Libraries
URL: http://qt-project.org/wiki/Category:Developing_with_Qt::Qt3D
Source0: https://qt.gitorious.org/qt/qt3d/archive/%{commit}.tar.gz#/qt-qt3d-%{commit}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires:  qt5-qtbase-devel

%description
Qt3D provides support for scripting Qt Quick applications in 3D using OpenGL.

%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       qt5-qtbase-devel

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%package        examples
Summary:        Example files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       qt5-qtbase

%description    examples
The %{name}-examples package contains examples of %{name}.

%prep
%setup -q -n 'qt-qt3d'

%build
syncqt.pl -version 5.3.0
%{_qt5_qmake} \
    QMAKE_CFLAGS="${CFLAGS:-%optflags}" \
    QMAKE_CXXFLAGS="${CXXFLAGS:-%optflags}" \
    QMAKE_LFLAGS="${LDFLAGS:-%?__global_ldflags}"

make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make INSTALL_ROOT=$RPM_BUILD_ROOT install STRIP=/usr/bin/true

%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc README LICENSE*
%{_libdir}/qt5/bin/qglinfo
%exclude %{_libdir}/libQt53D.la
%{_libdir}/libQt53D.prl
%{_libdir}/libQt53D.so.5
%{_libdir}/libQt53D.so.5.3
%{_libdir}/libQt53D.so.5.3.0
%exclude %{_libdir}/libQt53DQuick.la
%{_libdir}/libQt53DQuick.prl
%{_libdir}/libQt53DQuick.so.5
%{_libdir}/libQt53DQuick.so.5.3
%{_libdir}/libQt53DQuick.so.5.3.0
%dir %{_libdir}/qt5/qml
%{_libdir}/qt5/qml/Qt3D
%dir %{_libdir}/cmake
%{_libdir}/cmake/Qt53D*

%files devel
%defattr(-,root,root,-)
%{_includedir}/qt5/Qt3D*
%{_libdir}/libQt53D.so
%{_libdir}/libQt53DQuick.so
%{_libdir}/qt5/mkspecs/modules/*
%{_libdir}/pkgconfig/Qt53D.pc
%{_libdir}/pkgconfig/Qt53DQuick.pc

%files examples
%defattr(-,root,root,-)
%{_libdir}/qt5/examples/qt3d

%changelog
* Tue Mar 11 2014 Laurent Rineau <lrineau@xxxxxxxxxxxxxxxxxxxxxxxxxx> - 0.0-2.%(c=%{commit}; echo ${c:0:7}).git%{?dist}
- Remove .la files

* Tue Mar 11 2014 Laurent Rineau <lrineau@xxxxxxxxxxxxxxxxxxxxxxxxxx> - 0.0-1.%(c=%{commit}; echo ${c:0:7}).git%{?dist}
- Initial build


_______________________________________________
kde mailing list
kde@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kde
New to KDE4? - get help from http://userbase.kde.org

[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux