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