doc_id
stringlengths 36
36
| metadata
dict | input
stringlengths 28
4.3k
| output
stringlengths 11
5.45k
|
---|---|---|---|
84de40fb-9491-47fc-8ffd-d3611209d6ad | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for AWS IoT Device JavaScript SDK | ```bitbake
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"
``` |
489c49eb-655c-4d4a-bbc9-6a2889949daf | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for iptop package | ```bitbake
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
}
``` |
3c6586f4-a72d-49a0-a475-a62b248f6338 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe to build from sakoman.com u-boot repository | ```bitbake
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"
``` |
d0ee8866-7afb-4b5d-aada-9979e01d6296 | {
"language": "BitBake"
} | ```bitbake
```
Add TI thermostat demo v2 | ```bitbake
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}/*"
``` |
80fa4ecc-c722-45d3-9154-6bbb9e48c979 | {
"language": "BitBake"
} | ```bitbake
```
Add headers for raspberrypi kernel | ```bitbake
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"
``` |
2364e40c-d743-4b39-ae88-aaad1b03a6cc | {
"language": "BitBake"
} | ```bitbake
```
Add Recipe for android make-ext4fs tool | ```bitbake
# Copyright (C) 2016 Khem Raj <[email protected]>
# 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
}
``` |
b59f0990-9433-4584-962b-6c2f99b993e4 | {
"language": "BitBake"
} | ```bitbake
```
Add a new bootstrap package group | ```bitbake
SUMMARY = "Task to install additional utilities for initial board bringup"
LICENSE = "MIT"
PR = "r0"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
UTILS = " \
arm-benchmarks \
evtest \
memtester \
nbench-byte \
pcitest \
serialcheck \
yavta \
hdparm \
i2c-tools \
libdrm-tests \
rt-tests \
iozone3 \
mtd-utils-ubifs-tests \
net-tools \
ethtool \
pciutils \
rng-tools \
stress-ng \
iperf \
lmbench \
usbutils \
devmem2 \
phytool \
"
UTILS:append:ti33x = " \
omapconf \
"
UTILS:append:ti43x = " \
omapconf \
"
UTILS:append:omap-a15 = " \
omapconf \
"
UTILS:append:k3 = " \
k3conf \
"
RDEPENDS_${PN} = "\
${UTILS} \
"
``` |
cb65c295-ff08-4304-8fce-40c862d92e7b | {
"language": "BitBake"
} | ```bitbake
```
Add a bitbake recipe to build the go library dns | ```bitbake
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}/*"
``` |
ecd242ab-8f4e-40bc-9aa3-a89109d16705 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libparams-validate-perl package | ```bitbake
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"
``` |
b915730b-5e98-408c-9b1e-8e9de630677c | {
"language": "BitBake"
} | ```bitbake
```
Add new recipe for liburcu package | ```bitbake
#
# 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"
``` |
f1909f9d-325c-4884-8e81-da80ad061500 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for nanomsg library | ```bitbake
DESCRIPTION = "The nanomsg library is a simple high-performance implementation of several "scalability protocols"."
HOMEPAGE = "https://github.com/nanomsg/nanomsg"
AUTHOR = "Martin Sustrik"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=587b3fd7fd291e418ff4d2b8f3904755"
inherit cmake
PR = "r0"
SRC_URI = "git://github.com/nanomsg/nanomsg.git"
SRCREV = "7e12a20e038234060d41d03c20721d08117f8607"
S = "${WORKDIR}/git"
EXTRA_OECMAKE += "-DNN_TESTS:BOOL=OFF"
PACKAGES = "${PN} ${PN}-dev ${PN}-dbg ${PN}-tools"
FILES_${PN} = "\
${libdir}/libnanomsg.so.* \
${libdir}/pkgconfig \
"
FILES_${PN}-tools += "${bindir}/nanocat"
``` |
89e8fa64-2777-42ca-9f05-a950a9435fb5 | {
"language": "BitBake"
} | ```bitbake
```
Add RTOS package for CPPI LLD | ```bitbake
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"
``` |
09638b30-620a-45ff-88bd-992d6020f6ee | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for zeromq3 package | ```bitbake
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"
``` |
a251ff3d-9bb6-49cd-a3fb-33921f5adcf9 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for eventlog package | ```bitbake
#
# 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
``` |
28769978-a7fc-4c4e-baec-a1c24fe3a328 | {
"language": "BitBake"
} | ```bitbake
```
Add SDK recipe for bsp-image | ```bitbake
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 \
"
``` |
49db7941-01a2-4f67-9f0b-0630cac42f04 | {
"language": "BitBake"
} | ```bitbake
```
Add a copy of gmp for use in Canadian builds | ```bitbake
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
}
``` |
2d767400-5a7a-463f-a906-e3421a46708a | {
"language": "BitBake"
} | ```bitbake
```
Add rtos recipe for spi-lld | ```bitbake
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"
``` |
1b402de2-a2ee-414f-b5f1-a2a15452c7f1 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libdmx package | ```bitbake
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"
``` |
4683909f-f750-46fe-948b-5bf63899abfd | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for AWS IoT Device Python SDK | ```bitbake
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"
``` |
f5cf9b0d-1785-45b6-b904-f6a068e18a54 | {
"language": "BitBake"
} | ```bitbake
```
Add recipes for pcsc-lite package | ```bitbake
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"
``` |
ab6fd689-5e2b-4284-92e7-61f9bf17ed00 | {
"language": "BitBake"
} | ```bitbake
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"
```
Remove redundant `S = "${WORKDIR}/zeromq-${PV}"` | ```bitbake
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"
``` |
f160f44e-74e7-441b-b5d8-8a59c7a71183 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for update-rc.d package | ```bitbake
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"
``` |
2f67d9a2-1fb7-42dd-bfd9-0a5ec93fd5c6 | {
"language": "BitBake"
} | ```bitbake
```
Add package for bsp versioning | ```bitbake
SUMMARY = "Version package"
DESCRIPTION = "Package which creates a file with all git hashes that are used"
MAINTAINER = "Robert Lehmann <[email protected]>"
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
}
``` |
089b3195-6845-431a-a806-6772e7c184a0 | {
"language": "BitBake"
} | ```bitbake
```
Create recipe to demonstrate qt5 example. | ```bitbake
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"
``` |
80352158-f8aa-4eff-a20e-8584a2cdac77 | {
"language": "BitBake"
} | ```bitbake
```
Add RTOS package for QMSS LLD | ```bitbake
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"
``` |
042e571b-8612-4fa5-b710-c4b6606e5a90 | {
"language": "BitBake"
} | ```bitbake
```
Add PSP version for ti816x devices. | ```bitbake
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"
``` |
00deebf6-29ed-49a9-bd78-aff19dd92a75 | {
"language": "BitBake"
} | ```bitbake
```
Create WebOS image with debug tools. | ```bitbake
# (c) Copyright 2012 Hewlett-Packard Development Company, L.P.
DESCRIPTION = "Open webOS image with debug components"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
PR = "r0"
IMAGE_FEATURES += "webos-temp tools-debug"
inherit webos-image
``` |
38072122-7934-44d4-8292-d05383a0fa9d | {
"language": "BitBake"
} | ```bitbake
```
Add CxxTest framework to recipe-devtools. | ```bitbake
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"
``` |
0291f3a4-075d-472a-93ad-a9435af1cea4 | {
"language": "BitBake"
} | ```bitbake
```
Add GTK+3 greeter for LightDM. | ```bitbake
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* \
"
``` |
310b3a3f-ec1d-4021-b080-f9596aaa768f | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for nettle package, build the package from Debian source | ```bitbake
#
# 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"
``` |
51fa4aab-ee9a-4c18-843a-cab112fc5cf2 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for lvgl lib | ```bitbake
# 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}/"
``` |
fbeff07c-b235-42d7-89d6-cb43133d8a4d | {
"language": "BitBake"
} | ```bitbake
```
Add bitbake recipe to build go-checkpoint | ```bitbake
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}/*"
``` |
5541f203-ec5d-448f-825d-71f96ce80b15 | {
"language": "BitBake"
} | ```bitbake
```
Add new recipe for user space io driver | ```bitbake
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
``` |
dc0692ac-407d-4a6b-ae5b-aa05b7a00de7 | {
"language": "BitBake"
} | ```bitbake
```
Add mmwave radar ROS driver compatible with mmWave SDK | ```bitbake
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"
``` |
366eee46-f69b-499f-b9d9-34d021ab5f78 | {
"language": "BitBake"
} | ```bitbake
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"
```
Move X-Loader to 1.5.1 release. | ```bitbake
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"
``` |
d4666614-e276-44a1-a318-c52f758c37ad | {
"language": "BitBake"
} | ```bitbake
```
Add initial microcode compiler stuff | ```bitbake
DESCRIPTION = "Firmware for the IXP4xx line of devices"
MAINTAINER = "Oyvind Repvik <[email protected]>"
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/
}
``` |
10527f3d-3015-42fd-b47a-d820db0fcb48 | {
"language": "BitBake"
} | ```bitbake
```
Add recipes for arm/32bit examples on amlogic SOCs | ```bitbake
# Copyright (C) 2018 Khem Raj <[email protected]>
# 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'
``` |
8edf6325-c083-4251-b5c6-06ef77de2170 | {
"language": "BitBake"
} | ```bitbake
```
Add new recipe for brcm-patchram-plus | ```bitbake
# Copyright (C) 2015 Romain Perier <[email protected]>
# 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
}
``` |
ac12ef5f-5612-459a-94f9-d78f9b171dad | {
"language": "BitBake"
} | ```bitbake
```
Add support for Xilinx DP drivers | ```bitbake
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}"
``` |
86e7362e-bfc0-4efc-a6b6-9799077da7f3 | {
"language": "BitBake"
} | ```bitbake
```
Add Babel routing protocol recipe | ```bitbake
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}
}
``` |
41241564-e162-4404-9238-d3c0132ed809 | {
"language": "BitBake"
} | ```bitbake
```
Add bitbake recipe to build etcd | ```bitbake
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/*"
``` |
5dda4c01-3660-4f8e-8025-c9dc1b9ecabf | {
"language": "BitBake"
} | ```bitbake
```
Add recipe to support Raspberry Pi Sense HAT | ```bitbake
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 \
"
``` |
cf507554-e70a-46ad-bf11-3495f5a718dc | {
"language": "BitBake"
} | ```bitbake
```
Add a recipe freeglut to replace mesa-glut | ```bitbake
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"
``` |
689a4205-8a5f-4695-a8d5-ebda7f0898b8 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for geoip package | ```bitbake
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.*"
``` |
0522795f-5bda-4c99-8837-0c20062a3571 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for memcached package | ```bitbake
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 = ""
``` |
e0c09661-d46d-497a-9aab-03ceaf9fdcf4 | {
"language": "BitBake"
} | ```bitbake
```
Add RTOS package for pktlib | ```bitbake
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"
``` |
efc0f607-327e-4682-8f10-03742450628b | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for hwdata package | ```bitbake
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"
``` |
278e958c-c1dd-4938-a47f-6bb27994987b | {
"language": "BitBake"
} | ```bitbake
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"
```
Remove pagesz-not-constant.patch as gcc34.patch is doing the same thing (which of course breaks the build) | ```bitbake
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"
``` |
dd5bff66-b689-42c8-a839-a34e2ed2bac1 | {
"language": "BitBake"
} | ```bitbake
```
Add headers for raspberrypi kernel | ```bitbake
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"
``` |
6ddea49b-0f8b-4fd3-a2cd-e60c1eb0a112 | {
"language": "BitBake"
} | ```bitbake
```
Add recipes for bmake package | ```bitbake
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 = ""
``` |
e9acd49c-1cb3-4b16-b4f6-e9bdbd28927d | {
"language": "BitBake"
} | ```bitbake
```
Add rtos recipe for nwal | ```bitbake
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"
``` |
fb9ee501-ff0d-4fb6-9d59-3da1e93d3c84 | {
"language": "BitBake"
} | ```bitbake
```
Add recipes for ucf package | ```bitbake
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"
``` |
4880917b-fdca-420b-858b-8b0566550ac4 | {
"language": "BitBake"
} | ```bitbake
```
Add bitbake recipe to build yamux | ```bitbake
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}/*"
``` |
254e715d-9e3f-42fb-86f6-1494f9bf17c8 | {
"language": "BitBake"
} | ```bitbake
```
Add the giflib recipe necessary for building efl | ```bitbake
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"
``` |
db7ff5b0-cd3a-44e4-9ecf-1603e6a7aeaf | {
"language": "BitBake"
} | ```bitbake
```
Add new library which is a optional dependency for Weston | ```bitbake
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"
``` |
abf88c41-f6a5-46a5-a7da-8e977d42ae69 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for sshpass package | ```bitbake
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
``` |
aa6ea8f3-f034-4063-998d-a63a4a33d84b | {
"language": "BitBake"
} | ```bitbake
```
Add recipes for libgc packages | ```bitbake
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"
``` |
15f45ac3-6e84-4ab3-9ff6-cc3af594cc7a | {
"language": "BitBake"
} | ```bitbake
```
Add a bitbake recipe to build mdns | ```bitbake
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}/*"
``` |
5bbefe8a-7004-433e-8600-9056ba42cda1 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for tinycdb package | ```bitbake
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"
``` |
fe14c1ad-970d-4d78-80d8-943d9f9012bc | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libcrypt-openssl-rsa-perl package | ```bitbake
#
# 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"
``` |
3b5e4be3-e175-44a3-8ab4-d7e366856ad3 | {
"language": "BitBake"
} | ```bitbake
```
Add fastrpc recipe for {a,c}dsp | ```bitbake
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
``` |
084fbd88-dbcc-4fb8-8d73-0a11ea92309d | {
"language": "BitBake"
} | ```bitbake
```
Add utility to create variable cpu load | ```bitbake
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
}
``` |
32f19712-8d2a-4099-8750-4ab698902834 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for firenodejs autostart | ```bitbake
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}"
``` |
884f0382-aa65-47ce-9a09-6976d701a72d | {
"language": "BitBake"
} | ```bitbake
```
Revert "glm: remove - a later version is in meta-oe" | ```bitbake
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"
``` |
63099a1f-b75a-4f7f-bad9-e35811121ca3 | {
"language": "BitBake"
} | ```bitbake
```
Introduce a new version of gpe-bluetooth. | ```bitbake
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 <[email protected]>"
SECTION = "gpe"
PRIORITY = "optional"
PR = "r0"
SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.bz2"
FILES_${PN} += '${datadir}/bluez-pin'
``` |
171de689-6290-4493-b7f7-8d88ab038042 | {
"language": "BitBake"
} | ```bitbake
```
Add a bitbake recipe to build circbuf | ```bitbake
SUMMARY = "Go package for circular buffers"
HOMEPAGE = "https://github.com/armon/circbuf"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d2d77030c0183e3d1e66d26dc1f243be"
PKG_NAME = "github.com/armon/circbuf"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "f092b4f207b6e5cce0569056fba9e1a2735cb6cf"
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 += "circbuf_sysroot_preprocess"
circbuf_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}/*"
``` |
6ac29f2e-9385-4566-b999-a835990628cd | {
"language": "BitBake"
} | ```bitbake
```
Add rtos recipe for i2c-lld | ```bitbake
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"
``` |
098c8523-f5d6-4613-94a4-012c6cc05353 | {
"language": "BitBake"
} | ```bitbake
```
Add rtos recipe for mmcsd-lld | ```bitbake
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"
``` |
8536d303-3bd0-4dd0-864a-825dd2812418 | {
"language": "BitBake"
} | ```bitbake
```
Add librecord2, the new G(PE)^2 database library. | ```bitbake
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
}
``` |
ca4331a3-a37c-4eec-befc-40d12ed13a23 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for mountall package | ```bitbake
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 \
"
``` |
b42521ba-2eb5-43e2-bd71-9ae1df39f20d | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for SVN version | ```bitbake
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
}
``` |
f6f5f1f1-ca1c-4c86-a65c-971189d8f97c | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for debug image | ```bitbake
# 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"
``` |
2f6a91aa-60ad-4b54-866c-8152c2c826df | {
"language": "BitBake"
} | ```bitbake
```
Add a bitbake recipe to build net-rpc-msgpackrpc | ```bitbake
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}/*"
``` |
0e65805c-d68a-4ca3-8164-02f223c532fa | {
"language": "BitBake"
} | ```bitbake
```
Add the native version of the Local::gettext module. | ```bitbake
SECTION = "libs"
inherit native
EXTRA_CPANFLAGS += " EXPATINCPATH='${STAGING_INCDIR}' EXPATLIBPATH='${STAGING_LIBDIR}'"
require liblocale-gettext-perl_${PV}.bb
``` |
38eee309-da00-488c-af4e-7c035956f566 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for vsftpd pacakge | ```bitbake
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}"
``` |
08cf58d5-202c-454e-95cb-757e9385ad2f | {
"language": "BitBake"
} | ```bitbake
```
Add package, ATA over ethernet userspace utilities | ```bitbake
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
``` |
e41de8a7-9764-4b55-b154-78b8e4304ce6 | {
"language": "BitBake"
} | ```bitbake
```
Add Build recipe for boost-img tool. | ```bitbake
# Copyright (C) 2011 Peter Tworek <[email protected]>
# 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
}
``` |
75c39146-1188-4ab4-9ff8-09ebf6e6c677 | {
"language": "BitBake"
} | ```bitbake
```
Integrate the SONOS control HomeAssistant module | ```bitbake
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 \
"
``` |
c624cda3-4047-44bd-be11-535c2d8f2922 | {
"language": "BitBake"
} | ```bitbake
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
}
```
Use mkdir rather than install in postinst. | ```bitbake
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
}
``` |
fdf95f30-6b6c-46e6-979f-47d7eb1362fd | {
"language": "BitBake"
} | ```bitbake
```
Add headers for raspberrypi kernel | ```bitbake
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"
``` |
e8186493-b8d8-4108-8c2f-aa7a3f92380e | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for PKCS11 engine | ```bitbake
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"
``` |
660356ad-2b92-4ed3-984f-dd9766299b26 | {
"language": "BitBake"
} | ```bitbake
```
Add initial recipe for Azure C SDK. | ```bitbake
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}/*"
``` |
972cfa9a-70fc-43b8-b232-222cc45388a1 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for redsocks - transparent proxy redirector | ```bitbake
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
}
``` |
10c59ed1-8e6e-4b67-b3ce-cf6e8b75534b | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for requests unixsocket python library | ```bitbake
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"
``` |
b60cdddd-714f-4cda-bfa3-2c6d46e2b9d4 | {
"language": "BitBake"
} | ```bitbake
```
Add RTOS package of the RM LLD | ```bitbake
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"
``` |
8a3737f7-7ac7-4722-a26f-c244e9c19c9c | {
"language": "BitBake"
} | ```bitbake
```
Revert "zstd: move recipe to oe-core" | ```bitbake
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"
``` |
40429956-b328-4b75-b631-58b669c6aadf | {
"language": "BitBake"
} | ```bitbake
```
Add TI audio and video files | ```bitbake
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"
``` |
6d926ca7-3eee-4f0a-8927-24a3e18b6a22 | {
"language": "BitBake"
} | ```bitbake
```
Create recipe to demonstrate qt5 example. | ```bitbake
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"
``` |
4fe7a704-7ff5-4a3e-9061-6dfbd8360a25 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for paxctl package | ```bitbake
#
# base recipe: http://git.yoctoproject.org/cgit/cgit.cgi/meta-security/\
# tree/recipes-security/paxctl/paxctl_0.9.bb
# base branch: master
# base commit: 8eadad192719be3d2320effe6a27a83120d74a2f
#
SUMMARY = "new PaX control program for using the PT_PAX_FLAGS marking"
DESCRIPTION = "paxctl is a tool that allows PaX flags to be modified on a \
per-binary basis. PaX is part of common security-enhancing \
kernel patches and secure distributions, such as \
GrSecurity or Adamantix and Hardened Gen-too, respectively."
HOMEPAGE = "https://pax.grsecurity.net/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://paxctl.c;beginline=1;endline=5;md5=0ddd065c61020dda79729e6bedaed2c7 \
file://paxctl-elf.c;beginline=1;endline=5;md5=99f453ce7f6d1687ee808982e2924813 \
"
PR = "r0"
inherit debian-package
do_install() {
oe_runmake 'DESTDIR=${D}' install
}
``` |
f2292649-c3bc-43eb-b27b-d6a85532e595 | {
"language": "BitBake"
} | ```bitbake
```
Add ULM library for ARM and DSP. | ```bitbake
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= ""
``` |
3c345bea-e19b-4e72-9ed3-2c1709f4e238 | {
"language": "BitBake"
} | ```bitbake
```
Add recipes for python3-tz packages | ```bitbake
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"
``` |
cc6b6db6-6fca-441e-8916-c6375e9f3ce1 | {
"language": "BitBake"
} | ```bitbake
```
Add rtos recipe for hyplnk-lld | ```bitbake
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"
``` |
d8d698fd-f8b6-4e64-9c41-1fd8172f519f | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for mono-native package | ```bitbake
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
}
``` |
ab83a333-5fa3-4f2a-8c0f-667d5b78478b | {
"language": "BitBake"
} | ```bitbake
```
Remove kernel-version and add own version | ```bitbake
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 <[email protected]>"
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.
``` |
772a2ede-0315-4057-9625-37317949dd77 | {
"language": "BitBake"
} | ```bitbake
SECTION = "console/utils"
DESCRIPTION = 'The PCI Utilities package contains a library for portable access \
to PCI bus configuration space and several utilities based on this library.'
HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
LICENSE = "GPLv2"
PR="r1"
PARALLEL_MAKE = ""
SRC_URI = "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
file://configure.patch;patch=1 \
file://configure-uclibc.patch;patch=1 \
file://pcimodules-pciutils-2.1.11.diff;patch=1"
do_configure () {
(cd lib && ./configure ${datadir} ${PV} ${TARGET_OS} 2.4.21 ${TARGET_ARCH})
}
export PREFIX = "${D}${prefix}"
export SBINDIR = "${D}${sbindir}"
export SHAREDIR = "${D}${datadir}"
export MANDIR = "${D}${mandir}"
do_install () {
oe_runmake install
}
```
Add pci.ids, in a separate package | ```bitbake
SECTION = "console/utils"
DESCRIPTION = 'The PCI Utilities package contains a library for portable access \
to PCI bus configuration space and several utilities based on this library.'
HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
LICENSE = "GPLv2"
PR="r2"
PARALLEL_MAKE = ""
FILES_pciutils-ids="${prefix}/share/pci.ids"
PACKAGES =+ "pciutils-ids"
SRC_URI = "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
file://configure.patch;patch=1 \
file://configure-uclibc.patch;patch=1 \
file://pcimodules-pciutils-2.1.11.diff;patch=1"
do_configure () {
(cd lib && ./configure ${datadir} ${PV} ${TARGET_OS} 2.4.21 ${TARGET_ARCH})
}
export PREFIX = "${D}${prefix}"
export SBINDIR = "${D}${sbindir}"
export SHAREDIR = "${D}${datadir}"
export MANDIR = "${D}${mandir}"
do_install () {
oe_runmake install
}
do_install_append () {
install -d ${D}/${prefix}/share
install -m 6440 ${WORKDIR}/${PN}-${PV}/pci.ids ${D}/${prefix}/share
}
``` |
c5007686-3b6f-45c0-8979-4ddcf147b67a | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for transitions python library | ```bitbake
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"
``` |
f8c5c9a8-3973-4042-94f5-daf751cae0c3 | {
"language": "BitBake"
} | ```bitbake
```
Add CHIP specific uboot recipe | ```bitbake
require recipes-bsp/u-boot/u-boot.inc
DESCRIPTION = "U-Boot port for C.H.I.P. boards"
DEPENDS += "dtc-native"
PROVIDES += "u-boot"
UBOOT_VERSION ?= "2015.07"
PV = "${UBOOT_VERSION}+git${SRCPV}"
SRCREV ?= "854d5fcc641d8d8914c03a69d7172815d5b81a99"
BRANCH ?= "chip/stable"
SRC_URI = "git://github.com/NextThingCo/CHIP-u-boot.git;branch=${BRANCH}"
S = "${WORKDIR}/git"
do_compile_append() {
install ${B}/spl/${SPL_BINARY} ${B}/${SPL_BINARY}
}
COMPATIBLE_MACHINE = "chip"
``` |
cce7ba69-7d49-4a2a-b641-1d0563d90b5e | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libical package | ```bitbake
SUMMARY = "iCalendar library implementation in C"
DESCRIPTION = "\
libical is an open source implementation of the IETF's iCalendar calendaring \
and scheduling protocols (RFC 2445, 2446, and 2447). It parses iCal components \
and provides a C API for manipulating the component properties, parameters, \
and subcomponents. \
"
HOMEPAGE = "http://freeassociation.sourceforge.net"
PR = "r0"
inherit debian-package
LICENSE = "MPL-1.0 | LGPL-2.1"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=d4fc58309d8ed46587ac63bb449d82f8 \
file://LICENSE;md5=d1a0891cd3e582b3e2ec8fe63badbbb6"
inherit cmake perlnative
PKG_${PN} = "${PN}1a"
RDEPENDS_${PN}-dev += "${PN}"
RDEPENDS_${PN} += "tzdata"
``` |
ef5a603e-5e6f-47f8-991b-f52b7eeac0db | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "FarSight is an audio/video conferencing framework specifically designed for Instant Messengers."
HOMEPAGE = "http://farsight.sf.net"
SRC_URI = "http://farsight.freedesktop.org/releases/farsight2/${P}.tar.gz"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
PR = "r1"
DEPENDS = "libnice glib-2.0 libxml2 zlib dbus gstreamer gst-plugins-base"
inherit autotools
EXTRA_OECONF = " \
--disable-debug \
--disable-gtk-doc \
--disable-python \
"
FILES_${PN} += "${libdir}/*/*.so"
FILES_${PN}-dev += "${libdir}/*/*a"
FILES_${PN}-dbg += "${libdir}/*/.debug"
SRC_URI[md5sum] = "e1f540cf3ebab06c3d7db1f46b44ac88"
SRC_URI[sha256sum] = "3ae59aa61a8071c9fad111e5fd606aabc27961eb4192f8729987a27dae6b3974"
```
Fix QA warning about non staticdev containing .a files. | ```bitbake
DESCRIPTION = "FarSight is an audio/video conferencing framework specifically designed for Instant Messengers."
HOMEPAGE = "http://farsight.sf.net"
SRC_URI = "http://farsight.freedesktop.org/releases/farsight2/${P}.tar.gz"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
PR = "r2"
DEPENDS = "libnice glib-2.0 libxml2 zlib dbus gstreamer gst-plugins-base"
inherit autotools
EXTRA_OECONF = " \
--disable-debug \
--disable-gtk-doc \
--disable-python \
"
FILES_${PN} += "${libdir}/*/*.so"
FILES_${PN}-dev += "${libdir}/*/*.la"
FILES_${PN}-staticdev += "${libdir}/*/*.a"
FILES_${PN}-dbg += "${libdir}/*/.debug"
SRC_URI[md5sum] = "e1f540cf3ebab06c3d7db1f46b44ac88"
SRC_URI[sha256sum] = "3ae59aa61a8071c9fad111e5fd606aabc27961eb4192f8729987a27dae6b3974"
``` |
179dcfae-29d5-44d9-9b68-885dd1138a63 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for C implementation for userspace driver app | ```bitbake
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
HOMEPAGE = "https://booting.oniroproject.org/distro/components/pim435"
SUMMARY = "A userspace driver application for PIM435 written in C"
DESCRIPTION = "A userspace driver application for PIM435 (Pimoroni LED matrix) \
written in C"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663"
SRC_URI = "git://booting.oniroproject.org/distro/components/pim435;protocol=https;branch=main"
SRCREV = "ee07a83de4d0ecdf4b5de20a7e374d36a9a6f5d5"
S = "${WORKDIR}/git"
DEPENDS = "i2c-tools"
EXTRA_OEMAKE += "DESTDIR=${D}"
do_install() {
oe_runmake install
}
``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.