From 3f384d30d099f6eea5eb946c3cb0380f0453e2bc Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 14 Feb 2022 18:00:05 -0500 Subject: Rework mediaplayer support to use mpd Rework the mediaplayer support to replace the stubbed out app framework agl-service-mediaplayer binding use with driving mpd (Media Player Daemon) via the libmpdclient library. Local file playback behavior should be equivalent to before in an image with mpd present and suitably configured. Bluetooth AVRCP support is still stubbed out, and will be re-implemented with followup changes. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray Change-Id: Ifdf092b472c271460d0f5e9a8c7d2353904411b2 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index f69e364..678ccaf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,12 +12,14 @@ find_package(PkgConfig REQUIRED) pkg_check_modules(glib REQUIRED IMPORTED_TARGET glib-2.0) pkg_check_modules(bluez_glib REQUIRED IMPORTED_TARGET bluez-glib) pkg_check_modules(connman_glib REQUIRED IMPORTED_TARGET connman-glib) +pkg_check_modules(libmpdclient REQUIRED IMPORTED_TARGET libmpdclient) include(GNUInstallDirs) set(DEST_DIR "${CMAKE_INSTALL_PREFIX}") set(PRIVATE_LIBS "${PRIVATE_LIBS} -lqtappfw-bt -lqtappfw-hvac + -lqtappfw-mediaplayer -lqtappfw-navigation -lqtappfw-network -lqtappfw-weather") @@ -26,6 +28,7 @@ set (SUBDIRS docs bluetooth hvac + mediaplayer navigation network weather) -- cgit 1.2.3-korg