1 Name: libmm-scmirroring-common
2 Summary: Multimedia Framework Wifi-Display Common Library
5 Group: System/Libraries
6 License: Apache License 2.0
7 Source0: %{name}-%{version}.tar.gz
8 Requires(post): /sbin/ldconfig
9 Requires(postun): /sbin/ldconfig
10 BuildRequires: pkgconfig(mm-common)
11 BuildRequires: pkgconfig(dlog)
13 BuildRoot: %{_tmppath}/%{name}-%{version}-build
18 Summary: Multimedia Framework Wifi-Display Common library (DEV)
19 Group: Development/Libraries
20 Requires: %{name} = %{version}-%{release}
25 Summary: Multimedia Framework Wifi-Display Common Library (Factory)
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
35 export CFLAGS+=" -Wcast-align"
36 export CFLAGS+=" -Wextra -Wno-array-bounds"
37 export CFLAGS+=" -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow"
38 export CFLAGS+=" -Wwrite-strings -Wswitch-default"
39 export CFLAGS+=" -Wall -Wcast-qual -Wno-empty-body"
40 #export CFLAGS+=" -Werror"
44 # always enable sdk build. This option should go away
45 # to enable context manager add --enable-context-manager in following line
46 # postfix the '--define "sec_product_feature_mmfw_codec_qc 1"' to gbs compilation command to enable QC MSM specific changes. While building for target SCM will automatically take care of it
47 %configure --disable-static
49 # Call make instruction with smp support
55 mkdir -p %{buildroot}/%{_datadir}/license
56 cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}%{_datadir}/license/%{name}
68 %defattr(-,root,root,-)
69 %{_datadir}/license/%{name}
73 %defattr(-,root,root,-)
75 %{_includedir}/mmf/wfdconfigmessage.h
76 %{_libdir}/pkgconfig/*