Add gio-2.0, mm-common and libtbm to muse-server.pc 77/238377/4 accepted/tizen/unified/20200717.124728 submit/tizen/20200713.225838 submit/tizen/20200716.054500
authorYoungHun Kim <yh8004.kim@samsung.com>
Mon, 13 Jul 2020 06:45:29 +0000 (15:45 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Mon, 13 Jul 2020 07:17:01 +0000 (16:17 +0900)
Change-Id: Ic3dd68aa52f6665f28827e0a3aefc885078b7501

packaging/mused.spec
server/CMakeLists.txt

index 46c02de..7395439 100644 (file)
@@ -52,7 +52,6 @@ Requires: security-config
 Summary:  A Media Daemon library in Tizen (Development)
 Group:    Multimedia/Service
 Requires: %{name} = %{version}-%{release}
-Requires: pkgconfig(libtbm)
 %description devel
 
 %prep
index 54b141a..7418162 100644 (file)
@@ -29,6 +29,8 @@ SET(dependents
     storage
     libsystemd-daemon)
 
+SET(pc_dependents "gio-2.0 mm-common libtbm")
+
 IF(MUSE_USE_RM_READY)
 SET(dependents ${dependents} " mm-resource-manager")
 ENDIF(MUSE_USE_RM_READY)
@@ -81,6 +83,7 @@ INSTALL(
         )
 
 SET(PC_NAME ${MUSE_SERVER})
+SET(PC_REQUIRED ${pc_dependents})
 SET(PC_LDFLAGS -l${MUSE_SERVER})
 SET(PC_CFLAGS -I\${includedir}/media)