doc_id
stringlengths 36
36
| metadata
dict | input
stringlengths 28
4.3k
| output
stringlengths 11
5.45k
|
---|---|---|---|
75cdb8e4-74c2-4826-89e4-fdf66bbc15f0 | {
"language": "BitBake"
} | ```bitbake
```
Add rtos recipe for serdes-diag | ```bitbake
SUMMARY = "TI RTOS library for SERDES diagnostics"
inherit ti-pdk
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://serdes_diag.h;beginline=1;endline=42;;md5=68e7ce6fdc0e9328fa7d0ec41c54420c"
COMPATIBLE_MACHINE = "keystone|c66x"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SERDES_DIAG_GIT_URI = "git://git.ti.com/keystone-rtos/serdes_diag.git"
SERDES_DIAG_GIT_PROTOCOL = "git"
SERDES_DIAG_GIT_BRANCH = "master"
SERDES_DIAG_GIT_DESTSUFFIX = "git/ti/diag/serdes_diag"
# Below commit ID corresponds to "DEV.DIAG_SERDES_SB.01.00.00.07"
SERDES_DIAG_SRCREV = "65a0c2f6afc84dce03c706432667382700a08654"
BRANCH = "${SERDES_DIAG_GIT_BRANCH}"
SRC_URI = "${SERDES_DIAG_GIT_URI};destsuffix=${SERDES_DIAG_GIT_DESTSUFFIX};protocol=${SERDES_DIAG_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${SERDES_DIAG_SRCREV}"
PV = "01.00.00.07"
PR = "r0"
S = "${WORKDIR}/${SERDES_DIAG_GIT_DESTSUFFIX}"
# HTML doc link params
PDK_COMP_LINK_TEXT = "SERDES Diagnostics"
INSANE_SKIP_${PN} = "arch"
``` |
15ba5cf2-85cd-4c65-8c1f-1018794ebb35 | {
"language": "BitBake"
} | ```bitbake
```
Add ams application user recipe | ```bitbake
SUMMARY = "Add ams application user"
DESCRIPTION = "This recipe adds the ams user"
SECTION = "roche"
PR = "r3"
LICENSE = "CLOSED"
SRC_URI = ""
S = "${WORKDIR}"
EXCLUDE_FROM_WORLD = "1"
inherit useradd
USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = " \
--system \
--no-create-home \
--shell /bin/false \
--user-group \
ams \
"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
ALLOW_EMPTY_${PN} = "1"
``` |
03dc6043-1333-4eff-9bdc-93dae4c6f6ba | {
"language": "BitBake"
} | ```bitbake
```
Add bitbake recipe for daconi skin jules black hd | ```bitbake
DESCRIPTION = "Skin Jules Black HD. Daconi"
MAINTAINER = "SIFTeam"
inherit gitpkgv
PV = "1.0+git${SRCPV}"
PKGV = "1.0+git${GITPKGV}"
PR = "r0"
SRCREV = ${AUTOREV}
PV_font-daconi-digital-watch = "${PV}"
PR_font-daconi-digital-watch = "r0"
PKGV_font-daconi-digital-watch = "${PKGV}"
DESCRIPTION_font-daconi-digital-watch = "Daconi digital watch font"
PV_enigma2-plugin-skins-jules-black-hd-supremacy = "${PV}"
PR_enigma2-plugin-skins-jules-black-hd-supremacy = "r0"
PKGV_enigma2-plugin-skins-jules-black-hd-supremacy = "${PKGV}"
DESCRIPTION_enigma2-plugin-skins-jules-black-hd-supremacy = "Skin Jules Black HD Supremacy. Daconi"
PACKAGES = "${PN} font-daconi-digital-watch enigma2-plugin-skins-jules-black-hd-supremacy"
PROVIDES = "${PN} font-daconi-digital-watch enigma2-plugin-skins-jules-black-hd-supremacy"
SRC_URI = "git://github.com/SIFTeam/skin-julesblackhd.git;protocol=git"
FILES_${PN} = "/usr/share/enigma2/jules_black_hd"
FILES_enigma2-plugin-skins-jules-black-hd-supremacy = "/usr/share/enigma2/jules_black_hd_supremacy"
FILES_font-daconi-digital-watch = "/usr/share/fonts/Daconi-digital-watch.ttf"
RDEPENDS_${PN} = "font-nmsbd2 font-verdanar font-daconi-digital-watch"
RDEPENDS_enigma2-plugin-skins-jules-black-hd-supremacy = "${PN}"
S = "${WORKDIR}/git"
do_install() {
install -d ${D}/usr/share
cp -rp ${S}/usr/share/* ${D}/usr/share/
chmod -R a+rX ${D}/usr/share/enigma2/
chmod 644 ${D}/usr/share/fonts/*.ttf
}
``` |
70e91ed8-500e-4349-a0d6-7a7e1aa8c9df | {
"language": "BitBake"
} | ```bitbake
```
Create recipe to demonstrate qt5 example. | ```bitbake
SUMMARY = "QT5 LedScreen"
DESCRIPTION = "This is LedScreen Qt5 QML component"
HOMEPAGE = "http://quitcoding.com/?page=work#cinex"
LICENSE = "CC-BY-3.0"
LIC_FILES_CHKSUM = "file://README.txt;md5=fe07f4a0be40fe88f8c7ceaca63a28b5"
DEPENDS = "qtdeclarative qtgraphicaleffects"
SRC_URI = "http://quitcoding.com/download/ledscreen_1.0.tgz"
SRC_URI[md5sum] = "8fc482d5a8b16f43f022c9a282f305b8"
SRC_URI[sha256sum] = "fa4759b70a5fa148a901a3f9a659f7bd2503d73774022012bded880dffa0d15c"
S = "${WORKDIR}/ledscreen_1.0"
do_install() {
install -d ${D}${datadir}/${P}
#install -m 0755 ${B}/QUItBattery ${D}${datadir}/${P}
cp -ar ${S}/* ${D}${datadir}/${P}
}
FILES_${PN}-dbg += "${datadir}/${P}/.debug"
FILES_${PN} += "${datadir}"
RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"
``` |
65739e1c-6c19-4891-91a3-191f0b9bb845 | {
"language": "BitBake"
} | ```bitbake
```
Add libdce version 2.0 support from glsdk | ```bitbake
DESCRIPTION = "Library used for remotely invoking the hw accelerated codec on IVA-HD"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://libdce.h;beginline=1;endline=31;md5=0a398cf815b8b5f31f552266cd453dae"
inherit autotools pkgconfig
PR = "r0+gitr${SRCPV}"
PV = "2.0"
DEPENDS = "libdrm ti-ipc"
SRC_URI = "git://git.omapzoom.org/repo/libdce.git;protocol=git"
SRCREV = "0c7eee9ffdd480063a579013161bcf85ada376b1"
S = "${WORKDIR}/git"
EXTRA_OECONF += "IPC_HEADERS=${STAGING_INCDIR}/ti/ipc/mm"
``` |
f35e94c4-db58-4d37-8f6a-795f584ef35c | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libhx package | ```bitbake
SUMMARY = "C library providing queue, tree, I/O and utility functions"
DESCIPTION = "a C library (with some C++ bindings available) that provides data \
structures and functions commonly needed, such as maps, deques, linked lists, \
string formatting and autoresizing, option and config file parsing, type \
checking casts and more. This package contains the shared libraries."
HOMEPAGE = "http://libhx.sourceforge.net/"
PR = "r0"
inherit debian-package
PV = "3.21"
LICENSE = "(LGPLv3 | LGPLv2.1+) & GPLv3+"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
file://LICENSE.LGPL2;md5=fbc093901857fcd118f065f900982c24 \
file://LICENSE.LGPL3;md5=6a6a8e020838b23406c81b19c1d46df6"
inherit autotools
do_install_append(){
install -d ${D}${datadir}/lintian/overrides
install -m 0644 ${S}/debian/libhx-dev.lintian-overrides ${D}${datadir}/lintian/overrides/libhx-dev
}
FILES_${PN}-dev += "${datadir}/lintian/overrides/libhx-dev"
FILES_${PN}-dbg += "${base_libdir}/security/.debug/*"
``` |
ba9ee961-6dc7-4563-904a-c48836d558ff | {
"language": "BitBake"
} | ```bitbake
```
Add a bluetooth capable image | ```bitbake
SUMMARY = "A bluetooth development image"
HOMEPAGE = "http://www.jumpnowtek.com"
require console-image.bb
BT_SUPPORT = " \
bluez5 \
bluez5-dev \
"
IMAGE_INSTALL += " \
${BT_SUPPORT} \
"
export IMAGE_BASENAME = "bluetooth-image"
``` |
d9220acd-5a6f-4a03-9a95-d351032f4a56 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libdbi-drivers package | ```bitbake
SUMMARY = "Database driver for libdbi"
HOMEPAGE = "http://libdbi.sourceforge.net/"
PR = "r0"
inherit debian-package
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"
inherit autotools-brokensep
DEPENDS += "libdbi mysql sqlite3 postgresql sqlite"
EXTRA_OECONF += "\
--with-pgsql \
--with-dbi-libdir=${STAGING_LIBDIR} \
--with-mysql \
--with-mysql-incdir=${STAGING_INCDIR} \
--with-mysql-libdir=${STAGING_LIBDIR} \
--with-sqlite3 \
--with-sqlite3-incdir=${STAGING_INCDIR} \
--with-sqlite3-libdir=${STAGING_LIBDIR} \
--with-sqlite \
--with-sqlite-incdir=${STAGING_INCDIR} \
--with-sqlite-libdir=${STAGING_LIBDIR} \
--with-freetds \
--with-freetds-incdir=${STAGING_INCDIR} \
--with-freetds-libdir=${STAGING_LIBDIR} \
"
# Avoid a parallel build problem
PARALLEL_MAKE = ""
do_install_append() {
#remove unwanted files
rm ${D}${libdir}/dbd/*.a
}
PACKAGES =+ "\
libdbd-freetds libdbd-mysql libdbd-pgsql libdbd-sqlite libdbd-sqlite3"
FILES_libdbd-freetds = "${libdir}/dbd/libdbdfreetds.*"
FILES_libdbd-mysql = "${libdir}/dbd/libdbdmysql.*"
FILES_libdbd-pgsql = "${libdir}/dbd/libdbdpgsql.*"
FILES_libdbd-sqlite = "${libdir}/dbd/libdbdsqlite.*"
FILES_libdbd-sqlite3 = "${libdir}/dbd/libdbdsqlite3.*"
FILES_${PN}-dbg += "${libdir}/dbd/.debug"
``` |
bf3db61f-ddb0-47d0-ae97-9df919472b61 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for time package | ```bitbake
#
# base recipe: ./meta/recipes-extended/time/time_1.7.bb
# base branch: master
# base commit: 81a9c1313deb6904728edb53288a623809321038
#
SUMMARY = "Tool that measures CPU resources"
DESCRIPTION = " time measures many of the CPU resources, such as time and \
memory, that other programs use."
HOMEPAGE = "http://www.gnu.org/software/time/"
PR = "r0"
inherit debian-package
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
inherit autotools
``` |
5001c168-1dfc-4349-be1f-123b284e71b7 | {
"language": "BitBake"
} | ```bitbake
```
Change YUV file to NV12 format for ducati encoding. | ```bitbake
DESCRIPTION = "AMSDK multimedia support files"
HOMEPAGE = "https://gforge.ti.com/gf/project/am_multimedia/"
LICENSE = "CC-BY-NC-ND-3.0 & CC-BY-3.0"
SECTION = "multimedia"
LIC_FILES_CHKSUM = "file://Multimedia_Data_Files_Manifest.doc;md5=9254447a504d2179d83a6bc9e2c28142"
PR = "r0"
COMPATIBLE_MACHINE = "(omap3|ti33x|ti43x|omap-a15)"
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_ti33x = "video_wvga \
video_wqvga"
VIDEO_FILES_append_dra7xx = "video_wvga \
video_1080p \
video_720p \
video_yuv"
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/1271/7720/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] = "3f930cd873bc55bfd52a09b85f567d0c"
SRC_URI[avfilestarball.sha256sum] = "b389b732df409546c0aba6464a5b0815647d8fa24020c4bede823cbe26337c06"
``` |
26d2e467-6568-4016-b5d3-d1f83b22b585 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libdaemon package | ```bitbake
SUMMARY = "lightweight C library for daemons"
DESCRIPTION = "libdaemon is a lightweight C library which eases the writing of UNIX daemons.\n\
It consists of the following parts:\n\
.\n\
* Wrapper around fork() for correct daemonization of a process\n\
* Wrapper around syslog() for simple log output to syslog or STDERR\n\
* An API for writing PID files\n\
* An API for serializing signals into a pipe for use with select() or poll()\n\
* An API for running subprocesses with STDOUT and STDERR redirected to syslog\n\
.\n\
Routines like these are included in most of the daemon software available. It\n\
is not simple to get these done right and code duplication is not acceptable."
HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/"
inherit debian-package
PV = "0.14"
LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
inherit autotools
EXTRA_OECONF += "--disable-lynx"
RPROVIDES_${PN} += "libdaemon0"
``` |
58165569-9a04-4152-a2d9-980eb3d57c23 | {
"language": "BitBake"
} | ```bitbake
```
Add a recipe to build l-loader for poplar. | ```bitbake
SUMMARY = "Loader to switch from aarch32 to aarch64 and boot"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=e8c1458438ead3c34974bc0be3a03ed6"
COMPATIBLE_MACHINE = "poplar"
DEPENDS += " atf-poplar coreutils-native util-linux-native"
inherit deploy pythonnative
SRCREV = "c9bccc57ddef1baa8f7adb8618c7f8a5b71ad4cc"
### DISCLAIMER ###
# l-loader should be built with an aarch32 toolchain but we target an
# ARMv8 machine. OE cross-toolchain is aarch64 in this case.
# We decided to use an external pre-built toolchain in order to build
# l-loader.
# knowledgeably, it is a hack...
###
SRC_URI = "git://github.com/Linaro/poplar-l-loader.git;branch=latest \
http://releases.linaro.org/components/toolchain/binaries/5.3-2016.02/arm-linux-gnueabihf/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz;name=tc \
"
SRC_URI[tc.md5sum] = "01d8860d62807b676762c9c2576dfb22"
SRC_URI[tc.sha256sum] = "dd66f07662e1f3b555eaa0d076f133b6db702ab0b9ab18f7dfc91a23eab653c5"
S = "${WORKDIR}/git"
do_configure[noexec] = "1"
do_compile() {
# Use pre-built aarch32 toolchain
export PATH=${WORKDIR}/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:$PATH
# bl1 from fip.bin are required from ATF
rm -f atf/bl1.bin
rm -f arf/fip.bin
ln -sf ${STAGING_LIBDIR}/atf/bl1.bin ${S}/atf/bl1.bin
ln -sf ${STAGING_LIBDIR}/atf/fip.bin ${S}/atf/fip.bin
make
}
do_install() {
install -D -p -m0644 fastboot.bin ${D}${libdir}/l-loader/fastboot.bin
}
do_deploy() {
install -D -p -m0644 fastboot.bin ${DEPLOYDIR}/fastboot.bin
}
FILES_${PN} += "${libdir}/l-loader"
addtask deploy before do_build after do_compile
``` |
d192b7cc-401f-4f4c-a865-de68272b6294 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libcrypt-openssl-random-perl package | ```bitbake
#
# base recipe: http://cgit.openembedded.org/meta-openembedded/tree/meta-perl/\
# recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.04.bb
# base branch: master
#
SUMMARY = "module to access the OpenSSL pseudo-random number generator"
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"
#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/Random/Random.so
}
FILES_${PN} = "${libdir}/*"
FILES_${PN}-dbg += "${libdir}/perl5/5.20/auto/Crypt/OpenSSL/Random/.debug"
``` |
b0eff260-747b-48be-b764-6a8704734e83 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for GTK+ Rezlooks engine. | ```bitbake
DESCRIPTION="Rezlooks GTK+ Engine"
HOMEPAGE="http://www.gnome-look.org/content/show.php?content=39179"
SECTION = "x11/themes"
PR = "r0"
DEPENDS = "gtk+"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI="http://www.gnome-look.org/CONTENT/content-files/39179-rezlooks-${PV}.tar.gz"
SRC_URI[md5sum] = "87b768eb372dd5065f9e36bf10245ac7"
SRC_URI[sha256sum] = "a7dbc45ba32b8f1f40a097d7bafbdff595464c4af16a5bbb9febf63d15cab699"
EXTRA_OECONF = "--enable-animation"
FILES_${PN} += "${libdir}/gtk-2.0/*/engines/*.so"
FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/engines/.debug/*.so"
FILES_${PN}-dev += "${libdir}/gtk-2.0/*/engines/*"
S = "${WORKDIR}/rezlooks-${PV}"
inherit autotools pkgconfig
``` |
cb7da111-2414-44d9-8d27-0ffed1356829 | {
"language": "BitBake"
} | ```bitbake
```
Add PM Jupyter notebook demo recipe | ```bitbake
DESCRIPTION = "Jupyter notebook examples for Power Management (PM) in Versal devices"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=268f2517fdae6d70f4ea4c55c4090aa8"
SRC_URI = "file://LICENSE \
file://README \
file://pm-cpufreq.ipynb \
file://pm-hotplug.ipynb \
file://pmutil/__init__.py \
file://pmutil/cpufreq.py \
file://pmutil/hotplug.py \
file://pmutil/data/cpu-icon-0-off.png \
file://pmutil/data/cpu-icon-0-on.png \
file://pmutil/data/cpu-icon-1-off.png \
file://pmutil/data/cpu-icon-1-on.png \
file://pmutil/data/cpu-icon-freq-1.png \
file://pmutil/data/cpu-icon-freq-2.png \
file://pmutil/data/cpu-icon-freq-3.png \
file://pmutil/data/cpu-icon-freq-4.png \
file://pmutil/data/cpu-icon-freq-def.png \
"
S = "${WORKDIR}"
FILES_${PN} += "${datadir}"
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE_versal = "versal"
RDEPENDS_${PN} = "packagegroup-petalinux-jupyter \
python3-ipywidgets \
"
do_install() {
install -d ${D}/${datadir}/pm-notebooks
install -d ${D}/${datadir}/pm-notebooks/pmutil
install -d ${D}/${datadir}/pm-notebooks/pmutil/data
install -m 0755 ${S}/*.ipynb ${D}/${datadir}/pm-notebooks
install -m 0755 ${S}/pmutil/*.py ${D}/${datadir}/pm-notebooks/pmutil
install -m 0755 ${S}/pmutil/data/*.png ${D}/${datadir}/pm-notebooks/pmutil/data
}
# These libraries shouldn't get installed in world builds unless something
# explicitly depends upon them.
EXCLUDE_FROM_WORLD = "1"
``` |
e39ac8e2-23a7-4421-b414-200ed988b21d | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libpam-mount package | ```bitbake
SUMMARY = "PAM module that can mount volumes for a user session"
DESCIPTION = "This module is aimed at environments with central file servers \
that a user wishes to mount on login and unmount on logout, such as (semi-) \
diskless stations where many users can logon. The module also supports \
mounting local filesystems of any kind the normal mount utility supports, \
with extra code to make sure certain volumes are set up properly because \
often they need more than just a mount call, such as encrypted volumes. This \
includes SMB/CIFS, FUSE, dm-crypt and LUKS."
PR = "r0"
inherit debian-package
DEPENDS += "libhx pkgconfig libpam cryptsetup libxml2"
LICENSE = "GPL-3"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ff88ed2ef97e3905a92cd1c331bbe42"
inherit autotools
PV = "2.14"
EXTRA_OECONF += "\
--libdir=${base_libdir} \
--with-dtd"
do_install_append(){
rm -rf ${D}${localstatedir}/run
install -d ${D}${datadir}/lintian/overrides
install -m 0644 ${S}/debian/libpam-mount.lintian-overrides ${D}${datadir}/lintian/overrides/libpam-mount
install -d ${D}${datadir}/pam-configs
install -m 0644 ${S}/debian/pam-auth-update ${D}${datadir}/pam-configs/libpam-mount
}
FILES_${PN}-dbg += "${base_libdir}/security/.debug/*"
FILES_${PN}-dev += "${base_libdir}/pkgconfig/libcryptmount.pc"
FILES_${PN} += "\
${datadir}/xml/pam_mount/dtd/pam_mount.conf.xml.dtd \
${base_libdir}/security/pam_mount.so \
${datadir}/lintian/overrides/libpam-mount \
${datadir}/pam-configs/libpam-mount \
"
``` |
015f3894-9aaa-44fa-9d7e-b46ab82956e2 | {
"language": "BitBake"
} | ```bitbake
```
Add OP TEE client recipes | ```bitbake
SUMMARY = "OPTEE Client"
DESCRIPTION = "OPTEE Client"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=69663ab153298557a59c67a60a743e5b"
PR="r0"
PV="1.0+git"
PACKAGE_ARCH = "${MACHINE_ARCH}"
#inherit autotools pkgconfig
SRC_URI = "git://github.com/OP-TEE/optee_client.git"
S = "${WORKDIR}/git"
SRCREV = "0b0d237779de6982451f6f5971b7106e459a2958"
do_compile() {
mkdir -p ${D}/usr
oe_runmake EXPORT_DIR=${D}/usr/
}
do_install() {
mkdir -p ${D}/usr
oe_runmake install EXPORT_DIR=${D}/usr
cd ${D}/usr/lib
rm libteec.so libteec.so.1
ln -s libteec.so.1.0 libteec.so.1
ln -s libteec.so.1.0 libteec.so
cd -
}
``` |
61973f0a-e2fe-468e-aa64-9feece25e7bb | {
"language": "BitBake"
} | ```bitbake
```
Add packageroup for qatests Use this packagroup to add some apps in image | ```bitbake
SUMMARY = "QA Tests"
LICENSE = "MIT"
inherit packagegroup
RDEPENDS_${PN} = " \
example-app-c \
example-app-node \
bad-groups-app \
"
``` |
127f5dbe-2db9-49f5-9ad9-6453ff997cb9 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for AES decryptor CDM | ```bitbake
SUMMARY = "OPTEE AES Decryptor for Linaro OpenCDM"
DESCRIPTION = "OPTEE AES Decryptor for Linaro OpenCDM"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=f0fb2f357d31d6a98213b19f57abf927"
PR="r0"
PV="1.0+git"
DEPENDS = "optee-os optee-client"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "git://github.com/kuscsik/optee-clearkey-cdmi;protocol=https"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
B = "${S}"
#stub
do_configure[noexec] = "1"
EXTRA_OEMAKE = ""
do_compile() {
export TA_DEV_KIT_DIR=${STAGING_INCDIR}/optee/export-user_ta
export TEEC_EXPORT=${STAGING_DIR_HOST}/usr
oe_runmake -C ${S}/host LDFLAGS=""
oe_runmake -C ${S}/ta LDFLAGS="" CROSS_COMPILE=${HOST_PREFIX}
}
do_install() {
mkdir -p ${D}/usr/bin
mkdir -p ${D}/lib/optee_armtz
install -d ${D}/${libdir}
install -m 0644 ${S}/host/*.a ${D}/${libdir}/
install -d ${D}${includedir}
install -m 0644 ${S}/host/*.h ${D}${includedir}/
#ta part
install -m 444 ${B}/ta/*.ta ${D}/lib/optee_armtz/
}
FILES_${PN} = "${libdir}/*.a /usr/bin /lib/optee_armtz/"
FILES_${PN}-staticdev = "${libdir}/*.a"
INHIBIT_PACKAGE_STRIP = "1"
``` |
59289af1-184f-42ea-95d5-695a2ebb76bd | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "U-boot bootloader mkimage tool"
LICENSE = "GPL"
SECTION = "bootloader"
SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
file://fix-arm920t-eabi.patch;patch=1"
S = "${WORKDIR}/u-boot-${PV}"
inherit native
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
do_compile () {
oe_runmake smdk2410_config
oe_runmake tools
}
do_stage () {
install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/uboot-mkimage
ln -sf ${STAGING_BINDIR_NATIVE}/uboot-mkimage ${STAGING_BINDIR_NATIVE}/mkimage
}
```
Fix problem building on a system without strip. | ```bitbake
DESCRIPTION = "U-boot bootloader mkimage tool"
LICENSE = "GPL"
SECTION = "bootloader"
SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
file://fix-arm920t-eabi.patch;patch=1"
S = "${WORKDIR}/u-boot-${PV}"
inherit native
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
do_compile () {
oe_runmake smdk2410_config
oe_runmake tools STRIP='/bin/true'
}
do_stage () {
install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/uboot-mkimage
ln -sf ${STAGING_BINDIR_NATIVE}/uboot-mkimage ${STAGING_BINDIR_NATIVE}/mkimage
}
``` |
daa5541a-8874-4ba9-a263-a98974e37d57 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for CDL concept demo | ```bitbake
# Copyright (C) 2017 GENIVI Alliance
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "CDL Concept Demo"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
SRC_URI = "git://github.com/GENIVI/car-data-logger.git;branch=proof-of-concept;protocol=https"
SRCREV = "14a44c1d0db2b02582bcdf9e38b0947677c6f485"
DEPENDS = "qtbase qtdeclarative vsomeip common-api-c++-someip dbus dlt-daemon common-api-c++-dbus common-api-c++"
S = "${WORKDIR}/git"
inherit qmake5
FILES_${PN} += "/opt/cdl/*"
INSANE_SKIP_${PN} = "dev-so"
``` |
af733279-ddbf-45bf-8422-8993de4d0452 | {
"language": "BitBake"
} | ```bitbake
```
Add recipes for python-aniso8601 packages | ```bitbake
SUMMARY = "python3 library for parsing dates and time"
DESCRIPTION = "Library for parsing the following: \
- Parse a time, get a datetime.time \
- Parse a date, get a datetime.date \
- Parse a datetime, get a datetime.datetime \
- Parse a duration, get a datetime.timedelta \
- Parse an interval, get a tuple of dates or datetimes \
- Parse a repeating interval, get a date or datetime generator."
HOMEPAGE = "https://bitbucket.org/nielsenb/aniso8601"
DPN = "python-aniso8601"
INC_PR = "r0"
inherit debian-package
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a"
inherit setuptools python3native
DEPENDS += "python3-setuptools-native"
# Empty DEBIAN_QUILT_PATCHES to avoid error "debian/patches not found"
DEBIAN_QUILT_PATCHES = ""
do_install_append() {
# remove unwanted files
rm -rf `find ${D}${libdir} -type d -name "__pycache__"`
}
``` |
f95e1f15-b33f-4676-8e01-affff6c6b9c2 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for mm package | ```bitbake
SUMMARY = " Shared memory library"
DESCRIPTION = "\
OSSP mm is a two layer abstraction library which simplifies the use of \
shared memory between forked (and therefore closely related) processes.\
It hides all platform-dependent aspects of the process from the user \
and provides a malloc(3)-style API."
PR = "r0"
inherit debian-package
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0ba10c36898067a75f550bfa27a47b8b"
inherit autotools-brokensep pkgconfig
#configure follow debian/rules
EXTRA_OECONF += "--with-shm=IPCSHM"
do_configure() {
autoreconf ${S}
#set share memory maxsize is 32M
oe_runconf 'ac_cv_maxsegsize=33554432'
}
#Correct DEBIAN_PATCH_TYPE
DEBIAN_PATCH_TYPE = "nopatch"
do_install_append() {
rm ${D}${libdir}/libmm.la
}
PKG_${PN} = "libmm14"
PKG_${PN}-dev = "lib${PN}-dev"
PKG_${PN}-dbg = "lib${PN}-dbg"
FILES_${PN}-dev += "${bindir}/mm-config"
``` |
90ee3608-85dd-429e-9d4e-9d4f1c128a34 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for Google RE2 library | ```bitbake
DESCRIPTION = "A regular expression library"
HOMEPAGE = "https://github.com/google/re2/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b5c31eb512bdf3cb11ffd5713963760"
SRCREV = "166dbbeb3b0ab7e733b278e8f42a84f6882b8a25"
SRC_URI = "git://github.com/google/re2.git;branch=master"
S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE += " \
-DBUILD_SHARED_LIBS=ON \
-DRE2_BUILD_TESTING=OFF \
"
# Don't include so files in dev package
FILES_${PN} = "${libdir}"
FILES_${PN}-dev = "${includedir} ${libdir}/cmake"
BBCLASSEXTEND = "native nativesdk"
``` |
3c715aff-deba-4009-bf17-e3b18324a574 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe to build uio pruss test firmware | ```bitbake
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}/
}
``` |
55ea512a-408e-422c-baa1-d07159390911 | {
"language": "BitBake"
} | ```bitbake
```
Add mmwave, serial-ros and octomap to ros-ti group | ```bitbake
DESCRIPTION = "ros-ti package group"
LICENSE = "MIT"
inherit packagegroup
PACKAGES = "${PN}"
RDEPENDS_${PN} = "\
mmwave-ros-pkg-master \
serial-ros \
octomap-server \
"
``` |
7480b9a7-668f-452b-82df-ecd56ff5ee59 | {
"language": "BitBake"
} | ```bitbake
```
Add new recipe for lksctp tools: library and utilities | ```bitbake
DESCRIPTION = "The Linux Kernel Stream Control Transmission Protocol (lksctp) project"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e"
PR = "r0"
SRC_URI = "${SOURCEFORGE_MIRROR}/lksctp/lksctp-tools-${PV}.tar.gz"
SRC_URI[md5sum] = "708bb0b5a6806ad6e8d13c55b067518e"
SRC_URI[sha256sum] = "0903dd526b7f30a89d5031aa2c82757612becc38ed7bc6e4f972f8deae351f26"
BBCLASSEXTEND = "native"
inherit autotools pkgconfig binconfig
RREPLACES_${PN} = "lksctp"
PACKAGES =+ "${PN}-withsctp ${PN}-utils"
FILES_${PN} = "${libexecdir}/* ${libdir}/lib*${SOLIBS} \
${sysconfdir} ${sharedstatedir} ${localstatedir} \
${base_libdir}/*${SOLIBS}"
FILES_${PN}-withsctp = "${libdir}/lksctp-tools/lib*${SOLIBS}"
FILES_${PN}-dev += " \
${datadir}/lksctp-tools/checksctp.c \
${datadir}/lksctp-tools/sctp_socket.c \
${datadir}/lksctp-tools/sctp_bind.c \
${datadir}/lksctp-tools/sctp_darn.c \
${datadir}/lksctp-tools/sctp_load_libs.c \
${datadir}/lksctp-tools/sctp_sockopt.c \
${datadir}/lksctp-tools/sctp_socket.h \
${datadir}/lksctp-tools/sctp_test.c \
${datadir}/lksctp-tools/sctp_darn.h \
${datadir}/lksctp-tools/sctp_status.c \
${libdir}/lksctp-tools/lib*.so"
FILES_${PN}-utils = " \
${bindir}/sctp_test \
${bindir}/sctp_darn \
${bindir}/checksctp \
${bindir}/withsctp \
${bindir}/sctp_status"
``` |
206254b5-3a8c-43e2-849f-3eee07f0adf0 | {
"language": "BitBake"
} | ```bitbake
```
Add new recipe Create recipe to build libtext-charwidth-perl from Debian's source code | ```bitbake
# base recipe: not base recipe
# base branch:
PR = "r0"
inherit debian-package
LICENSE = "GPLv1+ & Artistic-1.0"
LIC_FILES_CHKSUM = "file://README;beginline=50;md5=e3cf8a40071097069c8423fef7600df2"
DEPENDS = "perl"
inherit cpan
``` |
f1559365-7f26-4d80-a80c-b81eebc1208d | {
"language": "BitBake"
} | ```bitbake
```
Add a recipe for lldb | ```bitbake
DESCRIPTION = "Next generation, high-performance debugger"
HOMEPAGE = "http://lldb.llvm.org/"
LICENSE = "NCSA"
SECTION = "devel"
DEPENDS = "clang-native zlib libxml2"
require ../../../meta-clang/recipes-devtools/clang/clang.inc
PV .= "+git${SRCPV}"
LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=${LLVMMD5SUM}; \
file://tools/clang/LICENSE.TXT;md5=${CLANGMD5SUM}; \
"
SRC_URI = "${LLVM_GIT}/llvm.git;protocol=${LLVM_GIT_PROTOCOL};branch=${BRANCH};name=llvm \
${LLVM_GIT}/clang.git;protocol=${LLVM_GIT_PROTOCOL};branch=${BRANCH};destsuffix=git/tools/clang;name=clang \
${LLVM_GIT}/lldb.git;protocol=${LLVM_GIT_PROTOCOL};branch=${BRANCH};destsuffix=git/tools/lldb;name=lldb \
"
SRCREV_lldb = "80586015c260c80b5aadf4a8481af81b335eb13a"
SRCREV_FORMAT = "llvm_clang"
S = "${WORKDIR}/git"
inherit cmake
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
EXTRA_OECMAKE="\
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLDB_DISABLE_LIBEDIT=1 \
-DLLDB_DISABLE_CURSES=1 \
-DLLDB_DISABLE_PYTHON=1 \
-DLLVM_ENABLE_TERMINFO=0 \
-DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
-DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \
"
do_compile() {
cd ${B}/tools/lldb
base_do_compile VERBOSE=1
}
do_install() {
cd ${B}/tools/lldb
oe_runmake 'DESTDIR=${D}' install
}
``` |
22df4de7-0c94-4d28-b02c-76d31f917d8f | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for rdist package | ```bitbake
SUMMARY = "remote file distribution client and server"
DESCRIPTION = "Rdist is a program to maintain identical copies of files \
over multiple hosts. It preserves the owner, group, mode, and mtime of files \
if possible and can update programs that are executing"
HOMEPAGE = "http://www.magnicomp.com/rdist/"
PR = "r0"
inherit debian-package
LICENSE = "BSD-4-Clause"
LIC_FILES_CHKSUM = "file://Copyright;md5=3f47ec9f64b11c8192ee05a66b5c2755"
do_install_append () {
#Install /usr/bin/rdist; /usr/bin/rdistd
install -d ${D}${bindir}
install -m 0755 ${S}/src/rdist ${D}${bindir}/
install -m 0755 ${S}/src/rdistd ${D}${bindir}/
}
``` |
31dd61c6-ca60-4476-ab81-51a5640f4dc3 | {
"language": "BitBake"
} | ```bitbake
```
Add image recipe for testing | ```bitbake
DESCRIPTION = "Enlightenment image"
inherit core-image
IMAGE_FEATURES += "splash package-management x11-base"
#Enlightenment
IMAGE_INSTALL += " enlightenment enlightenment-config-mobile \
enlightenment-backgrounds \
"
IMAGE_INSTALL += " udev-extraconf "
#IMAGE_INSTALL += "midori takao-fonts mpv jack2"
``` |
386bcba0-a3aa-45bb-8597-248d2678fec3 | {
"language": "BitBake"
} | ```bitbake
```
Add rm-lld RTOS package version 02.02.00.00 | ```bitbake
DESCRIPTION = "TI Resource Manager Low Level Driver"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc"
inherit ti-pdk
RM_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/rm-lld.git"
RM_LLD_GIT_PROTOCOL = "git"
RM_LLD_GIT_BRANCH = "master"
RM_LLD_GIT_DESTSUFFIX = "git/ti/drv/rm"
# Below commit ID corresponds to DEV.RM_LLD.02.02.00.00
RM_LLD_SRCREV = "48fc05bf1835f76760da4341a4c551398aeeb7cd"
BRANCH = "${RM_LLD_GIT_BRANCH}"
SRC_URI = "${RM_LLD_GIT_URI};destsuffix=${RM_LLD_GIT_DESTSUFFIX};protocol=${RM_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${RM_LLD_SRCREV}"
PV = "02.02.00.00"
COMPATIBLE_MACHINE = "keystone"
BASEDIR = "${WORKDIR}/git"
S = "${BASEDIR}/ti/drv/rm"
XDCARGS_k2hk-evm = "k2h k2k"
XDCARGS_k2e-evm = "k2e"
XDCARGS_k2l-evm = "k2l"
XDCARGS_k2g-evm = "k2g"
``` |
3aa46ffe-3ed0-4942-9e04-d613d0a23037 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for picamera module under python3 | ```bitbake
DESCRIPTION = "A pure Python interface for the Raspberry Pi camera module."
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a5f6282f39d52726bdc1e51d5c4b95c9"
FILESEXTRAPATHS_prepend := "${THISDIR}/python-picamera:"
SRC_URI += "file://0001-Remove-stupid-checks.patch"
SRC_URI[md5sum] = "47e815b0f21bba2a91ab3c4cd36c6f90"
SRC_URI[sha256sum] = "890815aa01e4d855a6a95dd3ad0953b872a6b954982106407df0c5a31a163e50"
PYPI_PACKAGE = "picamera"
inherit pypi setuptools3
DEPENDS += " \
virtual/libgles2 \
virtual/egl \
"
RDEPENDS_${PN} += ""
``` |
fe251217-6b4a-4a50-b95d-6b4992092324 | {
"language": "BitBake"
} | ```bitbake
```
Add MM accelerator firmware recipe | ```bitbake
DESCRIPTION = "Firmware for IPU "
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM_dra7xx-evm = "file://MMIP-${PV}-Manifest.doc;md5=64ca6f9d7e5243b8a4084eb918a543bc"
LIC_FILES_CHKSUM_omap5-evm = "file://MMIP-${PV}-Manifest.doc;md5=39a593dd8fc2a9654c74f679ed329c45"
COMPATIBLE_MACHINE = "omap-a15"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${MACHINE}-3.00.04.02.tar.gz;protocol=http;name=${MACHINE}"
# DRA7xx checksums
SRC_URI[dra7xx-evm.md5sum] = "da04c03b0fd57901e8283afa80f81379"
SRC_URI[dra7xx-evm.sha256sum] = "0b26fd13f9c318b52c18b9bff56862ef1f58a768b19285b87c035e65bc828ddc"
# OMAP5 checksums
SRC_URI[omap5-evm.md5sum] = "1572073ebd4f6d127c4e8cf47d270b6a"
SRC_URI[omap5-evm.sha256sum] = "2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645da22ec0d5beaa5cc65"
S = "${WORKDIR}/ipumm-${MACHINE}-${PV}"
TARGET_dra7xx-evm = "dra7-ipu2-fw.xem4"
TARGET_omap5-evm = "ducati-m3-core0.xem3"
do_install() {
mkdir -p ${D}${base_libdir}/firmware
cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
}
FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
``` |
2e9ae0d4-587e-4996-a388-68e03a2044be | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libesmtp package | ```bitbake
#
# base recipe: http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree\
# /meta-networking/recipes-support/libesmtp/libesmtp_1.0.6.bb?
# base branch: master
# base commit: 7ddf591eb625abad574eea6af82685c267252cdb
#
SUMMARY = "SMTP client library"
DESCRIPTION = "\
LibESMTP is a library to manage posting (or submission of) \
electronic mail using SMTP to a preconfigured Mail Transport Agent(MTA)\
such as Exim or PostFix."
HOMEPAGE = "http://www.stafford.uklinux.net/libesmtp/"
PR = "r0"
inherit debian-package
LICENSE = "GPL-2.0+ & LGPL-2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://auth-client.h;md5=955622f1ac3009c083042cfd8c34a2b5"
inherit autotools
DEPENDS = "openssl"
#Configure follow debian/rules
EXTRA_OECONF += "--enable-etrn"
#prepare some header file for compile
do_compile_prepend (){
cp ${S}/auth-client.h ${S}/login
cp ${S}/auth-plugin.h ${S}/login
cp ${S}/auth-client.h ${S}/plain
cp ${S}/auth-plugin.h ${S}/plain
cp ${S}/auth-client.h ${S}/crammd5
cp ${S}/auth-plugin.h ${S}/crammd5
}
#install follow Debian jessies
do_install_append () {
#Correct the permission of file
LINKLIB=$(basename $(readlink ${D}${libdir}/libesmtp.so))
chmod 0644 ${D}${libdir}/$LINKLIB
#re-name /usr/lib/esmtp-plugins to /usr/lib/esmtp
mv ${D}${libdir}/esmtp-plugins ${D}${libdir}/esmtp
chmod 0644 ${D}${libdir}/esmtp/*.so
#remove .la files
rm ${D}${libdir}/esmtp/*.la
rm ${D}${libdir}/*la
}
#Correct the package name
PKG_${PN} = "libesmtp6"
FILES_${PN}-dev += "${bindir}/libesmtp-config"
FILES_${PN} += "${libdir}/esmtp/*.so"
FILES_${PN}-staticdev += "${libdir}/esmtp/*.a"
FILES_${PN}-dbg += "${libdir}/esmtp/.debug/*"
``` |
6bdab20b-7c52-4fc2-a758-5ddddd8a9869 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "A cross platform audio visualization library"
HOMEPAGE = "http://libvisual.sf.net"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPL GPL"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/libvisual/libvisual-${PV}.tar.gz \
file://no-libdir.patch \
"
inherit autotools pkgconfig
SRC_URI[md5sum] = "f4e78547c79ea8a8ad111cf8b85011bb"
SRC_URI[sha256sum] = "0b4dfdb87125e129567752089e3c8b54cefed601eef169d2533d8659da8dc1d7"
```
Update LICENSE field version to LGPLv2.1 | ```bitbake
DESCRIPTION = "A cross platform audio visualization library"
HOMEPAGE = "http://libvisual.sf.net"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPLv2.1+ GPLv2"
PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/libvisual/libvisual-${PV}.tar.gz \
file://no-libdir.patch \
"
inherit autotools pkgconfig
SRC_URI[md5sum] = "f4e78547c79ea8a8ad111cf8b85011bb"
SRC_URI[sha256sum] = "0b4dfdb87125e129567752089e3c8b54cefed601eef169d2533d8659da8dc1d7"
``` |
b9aa35dd-16c6-4193-b887-02e71c96bbaf | {
"language": "BitBake"
} | ```bitbake
```
Add srctree based recipe to aid uhd development. | ```bitbake
require recipes/uhd/uhd.inc
INHERIT += "srctree"
PR = "${INC_PR}.0"
#PV = "${GITVER}"
# Set S (the path to the source directory) via local.conf using the line:
# S_pn-uhd = "/home/username/src/git/uhd/host"
do_copy_to_target() {
scp -rp ${D}/* [email protected]:/
}
addtask copy_to_target after do_install before do_package
``` |
05fbbcb2-2286-47d0-b8a7-546418cdd040 | {
"language": "BitBake"
} | ```bitbake
```
Add GLSDK specific staging tree for omap-a15 | ```bitbake
require recipes-graphics/drm/libdrm.inc
COMPATIBLE_MACHINE = "omap-a15"
DEFAULT_PREFERENCE = "-1"
EXTRA_OECONF += "--enable-omap-experimental-api --enable-kms"
SRC_URI = "git://git.ti.com/glsdk/libdrm.git;protocol=git"
SRCREV = "3cb5405084111193cedb8796d259b56560b088f0"
PR = "${INC_PR}.0"
S = "${WORKDIR}/git"
``` |
0820faf8-744b-414d-ae7f-b64048fee69b | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "libmikmod is a module player library supporting many formats, including mod, s3m, it, and xm."
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPL"
PR = "r4"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/mikmod/libmikmod-${PV}.tar.gz \
file://m4.patch \
file://autofoo.patch \
file://ldflags.patch \
file://CVE-2010-2971.patch \
"
inherit autotools binconfig
EXTRA_OECONF = "\
--disable-af \
--enable-alsa \
--disable-esd \
--enable-oss \
--disable-sam9407 \
--disable-ultra \
--disable-esdtest \
--enable-threads \
"
SRC_URI[md5sum] = "9f3c740298260d5f88981fc0d51f6f16"
SRC_URI[sha256sum] = "891a2b780306e6ef86e381f459e71a085d4e7f56c970a879d3bf341c01bdfc32"
```
Update LICENSE field version to LGPLv2.1 | ```bitbake
DESCRIPTION = "libmikmod is a module player library supporting many formats, including mod, s3m, it, and xm."
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPLv2.1"
PR = "r5"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/mikmod/libmikmod-${PV}.tar.gz \
file://m4.patch \
file://autofoo.patch \
file://ldflags.patch \
file://CVE-2010-2971.patch \
"
inherit autotools binconfig
EXTRA_OECONF = "\
--disable-af \
--enable-alsa \
--disable-esd \
--enable-oss \
--disable-sam9407 \
--disable-ultra \
--disable-esdtest \
--enable-threads \
"
SRC_URI[md5sum] = "9f3c740298260d5f88981fc0d51f6f16"
SRC_URI[sha256sum] = "891a2b780306e6ef86e381f459e71a085d4e7f56c970a879d3bf341c01bdfc32"
``` |
08c6a894-1c61-47a6-8076-adcc72576176 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "AM SysInfo"
HOMEPAGE = "https://gforge.ti.com/gf/project/am_sysinfo/"
LICENSE = "BSD"
SECTION = "system"
PRIORITY = "optional"
SRCREV = "5"
PV = "1.0"
PR = "r1+svnr${SRCPV}"
SRC_URI = "svn://gforge.ti.com/svn/am_sysinfo/;module=trunk;proto=https;user=anonymous;pswd=''"
S = "${WORKDIR}/trunk"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} -o mem_util/mem_util mem_util/mem_util.c
}
do_install() {
install -d ${D}/${bindir}
install -m 0755 ${S}/mem_util/mem_util ${D}/${bindir}
}
```
Update SRCREV to add CCSv5 support | ```bitbake
DESCRIPTION = "AM SysInfo"
HOMEPAGE = "https://gforge.ti.com/gf/project/am_sysinfo/"
LICENSE = "BSD"
SECTION = "system"
PRIORITY = "optional"
SRCREV = "6"
PV = "1.0"
PR = "r1+svnr${SRCPV}"
SRC_URI = "svn://gforge.ti.com/svn/am_sysinfo/;module=trunk;proto=https;user=anonymous;pswd=''"
S = "${WORKDIR}/trunk"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} -o mem_util/mem_util mem_util/mem_util.c
}
do_install() {
install -d ${D}/${bindir}
install -m 0755 ${S}/mem_util/mem_util ${D}/${bindir}
}
``` |
462f91b3-4dc1-4180-a726-695fb7fde83e | {
"language": "BitBake"
} | ```bitbake
```
Add a bitbake recipe to build cli | ```bitbake
SUMMARY = "Library for implementing command-line interfaces in Go"
HOMEPAGE = "https://github.com/mitchellh/cli"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b278a92d2c1509760384428817710378"
DEPENDS = "crypto"
PKG_NAME = "github.com/mitchellh/cli"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "76e2780bc4f71797e1ce037ac0b43b7c99b31749"
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 += "cli_sysroot_preprocess"
cli_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}/*"
``` |
81daf34b-1fc3-40a6-bf57-d8eb57a0bab1 | {
"language": "BitBake"
} | ```bitbake
```
Add kernel for HTC Universal by goxboxlive <[email protected]> | ```bitbake
############## /home/jrs/cvs/oe/org.openembedded.dev/packages/linux/xanadux-un-2.6_2.6.12.bb ###############
DESCRIPTION = "Xanadux HTC-Universal kernel based on the hh 2.6.12"
MAINTAINER = "goxboxlive <[email protected]>"
LICENSE = "GPL"
PR="r2"
SRC_URI = "cvs://[email protected]/cvsroot/xanadux;method=pserver;module=linux-2.6-xda;tag=K2-6-12-hh2-xda0-un0"
S = "${WORKDIR}/linux-2.6-xda"
COMPATIBLE_HOST = "arm.*-linux"
inherit kernel
do_configure() {
cp arch/arm/configs/htcuniversal_defconfig .config || die "No default configuration for ${MACHINE} available."
yes '' | oe_runmake oldconfig
}
###############################################################
# put into deploy directory
#
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin
tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib
}
do_deploy[dirs] = "${S}"
addtask deploy before do_package after do_install
``` |
2c1c4a77-730c-4c84-bb23-78e098743e80 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for TI unified Instrumentation Architecture in C module | ```bitbake
DESCRIPTION = "TI Unified Instrumentation Architecture in C (cUIA)"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://cuia_${CUIA_PV}_manifest.html;md5=0eea94e3bb94de4ddee77653eba1c7c5"
CUIA_PV = "1_00_00_13"
CUIA_PVExtra = ""
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/UIA/SCMCSDK/cuia_${CUIA_PV}${CUIA_PVExtra}.tar.gz;name=cuia"
SRC_URI[cuia.md5sum] = "ef53989ac70c191841cd656cdc8770be"
SRC_URI[cuia.sha256sum] = "f16d138a9146fdc7d52cba77bd30596da65835f6ffe4092baf2b33d1c1a4fb0d"
S = "${WORKDIR}/cuia_${CUIA_PV}${CUIA_PVExtra}"
do_compile () {
cd ${S}
oe_runmake clean
oe_runmake all
}
do_install() {
cd ${S}
oe_runmake DESTDIR=${D} libdir=${libdir} includedir=${includedir} install
}
``` |
1e2cc727-96c2-4044-bc6d-5a15980b9380 | {
"language": "BitBake"
} | ```bitbake
```
Create a minimal image for Arago | ```bitbake
#Angstrom minimalist image
#gives you a small images with ssh access
ARAGO_EXTRA_INSTALL = "alsa-lib ncurses mtd-utils thttpd zlib tslib libpng jpeg freetype"
#ARAGO_EXTRA_INSTALL ?= ""
#DISTRO_SSH_DAEMON ?= "dropbear"
IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
IMAGE_INSTALL = "task-arago-boot \
util-linux-mount util-linux-umount \
${DISTRO_SSH_DAEMON} \
angstrom-version \
${ARAGO_EXTRA_INSTALL} \
"
export IMAGE_BASENAME = "minimalist-image"
IMAGE_LINGUAS = ""
inherit image
``` |
de018c85-3647-455d-8c1c-710857254368 | {
"language": "BitBake"
} | ```bitbake
```
Add a bitbake recipe to build raft | ```bitbake
SUMMARY = "Go library for providing consensus"
HOMEPAGE = "https://github.com/hashicorp/raft"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b278a92d2c1509760384428817710378"
DEPENDS = "go-metrics go-msgpack"
PKG_NAME = "github.com/hashicorp/raft"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "379e28eb5a538707eae7a97ecc60846821217f27"
S = "${WORKDIR}/git"
#Custom do_compile to stop go from trying to autotest and fetch deps.
do_compile() {
}
do_install() {
install -d ${D}${prefix}/local/go/src/${PKG_NAME}
cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
}
SYSROOT_PREPROCESS_FUNCS += "raft_sysroot_preprocess"
raft_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}/*"
``` |
39ce2ac0-73e6-4b34-81ed-b5f5c063deb5 | {
"language": "BitBake"
} | ```bitbake
```
Package for VPE DMA FW and test app | ```bitbake
DESCRIPTION = "VPE VPDMA firmware and test program"
DEPENDS += "virtual/kernel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
COMPATIBLE_MACHINE = "dra7xx-evm"
PV = "1b8"
PR = "r0"
SRCREV = "24a5487ec13bf560f0e7fb24a9d4747f9f358be2"
BRANCH ?= "master"
SRC_URI = "git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
# The test application needs additional include headers from the kernel
EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"'
do_install() {
oe_runmake DESTDIR="${D}" install
}
# Separate the firmware into it's own package.
PACKAGES =+ "${PN}-fw"
FILES_${PN}-fw += "${base_libdir}/firmware"
``` |
dd046ab6-26b4-4920-9bfb-f8a717ed9dc2 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Configuration files for online package repositories of Openmoko community repository feeds"
PR = "r0.01"
do_compile() {
mkdir -p ${S}/${sysconfdir}/opkg
for feed in Multiverse; do
echo "src/gz daily-${feed} ${OPENMOKO_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
done
}
do_install () {
install -d ${D}${sysconfdir}/opkg
install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
CONFFILES_${PN} += "${sysconfdir}/opkg/community-repository-feed.conf"
PKG_TAGS_${PN} = "group::repos"
OPENMOKO_URI = "http://downloads.openmoko.org/repository/"
```
Revert "[openmoko] Change default community repository" | ```bitbake
DESCRIPTION = "Configuration files for online package repositories of Openmoko community repository feeds"
PR = "r0"
do_compile() {
mkdir -p ${S}/${sysconfdir}/opkg
for feed in community-repository; do
echo "src/gz daily-${feed} ${OPENMOKO_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
done
}
do_install () {
install -d ${D}${sysconfdir}/opkg
install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
CONFFILES_${PN} += "${sysconfdir}/opkg/community-repository-feed.conf"
PKG_TAGS_${PN} = "group::repos"
OPENMOKO_URI = "http://downloads.openmoko.org"
``` |
6c954abf-d380-4b6e-b241-38efced8eabe | {
"language": "BitBake"
} | ```bitbake
```
Add a bitbake recipe to build go-syslog | ```bitbake
SUMMARY = "Provides gsyslog without introducing cross-compilation issues"
HOMEPAGE = "https://github.com/hashicorp/go-syslog"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=cb04212e101fbbd028f325e04ad45778"
PKG_NAME = "github.com/hashicorp/go-syslog"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "42a2b573b664dbf281bd48c3cc12c086b17a39ba"
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_syslog_sysroot_preprocess"
go_syslog_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}/*"
``` |
c92fd00a-51f3-471c-af9a-979a863592a5 | {
"language": "BitBake"
} | ```bitbake
```
Add package group for PubNub | ```bitbake
DESCRIPTION = "Packages for PubNub."
LICENSE = "MIT"
inherit packagegroup python-dir
PR = "r0"
PACKAGES = "${PN}"
PACKAGECONFIG ??= "python"
PACKAGECONFIG[python] = "\
, \
, \
, \
${PYTHON_PN}-pubnub \
"
``` |
54ca204a-caf1-463f-94c8-3c12d29b84c8 | {
"language": "BitBake"
} | ```bitbake
```
Add new recipe for 2.36+ | ```bitbake
SUMMARY = "C++ bindings for the atk"
SECTION = "libs"
LICENSE = "LGPLv2.1 & GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "atk glibmm-2.68"
GNOMEBASEBUILDCLASS = "meson"
GNOMEBN = "atkmm"
inherit gnomebase features_check
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI[archive.sha256sum] = "e11324bfed1b6e330a02db25cecc145dca03fb0dff47f0710c85e317687da458"
S = "${WORKDIR}/${GNOMEBN}-${PV}"
EXTRA_OEMESON = "-Dbuild-documentation=false"
FILES:${PN}-dev += "${libdir}/*/include ${libdir}/*/proc/m4"
``` |
e81d0a6a-5a08-41f5-be7f-fa804540a8fe | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "Netfilter packet queue access library"
DESCRIPTION = "Userspace library providing a programming interface (API) to access the Linux kernel netfilter packet queue"
HOMEPAGE = "http://www.netfilter.org/projects/libnetfilter_queue/index.html"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
DEPENDS = "libnfnetlink"
SRC_URI = "http://www.netfilter.org/projects/libnetfilter_queue/files/libnetfilter_queue-${PV}.tar.bz2;name=tar"
SRC_URI[tar.md5sum] = "df09befac35cb215865b39a36c96a3fa"
SRC_URI[tar.sha256sum] = "838490eb5dbe358f9669823704982f5313a8d397111562373200203f93ac1a32"
S = "${WORKDIR}/libnetfilter_queue-${PV}"
inherit autotools pkgconfig
```
Add missing libmnl to DEPENDS | ```bitbake
SUMMARY = "Netfilter packet queue access library"
DESCRIPTION = "Userspace library providing a programming interface (API) to access the Linux kernel netfilter packet queue"
HOMEPAGE = "http://www.netfilter.org/projects/libnetfilter_queue/index.html"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
DEPENDS = "libnfnetlink libmnl"
SRC_URI = "http://www.netfilter.org/projects/libnetfilter_queue/files/libnetfilter_queue-${PV}.tar.bz2;name=tar"
SRC_URI[tar.md5sum] = "df09befac35cb215865b39a36c96a3fa"
SRC_URI[tar.sha256sum] = "838490eb5dbe358f9669823704982f5313a8d397111562373200203f93ac1a32"
S = "${WORKDIR}/libnetfilter_queue-${PV}"
inherit autotools pkgconfig
``` |
4a23ecfb-dbdc-4792-a20f-95a02ebea702 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "xterm app"
SECTION = "x11/applications"
LICENSE = "MIT-X"
DEPENDS = "libxaw xproto virtual/libx11 xextproto xext xau libxpm ncurses"
SRC_URI = "${XORG_MIRROR}/development/X11R7.0-RC4/extras/${PN}-${PV}.tar.gz"
inherit autotools pkgconfig
FILES_${PN} += " /usr/lib/X11"
#EXTRA_OERECONF = " -I${S}/xterm.m4"
EXTRA_OECONF = " --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR} FREETYPE_CONFIG=${STAGING_DIR}/${BUILD_SYS}/bin/freetype-config --disable-imake"
#do_configure_prepend () {
# mv ${S}/aclocal.m4 ${S}/xterm.m4
#}
do_configure() {
sed -e "s%/usr/contrib/X11R6%${STAGING_LIBDIR}%g" -i configure
oe_runconf
}
do_stage() {
autotools_stage_all
}
```
Fix what looks like a totally insane staging path (probably missed in pervious rounds of cleanup?) | ```bitbake
DESCRIPTION = "xterm app"
SECTION = "x11/applications"
LICENSE = "MIT-X"
DEPENDS = "libxaw xproto virtual/libx11 xextproto xext xau libxpm ncurses"
SRC_URI = "${XORG_MIRROR}/development/X11R7.0-RC4/extras/${PN}-${PV}.tar.gz"
inherit autotools pkgconfig
FILES_${PN} += " /usr/lib/X11"
#EXTRA_OERECONF = " -I${S}/xterm.m4"
EXTRA_OECONF = " --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR} FREETYPE_CONFIG=${STAGING_BINDIR_CROSS}/freetype-config --disable-imake"
#do_configure_prepend () {
# mv ${S}/aclocal.m4 ${S}/xterm.m4
#}
do_configure() {
sed -e "s%/usr/contrib/X11R6%${STAGING_LIBDIR}%g" -i configure
oe_runconf
}
do_stage() {
autotools_stage_all
}
``` |
6c6ba886-d53f-486c-b56e-3f1eb1d5b511 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for iqn2 lld test code | ```bitbake
DESCRIPTION = "TI IQN2 peripheral module low level driver test binaries"
DEPENDS = "common-csl-ip iqn2-lld dfe-lld"
include iqn2-lld.inc
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} IQN2_SRC_DIR=${WORKDIR}/git"
do_compile () {
oe_runmake clean DEVICE=k2l
oe_runmake tests DEVICE=k2l
}
do_install () {
oe_runmake installbin DEVICE=k2l IQN2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir}
}
``` |
bd747906-5ff2-4b7f-aec8-ed8b079793b9 | {
"language": "BitBake"
} | ```bitbake
SECTION = "base"
require modutils_${PV}.bb
PR = "r9"
inherit cross
S = "${WORKDIR}/modutils-${PV}"
DEPENDS = ""
PACKAGES = ""
PROVIDES += "virtual/${TARGET_PREFIX}depmod virtual/${TARGET_PREFIX}depmod-2.4"
DEFAULT_PREFERENCE = "1"
SRC_URI += "file://modutils-cross/module.h.diff"
sbindir = "${prefix}/bin"
EXTRA_OECONF_append = " --program-prefix=${TARGET_PREFIX}"
CFLAGS_prepend_mipsel = "-D__MIPSEL__"
CFLAGS_prepend_mipseb = "-D__MIPSEB__"
do_stage () {
oe_runmake install
mv ${bindir}/${TARGET_PREFIX}depmod ${bindir}/${TARGET_PREFIX}depmod-2.4
}
do_install () {
:
}
SRC_URI[md5sum] = "bac989c74ed10f3bf86177fc5b4b89b6"
SRC_URI[sha256sum] = "ab4c9191645f9ffb455ae7c014d8c45339c13a1d0f6914817cfbf30a0bc56bf0"
```
Convert do_stage to do_install (from Poky) | ```bitbake
SECTION = "base"
require modutils_${PV}.bb
PR = "r9"
inherit cross
S = "${WORKDIR}/modutils-${PV}"
DEPENDS = ""
PACKAGES = ""
PROVIDES += "virtual/${TARGET_PREFIX}depmod virtual/${TARGET_PREFIX}depmod-2.4"
DEFAULT_PREFERENCE = "1"
SRC_URI += "file://modutils-cross/module.h.diff"
sbindir = "${prefix}/bin"
EXTRA_OECONF_append = " --program-prefix=${TARGET_PREFIX}"
CFLAGS_prepend_mipsel = "-D__MIPSEL__"
CFLAGS_prepend_mipseb = "-D__MIPSEB__"
do_install_append () {
mv ${D}${bindir}/${TARGET_PREFIX}depmod ${D}${bindir}/${TARGET_PREFIX}depmod-2.4
}
SRC_URI[md5sum] = "bac989c74ed10f3bf86177fc5b4b89b6"
SRC_URI[sha256sum] = "ab4c9191645f9ffb455ae7c014d8c45339c13a1d0f6914817cfbf30a0bc56bf0"
``` |
dcaf2a71-b1fd-44bf-84fa-4238822695e2 | {
"language": "BitBake"
} | ```bitbake
LICENSE = "GPL"
MAINTAINER = "Oyvind Repvik <[email protected]>"
DESCRIPTION = "Wakelan sends a magic packet to wake up remote PC's"
PR = "r0"
FILES = "${bindir}/wakelan"
SRC_URI = "http://www.ibiblio.org/pub/Linux/system/network/misc/${PN}-${PV}.tar.gz"
inherit autotools
do_install () {
install -d ${bindir}
install -m 0755 ${WORKDIR}/${PN}-${PV}/wakelan ${D}${bindir}/wakelan
}
```
Fix hardcoded path trying to set permissions on /usr/bin/ | ```bitbake
LICENSE = "GPL"
MAINTAINER = "Oyvind Repvik <[email protected]>"
DESCRIPTION = "Wakelan sends a magic packet to wake up remote PC's"
PR = "r1"
FILES = "${bindir}/wakelan"
SRC_URI = "http://www.ibiblio.org/pub/Linux/system/network/misc/${PN}-${PV}.tar.gz"
inherit autotools
do_install () {
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/${PN}-${PV}/wakelan ${D}${bindir}/wakelan
}
``` |
c127e515-89f1-4438-b264-238335318e2b | {
"language": "BitBake"
} | ```bitbake
```
Add a bitbake recipe to build go-radix | ```bitbake
SUMMARY = "Implements a radix tree in go"
HOMEPAGE = "https://github.com/armon/go-radix"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=cb04212e101fbbd028f325e04ad45778"
PKG_NAME = "github.com/armon/go-radix"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "fbd82e84e2b13651f3abc5ffd26b65ba71bc8f93"
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_radix_sysroot_preprocess"
go_radix_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}/*"
``` |
57924c26-9947-49ea-a758-876f0b170bcd | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Action GUI for Installer"
HOMEPAGE = "http://assassin.projects.openmoko.org/"
LICENSE = "GPL"
DEPENDS = "dbus (>= 1.1.1) glib-2.0 e-wm packagekit etk edbus eet"
PV = "0.2+svnr${SRCREV}"
PR = "r6"
SRC_URI = "svn://svn.projects.openmoko.org/svnroot/;module=assassin;proto=https"
S = "${WORKDIR}/assassin"
inherit autotools pkgconfig
EXTRA_OECONF = ""
FILES_${PN} += "${prefix}/share/*"
```
Add curl to assassin's depends. Tick did a quick hack to assassin for access networking. It's is a temporary solution. | ```bitbake
DESCRIPTION = "Action GUI for Installer"
HOMEPAGE = "http://assassin.projects.openmoko.org/"
LICENSE = "GPL"
DEPENDS = "dbus (>= 1.1.1) glib-2.0 e-wm packagekit etk edbus eet curl"
RDEPENDS = "etk-theme-ninja"
PV = "0.2+svnr${SRCREV}"
PR = "r6.02"
SRC_URI = "svn://svn.projects.openmoko.org/svnroot/;module=assassin;proto=https"
S = "${WORKDIR}/assassin"
inherit autotools pkgconfig
EXTRA_OECONF = ""
FILES_${PN} += "${prefix}/share/*"
``` |
43c55997-6f0e-45f9-80d7-2a7f3a7d6837 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for ack-grep package | ```bitbake
SUMMARY = "grep-like program specifically for large source trees"
DESCRIPTION = "\
Ack is designed as an alternative for 99% of the uses of grep. ack is \
intelligent about the files it searches. It knows about certain file \
types, based on both the extension on the file and, in some cases, the \
contents of the file. \
Ack ignores backup files and files under CVS and .svn directories. It \
also highlights matches to help you see where the match was. Ack uses \
perl regular expressions."
HOMEPAGE = "http://beyondgrep.com/"
PR = "r0"
inherit debian-package cpan
LICENSE = "Artistic-2.0 & GPL-2+ | GPL-1+"
LIC_FILES_CHKSUM = "\
file://LICENSE.md;md5=f19ee102af436a61316db71e613ded2c \
file://t/swamp/c-source.c;md5=4434b7963eee9c9432761f5124202e1c \
file://t/swamp/c-header.h;md5=e419183d1776291d257bb6c47e35bfe4"
do_install() {
oe_runmake install INSTALLVENDORLIB=${datadir}/perl5 DESTDIR=${D}
ln -s ack ${D}${bindir}/ack-grep
}
FILES_${PN} += "${datadir}"
``` |
d8d8f658-6d5b-4046-8824-47d280c9fedc | {
"language": "BitBake"
} | ```bitbake
```
Add OOT driver for rtl8192cu | ```bitbake
SUMMARY = "Realtek out-of-tree kernel driver for rtl8192cu"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://include/autoconf.h;startline=1;endline=18;md5=25cbdd5262c1bef1021387c1fbe9d7ba"
inherit module
SRC_URI = "git://github.com/agherzan/rtl8192cu.git"
SRCREV = "8dc5b70d63154d85d71a213546a978393ccc2f16"
S = "${WORKDIR}/git"
EXTRA_OEMAKE += " \
CONFIG_PLATFORM_I386_PC=n \
KSRC=${STAGING_KERNEL_DIR} \
"
``` |
f8c7684b-b9fc-4509-a4e7-71ee7dad1a04 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libsamplerate package | ```bitbake
SUMMARY = "Audio sample rate conversion library"
DESCRIPTION = "\
libsamplerate (aka Secret Rabbit Code) is a library for audio rate conversion. \
libsamplerate currently provides three different sample rate conversion \
algorithms; zero order hold, linear interpolation and FIR filter interpolation \
(using filters derived from the mathematical SINC function). The first two \
algorithms (zero order hold and linear) are included for completeness and are \
not recommended for any application where high quality sample rate conversion \
is required. For the FIR/Sinc algorithm, three converters are provided; \
SRC_SINC_FASTEST, SRC_SINC_MEDIUM_QUALITY and SRC_SINC_BEST_QUALITY to allow a \
trade off between conversion speed and conversion quality \
"
HOMEPAGE = "http://www.mega-nerd.com/SRC/"
PR = "r0"
inherit debian-package
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
inherit autotools-brokensep pkgconfig
PACKAGES =+ "samplerate-programs"
DEBIANNAME_${PN} = "${PN}0"
DEBIANNAME_${PN}-dev = "${PN}0-dev"
FILES_samplerate-programs = "${bindir}/sndfile-resample"
RDEPENDS_${PN}-dev += "${PN}"
``` |
82116fbb-1c24-4bbb-b338-dbbedd2896ac | {
"language": "BitBake"
} | ```bitbake
```
Add a working Tvheadend recipe | ```bitbake
SUMMARY = "Tvheadend: TV streaming server and recorder"
HOMEPAGE = "https://tvheadend.org/"
inherit autotools-brokensep gettext gitpkgv pkgconfig
DEPENDS = "avahi cmake-native libdvbcsa libpcre2 openssl uriparser zlib"
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=9cae5acac2e9ee2fc3aec01ac88ce5db"
SRC_URI = "git://github.com/tvheadend/tvheadend.git"
SRCREV = "bdc2ae9e19520a10cdf0bec0fcc0050b32bc75ff"
PV = "4.3+git${SRCPV}"
PKGV = "4.3+git${GITPKGV}"
S = "${WORKDIR}/git"
EXTRA_OECONF += "--arch=${TARGET_ARCH} \
--disable-hdhomerun_static \
--disable-ffmpeg_static \
--disable-libav \
"
``` |
c4565bb9-1233-4ac4-85e4-9bce72750662 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities."
PRIORITY = "optional"
SECTION = "libs"
LICENSE = "GPL"
DEPENDS = "bison-native flex-native"
PR = "r1"
CFLAGS_append = " -I${S}/libcap/include"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/security/linux-privs/kernel-2.4/${PN}-${PV}.tar.bz2 \
file://makenames.patch;patch=1 \
file://make.patch;patch=1 \
file://syscall.patch;patch=1"
FILES_${PN} = "${libdir}"
FILES_${PN}-dev = "${includedir}"
do_install() {
install -d ${D}${includedir}/sys
install -m 0644 libcap/include/sys/capability.h ${D}${includedir}/sys/
install -d ${D}${libdir}
oe_libinstall -s -C libcap libcap ${D}${libdir}
}
do_stage() {
install -d ${STAGING_INCDIR}/sys
install -m 0644 libcap/include/sys/capability.h ${STAGING_INCDIR}/sys/
oe_libinstall -s -C libcap libcap ${STAGING_LIBDIR}
}
```
Append `-fPIC` to `CFLAGS` to fix compilation on newer binutils/ld. | ```bitbake
DESCRIPTION = "Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities."
PRIORITY = "optional"
SECTION = "libs"
LICENSE = "GPL"
DEPENDS = "bison-native flex-native"
PR = "r2"
CFLAGS_append = " -I${S}/libcap/include -fPIC"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/security/linux-privs/kernel-2.4/${PN}-${PV}.tar.bz2 \
file://makenames.patch;patch=1 \
file://make.patch;patch=1 \
file://syscall.patch;patch=1"
FILES_${PN} = "${libdir}"
FILES_${PN}-dev = "${includedir}"
do_install() {
install -d ${D}${includedir}/sys
install -m 0644 libcap/include/sys/capability.h ${D}${includedir}/sys/
install -d ${D}${libdir}
oe_libinstall -s -C libcap libcap ${D}${libdir}
}
do_stage() {
install -d ${STAGING_INCDIR}/sys
install -m 0644 libcap/include/sys/capability.h ${STAGING_INCDIR}/sys/
oe_libinstall -s -C libcap libcap ${STAGING_LIBDIR}
}
``` |
a2fd5ada-d7e3-41aa-80f5-d2af174e73f0 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for AES decryptor CDM | ```bitbake
SUMMARY = "OPTEE AES Decryptor for Linaro OpenCDM"
DESCRIPTION = "OPTEE AES Decryptor for Linaro OpenCDM"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=f0fb2f357d31d6a98213b19f57abf927"
PR="r0"
PV="1.0+git"
DEPENDS = "optee-os optee-client"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "git://github.com/kuscsik/optee-clearkey-cdmi;protocol=https"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
B = "${S}"
#stub
do_configure[noexec] = "1"
EXTRA_OEMAKE = ""
do_compile() {
export TA_DEV_KIT_DIR=${STAGING_INCDIR}/optee/export-user_ta
export TEEC_EXPORT=${STAGING_DIR_HOST}/usr
oe_runmake -C ${S}/host LDFLAGS=""
oe_runmake -C ${S}/ta LDFLAGS="" CROSS_COMPILE=${HOST_PREFIX}
}
do_install() {
mkdir -p ${D}/usr/bin
mkdir -p ${D}/lib/teetz
install -d ${D}/${libdir}
install -m 0644 ${S}/host/*.a ${D}/${libdir}/
install -d ${D}${includedir}
install -m 0644 ${S}/host/*.h ${D}${includedir}/
#ta part
install -m 444 ${B}/ta/*.ta ${D}/lib/teetz/
}
FILES_${PN} = "${libdir}/*.a /usr/bin /lib/teetz/"
FILES_${PN}-staticdev = "${libdir}/*.a"
INHIBIT_PACKAGE_STRIP = "1"
``` |
a6f4d51c-27f2-4a74-965c-e655300b1637 | {
"language": "BitBake"
} | ```bitbake
```
Add a Linux 3.6 kernel recipe | ```bitbake
require linux.inc
DESCRIPTION = "Linux kernel for the RaspberryPi board"
COMPATIBLE_MACHINE = "raspberrypi"
PR = "r6"
PV_append = "+git${SRCREV}"
SRCREV = "31a951046155b27361127d9cf85a1f58719fe9b3"
SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
"
S = "${WORKDIR}/git"
# NOTE: For now we pull in the default config from the RPi kernel GIT tree.
KERNEL_DEFCONFIG = "bcmrpi_defconfig"
# CMDLINE for raspberrypi
CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
UDEV_GE_141 ?= "1"
do_configure_prepend() {
install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available."
}
do_install_prepend() {
install -d ${D}/lib/firmware
}
do_deploy_append() {
# Deploy cmdline.txt
install -d ${DEPLOYDIR}/bcm2835-bootfiles
echo "${CMDLINE}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt
}
``` |
b85dc043-1fe8-4943-a156-e6b9486f1292 | {
"language": "BitBake"
} | ```bitbake
require xorg-lib-common.inc
DESCRIPTION = "X11 Distributed Multihead extension library"
DEPENDS += "libxext dmxproto fso-specs"
PR = "r2"
PE = "1"
SRC_URI[archive.md5sum] = "a2fcf0382837888d3781b714489a8999"
SRC_URI[archive.sha256sum] = "1904a8f848cc5d76105cb07707890aca095540a37fb0a63d359f71da51d3e2d5"
```
Revert "libdmx: Add fso-specs to DEPENDS" | ```bitbake
require xorg-lib-common.inc
DESCRIPTION = "X11 Distributed Multihead extension library"
DEPENDS += "libxext dmxproto"
PR = "r3"
PE = "1"
SRC_URI[archive.md5sum] = "a2fcf0382837888d3781b714489a8999"
SRC_URI[archive.sha256sum] = "1904a8f848cc5d76105cb07707890aca095540a37fb0a63d359f71da51d3e2d5"
``` |
2fbbfc04-7185-4e63-9474-92c9cad5e90d | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for gnupg package | ```bitbake
SUMMARY = "GNU Privacy Guard - encryption and signing tools"
DESCRIPTION = "\
GnuPG is GNU's tool for secure communication and data storage.\
It can be used to encrypt data and to create digital signatures. \
It includes an advanced key management facility and is compliant \
with the proposed OpenPGP Internet standard as described in RFC 4880. \
"
HOMEPAGE = "http://www.gnupg.org/"
PR = "r0"
inherit debian-package
LICENSE = "GPLv3+ & bzip2"
LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
file://bzlib/LICENSE;md5=98ec24b7285bf09b448bc0df6c8a29ae"
inherit autotools gettext
DEPENDS = "zlib bzip2 readline"
EXTRA_OECONF = "--libexecdir=${libdir} \
--enable-mailto \
--with-mailprog=${sbindir}sendmail \
--enable-large-secmem \
--with-zlib=${STAGING_LIBDIR}/.. \
--with-bzip2=${STAGING_LIBDIR}/.. \
--disable-selinux-support \
--with-readline=${STAGING_LIBDIR}/.. \
ac_cv_sys_symbol_underscore=no"
# Force gcc's traditional handling of inline to avoid issues with gcc 5
CFLAGS += "-fgnu89-inline"
do_install_append () {
install -d ${D}${docdir}/${PN}
install -d ${D}${base_libdir}/udev/rules.d
mv ${D}${datadir}/${PN}/* ${D}/${docdir}/${PN}/ || :
mv ${D}${prefix}/doc/* ${D}/${docdir}/${PN}/ || :
install -m 0755 ${S}/tools/lspgpot ${D}${bindir}
install -m 0644 ${S}/debian/gnupg.udev \
${D}/${base_libdir}/udev/rules.d/60-gnupg.rules
}
# split out gpgv from main package
RDEPENDS_${PN} = "gpgv"
PACKAGES =+ "gpgv"
FILES_gpgv = "${bindir}/gpgv"
PACKAGECONFIG ??= ""
PACKAGECONFIG[curl] = "--with-libcurl=${STAGING_LIBDIR},--without-libcurl,curl"
PACKAGECONFIG[libusb] = "--with-libusb=${STAGING_LIBDIR},--without-libusb,libusb"
``` |
991fd0a0-83c7-4932-aa01-0f2c6a9b5d9e | {
"language": "BitBake"
} | ```bitbake
```
Add v4l git branch of opencv | ```bitbake
DESCRIPTION = "Opencv : The Open Computer Vision Library"
HOMEPAGE = "http://sourceforge.net/projects/opencvlibrary"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPLv2"
ARM_INSTRUCTION_SET = "arm"
PR = "r1"
DEPENDS = "libtool jpeg zlib libpng tiff glib-2.0 gtk+ libv4l"
SRCREV = "fb7cc87ed6a7425f3edc58e2d1eb44599496ac09"
SRC_URI = "git://github.com/nzjrs/opencv.git;protocol=git;branch=libv4l"
PV = "1.1.0+git${SRCREV}"
S = "${WORKDIR}/git"
inherit distutils-base autotools pkgconfig
EXTRA_OECONF = " \
--disable-debug \
--with-gtk \
--disable-apps \
--with-swig=no \
--with-python=no \
"
export BUILD_SYS
export HOST_SYS
python populate_packages_prepend () {
cv_libdir = bb.data.expand('${libdir}', d)
cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev', allow_links=True)
do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'OpenCV %s library', extra_depends='', allow_links=True)
}
FILES_${PN} = ""
FILES_${PN}-doc += "${datadir}/opencv/"
FILES_${PN}-dbg += "${libdir}/.debug"
FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig"
do_stage() {
autotools_stage_all
}
``` |
7549cce8-be5e-4763-af71-dfd36c3ef066 | {
"language": "BitBake"
} | ```bitbake
```
Add test utilities for firefly camera | ```bitbake
DESCRIPTION = "Test Utilities for Firefly MV Cameras"
HOMEPAGE = "http://github.com/nzjrs/firefly-mv/tree/master"
SECTION = "console/utils"
PRIORITY = "optional"
LICENSE = "GPL"
PR = "r1"
DEPENDS = "libdc1394"
SRCREV = "a72f8669a43533c66aa7efc3a44cdfc5a4b75118"
SRC_URI = "git://github.com/nzjrs/firefly-mv.git;protocol=git;branch=master"
inherit pkgconfig
S = "${WORKDIR}/git"
do_compile() {
oe_runmake camls
}
do_install () {
install -d ${D}${bindir}
install -m 0755 camls ${D}${bindir}/
}
``` |
fd933816-447b-4429-8182-168d03712f72 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for iperf package | ```bitbake
SUMMARY = "Internet Protocol bandwidth measuring tool"
DESCRIPTION = "\
Iperf is a modern alternative for measuring TCP and UDP bandwidth performance, \
allowing the tuning of various parameters and characteristics. \
"
HOMEPAGE = "http://iperf.sourceforge.net/"
PR = "r0"
inherit debian-package
LICENSE = "NCSA"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=e8478eae9f479e39bc34975193360298"
#fix the dupplicate install dist-man-Mans (iperf.1)
SRC_URI += "file://dist-man-install_debian.patch"
inherit autotools
``` |
1c0b6a37-d5e1-44c2-b053-001381774cc9 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "OPKG Package Manager Utilities"
SECTION = "base"
PRIORITY = "optional"
LICENSE = "GPL"
RDEPENDS_${PN} = "python"
RDEPENDS_virtclass_native = ""
SRCREV = "4595"
PV = "0.0+svnr${SRCPV}"
PR = "r4"
BBCLASSEXTEND = "native"
SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http"
TARGET_CC_ARCH += "${LDFLAGS}"
S = "${WORKDIR}/opkg-utils"
inherit autotools
S = "${WORKDIR}/opkg-utils"
```
Fix typo and drop duplicate S entry | ```bitbake
DESCRIPTION = "OPKG Package Manager Utilities"
SECTION = "base"
PRIORITY = "optional"
LICENSE = "GPL"
RDEPENDS_${PN} = "python"
RDEPENDS_virtclass-native = ""
SRCREV = "4595"
PV = "0.0+svnr${SRCPV}"
PR = "r5"
BBCLASSEXTEND = "native"
SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http"
TARGET_CC_ARCH += "${LDFLAGS}"
S = "${WORKDIR}/opkg-utils"
inherit autotools
``` |
559365a2-aa30-420d-ac73-efb2958c6be4 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for wayland package | ```bitbake
SUMMARY = "wayland compositor infrastructure"
DESCRIPTION = "\
Wayland is a protocol for a compositor to talk to its clients as well \
as a C library implementation of that protocol. The compositor can be \
a standalone display server running on Linux kernel modesetting and \
evdev input devices, an X application, or a wayland client \
itself. The clients can be traditional applications, X servers \
(rootless or fullscreen) or other display servers. \
"
HOMEPAGE = "http://wayland.freedesktop.org/"
PR = "r0"
inherit debian-package
LICENSE = "MIT"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=1d4476a7d98dd5691c53d4d43a510c72"
inherit autotools pkgconfig
DEPENDS_class-target += "${PN}-native libffi expat"
#building documentation depend on doxygen which is not yet in meta-debian
EXTRA_OECONF += "--disable-documentation"
EXTRA_OEMAKE_class-target += "wayland_scanner=${STAGING_BINDIR_NATIVE}/wayland-scanner"
# Debian's source code isn't contains patch file
DEBIAN_PATCH_TYPE = "nopatch"
# Avoid a parallel build problem
PARALLEL_MAKE = ""
do_install_append() {
#remove the unwanted files
rm ${D}${libdir}/*.la
}
PACKAGES =+ "lib${PN}-client lib${PN}-cursor lib${PN}-server"
FILES_lib${PN}-cursor += "${libdir}/libwayland-cursor.so.*"
FILES_lib${PN}-server += "${libdir}/libwayland-server.so.*"
FILES_lib${PN}-client += "${libdir}/libwayland-client.so.*"
FILES_${PN}-dev += "${datadir}/${PN} ${bindir}"
PKG_${PN}-dev = "lib${PN}-dev"
BBCLASSEXTEND = "native"
``` |
2e6f0d14-097d-401f-90b8-d062d7781ef8 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for new version 6-2017-q1-update | ```bitbake
DESCRIPTION = "Baremetal GCC for ARM"
LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=c224e429f53a1a6ce70bf8986ea2990b"
inherit native
require recipes-ti/includes/ti-paths.inc
SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/6_1-2017q1/gcc-arm-none-eabi-6-2017-q1-update-linux.tar.bz2;name=gcc-arm-none"
SRC_URI[gcc-arm-none.md5sum] = "30004c24f4632bc594952462bb0cd1c9"
SRC_URI[gcc-arm-none.sha256sum] = "e7aad2579f02e3b095c6d7899ca5e6a70cfa9b8a8cbd6abd868da849d416c2eb"
S = "${WORKDIR}/gcc-arm-none-eabi-6-2017-q1-update"
do_install() {
install -d ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}
cp -r ${S}/. ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}
}
FILES_${PN} = "${GCC_ARM_NONE_TOOLCHAIN_RECIPE}/*"
INSANE_SKIP_${PN} = "already-stripped"
``` |
6722b800-3556-41e1-bea0-81c4c2cdf4a8 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "The dbench (disk) and tbench (TCP) benchmarks"
DESCRIPTION_dbench = "Filesystem load benchmark"
DESCRIPTION_tbench = "TCP load benchmark"
HOMEPAGE = "http://samba.org/ftp/tridge/dbench/"
LICENSE = "GPL"
PR = "r0"
SRC_URI = "\
http://samba.org/ftp/tridge/dbench/dbench-${PV}.tar.gz \
file://destdir.patch \
file://makefile.patch"
inherit autotools
PACKAGES =+ "tbench tbench-dbg"
FILES_tbench = "${bindir}/tbench*"
FILES_tbench-dbg += "${bindir}/.debug/tbench*"
SRC_URI[md5sum] = "1fe56ff71b9a416f8889d7150ac54da4"
SRC_URI[sha256sum] = "6001893f34e68a3cfeb5d424e1f2bfef005df96a22d86f35dc770c5bccf3aa8a"
```
Add popt to DEPENDS, fix GNU_HASH, add clients.txt to tbench | ```bitbake
DESCRIPTION = "The dbench (disk) and tbench (TCP) benchmarks"
DESCRIPTION_dbench = "Filesystem load benchmark"
DESCRIPTION_tbench = "TCP load benchmark"
HOMEPAGE = "http://samba.org/ftp/tridge/dbench/"
LICENSE = "GPL"
DEPENDS = "popt"
PR = "r1"
SRC_URI = "\
http://samba.org/ftp/tridge/dbench/dbench-${PV}.tar.gz \
file://destdir.patch \
file://makefile.patch"
inherit autotools
PACKAGES =+ "tbench tbench-dbg"
TARGET_CC_ARCH += "${LDFLAGS}"
FILES_tbench = "${bindir}/tbench* ${prefix}/share/client.txt"
FILES_tbench-dbg += "${bindir}/.debug/tbench*"
SRC_URI[md5sum] = "1fe56ff71b9a416f8889d7150ac54da4"
SRC_URI[sha256sum] = "6001893f34e68a3cfeb5d424e1f2bfef005df96a22d86f35dc770c5bccf3aa8a"
``` |
39163d5f-9348-4ff6-8176-178d69055838 | {
"language": "BitBake"
} | ```bitbake
```
Add from OE-Classic, uprev and update | ```bitbake
SUMMARY = "A new modern implementation of traceroute(8) utility for Linux systems"
DESCRIPTION = "The traceroute utility displays the route used by IP packets on \
their way to a specified network (or Internet) host. Traceroute displays \
the IP number and host name (if possible) of the machines along the \
route taken by the packets. Traceroute is used as a network debugging \
tool. If you're having network connectivity problems, traceroute will \
show you where the trouble is coming from along the route."
SECTION = "console/network"
HOMEPAGE = "http://traceroute.sourceforge.net/"
LICENSE = "GPL-2.0 LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
inherit update-alternatives
SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/traceroute-2.0.18/traceroute-2.0.18.tar.gz \
"
SRC_URI[md5sum] = "b7254149b7f081cce07f4b9e065ba5ef"
SRC_URI[sha256sum] = "5994a88520927fefe3c9754aaf1e02b4d0f3f8fb1f521a68fa86215c3fcab9ef"
do_compile() {
export LDFLAGS="${TARGET_LDFLAGS} -L${S}/libsupp"
oe_runmake "env=yes"
}
do_install() {
install -d ${D}${bindir}
install -m755 ${PN}/${PN} ${D}${bindir}
install -m755 wrappers/tcptraceroute ${D}${bindir}
install -d ${D}${mandir}
install -p -m644 ${PN}/${PN}.8 ${D}${mandir}
pushd ${D}${mandir}
ln -s ${PN}.8 ${PN}6.8
ln -s ${PN}.8 tcptraceroute.8
popd
}
ALTERNATIVE_${PN} = "traceroute6"
ALTERNATIVE_LINK_NAME[traceroute6] = "${bindir}/traceroute"
``` |
8551dfc5-50ba-4c48-831f-67d0cfc568e9 | {
"language": "BitBake"
} | ```bitbake
```
Update mpd to latest version | ```bitbake
DESCRIPTION = "Music Player Daemon (mpd)"
HOMEPAGE = "http://www.musicpd.org"
LICENSE = "GPLv2"
MAINTAINER = "Chris Larson <[email protected]>"
SECTION = "console/multimedia"
DEPENDS = "libvorbis libogg libid3tag libao zlib libmikmod libmad flac audiofile"
PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/musicpd/mpd-${PV}.tar.gz"
inherit autotools
# Setting --enable-mpd-{mad,id3tag} causes local caches of the libraries to
# be built, instead we use the OE built versions which should be installed
# in staging - remove the --with and replace with --enable to use the local
# versions.
EXTRA_OECONF = "--enable-ogg \
--with-id3tag-libraries=${STAGING_LIBDIR} \
--with-id3tag-includes=${STAGING_INCDIR} \
--with-mad-libraries=${STAGING_LIBDIR} \
--with-mad-includes=${STAGING_INCDIR} \
--without-faad"
``` |
cb3eb3fd-7af4-42e6-b49e-f96a6071b410 | {
"language": "BitBake"
} | ```bitbake
require pkgconfig.inc
PR = "${INC_PR}.1"
DEPENDS += "glib-2.0"
EXTRA_OECONF = "--with-installed-glib"
```
Bump PR to keep incremental versioning. | ```bitbake
require pkgconfig.inc
PR = "${INC_PR}.3"
DEPENDS += "glib-2.0"
EXTRA_OECONF = "--with-installed-glib"
``` |
fbfc3656-f68f-4fe6-a2c4-f69cd24fd837 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Gigolo is a frontend to easily manage connections to remote filesystems using GIO/GVfs."
DEPENDS = "pkgconfig gtk+"
RDEPENDS = "libxfce4util libxfcegui4"
SECTION = "x11"
LICENSE = "GPL-2"
PR = "r1"
inherit xfce46
XFCE_VERSION = "4.6.1"
SRC_URI = "http://files.uvena.de/${PN}/${PN}-${PV}.tar.bz2"
do_compile() {
oe_runmake
}
```
Add build and runtime depends on gvfs (without it, the app is not a lot of use). | ```bitbake
DESCRIPTION = "Gigolo is a frontend to easily manage connections to remote filesystems using GIO/GVfs."
DEPENDS = "pkgconfig gtk+ gvfs"
RDEPENDS = "libxfce4util libxfcegui4 gvfs"
SECTION = "x11"
LICENSE = "GPL-2"
PR = "r2"
inherit xfce46
XFCE_VERSION = "4.6.1"
SRC_URI = "http://files.uvena.de/${PN}/${PN}-${PV}.tar.bz2"
do_compile() {
oe_runmake
}
``` |
db70d49e-26fb-4611-aee6-c9c0c23bd012 | {
"language": "BitBake"
} | ```bitbake
```
Add a simple stand-alone system tray | ```bitbake
SUMMARY = "Stand-alone system tray"
DESCRIPTION = "Stalonetray is a stand-alone freedesktop.org and KDE system tray"
SECTION = "x11/graphics"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "virtual/libx11"
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "ae95dbbacc2620e032acea8abab8c9ef"
SRC_URI[sha256sum] = "36548a588b2d466913423245dda6ffb6313132cd0cec635a117d37b3dab5fd4c"
inherit autotools
``` |
15f83417-8eeb-417e-bf2f-2957090395aa | {
"language": "BitBake"
} | ```bitbake
```
Add a bb for python gstreamer bindings. | ```bitbake
LICENSE = "GPL"
DESCRIPTION = "Python gstreamer Bindings"
SECTION = "devel/python"
HOMEPAGE = "http://gstreamer.freedesktop.org"
PRIORITY = "optional"
#DEPENDS = "gstreamer"
#RDEPENDS = "gstreamer"
SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.gz"
S = "${WORKDIR}/gst-python-${PV}"
inherit autotools pkgconfig
do_configure() {
oe_runconf
}
``` |
9ef33cf9-31bd-434d-9e59-6d93f135073d | {
"language": "BitBake"
} | ```bitbake
```
Add recipes for xerces-c packages | ```bitbake
SUMMARY = "Validating XML parser library for C++"
DESCRIPTION = "\
Xerces-C++ is a validating XML parser written in a portable subset of C++.\
Xerces-C++ makes it easy to give your application the ability to read and \
write XML data. A shared library is provided for parsing, generating,\
manipulating, and validating XML documents. Xerces-C++ is faithful to \
the XML 1.0 recommendation and associated standards (DOM 1.0, DOM 2.0,\
SAX 1.0, SAX 2.0, Namespaces, XML Schema Part 1 and Part 2). \
It also provides experimental implementations of XML 1.1 and DOM Level 3.0. \
The parser provides high performance, modularity,and scalability.\ "
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
PR = "r0"
inherit debian-package
inherit autotools
PV = "3.1.1"
INSANE_SKIP_${PN} = "dev-deps"
INSANE_SKIP_libxerces-c-samples = "dev-deps"
PACKAGECONFIG ??= "curl icu"
PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR},--with-curl=no,curl"
PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR},--with-icu=no,icu"
PACKAGES =+ "libxerces-c-samples"
FILES_libxerces-c-samples =+ " \
${bindir}/*"
FILES_${PN} += " \
${libdir}/libxerces-c-3.1.so"
FILES_${PN}-dev = " \
${libdir}/*.la \
${libdir}/pkgconfig \
${libdir}/libxerces-c.so \
${includedir}"
PKG_${PN}-dev = "libxerces-c-dev"
PKG_${PN} = "libxerces-c3.1"
RPROVIDES_${PN}-dev += "libxerces-c-dev"
RPROVIDES_${PN} += "libxerces-c3.1"
RDEPENDS_${PN}-dev += "libicu-dev libc-dev"
``` |
2f7ff745-f288-4357-972c-2b973d929355 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libcrypt-openssl-bignum-perl package | ```bitbake
#
# base recipe: https://github.com/openembedded/openembedded/blob/master/\
# recipes/perl/libcrypt-openssl-bignum-perl_0.04.bb
#
SUMMARY = "\
Perl module to access OpenSSL multiprecision integer arithmetic libraries"
DESCRIPTION = "\
Presently, many though not all of the arithmetic operations that OpenSSL \
provides are exposed to Perl via Crypt::OpenSSL::Bignum. In addition, this \
module can be used to provide access to bignum values produced by other \
OpenSSL modules, such as key parameters from Crypt::OpenSSL::RSA. \
"
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"
#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/Bignum/Bignum.so
}
FILES_${PN} = "${libdir}/*"
FILES_${PN}-dbg += "${libdir}/perl5/5.20/auto/Crypt/OpenSSL/Bignum/.debug"
``` |
dba4149f-1670-48eb-ba3d-53c9cdc40698 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for OpenGL Mathematics library | ```bitbake
SUMMARY = "OpenGL Mathematics Library"
DESCRIPTION = "OpenGL Mathematics (GLM) is a header only C++ \
mathematics library for graphics software based on the OpenGL \
Shading Language (GLSL) specifications."
HOMEPAGE = "https://glm.g-truc.net"
BUGTRACKER = "https://github.com/g-truc/glm/issues"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://copying.txt;md5=4431606d144252143c9c3df384a74cad"
SRC_URI = "git://github.com/g-truc/glm;protocol=https"
SRCREV = "5dcc56489e1b66dfd5bca751fa9b8dc68059e008"
S = "${WORKDIR}/git"
inherit cmake
FILES_${PN}-dev += "${libdir}/cmake"
``` |
1adf0646-a60f-4782-899f-040d682b474d | {
"language": "BitBake"
} | ```bitbake
```
Add (hack) recipe to enable autologin (timed) for gdm | ```bitbake
DESCRIPTION = "Append Autologin to GDM config (custom.conf)"
PACKAGE_ARCH = "all"
ALLOW_EMPTY_${PN} = "1"
pkg_postinst_${PN}() {
#!/bin/sh
grep "TimedLogin" $D/etc/gdm/custom.conf
if [ $? -eq 0 ]; then
echo "NOTE:: custom.conf already has 'TimedLogin' configured - not patching
else
cat >> $D/etc/gdm/custom.conf <<EOF
[daemon]
TimedLoginEnable=true
TimedLogin=root
TimedLoginDelay=10
EOF
fi
}
RDEPENDS_${PN} = "gdm"
``` |
299d0c0b-5f6e-49b4-8f4a-6f8f1c3509ea | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Common Opie Sounds"
SECTION = "opie/base"
PRIORITY = "optional"
MAINTAINER = "Team Opie <[email protected]>"
LICENSE = "GPL"
SRC_URI = "${HANDHELDS_CVS};module=opie/sounds;tag=${TAG}"
S = "${WORKDIR}/sounds"
SOUNDS = "alarm touchsound keysound"
do_install() {
install -d ${D}${palmtopdir}/sounds/
for i in ${SOUNDS}
do
install $i.wav ${D}${palmtopdir}/sounds/$i.wav
done
}
FILES_${PN} = "${palmtopdir}"
```
Fix TAG for opie-sounds the same as opie-pics | ```bitbake
DESCRIPTION = "Common Opie Sounds"
SECTION = "opie/base"
PRIORITY = "optional"
MAINTAINER = "Team Opie <[email protected]>"
LICENSE = "GPL"
TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
SRC_URI = "${HANDHELDS_CVS};module=opie/sounds;tag=${TAG}"
S = "${WORKDIR}/sounds"
SOUNDS = "alarm touchsound keysound"
do_install() {
install -d ${D}${palmtopdir}/sounds/
for i in ${SOUNDS}
do
install $i.wav ${D}${palmtopdir}/sounds/$i.wav
done
}
FILES_${PN} = "${palmtopdir}"
``` |
f7e2578f-da9a-437c-a0af-4a9edb8345b3 | {
"language": "BitBake"
} | ```bitbake
```
Add recipes for sbc package | ```bitbake
SUMMARY = "Sub Band CODEC library"
DESCRIPTION = "This provides the library and tool which operate SBC \
(sub band codec) in A2DP (the Advanced Audio Distribution Profile)."
HOMEPAGE = "http://www.bluez.org/"
inherit debian-package
PV = "1.2"
LICENSE = "GPLv2+ & LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09"
inherit autotools pkgconfig
# Base on debian/rules
EXTRA_OECONF += "--disable-tester --disable-silent-rules"
#Empty DEBIAN_QUILT_PATCHES to avoid error :debian/patches not found
DEBIAN_QUILT_PATCHES = ""
PACKAGES =+ "${PN}-tools"
FILES_${PN}-tools = "${bindir}/*"
DEBIAN_NOAUTONAME_${PN}-tools = "1"
RPROVIDES_${PN} += "libsbc1"
RPROVIDES_${PN}-dev += "libsbc-dev"
``` |
78b3df84-805a-4938-9f57-3fd3f768e1c4 | {
"language": "BitBake"
} | ```bitbake
```
Add known-good version from 20070110 | ```bitbake
DESCRIPTION = "USB Webcam driver for spca5xx chipset family supporting \
over 100 models of camera"
PRIORITY = "optional"
SECTION = "kernel/modules"
LICENSE = "GPL"
PR = "r1"
SRC_URI = "http://mxhaard.free.fr/spca50x/Download/oldrelease/${PN}-${PV}.tar.gz \
file://Makefile.patch;patch=1 \
file://MS.patch;patch=1"
S = "${WORKDIR}/${PN}-${PV}"
inherit module
do_compile () {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
oe_runmake 'KERNELDIR=${STAGING_KERNEL_DIR}' \
'CC=${KERNEL_CC}' \
'LD=${KERNEL_LD}'
}
do_install() {
install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/media
install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/media
}
``` |
a9fe3d16-fda0-4ca2-94bb-4d45260a31c0 | {
"language": "BitBake"
} | ```bitbake
```
Add support for next generation AWS IoT SDK for Python | ```bitbake
DESCRIPTION = "AWS IoT SDK based on the AWS Common Runtime"
HOMEPAGE = "https://github.com/aws/aws-iot-device-sdk-python-v2"
AUTHOR = "Amazon Web Services"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit pypi setuptools3
RDEPENDS_${PN} += "\
${PYTHON_PN}-asyncio \
${PYTHON_PN}-datetime \
${PYTHON_PN}-json \
${PYTHON_PN}-typing \
"
RDEPENDS_${PN} += "\
${PYTHON_PN}-awscrt \
"
PR = "r0"
SRC_URI[sha256sum] = "4ea6386fe5870ecbb0af46dccff30e30f22abe5bca255305bf35d00820a175d1"
``` |
29a503cc-c6f0-40e5-8307-36e29b064463 | {
"language": "BitBake"
} | ```bitbake
```
Add initial recipe for pmacct | ```bitbake
SUMMARY = "Small set of multi-purpose passive network monitoring tools"
HOMEPAGE = "http://www.pmacct.net/"
SECTION = "network"
LICENSE = "GPL-2"
LIC_FILES_CHKSUM = "file://COPYING;md5=56015ca09d32459cf5a3c0e574f86f16"
SRC_URI = "http://www.pmacct.net/${PN}-${PV}.tar.gz"
SRC_URI[md5sum] = "5dc1dab96fbd3937b49152d1bdc2913f"
SRC_URI[sha256sum] = "eb332a6812d1e02134900a1d115a24f315de7c861a9b63093c1226753486cbe7"
PR = "r1"
DEPENDS = "libpcap zlib"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit autotools pkgconfig
EXTRA_OECONF = "--with-pcap-includes=${STAGING_INCDIR}"
``` |
1aa95fad-3de1-495a-a1eb-45718551b004 | {
"language": "BitBake"
} | ```bitbake
```
Add pyxdg to use fdo specs from python | ```bitbake
DESCRIPTION = "PyXDG is a python library to access freedesktop.org standards"
SECTION = "devel/python"
LICENSE = "GPL"
SRC_URI = "http://www.freedesktop.org/~lanius/pyxdg-${PV}.tar.gz"
S = "${WORKDIR}/pyxdg-${PV}"
inherit distutils
``` |
28ad0d18-63a7-4337-934f-c44d21c49204 | {
"language": "BitBake"
} | ```bitbake
```
Add GNU FreeFont (Free UCS Outline Fonts) package. | ```bitbake
require ttf.inc
DESCRIPTION="TrueType Unicode fonts from the Free UCS Outline Fonts Project"
HOMEPAGE="http://savannah.nongnu.org/projects/freefont/"
PR = "r1"
SRC_URI = "http://ftp.gnu.org/gnu/freefont/freefont-ttf-${PV}.tar.gz"
S = "${WORKDIR}/freefont-${PV}"
FILES_${PN}-doc = "${datadir}/doc/ttf-freefont/README \
${datadir}/doc/ttf-freefont/AUTHORS \
"
FILES_${PN} = "${datadir}"
do_install_append() {
install -d ${D}${datadir}/doc/
install -d ${D}${datadir}/doc/ttf-freefont
install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-freefont
install -m 0644 ${S}/AUTHORS ${D}${datadir}/doc/ttf-freefont
}
``` |
1d6e3bc1-d465-4bb1-a71d-c62b772a16eb | {
"language": "BitBake"
} | ```bitbake
```
Add RTOS package for Traceframework | ```bitbake
inherit ti-pdk
require traceframework.inc
PR = "${INC_PR}.1"
DEPENDS_append = " uia \
"
XDCPATH_append = ";${UIA_INSTALL_DIR}/packages"
``` |
d8cef3a9-9166-4f84-8adb-7c851d136d63 | {
"language": "BitBake"
} | ```bitbake
```
Add a usbproxy capable image | ```bitbake
SUMMARY = "A console development image with some C/C++ dev tools"
HOMEPAGE = "http://www.jumpnowtek.com"
IMAGE_FEATURES += "package-management"
IMAGE_LINGUAS = "en-us"
inherit image
CORE_OS = " \
openssh openssh-keygen openssh-sftp-server \
packagegroup-core-boot \
psplash \
term-prompt \
tzdata \
"
KERNEL_EXTRA_INSTALL = " \
kernel-modules \
load-modules \
"
WIFI_SUPPORT = " \
bbgw-wireless \
crda \
iw \
linux-firmware-ath9k \
linux-firmware-ralink \
linux-firmware-rtl8192ce \
linux-firmware-rtl8192cu \
linux-firmware-rtl8192su \
linux-firmware-wl18xx \
wireless-tools \
wpa-supplicant \
"
DEV_SDK_INSTALL = " \
binutils \
binutils-symlinks \
cmake \
coreutils \
cpp \
cpp-symlinks \
diffutils \
file \
g++ \
g++-symlinks \
gcc \
gcc-symlinks \
gettext \
git \
ldd \
libstdc++ \
libstdc++-dev \
libtool \
make \
pkgconfig \
python3-modules \
"
DEV_EXTRAS = " \
ntp \
ntp-tickadj \
serialecho \
spiloop \
"
EXTRA_TOOLS_INSTALL = " \
bzip2 \
cursor-blink \
devmem2 \
dosfstools \
ethtool \
findutils \
i2c-tools \
iperf3 \
iptables \
less \
nano \
netcat \
procps \
rsync \
sysfsutils \
tcpdump \
tree \
unzip \
usbutils usbutils-dev usbutils-python \
util-linux \
util-linux-blkid \
wget \
xz \
zip \
"
USB_TOOLS = " \
libpcap libpcap-dev \
libusb1 \
python3-pyusb \
usbutils usbutils-dev usbutils-python \
usbproxy \
"
IMAGE_INSTALL += " \
${CORE_OS} \
${DEV_SDK_INSTALL} \
${DEV_EXTRAS} \
${EXTRA_TOOLS_INSTALL} \
${KERNEL_EXTRA_INSTALL} \
${USB_TOOLS} \
${WIFI_SUPPORT} \
"
set_local_timezone() {
ln -sf /usr/share/zoneinfo/EST5EDT ${IMAGE_ROOTFS}/etc/localtime
}
disable_bootlogd() {
echo BOOTLOGD_ENABLE=no > ${IMAGE_ROOTFS}/etc/default/bootlogd
}
ROOTFS_POSTPROCESS_COMMAND += " \
set_local_timezone ; \
disable_bootlogd ; \
"
export IMAGE_BASENAME = "console-image"
``` |
96331dcd-07a8-4c31-a8c9-5df534e1b033 | {
"language": "BitBake"
} | ```bitbake
```
Add a bitbake recipe to build crypto | ```bitbake
DESCRIPTION = "A golang library of common cryptographic constants"
HOMEPAGE = "https://github.com/golang/crypto/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
PKG_NAME = "github.com/golang/crypto"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "1e856cbfdf9bc25eefca75f83f25d55e35ae72e0"
S = "${WORKDIR}/git"
#Note: As we are using a git mirror of the repo we setup the directory
#with the original Mercurial repo name
do_install() {
install -d ${D}${prefix}/local/go/src/golang.org/x/crypto
cp -a ${S}/* ${D}${prefix}/local/go/src/golang.org/x/crypto/
}
SYSROOT_PREPROCESS_FUNCS += "go_net_sysroot_preprocess"
go_net_sysroot_preprocess () {
install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/golang.org/x/crypto
cp -a ${D}${prefix}/local/go/src/golang.org/x/crypto ${SYSROOT_DESTDIR}${prefix}/local/go/src/golang.org/x/
}
FILES_${PN} += "${prefix}/local/go/src/golang.org/x/crypto/*"
``` |
28a374f3-c5a5-4d29-8678-706747c62881 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for iperf3 package | ```bitbake
SUMMARY = "Internet Protocol bandwidth measuring tool"
DESCRIPTION = "Iperf3 is a tool for performing network throughput measurements. It can \
test either TCP or UDP throughput. \
This is a new implementation that shares no code with the original \
iperf from NLANR/DAST and also is not backwards compatible."
HOMEPAGE = "http://software.es.net/iperf/"
PR = "r0"
inherit debian-package
LICENSE = "BSD-3-Clause & MIT & NCSA"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9ceb58c78d73a576a15ad224f23a6cdc \
file://src/cjson.c;endline=20;md5=d3f527358d19c4f3be174cb561159e40 \
file://src/locale.c;endline=46;md5=c7ff631c2856f8afce226fac3888be9f"
# Avoid a parallel build problem
PARALLEL_MAKE = ""
inherit autotools-brokensep
PACKAGES =+ "libiperf"
FILES_libiperf = "${libdir}/libiperf${SOLIBS}"
DEBIANNAME_${PN}-dev = "libiperf-dev"
``` |
e4f99e29-4c9e-4870-91da-255b26d87cdc | {
"language": "BitBake"
} | ```bitbake
```
Add a recipe to build go-multierror | ```bitbake
SUMMARY = "Go package for representing a list of errors as a single error"
HOMEPAGE = "https://github.com/hashicorp/go-multierror"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d44fdeb607e2d2614db9464dbedd4094"
PKG_NAME = "github.com/hashicorp/go-multierror"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "56912fb08d85084aa318edcf2bba735b97cf35c5"
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_multierror_sysroot_preprocess"
go_multierror_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}/*"
``` |
21af4716-59f3-4322-b706-0bb75dc2dcc8 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for bsp image based on sato | ```bitbake
require recipes-sato/images/core-image-sato.bb
IMAGE_INSTALL += " \
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 \
"
``` |
e7223da4-7e05-4a83-9ac4-7eb48c178f47 | {
"language": "BitBake"
} | ```bitbake
require matrix-tui.inc
SRCREV = "35"
PR = "${INC_PR}.3"
```
Update SRCREV - makefile update | ```bitbake
require matrix-tui.inc
SRCREV = "37"
PR = "${INC_PR}.4"
``` |
6bda9378-24db-45b6-b5ab-89013f46a2be | {
"language": "BitBake"
} | ```bitbake
```
Add an image with bluetooth tools | ```bitbake
SUMMARY = "A development image with bluetooth tools"
HOMEPAGE = "http://www.jumpnowtek.com"
LICENSE = "MIT"
require console-image.bb
BLUETOOTH_TOOLS = " \
bluez4 \
bluez-hcidump \
"
IMAGE_INSTALL += " \
${BLUETOOTH_TOOLS} \
"
export IMAGE_BASENAME = "bluetooth-image"
``` |
64f8a442-f845-416e-b7e9-92ecc7dec036 | {
"language": "BitBake"
} | ```bitbake
```
Add recipe for libglade2 package | ```bitbake
SUMMARY = "library to load .glade files at runtime"
DESCRIPTION = "\
This library allows one to load externally stored user interfaces into \
programs. This allows alteration of the interface without recompilation \
of the program. \
The interfaces can also be edited with GLADE. \
"
PR = "r0"
inherit debian-package
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
inherit autotools-brokensep pkgconfig
DEPENDS += "gtk+ atk libxml2 glib-2.0"
FILES_${PN} += "${datadir}/xml"
RDEPENDS_${PN}-dev += "gtk+-dev libxml2-dev python"
DEBIANNAME_${PN} = "${PN}-0"
``` |
b1f29182-5935-4ebe-be07-6c55d372cc16 | {
"language": "BitBake"
} | ```bitbake
LICENSE = "GPLv2"
DEPENDS = "libxml-simple-perl-native"
SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz"
S = "${WORKDIR}/icon-naming-utils-${PV}"
inherit autotools native
SRC_URI[md5sum] = "4abe604721ce2ccb67f451aa7ceb44d6"
SRC_URI[sha256sum] = "1cb49ce6a04626939893a447da696f20003903d61bd80c6d74d29dd79ca340d2"
```
Fix long path to perl in icon-name-mapping | ```bitbake
LICENSE = "GPLv2"
DEPENDS = "libxml-simple-perl-native"
PR = "r1"
SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz"
S = "${WORKDIR}/icon-naming-utils-${PV}"
inherit autotools native
do_configure_append() {
# replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl
sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/icon-name-mapping.pl.in
}
SRC_URI[md5sum] = "4abe604721ce2ccb67f451aa7ceb44d6"
SRC_URI[sha256sum] = "1cb49ce6a04626939893a447da696f20003903d61bd80c6d74d29dd79ca340d2"
``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.