diff options
author | Tomasz Olszak <olszak.tomasz@gmail.com> | 2014-06-25 15:59:50 +0200 |
---|---|---|
committer | Tomasz Olszak <olszak.tomasz@gmail.com> | 2014-10-04 22:22:33 +0200 |
commit | 4adb0e0095156d091fc0d37775386bb220533ae8 (patch) | |
tree | 26e16a94939cc7ac08ae1bdde971493b9ba880f1 | |
parent | 65e73ee26936d05f2a6f6d40ddee9e36b8f2d5b7 (diff) | |
download | qtmultimedia-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>
-rw-r--r-- | packaging/qt5-qtmultimedia.spec | 14 |
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 |