source: projects/specs/trunk/q/qt5-qtmultimedia/qt5-qtmultimedia-vl.spec @ 12375

Revision 12375, 10.8 KB checked in by tomop, 8 months ago (diff)

updated 23 packages

qt5-qt3d-5.12.8-1

qt5-qtbase-5.12.8-1

qt5-qtcanvas3d-5.12.8-1

qt5-qtconnectivity-5.12.8-1

qt5-qtdeclarative-5.12.8-1

qt5-qtdoc-5.12.8-1

qt5-qtgraphicaleffects-5.12.8-1

qt5-qtimageformats-5.12.8-1

qt5-qtlocation-5.12.8-1

qt5-qtmultimedia-5.12.8-1

qt5-qtquickcontrols-5.12.8-1

qt5-qtquickcontrols2-5.12.8-1

qt5-qtscript-5.12.8-1

qt5-qtsensors-5.12.8-1

qt5-qtserialport-5.12.8-1

qt5-qtsvg-5.12.8-1

qt5-qttools-5.12.8-1

qt5-qttranslations-5.12.8-1

qt5-qtwebchannel-5.12.8-1

qt5-qtwebengine-5.12.8-1

qt5-qtwebsockets-5.12.8-1

qt5-qtx11extras-5.12.8-1

qt5-qtxmlpatterns-5.12.8-1

qt5-5.12.8-1

