[Test] update pkg requirement
authorJaeyun <jy1210.jung@samsung.com>
Thu, 25 Oct 2018 04:40:32 +0000 (13:40 +0900)
committerSangjung Woo <again4you@gmail.com>
Thu, 25 Oct 2018 05:56:22 +0000 (14:56 +0900)
add requirement gst-audio to build test apps

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
nnstreamer_example/tizen_app_build_example/CMakeLists.txt
packaging/nnstreamer_testapp.spec

index 4534102..4ef3588 100644 (file)
@@ -6,7 +6,8 @@ OPTION(INSTALL_EXAMPLE_APP "Install example applications" ON)
 
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
 SET(EXEC_PREFIX "${PREFIX}/bin")
-SET(INCLUDEDIR "${PREFIX}/include/${PROJECT_NAME}")
+SET(INCLUDEDIR "${PREFIX}/include/nnstreamer")
+
 IF(LIB_INSTALL_DIR)
 ELSE(LIB_INSTALL_DIR)
     SET(LIB_INSTALL_DIR "${PREFIX}/lib")
@@ -19,10 +20,11 @@ SET(PKGAPP_MODULES
        gstreamer-base-1.0
        gstreamer-controller-1.0
        gstreamer-video-1.0
+       gstreamer-audio-1.0
        gstreamer-app-1.0
 )
 pkg_check_modules(apppkgs REQUIRED ${PKGAPP_MODULES})
 
-ADD_SUBDIRECTORY(../example_sink ${CMAKE_CURRENT_BINARY_DIR}/example_Sink)
+ADD_SUBDIRECTORY(../example_sink ${CMAKE_CURRENT_BINARY_DIR}/example_sink)
 ADD_SUBDIRECTORY(../example_cam ${CMAKE_CURRENT_BINARY_DIR}/example_cam)
 ADD_SUBDIRECTORY(../example_filter ${CMAKE_CURRENT_BINARY_DIR}/example_filter)
index 71a0b26..fced378 100644 (file)
@@ -17,6 +17,7 @@ BuildRequires:        pkg-config
 BuildRequires: pkgconfig(nnstreamer)
 BuildRequires: pkgconfig(gstreamer-1.0)
 BuildRequires: pkgconfig(gstreamer-video-1.0)
+BuildRequires: pkgconfig(gstreamer-audio-1.0)
 BuildRequires: pkgconfig(gstreamer-app-1.0)
 BuildRequires: cmake