summaryrefslogtreecommitdiff
path: root/packaging/qt5-qtmultimedia.spec
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2014-06-25 15:59:50 +0200
committerTomasz Olszak <olszak.tomasz@gmail.com>2014-10-04 22:22:33 +0200
commit4adb0e0095156d091fc0d37775386bb220533ae8 (patch)
tree26e16a94939cc7ac08ae1bdde971493b9ba880f1 /packaging/qt5-qtmultimedia.spec
parent65e73ee26936d05f2a6f6d40ddee9e36b8f2d5b7 (diff)
downloadqtmultimedia-4adb0e0095156d091fc0d37775386bb220533ae8.tar.gz
qtmultimedia-4adb0e0095156d091fc0d37775386bb220533ae8.tar.bz2
qtmultimedia-4adb0e0095156d091fc0d37775386bb220533ae8.zip
packaging: Added wearable adaptation
Change-Id: I11d96363cd41a502b38ae84188aec2541b92493f Bug-Tizen: TIVI-2416 Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
Diffstat (limited to 'packaging/qt5-qtmultimedia.spec')
-rw-r--r--packaging/qt5-qtmultimedia.spec14
1 files changed, 13 insertions, 1 deletions
diff --git a/packaging/qt5-qtmultimedia.spec b/packaging/qt5-qtmultimedia.spec
index 460c31ed..30ae94c2 100644
--- a/packaging/qt5-qtmultimedia.spec
+++ b/packaging/qt5-qtmultimedia.spec
@@ -1,8 +1,18 @@
-%if "%{tizen}" != "2.1"
+%if "%{tizen}" == "2.1"
+%define profile mobile
+%endif
+
+%if "%{tizen}" == "2.3"
+%define profile wearable
+%define _with_only_free_components 1
+%endif
+
+%if "%{profile}" != "mobile" && "%{profile}" != "wearable"
%define _with_gstreamer1 1
%endif
+%bcond_with only_free_components
%bcond_with gstreamer1
Name: qt5-qtmultimedia
@@ -42,8 +52,10 @@ BuildRequires: pkgconfig(gstreamer-audio-0.10)
BuildRequires: pkgconfig(gstreamer-video-0.10)
BuildRequires: pkgconfig(gstreamer-pbutils-0.10)
BuildRequires: pkgconfig(gstreamer-app-0.10)
+%if ! %{with only_free_components}
BuildRequires: pkgconfig(gstreamer-plugins-bad-0.10)
%endif
+%endif
%description
Qt is a cross-platform application and UI framework. Using Qt, you can