Line 
1
2%global qt_module qtmultimedia
3
4# define to build docs, need to undef this for bootstrapping
5# where qt5-qttools builds are not yet available
6# only primary archs (for now), allow secondary to bootstrap
7#global bootstrap 1
8
9%if ! 0%{?bootstrap}
10%ifarch %{arm} %{ix86} x86_64
11#define docs 1
12%endif
13%endif
14
15%global openal 1
16
17%global gst 1.0
18
19#define prerelease
20
21%global qt5_minorver 5.12
22%global qt5_version 5.12.8
23#global qt5_patchlevel 1
24
25Summary: Qt5 - Multimedia support
26Name:    qt5-%{qt_module}
27Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}}
28Release: 1%{?_dist_release}
29
30# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
31License: LGPLv2 with exceptions or GPLv3 with exceptions
32Url:     https://www.qt.io/
33
34Vendor: Project Vine
35Distribution: Vine Linux
36
37Source0: https://download.qt.io/official_releases/qt/%{qt5_minorver}/%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}/submodules/%{qt_module}-everywhere-src-%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}.tar.xz
38
39BuildRequires: cmake
40BuildRequires: qt5-rpm-macros
41BuildRequires: qt5-qtbase-devel >= %{version}
42BuildRequires: qt5-qtbase-private-devel
43%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
44BuildRequires: qt5-qtdeclarative-devel >= %{version}
45BuildRequires: pkgconfig(alsa)
46BuildRequires: pkgconfig(gstreamer-%{gst})
47BuildRequires: pkgconfig(gstreamer-app-%{gst})
48BuildRequires: pkgconfig(gstreamer-audio-%{gst})
49BuildRequires: pkgconfig(gstreamer-base-%{gst})
50BuildRequires: pkgconfig(gstreamer-pbutils-%{gst})
51BuildRequires: pkgconfig(gstreamer-plugins-bad-%{gst})
52BuildRequires: pkgconfig(gstreamer-video-%{gst})
53BuildRequires: pkgconfig(libpulse) pkgconfig(libpulse-mainloop-glib)
54%if 0%{?openal}
55BuildRequires: pkgconfig(openal)
56%endif
57BuildRequires: pkgconfig(xv)
58
59%description
60The Qt Multimedia module provides a rich feature set that enables you to
61easily take advantage of a platforms multimedia capabilites and hardware.
62This ranges from the playback and recording of audio and video content to
63the use of available devices like cameras and radios.
64
65%package devel
66Summary: Development files for %{name}
67Requires: %{name}%{?_isa} = %{version}-%{release}
68Requires: qt5-qtbase-devel%{?_isa}
69Requires: qt5-qtdeclarative-devel%{?_isa}
70Requires: pkgconfig(libpulse-mainloop-glib)
71%description devel
72%{summary}.
73
74%if 0%{?docs}
75%package doc
76Summary: API documentation for %{name}
77License: GFDL
78Requires: %{name} = %{version}-%{release}
79BuildRequires: qt5-qdoc
80BuildRequires: qt5-qhelpgenerator
81BuildArch: noarch
82%description doc
83%{summary}.
84%endif
85
86%package examples
87Summary: Programming examples for %{name}
88Requires: %{name}%{?_isa} = %{version}-%{release}
89%description examples
90%{summary}.
91
92
93%prep
94%setup -q -n %{qt_module}-everywhere-src-%{qt5_version}
95
96# %patch50 -p1 -b .nullptr
97
98
99%build
100mkdir %{_target_platform}
101pushd %{_target_platform}
102%{qmake_qt5} .. \
103  CONFIG+=git_build \
104  GST_VERSION=%{gst}
105
106make %{?_smp_mflags}
107
108%if 0%{?docs}
109make %{?_smp_mflags} docs
110%endif
111popd
112
113
114%install
115make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
116
117%if 0%{?docs}
118make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
119%endif
120
121## .prl/.la file love
122# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
123pushd %{buildroot}%{_qt5_libdir}
124for prl_file in libQt5*.prl ; do
125  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
126  if [ -f "$(basename ${prl_file} .prl).so" ]; then
127    rm -fv "$(basename ${prl_file} .prl).la"
128    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
129  fi
130done
131popd
132
133
134%post -p /sbin/ldconfig
135%postun -p /sbin/ldconfig
136
137%files
138%license LICENSE.*
139%{_qt5_libdir}/libQt5Multimedia.so.5*
140%{_qt5_libdir}/libQt5MultimediaQuick.so.5*
141%{_qt5_libdir}/libQt5MultimediaWidgets.so.5*
142%{_qt5_libdir}/libQt5MultimediaGstTools.so.5*
143%if 0%{?openal}
144%{_qt5_archdatadir}/qml/QtAudioEngine/
145%endif
146%{_qt5_archdatadir}/qml/QtMultimedia/
147%{_qt5_plugindir}/audio/
148%{_qt5_plugindir}/mediaservice/
149%{_qt5_plugindir}/playlistformats/
150%dir %{_qt5_libdir}/cmake/Qt5Multimedia/
151%{_qt5_libdir}/cmake/Qt5Multimedia/Qt5Multimedia_*Plugin.cmake
152%dir %{_qt5_libdir}/cmake/Qt5MultimediaWidgets/
153
154%files devel
155%{_qt5_headerdir}/QtMultimedia/
156%{_qt5_headerdir}/QtMultimediaQuick/
157%{_qt5_headerdir}/QtMultimediaWidgets/
158%{_qt5_headerdir}/QtMultimediaGstTools/
159%{_qt5_libdir}/libQt5Multimedia.so
160%{_qt5_libdir}/libQt5Multimedia.prl
161%{_qt5_libdir}/libQt5MultimediaQuick.so
162%{_qt5_libdir}/libQt5MultimediaQuick.prl
163%{_qt5_libdir}/libQt5MultimediaWidgets.so
164%{_qt5_libdir}/libQt5MultimediaWidgets.prl
165%{_qt5_libdir}/libQt5MultimediaGstTools.so
166%{_qt5_libdir}/libQt5MultimediaGstTools.prl
167%{_qt5_libdir}/cmake/Qt5Multimedia/Qt5MultimediaConfig*.cmake
168%{_qt5_libdir}/cmake/Qt5MultimediaWidgets/Qt5MultimediaWidgetsConfig*.cmake
169%{_qt5_libdir}/pkgconfig/Qt5Multimedia.pc
170%{_qt5_libdir}/pkgconfig/Qt5MultimediaWidgets.pc
171%{_qt5_archdatadir}/mkspecs/modules/*.pri
172
173%if 0%{?docs}
174%files doc
175%license LICENSE.FDL
176%{_qt5_docdir}/qtmultimedia.qch
177%{_qt5_docdir}/qtmultimedia/
178%endif
179
180%if 0%{?_qt5_examplesdir:1}
181%files examples
182%{_qt5_examplesdir}/
183%endif
184
185
186%changelog
187* Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
188- new upstream release.
189
190* Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
191- new upstream release.
192
193* Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
194- new upstream release.
195
196* Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1
197- update to 5.6.3
198- drop Patch50 (fixed in 5.6.3)
199
200* Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
201- new upstream release.
202- initial build for Vine Linux.
203
204* Wed Jun 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-3
205- drop pkgconfig-style Qt5 deps
206
207* Wed Jun 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-2
208- BR: qt5-qtbase-private-devel, nullptr el6 FTBFS
209
210* Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
211- Update to 5.6.1
212
213* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
214- rebuild
215
216* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
217- rebuild
218
219* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
220- 5.6.0 final release
221
222* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8.rc
223- Update to final RC
224
225* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7
226- Update RC release
227
228* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.6.beta
229- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
230
231* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.5.beta
232- update source URL, use %%license, BR: cmake
233
234* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.4
235- Update to final beta release
236
237* Fri Dec 11 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-0.3
238- include BR: qt5-qdoc only in -doc subpkg
239- restore bootstrap macro support
240- make openal support unconditional (#1069231)
241
242* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
243- Official beta release
244
245* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
246- Start to implement 5.6.0 beta
247
248* Mon Oct 26 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-4
249- pull in upstream fixes, QTBUG-48939 in particular
250
251* Thu Oct 22 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-3
252- drop gst support on el6 (QTBUG-48939)
253
254* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
255- Update to final release 5.5.1
256
257* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
258- Update to Qt 5.5.1 RC1
259
260* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
261- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
262
263* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
264- tighten qtbase dep (#1233829)
265
266* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
267- New final upstream release Qt 5.5.0
268
269* Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
270- Update for official RC1 released packages
271
272* Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
273- Qt 5.5.0 RC1
274
275* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
276- 5.4.2
277
278* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
279- Rebuilt for GCC 5 C++11 ABI change
280
281* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
282- rebuild (gcc5)
283
284* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
285- 5.4.1
286
287* Thu Dec 11 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
288- 5.4.0 (final) + backported gst1 support from dev/ branch
289
290* Tue Nov 18 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.20141118.gst1
291- wip/gstreamer1 snapshot (#1149885)
292
293* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
294- out-of-tree build, use %%qmake_qt5
295
296* Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
297- 5.4.0-beta
298
299* Wed Sep 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.2-1
300- 5.3.2
301
302* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2.1
303- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
304
305* Thu Jul 17 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.1-1.1
306- rebuild (for pulseaudio, bug #1117683)
307
308* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
309- 5.3.1
310
311* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
312- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
313
314* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
315- 5.3.0
316
317* Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
318- use standard (same as qtbase) .prl sanitation
319
320* Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
321- 5.2.1
322
323* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3
324- build -examples only if supported
325
326* Sun Jan 26 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
327- -examples subpkg
328
329* Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
330- 5.2.0
331
332* Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
333- 5.2.0-rc1
334
335* Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1
336- rebuild (arm/qreal)
337
338* Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1
339- 5.2.0-beta1
340
341* Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
342- bootstrap ppc
343
344* Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
345- 5.2.0-alpha
346- -doc subpkg
347
348* Sat Sep 07 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-2
349- ExclusiveArch: %%{ix86} x86_64 %%{arm} (to match qt5-qtdeclarative)
350
351* Thu Aug 29 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
352- 5.1.1
353
354* Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-3
355- update Source URL (and refetch tarball)
356- improved summary/description
357
358* Thu May 09 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
359- BR: qt5-qtdeclarative-devel
360
361* Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
362- 5.0.2
363
364* Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
365- first try
366
Note: See TracBrowser for help on using the repository browser.