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