PROJECT(${fw_name})
-SET(pc_dependents "dlog capi-media-audio-io")
+SET(pc_dependents "dlog")
SET(PC_NAME ${fw_name})
SET(PC_REQUIRED ${pc_dependents})
SET(submodule "recorder")
# for package file
-SET(dependents "dlog mm-camcorder capi-media-audio-io legacy-camera")
+SET(dependents "dlog mm-camcorder legacy-camera")
+SET(dependents2 "capi-media-audio-io")
SET(fw_name "${service}-${submodule}")
+SET(fw_name2 "only_cflags")
PROJECT(${fw_name})
FOREACH(flag ${${fw_name}_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
+pkg_check_modules(${fw_name2} REQUIRED ${dependents2})
+FOREACH(flag2 ${${fw_name2}_CFLAGS})
+ SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag2}")
+ENDFOREACH(flag2)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Wextra -Wno-array-bounds -Wno-empty-body -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-but-set-parameter -Wno-unused-but-set-variable")
SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
SET(service "muse")
SET(submodule "recorder")
-SET(dependents "dlog mused mm-common glib-2.0 capi-media-audio-io")
+SET(dependents "dlog mused mm-common glib-2.0")
SET(fw_name "${service}-${submodule}")
PROJECT(${fw_name})
Name: mmsvc-recorder
Summary: A Recorder module for muse server
Version: 0.2.14
-Release: 0
+Release: 1
Group: Multimedia/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(mm-common)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(mused)
-BuildRequires: pkgconfig(capi-media-tool)
BuildRequires: pkgconfig(capi-media-audio-io)