]> git.pld-linux.org Git - packages/qt-gstreamer.git/blame - qt-gstreamer.spec
- new (pre version currently)
[packages/qt-gstreamer.git] / qt-gstreamer.spec
CommitLineData
3b311080
JB
1Summary: QtGStreamer - libraries integrating Qt with GStreamer
2Summary(pl.UTF-8): QtGStreamer - biblioteki integrujące Qt z GStreamerem
3Name: qt-gstreamer
4Version: 0.10.0.2
5Release: 1
6License: LGPL v2+
7Group: Libraries
8#Source0: http://gstreamer.freedesktop.org/src/qt-gstreamer/%{name}-%{version}.tar.bz2
9Source0: http://gstreamer.freedesktop.org/src/qt-gstreamer/pre/%{name}-%{version}.tar.bz2
10# Source0-md5: 55bd3c5e076b71e13f5d5652a631639a
11URL: http://gstreamer.net/
12BuildRequires: QtCore-devel >= 4.5
13BuildRequires: QtGui-devel >= 4.5
14BuildRequires: QtTest-devel >= 4.5
15BuildRequires: automoc4 >= 0.9.88
16BuildRequires: bison
17BuildRequires: boost-devel >= 1.40
18BuildRequires: cmake >= 2.8
19BuildRequires: flex
20BuildRequires: gstreamer-devel >= 0.10.31
21BuildRequires: gstreamer-plugins-base-devel >= 0.10.31
22BuildRequires: libstdc++-devel >= 6:4.5
23BuildRequires: pkgconfig
24BuildRequires: qt4-qmake >= 4.5
25Requires: QtCore >= 4.5
26Requires: QtGui >= 4.5
27Requires: gstreamer >= 0.10.31
28Requires: gstreamer-plugins-base >= 0.10.31
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32QtGStreamer is a set of libraries and plugins providing C++ bindings
33for GStreamer with a Qt-style API plus some helper classes for
34integrating GStreamer better in Qt applications.
35
36Currently, it consists of the following parts:
37 * QtGLib - library providing C++/Qt bindings for parts of the GLib
38 and GObject APIs, a base on which QtGStreamer is built.
39 * QtGStreamer - library providing C++/Qt bindings for GStreamer
40 * QtGStreamerUi - library providing integration with QtGui;
41 currently, it only provides a video widget that embeds GStreamer's
42 video sinks.
43
44In addition, it provides a "qwidgetvideosink" GStreamer element, an
45video sink element that can draw directly on QWidgets using QPainter.
46
47%description -l pl.UTF-8
48QtGStreamer to zestaw bibliotek i wtyczek z wiązaniami C++ do
49GStreamera o API w stylu Qt oraz klasami pomocniczymi dla lepszej
50integracji GStreamera w aplikacjach Qt.
51
52Obecnie zawiera następujące części:
53 - QtGLib - biblioteka z wiązaniami C++/Qt dla części API bibliotek
54 GLib i GObject; w oparciu o nią zbudowany jest QtGStreamer
55 - QtGStreamer - biblioteka z wiązaniami C++/Qt do GStreamera
56 - QtGStreamerUi - biblioteka integrująca z QtGui; obecnie zawiera
57 tylko widget wideo osadzający wyjście obrazu (videosink) GStremera.
58
59Ponadto pakiet udostępnia element GStreamera "qwidgetvideosink" -
60element wyjściowy obrazu rysujący bezpośrednio na QWidgetach przy
61użyciu QPaintera.
62
63%description -l pl.UTF-8
64GstRTSP to serwer RTSP zbudowany w oparciu o GStreamera.
65
66%package devel
67Summary: Header files for QtGStreamer libraries
68Summary(pl.UTF-8): Pliki nagłówkowe bibliotek QtGStreamer
69Group: Development/Libraries
70Requires: %{name} = %{version}-%{release}
71Requires: QtCore-devel >= 4.5
72Requires: QtGui-devel >= 4.5
73Requires: gstreamer-devel >= 0.10.31
74Requires: gstreamer-plugins-base-devel >= 0.10.31
75
76%description devel
77Header files for QtGStreamer libraries.
78
79%description devel -l pl.UTF-8
80Pliki nagłówkowe bibliotek QtGStreamer.
81
82%prep
83%setup -q
84
85%build
86install -d build
87cd build
88%cmake .. \
89 -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
90 -DQTGSTREAMER_EXAMPLES=OFF \
91 -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
92
93%{__make}
94
95%install
96rm -rf $RPM_BUILD_ROOT
97
98%{__make} -C build install \
99 DESTDIR=$RPM_BUILD_ROOT
100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
104%post -p /sbin/ldconfig
105%postun -p /sbin/ldconfig
106
107%files
108%defattr(644,root,root,755)
109%doc README
110%attr(755,root,root) %{_libdir}/libQtGLib-2.0.so.*.*.*
111%attr(755,root,root) %ghost %{_libdir}/libQtGLib-2.0.so.0
112%attr(755,root,root) %{_libdir}/libQtGStreamer-0.10.so.*.*.*
113%attr(755,root,root) %ghost %{_libdir}/libQtGStreamer-0.10.so.0
114%attr(755,root,root) %{_libdir}/libQtGStreamerUi-0.10.so.*.*.*
115%attr(755,root,root) %ghost %{_libdir}/libQtGStreamerUi-0.10.so.0
116%attr(755,root,root) %{_libdir}/gstreamer-0.10/libgstqwidgetvideosink.so
117
118%files devel
119%defattr(644,root,root,755)
120%attr(755,root,root) %{_libdir}/libQtGLib-2.0.so
121%attr(755,root,root) %{_libdir}/libQtGStreamer-0.10.so
122%attr(755,root,root) %{_libdir}/libQtGStreamerUi-0.10.so
123%{_includedir}/QtGStreamer
124%{_pkgconfigdir}/QtGLib-2.0.pc
125%{_pkgconfigdir}/QtGStreamer-0.10.pc
126%{_pkgconfigdir}/QtGStreamerUi-0.10.pc
127%dir %{_libdir}/QtGStreamer
128%{_libdir}/QtGStreamer/QtGStreamer*.cmake
This page took 0.146839 seconds and 4 git commands to generate.