Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Add recipe to build uio pruss test firmware
DESCRIPTION = "Provides test pruss firmware for uio based tests" LICENSE = "BSD-3-Clause" PV = "1.0.0.0" require recipes-ti/includes/ti-paths.inc S = "${WORKDIR}/git" DEPENDS = "ti-cgt-pru-native" BRANCH = "master" SRC_URI = "git://git.ti.com/processor-sdk/uio-test-pruss.git;protocol=git;branch=${BRANCH}" LIC_FILES_CHKSUM = "file://Makefile;startline=1;endline=31;md5=0ee4f2c42eb6b04e37859bb55a18b144" # Corresponds to version 01.00.00.00 SRCREV = "f04b91b84331c9a12c897e4eb2836a0a3e3a5fae" COMPATIBLE_MACHINE = "am57xx" EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR}" do_install() { install -d ${D}${bindir}/ cp -r *.bin ${D}${bindir}/ }
Add AUFS Utils for ver 3> kernels.
DESCRIPTION = "Userspace utilites for aufs3" DEPENDS = "virtual/kernel" PR = "r2" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" PACKAGE_ARCH = "${MACHINE_ARCH}" SRCREV = "a953b0218667e06b722f4c41df29edacd8dc8e1f" SRC_URI = "git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util.git;branch=aufs3.0;protocol=http" S = "${WORKDIR}/git" CFLAGS_prepend = "-I${WORKDIR}/user_headers/include " EXTRA_OEMAKE = "KDIR=${WORKDIR}/user_headers DESTDIR=${D} HOSTCC=${BUILD_CC}" do_prepheaders() { # START MASSIVE 'MAYBE' HACK: # Stage the userspace headers from our kernel WITH AUFS3 so we can use the tweaked userspace headers. cd ${STAGING_KERNEL_DIR} make headers_install INSTALL_HDR_PATH=${WORKDIR}/user_headers # STOP MASSIVE 'MAYBE' HACK: } addtask prepheaders after do_configure before do_compile do_install () { install -d ${D}/${base_sbindir} install -m 0755 mount.aufs umount.aufs auplink ${D}/${base_sbindir} install -d ${D}/${base_bindir} install -m 0755 auchk aubrsync ${D}/${base_bindir} install -d ${D}/${sysconfdir}/default install -m 0644 -T etc_default_aufs ${D}/${sysconfdir}/default/aufs }
Add a bitbake recipe to build bolt
SUMMARY = "Go package providing a key/value store" HOMEPAGE = "https://github.com/boltdb/bolt" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=13b2a308eefa10d841e3bf2467dbe07a" DEPENDS += "golang-cross" PKG_NAME = "github.com/boltdb/bolt" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "be4e606bc48012421bc90eda58a8aad7a95aaf83" S = "${WORKDIR}/git" do_compile() { #Setting up a symlink to have bolt in a directory go can work with cd ${S} rm -rf .gopath mkdir -p .gopath/src/$(dirname ${PKG_NAME}) ln -sf ../../../../ .gopath/src/${PKG_NAME} #Setting up go variables export GOPATH=${S}/.gopath export GOBIN=${S}/.gopath/bin export GOARCH="${TARGET_ARCH}" # supported amd64, 386, arm if [ "${TARGET_ARCH}" = "x86_64" ]; then export GOARCH="amd64" fi go install github.com/boltdb/bolt/cmd/bolt ls $GOPATH } do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} install -d ${D}${prefix}/bin cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ cp -a ${S}/.gopath/bin/* ${D}${prefix}/bin/ } SYSROOT_PREPROCESS_FUNCS += "bolt_sysroot_preprocess" bolt_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) install -d ${SYSROOT_DESTDIR}${prefix}/bin cp -a ${D}${prefix}/bin/* ${SYSROOT_DESTDIR}${prefix}/bin/ } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/* ${prefix}/bin/*"
Create directory before installation of files
SUMMARY = "SysV init scripts for Amlogic framebuffer set-up" DESCRIPTION = "Provides basic set-up for the amlogic framebuffer" SECTION = "base" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" PR = "r1" INHIBIT_DEFAULT_DEPS = "1" RDEPENDS_${PN} = "initscripts" SRC_URI = " \ file://amlsetfb.sh \ file://aaa.sh \ file://GPLv2.patch \ " COMPATIBLE_MACHINE = "(odroidc1|wetekplay)" RDEPENDS_${PN}_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'fb', 'fbset fbset-modes', '', d)}" do_install() { if ${@bb.utils.contains('MACHINE_FEATURES','fb','true','false',d)}; then install -m 0755 ${WORKDIR}/amlsetfb.sh ${D}${sysconfdir}/init.d/amlsetfb.sh install -m 0755 ${WORKDIR}/aaa.sh ${D}${sysconfdir}/init.d/aaa.sh update-rc.d -r ${D} amlsetfb.sh start 03 S . update-rc.d -r ${D} aaa.sh start 0 S . fi }
SUMMARY = "SysV init scripts for Amlogic framebuffer set-up" DESCRIPTION = "Provides basic set-up for the amlogic framebuffer" SECTION = "base" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" PR = "r1" INHIBIT_DEFAULT_DEPS = "1" RDEPENDS_${PN} = "initscripts" SRC_URI = " \ file://amlsetfb.sh \ file://aaa.sh \ file://GPLv2.patch \ " COMPATIBLE_MACHINE = "(odroidc1|wetekplay)" RDEPENDS_${PN}_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'fb', 'fbset fbset-modes', '', d)}" do_install() { if ${@bb.utils.contains('MACHINE_FEATURES','fb','true','false',d)}; then install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/amlsetfb.sh ${D}${sysconfdir}/init.d/amlsetfb.sh install -m 0755 ${WORKDIR}/aaa.sh ${D}${sysconfdir}/init.d/aaa.sh update-rc.d -r ${D} amlsetfb.sh start 03 S . update-rc.d -r ${D} aaa.sh start 0 S . fi }
Add bitbake recipe to build scada-client
SUMMARY = "Golang client for the HashiCorp SCADA service" HOMEPAGE = "https://github.com/hashicorp/scada-client" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=65d26fcc2f35ea6a181ac777e42db1ea" DEPENDS = "net-rpc-msgpackrpc yamux go-metrics" PKG_NAME = "github.com/hashicorp/scada-client" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "c26580cfe35393f6f4bf1b9ba55e6afe33176bae" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "scada_client_sysroot_preprocess" scada_client_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
Add BLE applications for WILC
SUMMARY = "Bluetooth Connectivity Application" DESCRIPTION = "The example is to demonstrate BLE provisioning and BLE \ Transparent Services. \ the application is written using the BlueZ GATT service and it \ enables the WILC to host two GATT services, \ 1) transparent service 2) WiFi provisioning service \ The Microchip MBD application can be used to connect to WILC \ and transact BLE data through these BLE applications" AUTHOR = "Microchip Technology Inc" SECTION = "examples" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=2aadfbb30f3dc663d0c881ccb240fc4c" DEPENDS = "bluez5 wilc-demo-fs-overlay" SRC_URI = "git://github.com/MicrochipTech/wilcbtapps-buildroot-external-microchip.git;protocol=git" SRCREV = "ef37a75f4105289c12c83849e2b85112a78f81a2" S = "${WORKDIR}/git" do_compile () { ${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} -Wall \ -std=gnu11 -g -D_REENTRANT -static -I${STAGING_INCDIR}/bluez5_utils \ -L ${STAGING_LIBDIR}/bluez5_utils/lib transparent_service.c \ -o transparent_service -lshared-mainloop -lbluetooth-internal \ -lgdbus-internal -lc ${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} -Wall \ -std=gnu11 -g -D_REENTRANT -static -I${STAGING_INCDIR}/bluez5_utils \ -L ${STAGING_LIBDIR}/bluez5_utils/lib wifi_prov_service.c \ -o wifi_prov_service -lshared-mainloop -lbluetooth-internal \ -lgdbus-internal -lc } do_install () { install -d ${D}${bindir} install -m 0755 transparent_service ${D}${bindir} install -m 0755 wifi_prov_service ${D}${bindir} } PACKAGE_ARCH = "${MACHINE_ARCH}" FILES_${PN} += "${bindir}/transparent_service" FILES_${PN} += "${bindir}/wifi_prov_service" COMPATIBLE_MACHINE = "(at91sam9|sama5)"
Add recipe for libnet-telnet-perl package
SUMMARY = "Perl module to script telnetable connections" DESCRIPTION = "\ Net::Telnet allows you to make client connections to a TCP port and \ do network I/O, especially to a port using the TELNET protocol. \ Simple I/O methods such as print, get, and getline are provided. \ More sophisticated interactive features are provided because \ connecting to a TELNET port ultimately means communicating with a \ program designed for human interaction. These interactive features \ include the ability to specify a timeout and to wait for patterns to \ appear in the input stream, such as the prompt from a shell. \ " HOMEPAGE = "https://metacpan.org/release/Net-Telnet/" PR = "r0" inherit debian-package LICENSE = "Artistic-1.0 | GPL-1+" LIC_FILES_CHKSUM = "\ file://lib/Net/Telnet.pm;beginline=3;endline=5;md5=595feda9e8536d0a35f71ad7c693e4f2" inherit cpan
Add new release if gpe-dm.
LICENSE = "GPL" inherit gpe DESCRIPTION = "GPE user login screen" SECTION = "gpe" PRIORITY = "optional" MAINTAINER = "Philip Blundell <pb@handhelds.org>" DEPENDS = "gtk+ libgpewidget gpe-ownerinfo xkbd" RDEPENDS = "xkbd" RPROVIDES = "gpe-session-starter" PR = "r0"
Add new recipe Create recipe to buils libtext-iconv-perl from Debian's source code
# base recipe: http://cgit.openembedded.org/cgit.cgi/meta-openembedded/\ #tree/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb?h=master # base branch: master SUMMARY = "Perl interface to iconv() codeset conversion function" DESCRIPTION = "\ The Text::Iconv module provides a Perl interface to the iconv() \ function as defined by the Single UNIX Specification. The convert() \ method converts the encoding of characters in the input string from \ the fromcode codeset to the tocode codeset, and returns the result. \ Settings of fromcode and tocode and their permitted combinations are \ implementation-dependent. Valid values are specified in the system \ documentation." PR = "r0" inherit debian-package LICENSE = "Artistic-1.0 | GPL-1.0+" LIC_FILES_CHKSUM = "file://README;beginline=3;endline=6;md5=fadf2919c7128e887d26b4d905f90649" inherit cpan FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Text/Iconv/.debug/"
Add new libisi recipe (libisi can talk to the nokia900 modem)
DESCRIPTION = "libisi is a library implementing the PhoNet protocol" SECTION = "libs/network" AUTHOR = "Sebastian Reichel <sre@ring0.de>" LICENSE = "GPLv2" DEPENDS = "glib-2.0" SRC_URI = "${FREESMARTPHONE_GIT}/libisi.git;protocol=git;branch=master" SRCREV = "49809e4107fac3c8cf5f1e3ffce37030213e7e99" PV = "0.0.0+gitr${SRCPV}" inherit pkgconfig vala autotools EXTRA_OECONF = "--enable-tests" S = "${WORKDIR}/git" PACKAGES =+ "${PN}-tests" FILES_${PN}-tests = "${sbindir}/*" DESCRIPTION_${PN}-tests = "${PN} runtime tests"
Add recipe for AWS IoT Device JavaScript SDK
DESCRIPTION = "AWS IoT Node.js SDK for Embedded Devices" HOMEPAGE = "https://github.com/aws/aws-iot-device-sdk-js" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1431d1446b43adc38d1445e89c8b61ff" DEPENDS = "nodejs" RDEPENDS_${PN} = "bash nodejs" SRC_URI = "https://github.com/aws/${PN}/archive/v${PV}.tar.gz" SRC_URI[md5sum] = "10c5d6ac1a00bab24d43e83f01a4ee44" SRC_URI[sha256sum] = "3f6dcbd0c394d4ae8e37731aba7a1454f19a70e84d1d9477cf93de48fb27cc9e" PR = "r0" S = "${WORKDIR}/${PN}-${PV}" NODE_MODULES_DIR = "${prefix}/lib/node_modules" NPM_CACHE_DIR ?= "${WORKDIR}/npm_cache" NPM_REGISTRY ?= "https://registry.npmjs.org/" NPM_INSTALL_FLAGS = "--production" do_compile() { export NPM_CONFIG_CACHE="${NPM_CACHE_DIR}" # Clear cache npm cache clear npm --registry=${NPM_REGISTRY} --arch=${TARGET_ARCH} --target_arch=${TARGET_ARCH} install npm prune ${NPM_INSTALL_FLAGS} } do_install() { install -d ${D}${NODE_MODULES_DIR}/aws-iot-device-sdk cp -r * ${D}${NODE_MODULES_DIR}/aws-iot-device-sdk } PACKAGES = "${PN}" FILES_${PN} += "${NODE_MODULES_DIR}" INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
Add recipe for iptop package
SUMMARY = "Simple top-like I/O monitor" DESCRIPTION = "iotop does for I/O usage what top(1) does for CPU usage. \ It watches I/O usage information output by the Linux kernel and displays \ a table of current I/O usage by processes on the system." HOMEPAGE = "http://guichaz.free.fr/iotop/" PR = "r0" inherit debian-package LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" inherit distutils #Empty DEBIAN_QUILT_PATCHES to avoid error "debian/patches not found" DEBIAN_QUILT_PATCHES = "" do_install_append() { rm ${D}${libdir}/python2.7/site-packages/${DPN}/*.pyc }
Add recipe to build from sakoman.com u-boot repository
require u-boot.inc FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-sakoman-git/" SRCREV = ${AUTOREV} PV = "2010.9+${PR}+git${SRCREV}" SRC_URI = "git://www.sakoman.com/git/u-boot.git;branch=omap4-exp;protocol=git \ " S = "${WORKDIR}/git"
Add TI thermostat demo v2
DESCRIPTION = "Qt Thermostat Demo" HOMEPAGE = "https://gitorious.org/thermostat-demo" LICENSE = "BSD & CC-BY-SA-2.0 & CC-BY-SA-3.0 & MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=93a105adb99011afa5baee932b560714 \ file://IMAGE-LICENSE;md5=fce98146123de13a189c234a5e4cfa0d \ file://API-LICENSE;md5=5e32280d79a1eab76729c50d79ecfe72 \ file://remote/MIT-LICENSE.txt;md5=6a24093faaae5d5c198578c88e220071 \ " require recipes-core/matrix/matrix-gui-paths.inc PR = "r0" BRANCH ?= "master" SRCREV = "2f461242d469871538e6cd05e887457674347e8f" SRC_URI = "git://gitorious.org/thermostat-demo/thermostat-demo.git;protocol=git" S = "${WORKDIR}/git/" inherit qt4e # use the make targets already created in the Makefile.build files do_install() { make -f Makefile.build DESTDIR=${D} install_common } PACKAGES += "matrix-gui-thermostat-demo" RDEPENDS_matrix-gui-thermostat-demo += "matrix-gui-apps-images matrix-gui-submenus-qt4" FILES_matrix-gui-thermostat-demo += "${MATRIX_APP_DIR}/*"
Add headers for raspberrypi kernel
require recipes-kernel/linux-libc-headers/linux-libc-headers.inc PR = "r0" PROVIDES = "linux-libc-headers" RPROVIDES_${PN}-dev = "linux-libc-headers-dev" RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg" SRCREV = "10182a3bc434b27740f81c2b836a1af943060241" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \ " S = "${WORKDIR}/git"
Add Recipe for android make-ext4fs tool
# Copyright (C) 2016 Khem Raj <raj.khem@gmail.com> # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "Standalone fork of Android's make_ext4fs utility" HOMEPAGE = "https://git.openwrt.org/?p=project/make_ext4fs.git;a=summary" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://NOTICE;md5=bb2810bf31da2f6bb39e0bfa86091da3" SECTION = "tools" DEPENDS = "zlib" SRCREV = "bd53eaafbc2a89a57b8adda38f53098a431fa8f4" SRC_URI = "git://git.openwrt.org/project/make_ext4fs.git \ " S = "${WORKDIR}/git" B = "${S}" CFLAGS += "-I${S}/include -I${S}/libsparse/include" do_install() { install -Dm 0755 ${B}/make_ext4fs ${D}${bindir}/make_ext4fs }
Add a bitbake recipe to build the go library dns
SUMMARY = "A Go DNS library with a granular approach" HOMEPAGE = "https://github.com/miekg/dns" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=147353de6868a20caa562d26eab7b3c5" PKG_NAME = "github.com/miekg/dns" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "7864d445e5087e8d761dbefec43f29b92f7650eb" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "dns_sysroot_preprocess" dns_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
Add recipe for libparams-validate-perl package
SUMMARY = "Perl module to validate parameters to Perl method/function calls" DESCRIPTION = "\ Params::Validate is a Perl module providing a flexible way to validate method \ and function call parameters. The validation can be as simple as checking for \ the presence of required parameters, or more complex, like validating object \ classes (via isa) or capabilities (via can) and checking parameter types. It \ also provides extensibility through customized validation callbacks. \ . \ The module has been designed to work equally well with positional or named \ parameters (via a hash or hash reference) and includes experimental support \ for attributes (see Attribute::Params::Validate for details). \ " HOMEPAGE = "https://metacpan.org/release/Params-Validate" PR = "r0" inherit debian-package LICENSE = "Artistic-2.0" LIC_FILES_CHKSUM = "\ file://LICENSE;md5=4e73e61c349000cce50c5f285641fdd4" inherit cpan_build DEBIAN_QUILT_PATCHES = "" do_install_append() { perl_version=${PERLVERSION} short_perl_version=`echo ${perl_version%.*}` install -d ${D}${libdir}/perl5/$short_perl_version mv ${D}${libdir}/perl/vendor_perl/${PERLVERSION}/* \ ${D}${libdir}/perl5/$short_perl_version } FILES_${PN} += "${libdir}/*" FILES_${PN}-dbg += "${libdir}/perl5/*/auto/Params/Validate/XS/.debug"
Add new recipe for liburcu package
# # Base recipes: recipes-support/liburcu/liburcu_0.8.7.bb # Base bracnh: jethro # SUMMARY = "Userspace RCU (read-copy-update) library" HOMEPAGE = "http://lttng.org/urcu" BUGTRACKER = "http://lttng.org/project/issues" PR = "r0" inherit debian-package autotools LICENSE = "LGPLv2.1+ & MIT-style" LIC_FILES_CHKSUM = "file://LICENSE;md5=0f060c30a27922ce9c0d557a639b4fa3 \ file://urcu.h;beginline=4;endline=32;md5=4de0d68d3a997643715036d2209ae1d9 \ file://urcu/uatomic/x86.h;beginline=4;endline=21;md5=220552f72c55b102f2ee35929734ef42" CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE" # Correct the package name PKG_${PN} = "${PN}2"
Add RTOS package for CPPI LLD
inherit ti-pdk require cppi-lld.inc PR = "${INC_PR}.0" DEPENDS_append = " rm-lld-rtos \ qmss-lld-rtos \ " XDCARGS_k2hk-evm = "k2h k2k" XDCARGS_k2e-evm = "k2e" XDCARGS_k2l-evm = "k2l" XDCARGS_k2g-evm = "k2g"
Add recipe for zeromq3 package
SUMMARY = "lightweight messaging kernel" DESCRIPTION = "\ ØMQ is a library which extends the standard socket interfaces with features \ traditionally provided by specialised messaging middleware products. \ ØMQ sockets provide an abstraction of asynchronous message queues, multiple \ messaging patterns, message filtering (subscriptions), seamless access \ to multiple transport protocols and more." HOMEPAGE = "http://www.zeromq.org" PR = "r0" inherit debian-package pkgconfig LICENSE = "GPLv3+ & LGPLv3+ & MIT" LIC_FILES_CHKSUM = "\ file://COPYING;md5=f7b40df666d41e6508d03e1c207d498f \ file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1 \ file://debian/zmq.hpp;md5=388ddb07fdd88b040769e8f4c9b397fa \ " EXTRA_OECONF += "--with-system-pgm" DEPENDS += "libpgm" inherit autotools #install follow Debian jessie do_install_append() { rm -r ${D}${bindir} rm ${D}${libdir}/libzmq.la install -m 0644 ${S}/debian/zmq.hpp ${D}${includedir}/ } PKG_${PN}-dbg = "libzmq3-dbg" PKG_${PN}-dev = "libzmq3-dev"
Add recipe for eventlog package
# # base recipe: http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree\ # /meta-oe/recipes-support/eventlog/eventlog_0.2.13.bb? # base branch: master # base commit: 349507d36b14d1b83d2b27280ec19efe6d7229c6 # SUMMARY = "Replacement syslog API" DESCRIPTION = "The EventLog library aims to be a replacement of the \ simple syslog() API provided on UNIX systems. The \ major difference between EventLog and syslog is that \ EventLog tries to add structure to messages. EventLog \ provides an interface to build, format and output an \ event record. The exact format and output method can \ be customized by the administrator via a configuration \ file. his package is the runtime part of the library. \ " PR = "r0" inherit debian-package LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=b8ba8e77bcda9a53fac0fe39fe957767" inherit autotools pkgconfig
Add SDK recipe for bsp-image
require recipes-sato/images/core-image-sato-sdk.bb IMAGE_INSTALL += " \ gst-plugins-base-videorate \ gst-plugins-good \ gst-plugins-good-isomp4 \ gst-plugins-good-video4linux2 \ gst-plugins-bad \ gst-plugins-bad-asfmux \ gst-plugins-bad-fbdevsink \ gst-plugins-bad-h264parse \ gst-plugins-bad-faad \ gst-plugins-bad-videoparsersbad \ gst-plugins-ugly \ gst-plugins-ugly-asf \ gst-openmax \ libdrm-kms \ alsa-utils alsa-tools \ "
Add a copy of gmp for use in Canadian builds
PV = "4.2.4" require gmp_${PV}.bb FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gmp-${PV}" S = "${WORKDIR}/gmp-${PV}" inherit canadian-native # darwin 'hacks' EXTRA_OECONF_build-darwin = " --enable-shared " OLD_STAGING := "${STAGING_BINDIR}" OLD_TARGET := "${TARGET_SYS}" OLD_HOST := "${HOST_SYS}" OLD_BUILD := "${BUILD_SYS}" PATH_prepend_build-darwin = "${OLD_STAGING}/${OLD_HOST}:${OLD_STAGING}:" TARGET_SYS_build-darwin = "none-apple-darwin" HOST_SYS_build-darwin = "none-apple-darwin" BUILD_SYS_build-darwin = "none-apple-darwin" do_compile_append_build-darwin() { oe_runmake check }
Add rtos recipe for spi-lld
SUMMARY = "TI RTOS low level driver for Serial Peripheral Interface (SPI)" inherit ti-pdk LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://SPI.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d13518cf18a0122b8" COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1" PACKAGE_ARCH = "${MACHINE_ARCH}" SPI_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/spi-lld.git" SPI_LLD_GIT_PROTOCOL = "git" SPI_LLD_GIT_BRANCH = "master" # Below commit ID corresponds to "DEV.SPI_LLD.01.00.00.07A" SPI_LLD_SRCREV = "d37daaf3a922e893fe845d44324393994321d443" BRANCH = "${SPI_LLD_GIT_BRANCH}" SRC_URI = "${SPI_LLD_GIT_URI};protocol=${SPI_LLD_GIT_PROTOCOL};branch=${BRANCH}" SRCREV = "${SPI_LLD_SRCREV}" PV = "01.00.00.07A" PR = "r0" DEPENDS_append = " osal-rtos \ edma3-lld-rtos \ " DEPENDS_append_ti33x = " starterware-rtos" DEPENDS_append_ti43x = " starterware-rtos" # Build with make instead of XDC TI_PDK_XDCMAKE = "0" export PDK_SPI_ROOT_PATH ="${WORKDIR}/build" export DEST_ROOT="${S}" export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}" XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages" # HTML doc link params PDK_COMP_LINK_TEXT = "SPI LLD"
Add recipe for libdmx package
SUMMARY = "X11 Distributed Multihead extension library" DESCRIPTION = "\ libdmx is an interface to the DMX extension for X, which allows a single \ server to be set up as a proxy spanning multiple servers -- not unlike \ Xinerama across discrete physical machines. It can be reconfigured \ on the fly to change the layout, and it is presented as a single logical \ display to clients. \ " PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "\ file://COPYING;md5=a3c3499231a8035efd0e004cfbd3b72a" inherit autotools pkgconfig # Debian's source code isn't contains patch file DEBIAN_PATCH_TYPE = "nopatch" DEPENDS += "util-macros x11proto-dmx libxext" do_install_append() { #remove the unwanted files rm ${D}${libdir}/*.la } PKG_${PN}-dbg = "${PN}1-dbg" RDEPENDS_${PN}-dev += "x11proto-dmx-dev libx11-dev"
Add recipe for AWS IoT Device Python SDK
DESCRIPTION = "The AWS IoT Device SDK for Python allows developers to write Python script to use their devices to access the AWS IoT platform through MQTT or MQTT over the WebSocket protocol." HOMEPAGE = "https://github.com/aws/aws-iot-device-sdk-python" AUTHOR = "Amazon Web Services" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9ac49901b833e769c7d6f21e8dbd7b30" inherit setuptools PR = "r0" RDEPENDS_${PN} = "\ " PACKAGES = "${PN} ${PN}-samples" SRC_NAME = "aws-iot-device-sdk-python" SRC_URI = "https://github.com/aws/${SRC_NAME}/archive/v${PV}.tar.gz" SRC_URI[md5sum] = "f57a0576d1ba67c9b38b10032bb24edd" SRC_URI[sha256sum] = "b40ce9facdce21e6f3da31c5ced00644227d83dbb24103aa985382059810949d" S = "${WORKDIR}/${SRC_NAME}-${PV}" do_install_append() { # Samples install -d ${D}${datadir}/awsiotsdk/samples/python install -m 0755 ${S}/samples/basicPubSub/*.py ${D}${datadir}/awsiotsdk/samples/python/ install -m 0755 ${S}/samples/basicShadow/*.py ${D}${datadir}/awsiotsdk/samples/python/ install -m 0755 ${S}/samples/ThingShadowEcho/*.py ${D}${datadir}/awsiotsdk/samples/python/ } ## Samples ## FILES_${PN}-samples += "${datadir}/awsiotsdk/samples/python"
Add recipes for pcsc-lite package
SUMMARY = "Middleware to access a smart card using PC/SC" DESCRIPTION = "The purpose of PC/SC Lite is to provide a Windows(R) SCard interface \ in a very small form factor for communicating to smart cards and \ smart cards readers." HOMEPAGE = "http://pcsclite.alioth.debian.org/" inherit debian-package PV = "1.8.13" LICENSE = "BSD-3-Clause & GPLv3+ & MIT & ISC" LIC_FILES_CHKSUM = "\ file://COPYING;md5=bcfbd85230ac3c586fb294c8b627cf32 \ file://GPL-3.0.txt;md5=d32239bcb673463ab874e80d47fae504 \ file://src/sd-daemon.c;beginline=3;endline=25;md5=ca98f47674a446ca9e786ce689b9cea9 \ file://src/strlcat.c;beginline=3;endline=17;md5=f800c066486863c8a78974152f69b5ed" inherit autotools pkgconfig DEPENDS += "systemd flex" EXTRA_OECONF += "--enable-usbdropdir=${libdir}${DPN}/drivers" do_install_append() { install -d ${D}${sysconfdir}/init.d install -m 0755 ${S}/debian/pcscd.init \ ${D}${sysconfdir}/init.d/pcscd } PACKAGES =+ "pcscd" FILES_pcscd = "${sysconfdir}/init.d/pcscd \ ${systemd_system_unitdir}/* \ ${sbindir}/pcscd" FILES_${PN}-dev += "${bindir}/pcsc-spy \ ${libdir}/libpcscspy.*" RPROVIDES_${PN} += "libpcsclite1" RPROVIDES_${PN}-dev += "libpcsclite-dev" RDEPENDS_pcscd += "${PN} lsb-base"
Remove redundant `S = "${WORKDIR}/zeromq-${PV}"`
DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts like a concurrency framework" HOMEPAGE = "http://www.zeromq.org" LICENSE = "LGPLv3+" LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=66ea8704398d7996daeacd2fbd2b9dbd" PR = "r0" DEPENDS += "util-linux-ng" S = "${WORKDIR}/zeromq-${PV}" SRC_URI = "http://download.zeromq.org/zeromq-${PV}.tar.gz" inherit autotools do_configure_prepend() { ./autogen.sh } SRC_URI[md5sum] = "77b9ca20e8f2426874022080f41d7b0b" SRC_URI[sha256sum] = "a1bbb352a9dbf34b18a3999b22a8db2d51e4a52508d098528d771811533f9fd0"
DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts like a concurrency framework" HOMEPAGE = "http://www.zeromq.org" LICENSE = "LGPLv3+" LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=66ea8704398d7996daeacd2fbd2b9dbd" PR = "r0" DEPENDS += "util-linux-ng" SRC_URI = "http://download.zeromq.org/zeromq-${PV}.tar.gz" inherit autotools do_configure_prepend() { ./autogen.sh } SRC_URI[md5sum] = "77b9ca20e8f2426874022080f41d7b0b" SRC_URI[sha256sum] = "a1bbb352a9dbf34b18a3999b22a8db2d51e4a52508d098528d771811533f9fd0"
Add recipe for update-rc.d package
DESCRIPTION = "update-rc.d is a utilities that allows the management of \ symlinks to the initscripts in the /etc/rcN.d directory structure." inherit allarch debian-package DEBIAN_SECTION = "admin" DPR = "0" DPN = "sysvinit" LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" DEPENDS += "perl" do_compile() { : } do_install() { install -d ${D}${sbindir} install -m 0755 ${S}/debian/src/sysv-rc/sbin/update-rc.d ${D}${sbindir} # rc$level.d folders should be created for update-rc.d to run install -d ${D}${sysconfdir} \ ${D}${sysconfdir}/default \ ${D}${sysconfdir}/init.d for level in S 0 1 2 3 4 5 6; do install -d ${D}${sysconfdir}/rc$level.d done } BBCLASSEXTEND = "native"
Add package for bsp versioning
SUMMARY = "Version package" DESCRIPTION = "Package which creates a file with all git hashes that are used" MAINTAINER = "Robert Lehmann <robert.lehmann@sitec-systems.de>" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-2-Clause;md5=8bef8e6712b1be5aa76af1ebde9d6378" PR = "r0" S = "${WORKDIR}" do_compile[nostamp] = "1" do_install[nostamp] = "1" do_package[nostamp] = "1" def bsp_version(d): import time import json import subprocess import io bblayers = bb.data.getVar('BBLAYERS', d, True).split(" ") bblayers = list(filter(lambda x: x != '', bblayers)) # filter empty elements cur_dir = bb.data.getVar('THISDIR', d, True) hashes = [] for layer in bblayers: layer_name = os.path.basename(layer) os.chdir(layer) git_hash = subprocess.check_output(['git', 'rev-parse', 'HEAD']) layer_data = {} layer_data['name'] = layer_name layer_data['hash'] = git_hash.replace("\n", "") hashes.append(layer_data) os.chdir(cur_dir) data = {} data['timestamp'] = time.strftime('%y%m%d_%H%M%S', time.gmtime()) data['projects'] = hashes data['version' ] = time.strftime('%Y.%m', time.gmtime()) with io.open(d.getVar('S', True) + '/bsp_version.json', 'w', encoding='utf-8') as f: f.write(unicode(json.dumps(data, ensure_ascii=False, indent=4))) python do_compile() { bsp_version(d) } do_install() { install -d ${D}${sysconfdir} install -m 0644 ${S}/bsp_version.json ${D}${sysconfdir}/bsp_version.json }
Create recipe to demonstrate qt5 example.
SUMMARY = "NMap Carousel application is demonstrating the normal mapping technique using Qt5" DESCRIPTION = "Normal mapping is used for making the icons appear 3D with lighting and shadows" HOMEPAGE = "http://quitcoding.com/?page=work#cinex" LICENSE = "CC-BY-3.0" LIC_FILES_CHKSUM = "file://README;beginline=44;endline=55;md5=3a9db934c393a0cf198cbe7e73ebec86" DEPENDS = "qtdeclarative qtgraphicaleffects" SRC_URI = "http://quitcoding.com/download/Qt5_NMap_CarouselDemo_1.0.tgz" SRC_URI[md5sum] = "c1b4568cdbb6b3af4ca10c5a90aa8128" SRC_URI[sha256sum] = "445da212074a10a432f4508d125814212bbe7a967bfa47b015b92dfac6bfd65f" S = "${WORKDIR}/Qt5_NMap_CarouselDemo_1.0" require recipes-qt/qt5/qt5.inc do_install() { install -d ${D}${datadir}/${P} install -m 0755 ${B}/Qt5_NMap_CarouselDemo ${D}${datadir}/${P} cp ${S}/Qt5_NMap_CarouselDemo.qml ${D}${datadir}/${P} cp -a ${S}/content ${D}${datadir}/${P} } FILES_${PN}-dbg += "${datadir}/${P}/.debug" FILES_${PN} += "${datadir}" RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"
Add RTOS package for QMSS LLD
inherit ti-pdk require qmss-lld.inc PR = "${INC_PR}.0" DEPENDS_append = " rm-lld-rtos" XDCARGS_k2hk-evm = "k2h k2k" XDCARGS_k2l-evm = "k2l" XDCARGS_k2e-evm = "k2e" XDCARGS_k2g-evm = "k2g"
Add PSP version for ti816x devices.
require u-boot-omap3.inc COMPATIBLE_MACHINE = "ti816x" BRANCH = "master" # Use literal tags in SRCREV, when available, instead of commit IDs SRCREV = "v2010.06_TI816XPSP_04.00.00.10" UVER = "2010.06" PSPREL = "04.00.00.10" PR = "r1"
Add CxxTest framework to recipe-devtools.
DESCRIPTION = "CxxTest is a unit testing framework for C++ that is similar in spirit to JUnit, CppUnit, and xUnit." HOMEPAGE = "http://cxxtest.com/" LICENSE = "LGPL-2.0" SECTION = "devel" SRC_URI = "http://downloads.sourceforge.net/project/cxxtest/cxxtest/${PV}/cxxtest-${PV}.tar.gz" SRC_URI[md5sum] = "b3a24b3e1aad9acf6adac37f4c3f83ec" SRC_URI[sha256sum] = "356d0f4810e8eb5c344147a0cca50fc0d84122c286e7644b61cb365c2ee22083" LIC_FILES_CHKSUM = "file://${WORKDIR}/cxxtest-${PV}/COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02" S = "${WORKDIR}/cxxtest-${PV}/python" inherit distutils do_install_append() { install -d ${D}${includedir} cp -a ../cxxtest ${D}${includedir} sed '1c\ #!/usr/bin/env python' -i ${D}${bindir}/cxxtestgen } BBCLASSEXTEND = "native nativesdk"
Add GTK+3 greeter for LightDM.
DESCRIPTION = "LightDM GTK+ Greeter" LICENSE = "GPLv3 LGPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS = "lightdm libxklavier gtk+3 consolekit polkit" PR = "r0" inherit autotools SRC_URI = " \ http://launchpad.net/lightdm-gtk-greeter/trunk/${PV}/+download/lightdm-gtk-greeter-${PV}.tar.gz \ " SRC_URI[md5sum] = "6dcbcd2b8e71ab510fd16550368b4996" SRC_URI[sha256sum] = "bfab54008fbb7ea992c43ca9398a06a65a90c26dc2c64e11b4be7bbabf8b7056" do_install_append() { # Basic tweaks to the lightdm-gtk-greeter.conf sed -i -e "s|#show-language-selector=false|show-language-selector=true|g" ${D}/${sysconfdir}/lightdm/lightdm-gtk-greeter.conf || true sed -i -e "s|#xft-rgba=|xft-rgba=rgb|g" ${D}/${sysconfdir}/lightdm/lightdm-gtk-greeter.conf || true sed -i -e "s|#xft-hintstyle=|xft-hintstyle=slight|g" ${D}/${sysconfdir}/lightdm/lightdm-gtk-greeter.conf || true } FILES_${PN} += "${datadir}/xgreeters/lightdm* \ "
Add recipe for nettle package, build the package from Debian source
# # base recipe: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/nettle/nettle_2.7.1.bb # base branch: master # PR = "r0" inherit debian-package LICENSE = "LGPLv2.1 & GPLv2" LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" DEPENDS += "gmp" SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5" SRC_URI[sha256sum] = "bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40" EXTRA_OECONF = "--disable-openssl" do_configure_prepend() { if [ ! -e ${S}/acinclude.m4 -a -e ${S}/aclocal.m4 ]; then cp ${S}/aclocal.m4 ${S}/acinclude.m4 fi } inherit autotools BBCLASSEXTEND = "native nativesdk"
Add recipe for lvgl lib
# SPDX-FileCopyrightText: Huawei Inc. # SPDX-License-Identifier: MIT # TODO: Pin upstream release (current v7.11.0-80-g419a757) src_org = "lvgl" SRC_URI = "gitsm://github.com/${src_org}/lv_drivers;destsuffix=${S};protocol=https;nobranch=1" SRCREV = "419a757c23aaa67c676fe3a2196d64808fcf2254" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2" HOMEPAGE = "https://docs.lvgl.io/latest/en/html/porting/index.html" SUMMARY = "LVGL's Display and Touch pad drivers" DESCRIPTION = "Collection of drivers: SDL, framebuffer, wayland and more..." DEPENDS += "libxkbcommon" DEPENDS += "lvgl" DEPENDS += "wayland" REQUIRED_DISTRO_FEATURES = "wayland" inherit cmake inherit features_check S = "${WORKDIR}/${PN}-${PV}" EXTRA_OECMAKE += "-Dinstall:BOOL=ON" TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" do_configure:append() { [ -r "${S}/lv_drv_conf.h" ] \ || sed -e "s|#if 0 .*Set it to \"1\" to enable the content.*|#if 1 // Enabled by ${PN}|g" \ -e "s|# define USE_WAYLAND 0|# define USE_WAYLAND 1|g" \ < "${S}/lv_drv_conf_template.h" > "${S}/lv_drv_conf.h" } FILES:${PN}-dev = "\ ${includedir}/lvgl/lv_drivers/ \ " FILES:${PN}-staticdev = "${libdir}/"
Add bitbake recipe to build go-checkpoint
SUMMARY = "Go service to check version info and broadcast hashicorp bulletins" HOMEPAGE = "https://github.com/hashicorp/go-checkpoint" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=b278a92d2c1509760384428817710378" PKG_NAME = "github.com/hashicorp/go-checkpoint" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "88326f6851319068e7b34981032128c0b1a6524d" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "go_checkpoint_sysroot_preprocess" go_checkpoint_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
Add new recipe for user space io driver
DESCRIPTION="User space IO (UIO) driver for on-chip modules" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2b7c96eb2aed7b0f6f922214dbde9016" BRANCH ?= "master" # This corresponds to version 01.00.01.00A SRCREV = "3bce5bfec7a7865e278410e3c4484f878b9038b6" PV = "1.0.1" SRC_URI = "git://git.ti.com/keystone-linux/uio-module-drv.git;protocol=git;branch=${BRANCH}" # This package builds a kernel module, use kernel PR as base and append a local MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}" PR = "${MACHINE_KERNEL_PR}" S = "${WORKDIR}/git" module_auto_load_uio-module-drv = "uio-module-drv" inherit module
Add mmwave radar ROS driver compatible with mmWave SDK
DESCRIPTION = "This package contains ROS driver for mmWave TI sensor." SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://docs/TI_mmWave_ROS_Driver_manifest.pdf;md5=6ee5d8ff5204a889d79a1ffd1812b3c1" SRC_URI[base.md5sum] = "f48fe4a1e654f359382fc617667f33c0" SRC_URI[base.sha256sum] = "72b424a1c7568b04f1b583ef46d7716c10f77a0d05f4e950ac6d70991427a073" SRC_URI = "http://dev.ti.com/tirex/content/mmwave_industrial_toolbox_2_0_0/labs/lab0006-ros-driver/lab0006_ros_driver_pjt/ti_mmwave_rospkg_v1p2.zip;name=base;subdir=${P}" # do not use rpath EXTRA_OECMAKE_append = " -DCMAKE_SKIP_RPATH=ON" DEPENDS = "message-generation rosserial-embeddedlinux serial-ros nodelet roscpp rosconsole roscpp-serialization rostime std-msgs pcl-ros" S = "${WORKDIR}/${P}/ti_mmwave_rospkg" inherit catkin do_install_append() { install -d ${D}${ros_libdir}/ti_mmwave_rospkg cp ${WORKDIR}/build/devel/lib/libmmwave.so ${D}${ros_libdir} cp ${WORKDIR}/build/devel/lib/ti_mmwave_rospkg/* ${D}${ros_libdir}/ti_mmwave_rospkg/ cp ${S}/mmWave_nodelets.xml ${D}${ros_datadir}/ti_mmwave_rospkg/ cp -r ${S}/cfg ${D}${ros_datadir}/ti_mmwave_rospkg/ cp -r ${S}/launch ${D}${ros_datadir}/ti_mmwave_rospkg/ } FILES_${PN} += "${ros_libdir}/ti_mmwave_rospkg" ROS_SPN = "ti_mmwave_rospkg"
Move X-Loader to 1.5.1 release.
require x-load.inc LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://README;beginline=1;endline=25;md5=ef08d08cb99057bbb5b9d6d0c5a4396f" COMPATIBLE_MACHINE = "omap3-pandora" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/x-load-${MACHINE}/${MACHINE}" SRCREV = "b3646a83f9e67ec9a2de3182fd254557fd6ad9aa" PROVIDES = "x-load" PV = "1.42+${PR}+gitr${SRCREV}" PR ="r3" PE = "1" SRC_URI = "git://git.openpandora.org/pandora-x-loader.git;branch=master;protocol=git" S = "${WORKDIR}/git" PACKAGE_ARCH = "${MACHINE_ARCH}" XLOAD_MACHINE = "pandora_config"
require x-load.inc LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://README;beginline=1;endline=25;md5=ef08d08cb99057bbb5b9d6d0c5a4396f" COMPATIBLE_MACHINE = "omap3-pandora" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/x-load-${MACHINE}/${MACHINE}" SRCREV = "6b7fb6dd9ccdf7c3c5ea2d1e476dafd852a0d47a" PROVIDES = "x-load" PV = "1.5.1+${PR}+gitr${SRCREV}" PR ="r1" PE = "1" SRC_URI = "git://git.openpandora.org/pandora-x-loader.git;branch=pandora-1.5.1;protocol=git" S = "${WORKDIR}/git" PACKAGE_ARCH = "${MACHINE_ARCH}" XLOAD_MACHINE = "pandora_config"
Add initial microcode compiler stuff
DESCRIPTION = "Firmware for the IXP4xx line of devices" MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>" LICENSE = "Intel Public Licence" PR = "r0" SRC_URI = "http://www.intel.com/Please-Read-The-BB-File/IPL_ixp400AccessLibrary-2_1.zip" inherit native S = ${WORKDIR}/ixp400_xscale_sw/src/npeDl do_compile() { ${CC} -Wall IxNpeMicrocode.c -o IxNpeMicrocode ${S}/IxNpeMicrocode } do_install() { install -d ${D}/usr/lib/firmware/NPE-B install ${S}/NPE-B.010c0200 ${D}/usr/lib/firmware/NPE-B/ }
Add recipes for arm/32bit examples on amlogic SOCs
# Copyright (C) 2018 Khem Raj <raj.khem@gmail.com> # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "Mali Samples" HOMEPAGE = "http://openlinux.amlogic.com:8000/download/GPL_code_release/ThirdParty/?C=M;O=D" LICENSE = "Closed" LIC_FILES_CHKSUM = "file://Mali_OpenGL_ES_SDK_v2.4.4_Documentation.html;md5=561d0b7167db0f2048c175658731c52e" SECTION = "apps" DEPENDS = "virtual/egl" GITPV = ".71fdbd" SRC_URI = "http://openlinux.amlogic.com:8000/download/GPL_code_release/ThirdParty/Mali_OpenGL_ES_SDK_v${PV}${GITPV}_Linux_x86.tar.gz" SRC_URI[md5sum] = "441f89136e4fc1137214610aff0f7021" SRC_URI[sha256sum] = "8ec00f3fa38b4af9b07b8a1d6ce0d68bda8124279586f5087acb24c658307b65" inherit cmake pkgconfig export TOOLCHAIN_ROOT = "${HOST_PREFIX}" EXTRA_OECMAKE = "-DTARGET=arm" S = "${WORKDIR}/Mali_OpenGL_ES_SDK_v${PV}" do_install_append() { install -D -m 0755 ${B}/simple_framework/libsimple_framework2.so ${d}${libidr} install -D -m 0755 ${B}/simple_framework/libsimple_framework3.so ${D}${libdir} } COMPATIBLE_HOST = 'arm.*-linux'
Add new recipe for brcm-patchram-plus
# Copyright (C) 2015 Romain Perier <romain.perier@gmail.com> # Released under the MIT license (see COPYING.MIT for the terms) inherit base DESCRIPTION = "Chromium OS Broadcom patchram utility" HOMEPAGE = "https://chromium.googlesource.com/chromiumos/third_party/broadcom/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${S}/LICENSE.broadcom;md5=4ff9e0bf45dfdad0b7756c07b65ed24a" S = "${WORKDIR}/git/bluetooth" SECTION = "console/utils" DEPENDS = "bluez5" PR = "r1" PV = "git+4070e71" SRCREV = "4070e7161f2f1a1a22027a744eb868500688f0b6" SRC_URI = "git://chromium.googlesource.com/chromiumos/third_party/broadcom;protocol=http;branch=master" FILES_${PN} = "/usr/bin/*" do_install_append() { install -d ${D}/usr/bin install -m 755 brcm_patchram_plus ${D}/usr/bin }
Add support for Xilinx DP drivers
SUMMARY = "Xilinx DisplayPort Linux Kernel module" DESCRIPTION = "Out-of-tree DisplayPort(DP) kernel modules provider for aarch64 devices" SECTION = "kernel/modules" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" XLNX_DP_VERSION = "5.4.0" PV = "${XLNX_DP_VERSION}" S = "${WORKDIR}/git" BRANCH ?= "master" REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" SRCREV ?= "a3a7dfe17cf610fd4186b11638e1ce6b78dc958a" BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" SRC_URI = "${REPO};${BRANCHARG}" inherit module EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE_zynqmp = "zynqmp" COMPATIBLE_MACHINE_versal = "versal" PACKAGE_ARCH = "${SOC_FAMILY_ARCH}"
Add Babel routing protocol recipe
SUMMARY = "Babel is a loop-avoiding distance-vector routing protocol" DESCRIPTION = "\ Babel is a loop-avoiding distance-vector routing protocol for IPv6 and \ IPv4 with fast convergence properties. It is based on the ideas in DSDV, AODV \ and Cisco's EIGRP, but is designed to work well not only in wired networks \ but also in wireless mesh networks, and has been extended with support \ for overlay networks. Babel is in the process of becoming an IETF Standard. \ " HOMEPAGE = "https://www.irif.fr/~jch/software/babel/" SECTION = "net" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENCE;md5=411a48ac3c2e9e0911b8dd9aed26f754" SRC_URI = "git://github.com/jech/babeld.git;protocol=git" SRCREV = "535184173fcde5ddc43020cd197d01d1ea0e9a8b" S = "${WORKDIR}/git" do_compile () { oe_runmake babeld } do_install () { oe_runmake install.minimal PREFIX=${D} }
Add bitbake recipe to build etcd
DESCRIPTION = "A distributed key-value store for shared config and service discovery" HOMEPAGE = "https://github.com/coreos/etcd" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" PKG_NAME = "github.com/coreos/etcd" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "d0f6432b51e37c402450182ce01203dca8a40108" DEPENDS += "golang-cross" S = "${WORKDIR}/git" TARGET_CC_ARCH += "${LDFLAGS}" do_compile() { #Setting up GOPATH to find deps (including those already in etcd) cd ${S} rm -rf .gopath mkdir -p .gopath/src/$(dirname ${PKG_NAME}) ln -sf ../../../.. .gopath/src/${PKG_NAME} export GOPATH=${S}/.gopath # supported amd64, 386, arm if [ "${TARGET_ARCH}" = "x86_64" ]; then export GOARCH="amd64" fi go install ${PKG_NAME} } do_install() { install -d ${D}${prefix}/bin cp -a ${S}/.gopath/bin/* ${D}${prefix}/bin/ } FILES_${PN} += "${prefix}/bin/*"
Add recipe to support Raspberry Pi Sense HAT
SUMMARY = "Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission" HOMEPAGE = "https://github.com/RPi-Distro/python-sense-hat" SECTION = "devel/python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=d80fe312e1ff5fbd97369b093bf21cda" SRCNAME = "sense-hat" SRC_URI = "https://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" SRC_URI[md5sum] = "71217f15ea963040f06e2f50722186ca" SRC_URI[sha256sum] = "c6c76707c0ea514e4b0f1f96f1b5b79755875891aae037df7434b6aad7b9dbca" S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools DEPENDS += " \ jpeg \ zlib \ freetype \ " RDEPENDS_${PN} += " \ python-numpy \ python-rtimu \ python-imaging \ "
Add a recipe freeglut to replace mesa-glut
DESCRIPTION = "FreeGLUT is a free-software/open-source alternative to the OpenGL \ Utility Toolkit (GLUT) library" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=89c0b58a3e01ce3d8254c9f59e78adfb" SRC_URI = "https://sourceforge.net/projects/${BPN}/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz" SRC_URI[md5sum] = "90c3ca4dd9d51cf32276bc5344ec9754" SRC_URI[sha256sum] = "2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2" inherit cmake distro_features_check # depends on virtual/libx11 REQUIRED_DISTRO_FEATURES = "x11" PROVIDES += "mesa-glut" DEPENDS = "virtual/libx11 libxmu libxi virtual/libgl libglu libxrandr"
Add recipe for geoip package
SUMMARY = "C library for country/city/organization to IP address or hostname mapping" DESCRIPTION = " GeoIP is a C library that enables the user to find the country \ that any IP address or hostname originates from. It uses a file \ based database that is accurate as of March 2003. This database \ simply contains IP blocks as keys, and countries as values. \ This database should be more complete and accurate than \ using reverse DNS lookups." HOMEPAGE = "http://dev.maxmind.com/geoip/" PR = "r0" inherit debian-package LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=d5d53d6b948c064f4070183180a4fa89" inherit autotools #split geoip package to sub-packages PACKAGES =+ "libgeoip1" #compile follow debian/rules do_compile_append () { ${CXX} ${CPPFLAGS} ${LDFLAGS} -g ${S}/debian/src/geoip-csv-to-dat.cpp -o \ ${S}/debian/src/geoip-generator -lGeoIP \ -I${S}/libGeoIP -L${B}/libGeoIP/.libs ${CXX} ${CPPFLAGS} ${LDFLAGS} -g ${S}/debian/src/geoip-asn-csv-to-dat.cpp -o \ ${S}/debian/src/geoip-generator-asn -lGeoIP \ -I${S}/libGeoIP -L${B}/libGeoIP/.libs } #install follow Debian jessies do_install_append() { install -d ${D}${libdir}/geoip install -m 0755 ${S}/debian/src/geoip-generator \ ${D}${libdir}/geoip/ install -m 0755 ${S}/debian/src/geoip-generator-asn \ ${D}${libdir}/geoip/ } #Correct the package name DEBIANNAME_${PN} = "${PN}-bin" FILES_libgeoip1 = "${libdir}/libGeoIP.so.*"
Add recipe for memcached package
SUMMARY = "high-performance memory object caching system" DESCRIPTION = "\ Danga Interactive developed memcached to enhance the speed of LiveJournal.com, \ a site which was already doing 20 million+ dynamic page views per day for 1 \ million users with a bunch of webservers and a bunch of database servers. \ memcached dropped the database load to almost nothing, yielding faster page \ load times for users, better resource utilization, and faster access to the \ databases on a memcache miss \ " HOMEPAGE = "http://www.memcached.org/" PR = "r0" inherit debian-package LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff" inherit autotools-brokensep #configure follow debian/rules EXTRA_OECONF += "--enable-sasl" DEPENDS += "libevent libsasl2" RDEPENDS_${PN} += "perl lsb-base" #install follow Debian jessie do_install_append() { install -d ${D}${sysconfdir}/default install -d ${D}${sysconfdir}/init.d install -d ${D}${base_libdir}/systemd/system install -d ${D}${datadir}/memcached install -m 0644 ${S}/debian/memcached.default ${D}${sysconfdir}/default/memcached install -m 0644 ${S}/scripts/memcached-init ${D}${sysconfdir}/init.d/memcached install -m 0644 ${S}/debian/memcached.service \ ${D}${base_libdir}/systemd/system/memcached.service install -m 0644 ${S}/debian/memcached.conf \ ${D}${datadir}/memcached/memcached.conf.default cp -a ${S}/scripts ${D}${datadir}/memcached install -m 0755 ${S}/debian/systemd-memcached-wrapper \ ${D}${datadir}/memcached/scripts rm ${D}${datadir}/memcached/scripts/memcached-init rm ${D}${datadir}/memcached/scripts/memcached.sysv rm ${D}${datadir}/memcached/scripts/memcached.service } FILES_${PN} += "${base_libdir}/*" PARALLEL_MAKE = ""
Add RTOS package for pktlib
inherit ti-pdk require pktlib.inc PR = "${INC_PR}.0" DEPENDS_append = " rm-lld-rtos \ qmss-lld-rtos \ cppi-lld-rtos \ " XDCARGS_k2hk-evm = "k2h k2k" XDCARGS_k2e-evm = "k2e" XDCARGS_k2l-evm = "k2l"
Add recipe for hwdata package
SUMMARY = "hardware identification / configuration data" DESCRIPTION = "\ This package contains various hardware identification and \ configuration data, such as the pci.ids database, or the XFree86/xorg \ Cards database.It is needed for the kudzu hardware detection.\ " HOMEPAGE = "http://git.fedorahosted.org/git/hwdata.git" PR = "r0" inherit debian-package LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "\ file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263\ file://LICENSE;md5=1556547711e8246992b999edd9445a57" inherit autotools-brokensep DEBIAN_PATCH_TYPE = "nopatch" do_install_append() { #remove unwanted files rm ${D}${datadir}/${PN}/*.txt rm -r ${D}${libdir} } RDEPENDS_${PN} += "usbutils pciutils"
Remove pagesz-not-constant.patch as gcc34.patch is doing the same thing (which of course breaks the build)
inherit autotools include util-linux.inc PR = "r3" SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/util-linux/util-linux-${PV}.tar.bz2 \ file://gcc34.patch;patch=1 \ file://MCONFIG \ file://make_include \ file://swapargs.h \ file://defines.h \ file://pagesz-not-constant.patch;patch=1"
inherit autotools include util-linux.inc PR = "r4" SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/util-linux/util-linux-${PV}.tar.bz2 \ file://gcc34.patch;patch=1 \ file://MCONFIG \ file://make_include \ file://swapargs.h \ file://defines.h"
Add headers for raspberrypi kernel
require recipes-kernel/linux-libc-headers/linux-libc-headers.inc PR = "r0" PROVIDES = "linux-libc-headers" RPROVIDES_${PN}-dev = "linux-libc-headers-dev" RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg" SRCREV = "10182a3bc434b27740f81c2b836a1af943060241" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \ " S = "${WORKDIR}/git"
Add recipes for bmake package
SUMMARY = "NetBSD make" DESCRIPTION = "bmake is a program designed to simplify the maintenance of other \ programs. Its input is a list of specifications as to the files upon \ which programs and other files depend. mkdep, a program to construct \ Makefile dependency lists, is also included." HOMEPAGE = "http://www.crufty.net/help/sjg/bmake.html" inherit debian-package PV = "20140620" LICENSE = "BSD-3-Clause & BSD-4-Clause" LIC_FILES_CHKSUM = "file://make.h;beginline=4;endline=70;md5=d6d25d369ff15e28ebaee4a6306a2e57" inherit autotools native do_configure() { oe_runconf } # bmake is stripped by default, this causes QA warning while stripping it # from do_populate_sysroot() export STRIP_FLAG = "" do_install_append (){ install -m 0755 ${S}/debian/mkdep ${D}${bindir} ln -sf bmake ${D}${bindir}/pmake } # Disable parallel make PARALLEL_MAKE = ""
Add rtos recipe for nwal
SUMMARY = "TI Network abstraction layer RTOS LLD library " inherit ti-pdk require recipes-bsp/nwal-lld/nwal-lld.inc PR = "${INC_PR}.0" DEPENDS_append = " cppi-lld-rtos \ pa-lld-rtos \ pktlib-rtos \ qmss-lld-rtos \ sa-lld-rtos \ " COMPATIBLE_MACHINE = "k2hk-evm|k2e-evm|k2l-evm|c667x-evm" # HTML doc link params PDK_COMP_LINK_TEXT = "NWAL LLD"
Add recipes for ucf package
SUMMARY = "Update Configuration File(s): preserve user changes to config files" DESCRIPTION = " Debian policy mandates that user changes to configuration files must be \ preserved during package upgrades. The easy way to achieve this behavior \ is to make the configuration file a 'conffile', in which case dpkg \ handles the file specially during upgrades, prompting the user as \ needed." inherit debian-package PV = "3.0030" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f" inherit autotools-brokensep DEPENDS += "coreutils-native" do_install() { install -d ${D}${bindir} \ ${D}${sysconfdir} \ ${D}${localstatedir}/lib/ucf touch ${D}${localstatedir}/lib/ucf/hashfile touch ${D}${localstatedir}/lib/ucf/registry for file in ucf ucfr ucfq lcf; do install -p -m 755 $file ${D}${bindir} done install -p -m 644 ${S}/ucf.conf ${D}${sysconfdir} } BBCLASSEXTEND += "native" RDEPENDS_${PN} += "debconf coreutils"
Add bitbake recipe to build yamux
SUMMARY = "Multiplexing library for Golang" HOMEPAGE = "https://github.com/hashicorp/yamux" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=2dd1a9ecf92cd5617f128808f9b85b44" PKG_NAME = "github.com/hashicorp/yamux" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "b2e55852ddaf823a85c67f798080eb7d08acd71d" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "yamux_sysroot_preprocess" yamux_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
Add the giflib recipe necessary for building efl
SUMMARY = "shared library for GIF images" SECTION = "libs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=ae11c61b04b2917be39b11f78d71519a" SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/${BP}.tar.bz2" inherit autotools PACKAGES += "${PN}-utils" FILES_${PN} = "${libdir}/libgif.so.*" FILES_${PN}-utils = "${bindir}" BBCLASSEXTEND = "native" RDEPENDS_${PN}-utils = "perl" SRC_URI[md5sum] = "2c171ced93c0e83bb09e6ccad8e3ba2b" SRC_URI[sha256sum] = "df27ec3ff24671f80b29e6ab1c4971059c14ac3db95406884fc26574631ba8d5"
Add new library which is a optional dependency for Weston
DESCRIPTION = "libinput is a library to handle input devices in Wayland compositors" HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libinput/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=673e626420c7f859fbe2be3a9c13632d" inherit autotools pkgconfig DEPENDS = "libevdev udev" PR = "r0" BRANCH = "master" SRCREV = "bb10ec84d3704fc0fb40591bcbffe90f6c77966d" PV = "0.5.0" SRC_URI = "git://anongit.freedesktop.org/wayland/libinput;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git"
Add recipe for sshpass package
SUMMARY = "Non-interactive ssh password auth" DESCRIPTION = " SSH's (secure shell) most common authentication mode is called \ "interactive keyboard password authentication", so called both \ because it is typically done via keyboard, and because openssh \ takes active measures to make sure that the password is, indeed,\ typed interactively by the keyboard. Sometimes,however, it is \ necessary to fool ssh into accepting an interactive password \ non-interactively. This is where sshpass comes in." HOMEPAGE = "http://sourceforge.net/projects/sshpass" PR = "r0" inherit debian-package LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" inherit autotools
Add recipes for libgc packages
SUMMARY = "conservative garbage collector for C and C++" DESCRIPTION = "oehm-Demers-Weiser's GC is a garbage collecting storage allocator that is\n\ intended to be used as a plug-in replacement for C's malloc or C++'s new().\n\ .\n\ It allows you to allocate memory basically as you normally would without\n\ explicitly deallocating memory that is no longer useful. The collector\n\ automatically recycles memory when it determines that it can no longer be\n\ used.\n\ .\n\ This version of the collector is thread safe, has C++ support and uses the\n\ defaults for everything else. However, it does not work as a drop-in malloc(3)\n\ replacement." HOMEPAGE = "http://www.hpl.hp.com/personal/Hans_Boehm/gc/" PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://doc/README;endline=37;md5=9f4fd307082acf7a8af3e3897245163b" inherit autotools pkgconfig # base on debian/rules EXTRA_OECONF += "--enable-cplusplus -disable-dependency-tracking \ --with-tags=CXX --datadir=${docdir}" PACKAGECONFIG ??= "" PACKAGECONFIG[libatomic-ops] = "--with-libatomic-ops=yes,--with-libatomic-ops=no,libatomic-ops" do_install_append() { # remove unwanted files rm -rf ${D}${libdir}/libcord* } PKG_${PN} = "${PN}1c2" RPROVIDES_${PN} += "${PN}1c2" BBCLASSEXTEND = "native"
Add a bitbake recipe to build mdns
SUMMARY = "Simple mDNS client/server library in Golang" HOMEPAGE = "https://github.com/hashicorp/mdns" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=cb04212e101fbbd028f325e04ad45778" DEPENDS += "golang-cross dns go-net" PKG_NAME = "github.com/hashicorp/mdns" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "2b439d37011456df8ff83a70ffd1cd6046410113" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "mdns_sysroot_preprocess" mdns_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
Add recipe for tinycdb package
DESCRIPTION = "an utility to manipulate constant databases (cdb) \ tinycdb is a small, fast and reliable utility and subroutine \ library for creating and reading constant databases. The database \ structure is tuned for fast reading." PR = "r0" inherit debian-package autotools-brokensep LICENSE = "PD" LIC_FILES_CHKSUM = "file://debian/copyright;md5=dca69c9caec3af9b850379632f912f81" # Fix Makefile to set variable for compiling successfully do_compile () { sed -i -e "s:/local::" ${S}/Makefile sed -i -e "s:^CC .*:CC = ${CC}:" ${S}/Makefile sed -i -e "s:^AR .*:AR = ${AR}:" ${S}/Makefile sed -i -e "s:^RANLIB .*:RANLIB = ${RANLIB}:" ${S}/Makefile sed -i -e 's:$(prefix)/man:${mandir}:' ${S}/Makefile sed -i -e "s:^DESTDIR=.*:DESTDIR=${D}:" ${S}/Makefile oe_runmake staticlib sharedlib cdb-shared nss cp -pf nss_cdb-Makefile cdb-Makefile } # Install files follow Debian do_install_append () { install -d ${D}${libdir} install -m 0644 ${S}/*.a ${D}${libdir} install -m 0755 libcdb.so.* ${D}${libdir} ln -sf libcdb.so.1 ${D}${libdir}/libcdb.so } # Split files follow Debian PACKAGES =+ "libcdb1" FILES_libcdb1 += "${libdir}/*.so.*" FILES_${PN}-doc += "${mandir}" DEBIANNAME_${PN}-dev = "libcdb-dev" # There is no debian patch DEBIAN_PATCH_TYPE = "nopatch" BBCLASSEXTEND = "native"
Add recipe for libcrypt-openssl-rsa-perl package
# # base recipe: http://cgit.openembedded.org/meta-openembedded/tree/meta-perl/\ # recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb # base branch: master # SUMMARY = " module for RSA encryption using OpenSSL" DESCRIPTION = "\ Crypt::OpenSSL::RSA is a Perl module that provides glue to the RSA functions\ in the OpenSSL library. It provides the following functionalities: create \ a key from a string, make a new key, save key to a string, save public \ portion of key to a string using format compatible with OpenSSL's command-line\ rsa tool, encrypt, decrypt, sign, verify, return the size in bytes of a key, \ check the validity of a key" HOMEPAGE = " http://perl-openssl.sourceforge.net/" PR = "r0" inherit debian-package LICENSE = "Artistic-1.0 | GPL-1.0+" LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3" #cpan is perl modules that use Makefile.PL to build system inherit cpan DEPENDS += "openssl libcrypt-openssl-random-perl libcrypt-openssl-bignum-perl" RDEPENDS_${PN} += "libcrypt-openssl-bignum-perl" #install follow debian jessie do_install_append () { mv ${D}${libdir}/perl/vendor_perl/* ${D}${libdir}/perl/ rm -r ${D}${libdir}/perl/vendor_perl mv ${D}${libdir}/perl/5.20.2 ${D}${libdir}/perl/5.20 mv ${D}${libdir}/perl ${D}${libdir}/perl5 chmod 0644 ${D}${libdir}/perl5/5.20/auto/Crypt/OpenSSL/RSA/RSA.so } FILES_${PN} = "${libdir}/*" FILES_${PN}-dbg += "${libdir}/perl5/5.20/auto/Crypt/OpenSSL/RSA/.debug"
Add fastrpc recipe for {a,c}dsp
HOMEPAGE = "https://git.linaro.org/landing-teams/working/qualcomm/fastrpc.git" SUMMARY = "Qualcomm FastRPC applications and library" SECTION = "devel" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://src/fastrpc_apps_user.c;beginline=1;endline=29;md5=f94f3a7beba14ae2f59f817e9634f891" SRCREV = "a28fcb0f247f6c1a9f915dc318d931256edabeac" SRC_URI = "git://git.linaro.org/landing-teams/working/qualcomm/fastrpc.git;branch=automake;protocol=https" PV = "0.0+${SRCPV}" S = "${WORKDIR}/git" inherit autotools
Add utility to create variable cpu load
DESCRIPTION = "Utility to generate specified CPU Load" HOMEPAGE = "https://github.com/ptitiano/cpuloadgen" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=c6c2eb46c569d0cd7884089fea6b4f31" PV = "0.93" PR = "r0" BRANCH ?= "master" SRCREV ?= "301d69899d6f4d84f143e0ed86957eea416a27a6" SRC_URI = "git://github.com/ptitiano/cpuloadgen.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" do_install () { install -d ${D}${bindir} oe_runmake DESTDIR=${D}${bindir} install }
Add recipe for firenodejs autostart
DESCRIPTION = "FireNodejs" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" SRC_URI = "file://firenodejs-start.init" inherit update-rc.d INITSCRIPT_NAME = "firenodejs-start" INITSCRIPT_PARAMS = "start 10 S ." do_install () { install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/firenodejs-start.init ${D}${sysconfdir}/init.d/${PN} } PACKAGE_ARCH = "${MACHINE_ARCH}"
Revert "glm: remove - a later version is in meta-oe"
SUMMARY = "C++ mathematics library for graphics programming" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://copying.txt;md5=4431606d144252143c9c3df384a74cad" inherit cmake SRC_URI = "git://github.com/g-truc/glm.git" # 0.9.8.3 tag SRCREV = "6a1e2ec5d5e79e6d869c947cbdbcbb297bdf9d32" S = "${WORKDIR}/git" do_configure() { # for some reason simple tailored configure runs best mkdir -p ${B} cd ${B} # -DCMAKE_INSTALL_LIBDIR:PATH=${libdir} causes configur break with # | CMake Error: Could not open file for write in copy operation /usr/lib/cmake/glm/glmConfig.cmake.tmp # | CMake Error: : System Error: No such file or directory cmake \ -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ -DCMAKE_INSTALL_INCLUDEDIR:PATH=${includedir} \ ${OECMAKE_SOURCEPATH} } FILES_${PN}-dev += "${libdir}/cmake" BBCLASSEXTEND = "native"
Introduce a new version of gpe-bluetooth.
LICENSE = "GPL" inherit gpe autotools DESCRIPTION = "GPE bluetooth support" DEPENDS = "gtk+ libdisplaymigration libgpewidget openobex libgpevtype bluez-libs sqlite dbus libglade blueprobe bluez-utils-dbus" RDEPENDS = "bluez-utils-dbus blueprobe" MAINTAINER = "Phil Blundell <pb@handhelds.org>" SECTION = "gpe" PRIORITY = "optional" PR = "r0" SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.bz2" FILES_${PN} += '${datadir}/bluez-pin'
Add rtos recipe for i2c-lld
SUMMARY = "TI RTOS low level driver for Inter-IC module (I2C)" inherit ti-pdk LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://I2C.h;beginline=1;endline=32;md5=147a6773e962b103cd162ca58535289c" COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x" PACKAGE_ARCH = "${MACHINE_ARCH}" I2C_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/i2c-lld.git" I2C_LLD_GIT_PROTOCOL = "git" I2C_LLD_GIT_BRANCH = "master" I2C_LLD_GIT_DESTSUFFIX = "git/ti/drv/i2c" # Below commit ID corresponds to "DEV.I2C_LLD.01.00.00.07A" I2C_LLD_SRCREV = "85ad56fb6e1f2bdabdd3c371b97170cb62a6fdd7" BRANCH = "${I2C_LLD_GIT_BRANCH}" SRC_URI = "${I2C_LLD_GIT_URI};destsuffix=${I2C_LLD_GIT_DESTSUFFIX};protocol=${I2C_LLD_GIT_PROTOCOL};branch=${BRANCH}" SRCREV = "${I2C_LLD_SRCREV}" PV = "01.00.00.07A" PR = "r0" DEPENDS_append = " osal-rtos \ " DEPENDS_append_ti33x = " starterware-rtos \ " DEPENDS_append_ti43x = " starterware-rtos \ " # Build with make instead of XDC TI_PDK_XDCMAKE = "0" S = "${WORKDIR}/${I2C_LLD_GIT_DESTSUFFIX}" export PDK_I2C_ROOT_PATH ="${WORKDIR}/build" export DEST_ROOT="${S}" # HTML doc link params PDK_COMP_LINK_TEXT = "I2C LLD"
Add rtos recipe for mmcsd-lld
SUMMARY = "TI Multimedia card(MMC)/Secure Digital(SD) low level driver for RTOS " inherit ti-pdk LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://MMCSD.h;beginline=1;endline=32;md5=f74069541d4d165a000a66b4043cb065" COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1" PACKAGE_ARCH = "${MACHINE_ARCH}" MMCSD_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/sd-mmc.git" MMCSD_LLD_GIT_PROTOCOL = "git" MMCSD_LLD_GIT_BRANCH = "master" MMCSD_LLD_GIT_DESTSUFFIX = "git/ti/drv/mmcsd" # Below commit ID corresponds to "DEV.MMCSD_LLD.01.00.00.07" MMCSD_LLD_SRCREV = "54b4b40174297475a648abc4afd23560c2f29911" BRANCH = "${MMCSD_LLD_GIT_BRANCH}" SRC_URI = "${MMCSD_LLD_GIT_URI};destsuffix=${MMCSD_LLD_GIT_DESTSUFFIX};protocol=${MMCSD_LLD_GIT_PROTOCOL};branch=${BRANCH}" SRCREV = "${MMCSD_LLD_SRCREV}" PV = "01.00.00.07" PR = "r0" S = "${WORKDIR}/${MMCSD_LLD_GIT_DESTSUFFIX}" DEPENDS_append = " edma3-lld-rtos \ osal-rtos \ " DEPENDS_append_ti33x = " starterware-rtos \ " DEPENDS_append_ti43x = " starterware-rtos \ " # Build with make instead of XDC TI_PDK_XDCMAKE = "0" export PDK_MMCSD_ROOT_PATH ="${WORKDIR}/build" export DEST_ROOT="${S}" export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}" XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages" # HTML doc link params PDK_COMP_LINK_TEXT = "MMCSD LLD"
Add librecord2, the new G(PE)^2 database library.
LICENSE = "LiPS" DESCRIPTION = "LiPS database API." SECTION = "gpe/libs" PRIORITY = "optional" DEPENDS = "glib-2.0 e2fsprogs-libs sqlite3" PR = "r0" GPE_TARBALL_SUFFIX = "bz2" inherit gpephone pkgconfig autotools LDFLAGS += " -L${STAGING_LIBDIR}" do_stage () { autotools_stage_all }
Add recipe for mountall package
SUMMARY = "Filesystem mounting tool" DESCIPTION = "Mountall mounts filesystems when the underlying block devices are \ ready, or when network interfaces come up, checking the filesystems \ first." LICENSE = "LGPLv2+ & GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://intl/gettext.c;endline=17;md5=235b186f82eb78ee2b3937e9231a0273" inherit debian-package DEPENDS += "plymouth libnih" inherit autotools gettext EXTRA_OECONF += "--exec-prefix= "" \ --libdir=${base_libdir} \ --sbindir=${base_sbindir} \ " PR = "r0" DEBIAN_PATCH_TYPE = "nopatch" FILES_${PN} += "\ ${base_libdir} ${base_sbindir} \ ${datadir}/initramfs-tools/event-driven/upstart-jobs/mountall.conf \ ${datadir}/initramfs-tools/hooks/mountall \ ${datadir}/apport/package-hooks/mountall.py \ "
Add recipe for SVN version
DESCRIPTION = "A boot profiling tool" HOMEPAGE = "http://code.google.com/p/ubootchart/" LICENSE="GPLv3" PV = "0.1.0+svnr${SRCREV}" PR = "r0" SRCREV_pn-ubootchart ?= "12" SRC_URI="svn://ubootchart.googlecode.com/svn/;proto=http;module=trunk" S = "${WORKDIR}/trunk" do_patch() { sed -i "s/@VERSION@/${PV}-${PR}/" ${S}/ubootchartd } do_compile() { ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${INCLUDES} ${S}/ubootchartd_bin.c -o ubootchartd_bin } do_install() { install -m 0755 -d ${D}/sbin ${D}/etc/ubootchart ${D}${docdir}/ubootchart install -m 0755 ${S}/ubootchartd_bin ${D}/sbin install -m 0755 ${S}/ubootchartd ${D}/sbin install -m 0644 ${S}/ubootchart.conf ${D}/etc/ubootchart install -m 0755 ${S}/start.sh ${D}/etc/ubootchart install -m 0755 ${S}/finish.sh ${D}/etc/ubootchart }
Add recipe for debug image
# Base this image on console-image require recipes-images/angstrom/console-image.bb IMAGE_FEATUES += "tools-testapps tools-debug" # Include modules in rootfs IMAGE_INSTALL += "alsa-utils kolibre-sample-client libkolibre-clientcore-dbg gdb" export IMAGE_BASENAME = "kolibre-debug-image"
Add a bitbake recipe to build net-rpc-msgpackrpc
SUMMARY = "Provides functions of jsonrpc by communicating with MessagePack" HOMEPAGE = "https://github.com/hashicorp/net-rpc-msgpackrpc" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fb70e2b4f339ce6b09fffba9a882dc53" DEPENDS = "go-msgpack" PKG_NAME = "github.com/hashicorp/net-rpc-msgpackrpc" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "d377902b7aba83dd3895837b902f6cf3f71edcb2" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "net_rpc_msgpackrpc_sysroot_preprocess" net_rpc_msgpackrpc_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
Add the native version of the Local::gettext module.
SECTION = "libs" inherit native EXTRA_CPANFLAGS += " EXPATINCPATH='${STAGING_INCDIR}' EXPATLIBPATH='${STAGING_LIBDIR}'" require liblocale-gettext-perl_${PV}.bb
Add recipe for vsftpd pacakge
SUMMARY = "Very Secure FTP server" HOMEPAGE = "https://security.appspot.com/vsftpd.html" PR = "r0" inherit debian-package LICENSE = "GPLv2" LIC_FILES_CHKSUM = " \ file://COPYING;md5=a6067ad950b28336613aed9dd47b1271 \ file://COPYRIGHT;md5=04251b2eb0f298dae376d92454f6f72e \ file://LICENSE;md5=654df2042d44b8cac8a5654fc5be63eb" DEPENDS = "libcap openssl tcp-wrappers libpam" LIBS="-lwrap -lpam -lcap -lssl -lcrypto" do_compile () { oe_runmake CFLAGS="$(CFLAGS) -W -Wshadow" LIBS="${LIBS}" LINK="" } do_install () { install -d ${D}${sbindir} install -d ${D}${bindir} install -d ${D}${mandir} install -d ${D}${sysconfdir}/init.d install -d ${D}${sysconfdir}/logrotate.d install -d ${D}${sysconfdir}/pam.d install -d ${D}${base_libdir}/systemd/system install -m 0755 vsftpd ${D}${sbindir}/vsftpd install -m 0644 ${S}/vsftpd.conf ${D}${sysconfdir} install -m 0644 ${S}/debian/local/ftpusers ${D}${sysconfdir} install -m 0755 ${S}/debian/local/vsftpdwho ${D}${bindir} install -m 0755 ${S}/debian/vsftpd.init ${D}${sysconfdir}/init.d/vsftpd install -m 0755 ${S}/debian/vsftpd.logrotate \ ${D}${sysconfdir}/logrotate.d install -m 0755 ${S}/debian/vsftpd.pam ${D}${sysconfdir}/pam.d install -m 0644 ${S}/debian/vsftpd.service \ ${D}${base_libdir}/systemd/system } FILES_${PN} += "${sysconfdir} ${base_libdir}"
Add package, ATA over ethernet userspace utilities
DESCRIPTION = "ATA over Ethernet Tools" SECTION = "console/network" RRECOMMENDS = "kernel-module-aoe" PR = "r0" LICENSE = "GPL" SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz" inherit autotools
Add Build recipe for boost-img tool.
# Copyright (C) 2011 Peter Tworek <tworaz666@gmail.com> # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "Tool for creating bootable images for Psion Teklogix NetBook Pro" DEPENDS = "zlib-native" SRCREV = "2a9036d5b67066f533c37c41f4c03cc7dc62214f" PV = "0.1.99+git${SRCPV}" PR = "r0" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=3775480a712fc46a69647678acb234cb" SRC_URI = "git://github.com/tworaz/boost-img.git;branch=master;protocol=git" S = "${WORKDIR}/git" BBCLASSEXTEND = "native" do_install () { install -d ${D}${bindir} install -m 0755 boost-img ${D}${bindir}/boost-img }
Integrate the SONOS control HomeAssistant module
DESCRIPTION = "A SoCo fork with fixes for Home Assistant " HOMEPAGE = "https://pypi.org/project/pysonos/" SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=07b0e2ca9ac77cd65cd4edf2e13367ea" SRC_URI[sha256sum] = "3fed94dffbca5807d39d000d1415fe8d7dfc1032ba92a33d0b577eb2e98a81f3" inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYTHON_PN}-ifaddr \ ${PYTHON_PN}-requests \ ${PYTHON_PN}-xmltodict \ "
Use mkdir rather than install in postinst.
DESCRIPTION = "Bootchart Lite for Embedded Systems." AUTHOR = "Fred Chien" LICENSE = "GPLv2" SECTION = "console/utils" HOMEPAGE = "http://code.google.com/p/bootchart-lite/" PV = "0.1+svnr${SRCPV}" PR = "r0" SRC_URI = "svn://bootchart-lite.googlecode.com/svn/;module=trunk;proto=http" S = "${WORKDIR}/trunk" inherit autotools pkg_postinst_${PN} () { install -d /etc/bootchart-lite } pkg_postrm_${PN} () { rm -rf /etc/bootchart-lite }
DESCRIPTION = "Bootchart Lite for Embedded Systems." AUTHOR = "Fred Chien" LICENSE = "GPLv2" SECTION = "console/utils" HOMEPAGE = "http://code.google.com/p/bootchart-lite/" PV = "0.1+svnr${SRCPV}" PR = "r0" SRC_URI = "svn://bootchart-lite.googlecode.com/svn/;module=trunk;proto=http" S = "${WORKDIR}/trunk" inherit autotools pkg_postinst_${PN} () { mkdir /etc/bootchart-lite } pkg_postrm_${PN} () { rm -rf /etc/bootchart-lite }
Add headers for raspberrypi kernel
require recipes-kernel/linux-libc-headers/linux-libc-headers.inc PR = "r0" PROVIDES = "linux-libc-headers" RPROVIDES_${PN}-dev = "linux-libc-headers-dev" RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg" SRCREV = "10182a3bc434b27740f81c2b836a1af943060241" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \ " S = "${WORKDIR}/git"
Add recipe for PKCS11 engine
DESCRIPTION = "OpenSSL PKCS11 engine" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://src/engine_pkcs11.h;startline=1;endline=26;md5=471dacb7f0586e35729f422b8098585f" SECTION = "libs" inherit autotools pkgconfig DEPENDS = "openssl libtool libp11" PV = "1.3.0.0" BRANCH="master" # Commit corresponds to DEV.ENGINE_PKCS11-01.03.00.00 SRCREV = "0b14500b0ea8b37453b6d93aac02278465e7e732" SRC_URI = "git://git.ti.com/keystone-linux/engine-pkcs11.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" FILES_${PN} += "${libdir}/engines/*.so*" FILES_${PN}-dbg += "${libdir}/engines/.debug"
Add initial recipe for Azure C SDK.
DESCRIPTION = "Microsoft Azure IoT device SDK for C" HOMEPAGE = "https://github.com/Azure/azure-iot-sdks" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=4283671594edec4c13aeb073c219237a" inherit cmake pkgconfig SRC_URI = "gitsm://github.com/Azure/azure-iot-sdks.git" SRCREV = "${AUTOREV}" PR = "r1" S = "${WORKDIR}/git" PACKAGES = "${PN}-staticdev ${PN}-dev" do_recursive_submodule_init() { cd ${S} git submodule update --init --recursive } addtask recursive_submodule_init after do_unpack before do_configure OECMAKE_SOURCEPATH = "${WORKDIR}/git/c" EXTRA_OECMAKE = "-Dskip_unittests=ON -Duse_mqtt=OFF -Duse_http=OFF -Duse_amqp=OFF -Drun_e2e_tests=OFF" FILES_${PN}-staticdev += "${libdir}/*" FILES_${PN}-dev += "${includedir}/*"
Add recipe for redsocks - transparent proxy redirector
DESCRIPTION = "redsocks - transparent socks redirector" SECTION = "net/misc" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM="file://README;beginline=74;endline=78;md5=edd3a93090d9025f47a1fdec44ace593" SRCREV = "27b17889a43e32b0c1162514d00967e6967d41bb" SRC_URI = "git://github.com/darkk/redsocks.git" DEPENDS = "libevent" S = "${WORKDIR}/git" do_install () { install -d ${D}${bindir} install -m 0775 ${S}/redsocks ${D}${bindir}/redsocks }
Add recipe for requests unixsocket python library
SUMMARY = "Use requests to talk HTTP via a UNIX domain socket" HOMEPAGE = "https://github.com/msabramo/requests-unixsocket" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" inherit pypi setuptools3 DEPENDS += "\ python3-pbr-native \ " RDEPENDS_${PN} += "\ python3-requests \ python3-urllib3 \ " RDEPENDS_${PN} += " \ python3-io \ " SRC_URI[sha256sum] = "9e5c1a20afc3cf786197ae59c79bcdb0e7565f218f27df5f891307ee8817c1ea"
Add RTOS package of the RM LLD
inherit ti-pdk require rm-lld.inc PR = "${INC_PR}.0" PACKAGE_ARCH = "${MACHINE_ARCH}" XDCARGS_k2hk-evm = "k2h k2k" XDCARGS_k2e-evm = "k2e" XDCARGS_k2l-evm = "k2l" XDCARGS_k2g-evm = "k2g"
Revert "zstd: move recipe to oe-core"
SUMMARY = "Zstandard - Fast real-time compression algorithm" DESCRIPTION = "Zstandard is a fast lossless compression algorithm, targeting \ real-time compression scenarios at zlib-level and better compression ratios. \ It's backed by a very fast entropy stage, provided by Huff0 and FSE library." HOMEPAGE = "http://www.zstd.net/" SECTION = "console/utils" LICENSE = "BSD-3-Clause & GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=c7f0b161edbe52f5f345a3d1311d0b32 \ file://COPYING;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0" SRC_URI = "git://github.com/facebook/zstd.git;nobranch=1" SRCREV = "10f0e6993f9d2f682da6d04aa2385b7d53cbb4ee" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" S = "${WORKDIR}/git" PACKAGECONFIG ??= "" PACKAGECONFIG[lz4] = "HAVE_LZ4=1,HAVE_LZ4=0,lz4" PACKAGECONFIG[lzma] = "HAVE_LZMA=1,HAVE_LZMA=0,xz" PACKAGECONFIG[zlib] = "HAVE_ZLIB=1,HAVE_ZLIB=0,zlib" # See programs/README.md for how to use this ZSTD_LEGACY_SUPPORT ??= "4" do_compile () { oe_runmake ${PACKAGECONFIG_CONFARGS} ZSTD_LEGACY_SUPPORT=${ZSTD_LEGACY_SUPPORT} } do_install () { oe_runmake install 'DESTDIR=${D}' } BBCLASSEXTEND = "native nativesdk"
Add TI audio and video files
DESCRIPTION = "AMSDK multimedia support files" HOMEPAGE = "https://gforge.ti.com/gf/project/am_multimedia/" LICENSE = "CC-BY-NC-ND-3.0" SECTION = "multimedia" PRIORITY = "optional" LIC_FILES_CHKSUM = "file://Multimedia_Data_Files_Manifest.doc;md5=5f25f2753d6294d6b3ecac61d2f64146" PR = "r0" COMPATIBLE_MACHINE = "(omap3evm|am37x-evm|am3517-evm|am389x-evm|beagleboard|am335x-evm)" PACKAGE_ARCH = "${MACHINE_ARCH}" VIDEO_FILES = "video_480p " VIDEO_FILES_append_am37x-evm = "video_vga_r" VIDEO_FILES_append_beagleboard = "video_vga" VIDEO_FILES_append_am3517-evm = "video_wqvga" VIDEO_FILES_append_am335x-evm = "video_wvga \ video_wqvga" SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/564/5179/amsdk-av-files_${PV}.tar.gz;name=avfilestarball" S = "${WORKDIR}/amsdk-av-files" do_compile() { : } do_install() { install -d ${D}${datadir}/ti \ ${D}${datadir}/ti/audio \ ${D}${datadir}/ti/video install -m 0644 ${S}/audio/* ${D}${datadir}/ti/audio/ for file in ${VIDEO_FILES}; do install -m 0644 ${S}/${file}/* ${D}${datadir}/ti/video/ done } FILES_${PN} += "${datadir}/ti/*" SRC_URI[avfilestarball.md5sum] = "19d254541f7c050d6220bd11249c1e8c" SRC_URI[avfilestarball.sha256sum] = "5b81f49a305c3c88a6e33834d30561e8c16a534f9dcd10d31b348fd0031b2a74"
Create recipe to demonstrate qt5 example.
SUMMARY = "Qt5 everywhere demo" DESCRIPTION = "Quick tour of Qt 5.0, primarily focusing on its graphical capabilities." HOMEPAGE = "https://qt.gitorious.org/qt-labs" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://main.cpp;md5=1187cb795a0f96bce64e63dd1a67dc2b" DEPENDS = "qtdeclarative qtgraphicaleffects" SRCREV = "9a868f96ee63c21ceda890d8dfc9d33f093d1b6d" SRC_URI = "git://gitorious.org/qt-labs/qt5-everywhere-demo.git" S = "${WORKDIR}/git/QtDemo" require recipes-qt/qt5/qt5.inc do_install() { install -d ${D}${datadir}/${P} install -m 0755 ${B}/QtDemo ${D}${datadir}/${P} cp -a ${S}/qml ${D}${datadir}/${P} } FILES_${PN}-dbg += "${datadir}/${P}/.debug" FILES_${PN} += "${datadir}" RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"
Add ULM library for ARM and DSP.
DESCRIPTION = "TI dsptop utility." LICENSE = "BSD" LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" DEPENDS = "ti-cgt6x-native" PR = "${INC_PR}.0" S = "${WORKDIR}/git/dsptop/ulm" DEVICE="" DEVICE_dra7xx = "DRA7xx" DEVICE_keystone = "C66AK2Hxx" EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" do_compile() { oe_runmake arm XPORT_ONLY oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include } do_install() { install -d ${D}${includedir} install -d ${D}${libdir} install -d ${D}${datadir}/ti/ulm cp -f tiulm.h ${D}${includedir} cp -f release/libtiulm.a ${D}${libdir} cp -f tiulm.h ${D}${datadir}/ti/ulm cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm } COMPATIBLE_MACHINE = "dra7xx|keystone" PACKAGE_ARCH = "${MACHINE_ARCH}" FILES_${PN}-dev += "\ ${datadir}/ti/ulm \ " include dsptop.inc ALLOW_EMPTY_${PN} = "1" PARALLEL_MAKE= ""
Add recipes for python3-tz packages
SUMMARY = "Python3 version of the Olson timezone database" DESCRIPTION = "python-tz brings the Olson tz database into Python. This library allows \ accurate and cross platform timezone calculations using Python 2.3 or higher. \ It also solves the issue of ambiguous times at the end of daylight savings, \ which you can read more about in the Python Library Reference \ (datetime.tzinfo)." HOMEPAGE = "http://pypi.python.org/pypi/pytz/" DPN = "python-tz" INC_PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22b38951eb857cf285a4560a914b7cd6" inherit setuptools python3native DEPENDS += "python3-setuptools-native" do_debian_patch_prepend() { # ${S}/.pc is existed by default, so we need to remove it to # avoid error "unknown quilt patches already applied" rm -rf ${S}/.pc } do_install_append() { # remove unwanted files rm -rf `find ${D}${libdir} -type d -name "__pycache__"` } RDEPENDS_${PN} += "tzdata"
Add rtos recipe for hyplnk-lld
SUMMARY = "TI RTOS low level driver for Hyperlink peripheral" inherit ti-pdk require recipes-bsp/hyplnk-lld/hyplnk-lld.inc PR = "${INC_PR}.0" COMPATIBLE_MACHINE_append = "|c66x" # HTML doc link params PDK_COMP_LINK_TEXT = "HYPLNK LLD"
Add recipe for mono-native package
UMMARY = "An Open Source implementation of the Microsoft's .NET Framework" DESCRIPTION = "This is part of the Mono project - http://mono-project.com" HOMEPAGE = "http://www.mono-project.com/" PR = "r0" inherit debian-package LICENSE = "LGPLv2+ & GPLv2+ & MIT & MPL-1.1" LIC_FILES_CHKSUM = "\ file://COPYING.LIB;md5=80862f3fd0e11a5fa0318070c54461ce \ file://mcs/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://mcs/LICENSE;md5=9331d7bdf59594f966a1db06adeefd3c \ file://mcs/LICENSE.MPL;md5=bfe1f75d606912a4111c90743d6c7325 \ file://mcs/LICENSE.GPL;md5=4f20d7df8c88ac40c2ae9467222d0376 \ file://mcs/LICENSE.LGPL;md5=429262d6c41a35150ebec9533c828b8d" inherit autotools-brokensep DEPENDS = "perl-native" inherit native do_fix_libtool_name() { # inherit native will make that all native tools that are being # built are prefixed with something like "i686-linux-", # including libtool. Fix up some hardcoded libtool names: for i in "${S}"/runtime/*-wrapper.in; do sed -e "s/libtool/${BUILD_SYS}-libtool/" -i "${i}" done sed -e "s/slash\}libtool/slash\}${HOST_SYS}-libtool/" -i acinclude.m4 sed -e "s/slash\}libtool/slash\}${HOST_SYS}-libtool/" -i libgc/acinclude.m4 sed -e "s/slash\}libtool/slash\}${HOST_SYS}-libtool/" -i eglib/acinclude.m4 libtoolize --force --copy } addtask fix_libtool_name after do_patch before do_configure do_install_append() { rm -r ${D}${datadir}/libgc-mono rm ${D}${bindir}/*.py ${D}${bindir}/nunit* ln -s mcs ${D}${bindir}/mono-csc }
Remove kernel-version and add own version
SUMMARY = "Module for Low Power Actions on sitec systems S4 Comm Pro X" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" MAINTAINER = "Robert Lehmann <robert.lehmann@sitec-systems.de>" inherit module PR = "r2" PV = "1.0.0" SRC_URI = "file://Makefile \ file://main.c \ file://sitec_lp.h \ file://sts_fm.c \ file://sts_fm.h \ " S = "${WORKDIR}" # The inherit of module.bbclass will automatically name module packages with # "kernel-module-" prefix as required by the oe-core build environment.
Add recipe for transitions python library
SUMMARY = "A lightweight, object-oriented Python state machine implementation with many extensions." AUTHOR = "Tal Yarkoni" HOMEPAGE = "http://github.com/pytransitions/transitions" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=8734a2c2e13bbf9c2fd1b6cb64af8219" inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYTHON_PN}-six \ " RDEPENDS_${PN} += "\ ${PYTHON_PN}-asyncio \ ${PYTHON_PN}-logging \ ${PYTHON_PN}-numbers \ ${PYTHON_PN}-threading \ ${PYTHON_PN}-typing \ " PR = "r0" SRC_URI[sha256sum] = "2b8cf2078ed189ffbb0f29421798d7a63ff0d7823682a0d69c01bd8240363cac"