From: Tae-Young Chung Date: Tue, 14 Nov 2017 07:06:59 +0000 (+0900) Subject: Fixed build break because of mesa dependency within emulator X-Git-Tag: accepted/tizen/unified/20171115.174047^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e57fca5212beb71d85a6ee544364f74d6a95da85;p=platform%2Fupstream%2Fopencv.git Fixed build break because of mesa dependency within emulator Change-Id: I30eebeceb127d24e48907b9413a67d679698c177 Signed-off-by: Tae-Young Chung --- diff --git a/packaging/opencv.spec b/packaging/opencv.spec index 054b0c3..459b131 100644 --- a/packaging/opencv.spec +++ b/packaging/opencv.spec @@ -2,12 +2,14 @@ Name: opencv VCS: #e3ca2f3bdcac02e9780c2de7001310a2a61a483e-dirty Summary: OpenCV library Version: 2.4.9 -Release: 15 +Release: 16 Group: Development/Libraries License: BSD-3-Clause and LGPL-2.1+ Source0: %{name}-%{version}.tar.gz +%if "%{_with_emulator}" != "1" BuildRequires: mesa +%endif BuildRequires: cmake BuildRequires: pkg-config BuildRequires: libjpeg-devel