Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
beagle
>
qt-gstreamer
> qt-gstreamer.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File qt-gstreamer.spec of Package qt-gstreamer
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.25 # Name: qt-gstreamer # >> macros # << macros Summary: Qt bindings for GStreamer Version: 0.10.2 Release: 1 Group: System/Libraries License: LGPLv2.1 URL: http://gstreamer.freedesktop.org/ Source0: http://gstreamer.freedesktop.org/src/qt-gstreamer/qt-gstreamer-%{version}.tar.bz2 Source100: qt-gstreamer.yaml Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(QtGui) BuildRequires: pkgconfig(QtOpenGL) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gstreamer-0.10) BuildRequires: pkgconfig(gstreamer-plugins-base-0.10) BuildRequires: pkgconfig(gstreamer-interfaces-0.10) BuildRequires: bison BuildRequires: boost-devel BuildRequires: cmake BuildRequires: doxygen BuildRequires: flex BuildRequires: fdupes %description QtGStreamer is the Qt-Style bindings for the GStreamer multimedia framework. It aims to provide a better GStreamer integration in Qt applications. %package devel Summary: Qt bindings for GStreamer (development files) Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This package contains the development files for QtGstreamer. %package qml Summary: QtGStreamer QML plugin Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description qml This package contains the QML plugin for QtGstreamer. %package plugins Summary: GStreamer plugins from QtGStreamer Group: System/Libraries %description plugins This package contains GStreamer plugins that are shipped together with the QtGStreamer bindings library. These plugins provide GStreamer elements that enable better integration of GStreamer in Qt applications. . Currently, this package contains the gstqtvideosink, a video sink that draws directly on QWidgets and QML surfaces. %prep %setup -q -n %{name}-%{version} # >> setup # << setup %build # >> build pre mkdir %{_target_platform} cd %{_target_platform} cmake .. \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ -DCMAKE_C_FLAGS="%{optflags}" \ -DCMAKE_CXX_FLAGS="%{optflags}" \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DQTGSTREAMER_STATIC=OFF \ -DQTGSTREAMER_TESTS=ON \ -DUSE_QT_PLUGIN_DIR=OFF \ -DQTGSTREAMER_EXAMPLES=ON make %{?jobs:-j%jobs} make %{?jobs:-j%jobs} doc # << build pre # >> build post # << build post %install rm -rf %{buildroot} # >> install pre make -C %{_target_platform} install DESTDIR=%{buildroot} # << install pre # >> install post # << install post %fdupes %{buildroot}/%{_includedir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) # >> files %{_libdir}/libQtGLib-2.0.so.0 %{_libdir}/libQtGLib-2.0.so.0.10.2 %{_libdir}/libQtGStreamer-0.10.so.0 %{_libdir}/libQtGStreamer-0.10.so.0.10.2 %{_libdir}/libQtGStreamerUi-0.10.so.0 %{_libdir}/libQtGStreamerUi-0.10.so.0.10.2 %{_libdir}/libQtGStreamerUtils-0.10.so.0 %{_libdir}/libQtGStreamerUtils-0.10.so.0.10.2 # << files %files devel %defattr(-,root,root,-) # >> files devel %{_includedir}/QtGStreamer/QGlib/* %{_includedir}/QtGStreamer/QGst/* %{_libdir}/libQtGLib-2.0.so %{_libdir}/libQtGStreamer-0.10.so %{_libdir}/libQtGStreamerUi-0.10.so %{_libdir}/libQtGStreamerUtils-0.10.so %{_libdir}/pkgconfig/QtGLib-2.0.pc %{_libdir}/pkgconfig/QtGStreamer-0.10.pc %{_libdir}/pkgconfig/QtGStreamerUi-0.10.pc %{_libdir}/pkgconfig/QtGStreamerUtils-0.10.pc %{_libdir}/QtGStreamer/QtGStreamer*.cmake # << files devel %files qml %defattr(-,root,root,-) # >> files qml %{_libdir}/qt4/imports/QtGStreamer/* # << files qml %files plugins %defattr(-,root,root,-) # >> files plugins %{_libdir}/gstreamer-0.10/libgstqtvideosink.so # << files plugins