diff options
author | Tomasz Olszak <olszak.tomasz@gmail.com> | 2014-04-27 00:25:07 +0200 |
---|---|---|
committer | Tomasz Olszak <olszak.tomasz@gmail.com> | 2015-11-10 18:18:41 +0100 |
commit | 78bcbb813a8c59ba78c82c8a0a3379ea23695b29 (patch) | |
tree | 54caf0b447e591091e6f2e18d048533b46bd4985 /packaging | |
parent | f0632906253a8b0f37462f4fa2881800d98eae80 (diff) | |
download | qtmultimedia-78bcbb813a8c59ba78c82c8a0a3379ea23695b29.tar.gz qtmultimedia-78bcbb813a8c59ba78c82c8a0a3379ea23695b29.tar.bz2 qtmultimedia-78bcbb813a8c59ba78c82c8a0a3379ea23695b29.zip |
Added handling of gstreamer0.10.
Removed currently not handled camera plugins.
Bug-Tizen:TIVI-2416
Change-Id: Ic20cd13cbc1ccc12636feddd5fdb7550bc57855c
Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/qt5-qtmultimedia.spec | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/packaging/qt5-qtmultimedia.spec b/packaging/qt5-qtmultimedia.spec index 2f4dac25..58dcaa42 100644 --- a/packaging/qt5-qtmultimedia.spec +++ b/packaging/qt5-qtmultimedia.spec @@ -1,3 +1,10 @@ + +%if "%{tizen}" != "2.1" +%define _with_gstreamer1 1 +%endif + +%bcond_with gstreamer1 + Name: qt5-qtmultimedia Summary: Qt Multimedia module Version: 5.2.90+alpha @@ -19,7 +26,7 @@ BuildRequires: pkgconfig(alsa) BuildRequires: fdupes #BuildRequires: pkgconfig(libpulse) #BuildRequires: pkgconfig(libpulse-mainloop-glib) -%if "%{profile}" == "common" || "%{profile}" == "generic" || "%{profile}" == "ivi" || "%{profile}" == "mobile" +%if %{with gstreamer1} BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-base-1.0) BuildRequires: pkgconfig(gstreamer-audio-1.0) @@ -234,14 +241,16 @@ find %{buildroot}%{_libdir} -type f -name '*.prl' \ %defattr(-,root,root,-) %manifest %{name}.manifest %if ! ("%{profile}" == "common" || "%{profile}" == "ivi" || "%{profile}" == "generic" || "%{profile}" == "mobile" ) -%{_libdir}/qt5/plugins/mediaservice/libgstcamerabin.so +#commented out until the work on gstreamer-1.0 will be finished in Qt +#%{_libdir}/qt5/plugins/mediaservice/libgstcamerabin.so %endif %files plugin-mediaservice-gstmediacapture %defattr(-,root,root,-) %manifest %{name}.manifest %if ! ("%{profile}" == "common" || "%{profile}" == "ivi" || "%{profile}" == "generic" || "%{profile}" == "mobile" ) -%{_libdir}/qt5/plugins/mediaservice/libgstmediacapture.so +#commented out until the work on gstreamer-1.0 will be finished in Qt +#%{_libdir}/qt5/plugins/mediaservice/libgstmediacapture.so %endif %files plugin-mediaservice-gstmediaplayer |