--- /dev/null
+DESCRIPTION = "Waltham is a network IPC library designed to resemble Wayland both protocol and protocol-API wise"
+HOMEPAGE = "https://github.com/waltham/waltham"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://waltham-transmitter/COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70"
+
+SRC_URI[md5sum] = "f1e84f6901f355113fb9328433faef15"
+SRC_URI[sha256sum] = "ba68233c4cf16cebbfa31399ee9dfcf183de36f5183677cfb26fa7e360634b33"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/p/src/weston-ivi-plugins.git;protocol=https;branch=${AGL_BRANCH};subpath=waltham-transmitter/waltham-renderer"
+SRCREV = "<insert sha1>"
+
+inherit autotools pkgconfig
+inherit cmake
+
+DEPENDS += "libdrm virtual/kernel wayland waltham weston gstreamer1.0 gstreamer"
+
+WALTHAM_PIPELINE ?= "pipeline_example_general.cfg"
+WALTHAM_RECIEVER_IP ?= "192.168.1.2"
+WALTHAM_RECEIVER_PORT ?= "3440"
+
+do_install_append () {
+ install -d ${D}/etc/xdg/weston/
+ install ${S}/${WALTHAM_PIPELINE} ${D}/etc/xdg/weston/pipeline.cfg
+ sed -i -e "s#YOUR_RECIEVER_IP#${WALTHAM_RECEIVER_IP}#g" ${D}/etc/xdg/weston/pipeline.cfg
+ sed -i -e "s#YOUR_RECIEVER_PORT#${WALTHAM_RECEIVER_PORT}#g" ${D}/etc/xdg/weston/pipeline.cfg
+
+}
+
+FILES_${PN} += "/etc/xdg/weston/*.cfg"S = "${WORKDIR}/git"
+
+FILES_${PN}-dbg += "${libdir}/weston/.dbg/*"
+FILES_${PN}-dbg += "{libdir}/libweston-2/.dbg/*"
\ No newline at end of file
HOMEPAGE = "https://github.com/waltham/waltham"
LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://waltham-transmitter/COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70"
+LIC_FILES_CHKSUM = "file://waltham-transmitter/COPYING;md5=f21c9af4de068fb53b83f0b37d262ec3"
-SRCREV = "${AUTOREV}"
-SRC_URI = "ssh://wmizuno@gerrit.automotivelinux.org:29418/src/weston-ivi-plugins.git \
- "
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/p/src/weston-ivi-plugins.git;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "d38b138897558aa5ddd3baf654c4511d3c135428"
S = "${WORKDIR}/git"
DEPENDS += "libdrm virtual/kernel wayland waltham weston gstreamer1.0 gstreamer"
+WALTHAM_PIPELINE ?= "waltham-transmitter/waltham-renderer/pipeline_example_general.cfg"
+WALTHAM_RECIEVER_IP ?= "192.168.1.2"
+WALTHAM_RECEIVER_PORT ?= "3440"
+
+do_install_append () {
+ install -d ${D}/etc/xdg/weston/
+ install ${S}/${WALTHAM_PIPELINE} ${D}/etc/xdg/weston/pipeline.cfg
+
+ sed -i -e "s/YOUR_RECIEVER_IP/${WALTHAM_RECIEVER_IP}/g" ${D}/etc/xdg/weston/pipeline.cfg
+ sed -i -e "s/YOUR_RECIEVER_PORT/${WALTHAM_RECEIVER_PORT}/g" ${D}/etc/xdg/weston/pipeline.cfg
+
+}
+
+FILES_${PN} += "/etc/xdg/weston/*.cfg"S = "${WORKDIR}/git"
+
FILES_${PN} += "*"
FILES_${PN}-dbg += "${libdir}/weston/.dbg/*"