├── COPYING.MIT ├── README ├── conf └── layer.conf └── recipes-miracast ├── miraclecast └── miraclecast_git.bb └── wds └── wds_git.bb /COPYING.MIT: -------------------------------------------------------------------------------- 1 | Permission is hereby granted, free of charge, to any person obtaining a copy 2 | of this software and associated documentation files (the "Software"), to deal 3 | in the Software without restriction, including without limitation the rights 4 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 5 | copies of the Software, and to permit persons to whom the Software is 6 | furnished to do so, subject to the following conditions: 7 | 8 | The above copyright notice and this permission notice shall be included in 9 | all copies or substantial portions of the Software. 10 | 11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 12 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 17 | THE SOFTWARE. 18 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | This README file contains information on the contents of the 2 | miracast layer. 3 | 4 | Please see the corresponding sections below for details. 5 | 6 | 7 | Dependencies 8 | ============ 9 | 10 | This layer depends on: 11 | 12 | URI: git://git.openembedded.org/bitbake 13 | branch: master 14 | 15 | URI: git://git.openembedded.org/openembedded-core 16 | layers: meta 17 | branch: master 18 | -------------------------------------------------------------------------------- /conf/layer.conf: -------------------------------------------------------------------------------- 1 | # We have a conf and classes directory, add to BBPATH 2 | BBPATH .= ":${LAYERDIR}" 3 | 4 | # We have recipes-* directories, add to BBFILES 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" 7 | 8 | BBFILE_COLLECTIONS += "miracast" 9 | BBFILE_PATTERN_miracast = "^${LAYERDIR}/" 10 | BBFILE_PRIORITY_miracast = "6" 11 | -------------------------------------------------------------------------------- /recipes-miracast/miraclecast/miraclecast_git.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Connect external monitors to your system via Wifi-Display specification also known \ 2 | as Miracast." 3 | HOMEPAGE = "https://github.com/albfan/miraclecast" 4 | BUGTRACKER = "https://github.com/albfan/miraclecast/issues" 5 | LICENSE = "LGPLv2.1 & GPLv2" 6 | LIC_FILES_CHKSUM = "\ 7 | file://COPYING;md5=7314adf793af1c4ce355355a659e6891 \ 8 | file://LICENSE_htable;md5=2d5025d4aa3495befef8f17206a5b0a1 \ 9 | file://LICENSE_gdhcp;md5=42c8401a5a2eda9c8e4419921d4e8559 \ 10 | file://LICENSE_lgpl;md5=4fbd65380cdd255951079008b364516c \ 11 | " 12 | 13 | DEPENDS = "glib-2.0 gstreamer1.0 systemd" 14 | 15 | inherit autotools bash-completion pkgconfig features_check 16 | 17 | # Miraclecast requires systemd 18 | REQUIRED_DISTRO_FEATURES = "systemd" 19 | 20 | SRC_URI = "git://github.com/albfan/miraclecast.git;protocol=https;branch=master" 21 | SRCREV = "937747fd4de64a33bccf5adb73924c435ceb821b" 22 | 23 | S = "${WORKDIR}/git" 24 | 25 | do_install:append() { 26 | install -Dm 0644 ${S}/res/org.freedesktop.miracle.conf ${D}${sysconfdir}/dbus-1/system.d/org.freedesktop.miracle.conf 27 | install -Dm 0755 ${S}/res/kill-wpa.sh ${D}${bindir}/kill-wpa.sh 28 | install -Dm 0755 ${S}/res/miracle-utils.sh ${D}${bindir}/miracle-utils.sh 29 | install -Dm 0755 ${S}/res/normal-wifi.sh ${D}${bindir}/normal-wifi.sh 30 | install -Dm 0755 ${S}/res/show_wpa.sh ${D}${bindir}/show_wpa.sh 31 | install -Dm 0755 ${S}/res/test-hardware-capabilities.sh ${D}${bindir}/test-hardware-capabilities.sh 32 | install -Dm 0755 ${S}/res/test-viewer.sh ${D}${bindir}/test-viewer.sh 33 | install -Dm 0755 ${S}/res/write-udev-rule.sh ${D}${bindir}/write-udev-rule.sh 34 | } 35 | 36 | PACKAGES =+ "${PN}-resources" 37 | 38 | FILES:${PN} += " \ 39 | ${sysconfdir}/dbus-1/system.d \ 40 | " 41 | FILES:${PN}-resources = " \ 42 | ${bindir}/*.sh \ 43 | " 44 | 45 | RDEPENDS:${PN} += " \ 46 | bash \ 47 | iproute2 \ 48 | gstreamer1.0-libav \ 49 | gstreamer1.0-plugins-bad \ 50 | gstreamer1.0-plugins-base \ 51 | gstreamer1.0-plugins-good \ 52 | python3-core \ 53 | " 54 | 55 | RDEPENDS:${PN}-resources += " \ 56 | bash \ 57 | " 58 | -------------------------------------------------------------------------------- /recipes-miracast/wds/wds_git.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Wireless Display Software For Linux OS (WDS)" 2 | HOMEPAGE = "https://01.org/wds" 3 | BUGTRACKER = "https://github.com/01org/wds/issues" 4 | LICENSE = "LGPL-2.1-only" 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7" 6 | 7 | DEPENDS = "gstreamer1.0 bison-native" 8 | 9 | inherit cmake pkgconfig 10 | 11 | SRCREV = "a488b169d724d6b4cfcd7037dbab1f1c2bf04f3b" 12 | SRC_URI = "git://github.com/01org/wds.git;protocol=https;branch=master" 13 | 14 | S = "${WORKDIR}/git" 15 | 16 | EXTRA_OECMAKE += "-DCMAKE_SKIP_RPATH=ON" 17 | 18 | do_install:append() { 19 | install -Dm 0755 ${B}/desktop_source/desktop-source-test ${D}${bindir}/wds-examples/desktop-source-test 20 | install -Dm 0755 ${B}/libwds/rtsp/tests/test-wds ${D}${bindir}/wds-examples/test-wds 21 | install -Dm 0755 ${B}/mirac_network/gst-test ${D}${bindir}/wds-examples/gst-test 22 | install -Dm 0755 ${B}/mirac_network/network-test ${D}${bindir}/wds-examples/network-test 23 | install -Dm 0755 ${B}/p2p/register-peer-service ${D}${bindir}/wds-examples/register-peer-service 24 | install -Dm 0755 ${B}/p2p/test-ie ${D}${bindir}/wds-examples/test-ie 25 | install -Dm 0755 ${B}/sink/sink-test ${D}${bindir}/wds-examples/sink-test 26 | } 27 | 28 | PACKAGES =+ "${PN}-examples" 29 | FILES:${PN}-examples += "${bindir}/wds-examples/*" 30 | 31 | RDEPENDS:${PN} += " \ 32 | connman-client \ 33 | wpa-supplicant \ 34 | gstreamer1.0-libav \ 35 | gstreamer1.0-plugins-bad \ 36 | gstreamer1.0-plugins-base \ 37 | gstreamer1.0-plugins-good \ 38 | " 39 | --------------------------------------------------------------------------------