diff options
author | Tomasz Olszak <olszak.tomasz@gmail.com> | 2014-04-27 00:25:07 +0200 |
---|---|---|
committer | Tomasz Olszak <olszak.tomasz@gmail.com> | 2014-05-23 12:36:41 +0200 |
commit | 8a8629f375ce04507b45e88113377c69a7dd2afb (patch) | |
tree | d91e1a8f7615380e257aaca73b20b5eeb462e620 | |
parent | cfcde7a669bb98391fca9dd1ab8ab0e868bca31d (diff) | |
download | qtmultimedia-8a8629f375ce04507b45e88113377c69a7dd2afb.tar.gz qtmultimedia-8a8629f375ce04507b45e88113377c69a7dd2afb.tar.bz2 qtmultimedia-8a8629f375ce04507b45e88113377c69a7dd2afb.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>
-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 |