2024-01-06 05:30:44 +01:00
|
|
|
%define apiver 1.0
|
2024-01-06 05:30:43 +01:00
|
|
|
Name: libqt-gstreamer
|
2024-01-06 05:30:44 +01:00
|
|
|
Version: 1.2.0
|
2024-01-06 05:30:44 +01:00
|
|
|
Release: 4mamba
|
2024-01-06 05:30:43 +01:00
|
|
|
Summary: C++ bindings for GStreamer with a Qt-style API
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://gstreamer.freedesktop.org/wiki/QtGStreamer
|
2024-01-06 05:30:44 +01:00
|
|
|
Source: http://gstreamer.freedesktop.org/src/qt-gstreamer/qt-gstreamer-%{version}.tar.xz
|
2024-01-06 05:30:44 +01:00
|
|
|
Patch0: libqt-gstreamer-1.2.0-gstreamer-1.6.patch
|
2024-01-06 05:30:43 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:30:44 +01:00
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libQtDeclarative
|
2024-01-06 05:30:43 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgst-plugins-base-devel
|
|
|
|
BuildRequires: libgstreamer-devel
|
|
|
|
BuildRequires: libqt4-devel
|
2024-01-06 05:30:44 +01:00
|
|
|
BuildRequires: libqt5-devel
|
2024-01-06 05:30:43 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 05:30:44 +01:00
|
|
|
BuildRequires: libqt5-devel >= 5.6.0
|
2024-01-06 05:30:43 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%description
|
|
|
|
QtGStreamer provides C++ bindings for GStreamer with a Qt-style API, plus some helper classes for integrating GStreamer better in Qt applications.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:30:44 +01:00
|
|
|
Requires: pkgconfig
|
2024-01-06 05:30:43 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 05:30:44 +01:00
|
|
|
%package -n libQt5GStreamer
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: C++ bindings for GStreamer with a Qt5-style API
|
|
|
|
|
|
|
|
%description -n libQt5GStreamer
|
|
|
|
QtGStreamer provides C++ bindings for GStreamer with a Qt-style API, plus some helper classes for integrating GStreamer better in Qt applications.
|
|
|
|
|
|
|
|
%package -n libQt5GStreamer-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: libQt5GStreamer = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libQt5GStreamer-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 05:30:43 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n qt-gstreamer-%{version}
|
2024-01-06 05:30:44 +01:00
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-01-06 05:30:44 +01:00
|
|
|
%patch0 -p1
|
2024-01-06 05:30:43 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:30:44 +01:00
|
|
|
#:<< _EOF
|
2024-01-06 05:30:44 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DQTGSTREAMER_EXAMPLES=OFF \
|
|
|
|
-DQT_VERSION=4
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
%cmake -d build-qt5 \
|
|
|
|
-DQTGSTREAMER_EXAMPLES=OFF \
|
|
|
|
-DQT_VERSION=5
|
|
|
|
|
2024-01-06 05:30:43 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
2024-01-06 05:30:44 +01:00
|
|
|
%makeinstall -C build-qt5
|
2024-01-06 05:30:43 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libQtGLib-2.0.so.*
|
2024-01-06 05:30:44 +01:00
|
|
|
%{_libdir}/libQtGStreamer-%{apiver}.so.*
|
|
|
|
%{_libdir}/libQtGStreamerUi-%{apiver}.so.*
|
|
|
|
%{_libdir}/libQtGStreamerUtils-%{apiver}.so.*
|
|
|
|
%{_libdir}/gstreamer-%{apiver}/libgstqtvideosink.so
|
2024-01-06 05:30:43 +01:00
|
|
|
%{_libdir}/qt4/imports/QtGStreamer/libQtGStreamerQuick1.so
|
|
|
|
%{_libdir}/qt4/imports/QtGStreamer/qmldir
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/QtGStreamer
|
|
|
|
%dir %{_includedir}/QtGStreamer/QGlib
|
|
|
|
%{_includedir}/QtGStreamer/QGlib/*
|
|
|
|
%dir %{_includedir}/QtGStreamer/QGst
|
|
|
|
%{_includedir}/QtGStreamer/QGst/*
|
|
|
|
%{_libdir}/cmake/QtGStreamer/QtGStreamerConfig*.cmake
|
|
|
|
%{_libdir}/cmake/QtGStreamer/QtGStreamerTargets*.cmake
|
|
|
|
%{_libdir}/libQtGLib-2.0.so
|
2024-01-06 05:30:44 +01:00
|
|
|
%{_libdir}/libQtGStreamer-%{apiver}.so
|
|
|
|
%{_libdir}/libQtGStreamerUi-%{apiver}.so
|
|
|
|
%{_libdir}/libQtGStreamerUtils-%{apiver}.so
|
2024-01-06 05:30:43 +01:00
|
|
|
%{_libdir}/pkgconfig/QtGLib-2.0.pc
|
2024-01-06 05:30:44 +01:00
|
|
|
%{_libdir}/pkgconfig/QtGStreamer-%{apiver}.pc
|
|
|
|
%{_libdir}/pkgconfig/QtGStreamerUi-%{apiver}.pc
|
|
|
|
%{_libdir}/pkgconfig/QtGStreamerUtils-%{apiver}.pc
|
2024-01-06 05:30:43 +01:00
|
|
|
#%doc README
|
|
|
|
|
2024-01-06 05:30:44 +01:00
|
|
|
%files -n libQt5GStreamer
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libQt5GLib-2.0.so.*
|
|
|
|
%{_libdir}/libQt5GStreamer-1.0.so.*
|
|
|
|
%{_libdir}/libQt5GStreamerQuick-1.0.so.*
|
|
|
|
%{_libdir}/libQt5GStreamerUi-1.0.so.*
|
|
|
|
%{_libdir}/libQt5GStreamerUtils-1.0.so.*
|
2024-01-06 05:30:44 +01:00
|
|
|
#%{_libdir}/qt5/imports/QtGStreamer/libQtGStreamerQuick1.so
|
|
|
|
#%{_libdir}/qt5/imports/QtGStreamer/qmldir
|
|
|
|
%{_libdir}/qt5/qml/QtGStreamer/libQtGStreamerQuick2.so
|
|
|
|
%{_libdir}/qt5/qml/QtGStreamer/qmldir
|
|
|
|
%{_libdir}/gstreamer-1.0/libgstqt5videosink.so
|
2024-01-06 05:30:44 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n libQt5GStreamer-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/Qt5GStreamer
|
|
|
|
%dir %{_includedir}/Qt5GStreamer/QGlib
|
|
|
|
%{_includedir}/Qt5GStreamer/QGlib/*
|
|
|
|
%dir %{_includedir}/Qt5GStreamer/QGst
|
|
|
|
%{_includedir}/Qt5GStreamer/QGst/*
|
|
|
|
%dir %{_libdir}/cmake/Qt5GStreamer
|
|
|
|
%{_libdir}/libQt5GLib-2.0.so
|
|
|
|
%{_libdir}/libQt5GStreamer-1.0.so
|
|
|
|
%{_libdir}/libQt5GStreamerQuick-1.0.so
|
|
|
|
%{_libdir}/libQt5GStreamerUi-1.0.so
|
|
|
|
%{_libdir}/libQt5GStreamerUtils-1.0.so
|
2024-01-06 05:30:44 +01:00
|
|
|
%{_libdir}/cmake/Qt5GStreamer/*.cmake
|
2024-01-06 05:30:44 +01:00
|
|
|
%{_libdir}/pkgconfig/Qt5GLib-2.0.pc
|
|
|
|
%{_libdir}/pkgconfig/Qt5GStreamer-1.0.pc
|
|
|
|
%{_libdir}/pkgconfig/Qt5GStreamerQuick-1.0.pc
|
|
|
|
%{_libdir}/pkgconfig/Qt5GStreamerUi-1.0.pc
|
|
|
|
%{_libdir}/pkgconfig/Qt5GStreamerUtils-1.0.pc
|
|
|
|
|
|
|
|
|
2024-01-06 05:30:43 +01:00
|
|
|
%changelog
|
2024-01-06 05:30:44 +01:00
|
|
|
* Sun Jul 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-4mamba
|
|
|
|
- move libQtGstreamerQuick2.so from -devel to lib package
|
|
|
|
|
2024-01-06 05:30:44 +01:00
|
|
|
* Sun May 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-3mamba
|
|
|
|
- rebuilt with qt5 5.6.0
|
|
|
|
|
2024-01-06 05:30:44 +01:00
|
|
|
* Sat Jan 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
|
|
|
|
- build qt5 bindings
|
|
|
|
|
2024-01-06 05:30:44 +01:00
|
|
|
* Thu Sep 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- update to 1.2.0
|
|
|
|
|
2024-01-06 05:30:43 +01:00
|
|
|
* Fri Oct 18 2013 Automatic Build System <autodist@mambasoft.it> 0.10.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 0.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Mar 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.1-1mamba
|
|
|
|
- package created by autospec
|