summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2014-06-25 15:59:50 +0200
committerTomasz Olszak <olszak.tomasz@gmail.com>2015-11-10 18:18:41 +0100
commit4625fcc2857bf607833fa87d430b89ad0e8128e0 (patch)
tree411132133e7c977d2bd6271ade82d9950b2a6708
parent884bddcd0e13efb097bd33103379de93fd629116 (diff)
downloadqtmultimedia-4625fcc2857bf607833fa87d430b89ad0e8128e0.tar.gz
qtmultimedia-4625fcc2857bf607833fa87d430b89ad0e8128e0.tar.bz2
qtmultimedia-4625fcc2857bf607833fa87d430b89ad0e8128e0.zip
packaging: Added wearable adaptation
Change-Id: I11d96363cd41a502b38ae84188aec2541b92493f Bug-Tizen: TIVI-2416 Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-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