usbhost api: disable Tizen usb host apicodes on TV profile 16/83616/1 submit/tizen/20160905.095524 submit/tizen/20160913.050320
authortaeyoung <ty317.kim@samsung.com>
Fri, 12 Aug 2016 04:22:59 +0000 (13:22 +0900)
committertaeyoung <ty317.kim@samsung.com>
Fri, 12 Aug 2016 04:54:57 +0000 (13:54 +0900)
- TV profile does not support Tizen usbhost api.
  Thus the codes related with it are removed on TV profile.

Change-Id: Id38ea19827b73ee345cbff43cfc0a4cc347773a1
Signed-off-by: taeyoung <ty317.kim@samsung.com>
packaging/libusb.spec

index da4d5d9..b3430f5 100644 (file)
@@ -10,7 +10,9 @@ Source1:        baselibs.conf
 Source1001:    libusb.manifest
 BuildRequires:  pkg-config
 BuildRequires:  systemd-devel
+%if "%{?profile}" != "tv"
 BuildRequires:  pkgconfig(deviced)
+%endif
 
 %description
 Libusb is a library that allows userspace access to USB devices.
@@ -31,8 +33,10 @@ cp %{SOURCE1001} .
 %build
 %reconfigure\
        --with-pic\
-       --disable-static\
-       --enable-deviced
+%if "%{?profile}" != "tv"
+       --enable-deviced\
+%endif
+       --disable-static
 make %{?_smp_mflags}
 
 %install