summaryrefslogtreecommitdiffstats
path: root/meta-agl-core/recipes-graphics/wayland/waltham-transmitter-plugin.bb
blob: 734fadf6f49cd3937557082446ffbef23a6f09a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Waltham transmitter is a libweston plug-in that adds support for receiving input events from a surface streamed on a remote output"
HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/src/waltham-transmitter-plugin.git"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=f21c9af4de068fb53b83f0b37d262ec3"

DEPENDS += "wayland wayland-native waltham weston"

SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/waltham-transmitter-plugin.git;protocol=https;branch=${AGL_BRANCH}"
AGL_BRANCH:aglnext = "next"
SRCREV = "d64b99a999fcc17322393782fe802122fd963ced"
SRCREV:aglnext = "${AUTOREV}"

S = "${WORKDIR}/git"

inherit meson pkgconfig python3native

FILES:${PN} += "${libdir}/*"
FILES:${PN} += "${bindir}/*"
="n">AFB_DEBUG ("Power Set to Off"); } return NULL; } // Map HAL hight sndctl with Alsa numid and optionally with a custom callback for non Alsa supported functionalities. STATIC alsaHalMapT alsaHalMap[]= { { .alsa={.control=Master_Playback_Volume,.numid=16, .name="Master-Vol" , .values=1,.minval=0,.maxval= 87 ,.step=0}, .info= "Master Playback Volume" }, { .alsa={.control=PCM_Playback_Volume ,.numid=27, .name="Play-Vol" , .values=2,.minval=0,.maxval= 255,.step=0}, .info= "PCM Playback Volume" }, { .alsa={.control=PCM_Playback_Switch ,.numid=17, .name="Play-Switch" , .values=1,.minval=0,.maxval= 1 ,.step=0}, .info= "Master Playback Switch" }, { .alsa={.control=Capture_Volume ,.numid=12, .name="Capt-vol" , .values=2,.minval=0,.maxval= 31 ,.step=0}, .info= "Capture Volume" }, { .alsa={.control=Master_OnOff_Switch ,.numid=99, .name="Power-Switch"}, .cb={.callback=MasterOnOff, .handle=NULL}, .info= "OnOff Global Switch"}, { .alsa={.numid=0}, .cb={.callback=NULL, .handle=NULL}} /* marker for end of the array */ } ; // HAL sound card mapping info STATIC alsaHalSndCardT alsaHalSndCard = { .name = "Scarlett 18i8 USB", // WARNING: name MUST match with 'aplay -l' .info = "Hardware Abstraction Layer for Scarlett Focusrite USB professional music sound card", .ctls = alsaHalMap, }; STATIC int sndServiceInit () { int err; AFB_DEBUG ("IntelHalBinding Init"); err = halServiceInit (afbBindingV2.api, &alsaHalSndCard); return err; } // API prefix should be unique for each snd card PUBLIC const struct afb_binding_v2 afbBindingV2 = { .api = "scarlett-usb", .init = sndServiceInit, .verbs = halServiceApi, .onevent = halServiceEvent, };