summaryrefslogtreecommitdiffstats
path: root/meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-06-09 23:11:58 +0200
committerbuild.automotivelinux.org <jenkins@automotivelinux.org>2019-06-11 15:42:20 +0200
commit910541b2b933f4a437ea83ec3ec19242a41a3630 (patch)
tree4522d3b2b1ecf771b712f8478118ed84e8e49974 /meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins
parent5e28b182790ce38cb769949a5f2f9c649b6978c6 (diff)
Supporting commits for the switch to pipewire
We move all components around meta-audio-soundmanager-framework to that layer (still kept on request). We deprecate the meta-audio-4a-framework layer for Happy Halibut. Bug-AGL: SPEC-2473 Change-Id: I2a7c9d815801a3f8ea80943165ea6fd1422533ea Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins')
-rw-r--r--meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins/audiomanager-plugins_git.bb60
1 files changed, 60 insertions, 0 deletions
diff --git a/meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins/audiomanager-plugins_git.bb b/meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins/audiomanager-plugins_git.bb
new file mode 100644
index 00000000..9b099ebc
--- /dev/null
+++ b/meta-audio-soundmanager-framework/recipes-multimedia/audiomanager-plugins/audiomanager-plugins_git.bb
@@ -0,0 +1,60 @@
+DESCRIPTION = "GENIVI Audio Manager Plugins"
+HOMEPAGE = "http://projects.genivi.org/audio-manager/home"
+LICENSE = "MPLv2"
+SECTION = "multimedia"
+DEPENDS = "audiomanager libxml2 dbus pulseaudio"
+
+LIC_FILES_CHKSUM = "file://PluginControlInterfaceGeneric/LICENSE.txt;md5=815ca599c9df247a0c7f619bab123dad"
+
+SRC_URI = " \
+ git://github.com/tisogai/AudioManagerPlugins.git;protocol=https;branch=unknown_element_support \
+ "
+
+SRCREV = "bf5c5e8198b85e84363770150d5a02f553f43296"
+
+S = "${WORKDIR}/git"
+inherit cmake
+OECMAKE_CXX_FLAGS += "-std=c++11"
+EXTRA_OECMAKE = " \
+ -DWITH_COMMAND_INTERFACE_CAPI=OFF \
+ -DWITH_COMMAND_INTERFACE_DBUS=ON \
+ -DWITH_ROUTING_INTERFACE_ASYNC=OFF \
+ -DWITH_ROUTING_INTERFACE_CAPI=OFF \
+ -DWITH_ROUTING_INTERFACE_DBUS=ON \
+ -DWITH_TEST_CONTROLLER=OFF \
+ -DWITH_GENERIC_CONTROLLER=ON \
+ -DCONTROLLER_CONFIG_DIR="/etc/audiomanager/control" \
+"
+
+# NOTE: The specific product should have a separate customtypes.xsd
+# and should be appended to FILES_${PN} in product specific
+# audiomanager-generic-controller_git.bbappend
+FILES_${PN} = " \
+ ${libdir}/audiomanager/control/libPluginControlInterfaceGeneric.so \
+ ${sysconfdir}/audiomanager/control/audiomanagertypes.xsd \
+ ${libdir}/audiomanager/command/libPluginCommandInterfaceDbus.so \
+ ${libdir}/audiomanager/routing/libPluginRoutingInterfaceDbus.so \
+ /usr/share/audiomanager/audiomanager/CommandInterface.xml \
+ /usr/share/audiomanager/audiomanager/RoutingReceiver.xml \
+"
+
+# NOTE: The specific product should have a separate customtypes.h
+# and should be appended to FILES_${PN}-dev in product specific
+# audiomanager-generic-controller_git.bbappend
+FILES_${PN}-dev = " \
+ ${sysconfdir}/audiomanager/control/xsd2header.pl \
+"
+
+FILES_${PN}-dbg += " \
+ ${libdir}/audiomanager/control/.debug/libPluginControlInterfaceGeneric.so \
+ ${libdir}/audiomanager/command/.debug/libPluginCommandInterfaceDbus.so \
+ ${libdir}/audiomanager/routing/.debug/libPluginRoutingInterfaceDbus.so \
+"
+
+# remove example configurations
+do_install_append() {
+ rm -rf ${D}${sysconfdir}/audiomanager/control/*.xml
+ rm -rf ${D}${sysconfdir}/audiomanager/control/customtypes.xsd
+}
+
+RDEPENDS_${PN} = "virtual/audiomanager-plugins-config"