Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Add recipe for libical package
SUMMARY = "iCalendar library implementation in C" DESCRIPTION = "\ libical is an open source implementation of the IETF's iCalendar calendaring \ and scheduling protocols (RFC 2445, 2446, and 2447). It parses iCal components \ and provides a C API for manipulating the component properties, parameters, \ and subcomponents. \ " HOMEPAGE = "http://freeassociation.sourceforge.net" PR = "r0" inherit debian-package LICENSE = "MPL-1.0 | LGPL-2.1" LIC_FILES_CHKSUM = "\ file://COPYING;md5=d4fc58309d8ed46587ac63bb449d82f8 \ file://LICENSE;md5=d1a0891cd3e582b3e2ec8fe63badbbb6" inherit cmake perlnative PKG_${PN} = "${PN}1a" RDEPENDS_${PN}-dev += "${PN}" RDEPENDS_${PN} += "tzdata"
Fix QA warning about non staticdev containing .a files.
DESCRIPTION = "FarSight is an audio/video conferencing framework specifically designed for Instant Messengers." HOMEPAGE = "http://farsight.sf.net" SRC_URI = "http://farsight.freedesktop.org/releases/farsight2/${P}.tar.gz" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" PR = "r1" DEPENDS = "libnice glib-2.0 libxml2 zlib dbus gstreamer gst-plugins-base" inherit autotools EXTRA_OECONF = " \ --disable-debug \ --disable-gtk-doc \ --disable-python \ " FILES_${PN} += "${libdir}/*/*.so" FILES_${PN}-dev += "${libdir}/*/*a" FILES_${PN}-dbg += "${libdir}/*/.debug" SRC_URI[md5sum] = "e1f540cf3ebab06c3d7db1f46b44ac88" SRC_URI[sha256sum] = "3ae59aa61a8071c9fad111e5fd606aabc27961eb4192f8729987a27dae6b3974"
DESCRIPTION = "FarSight is an audio/video conferencing framework specifically designed for Instant Messengers." HOMEPAGE = "http://farsight.sf.net" SRC_URI = "http://farsight.freedesktop.org/releases/farsight2/${P}.tar.gz" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" PR = "r2" DEPENDS = "libnice glib-2.0 libxml2 zlib dbus gstreamer gst-plugins-base" inherit autotools EXTRA_OECONF = " \ --disable-debug \ --disable-gtk-doc \ --disable-python \ " FILES_${PN} += "${libdir}/*/*.so" FILES_${PN}-dev += "${libdir}/*/*.la" FILES_${PN}-staticdev += "${libdir}/*/*.a" FILES_${PN}-dbg += "${libdir}/*/.debug" SRC_URI[md5sum] = "e1f540cf3ebab06c3d7db1f46b44ac88" SRC_URI[sha256sum] = "3ae59aa61a8071c9fad111e5fd606aabc27961eb4192f8729987a27dae6b3974"
Add recipe for C implementation for userspace driver app
# SPDX-FileCopyrightText: Huawei Inc. # # SPDX-License-Identifier: Apache-2.0 HOMEPAGE = "https://booting.oniroproject.org/distro/components/pim435" SUMMARY = "A userspace driver application for PIM435 written in C" DESCRIPTION = "A userspace driver application for PIM435 (Pimoroni LED matrix) \ written in C" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663" SRC_URI = "git://booting.oniroproject.org/distro/components/pim435;protocol=https;branch=main" SRCREV = "ee07a83de4d0ecdf4b5de20a7e374d36a9a6f5d5" S = "${WORKDIR}/git" DEPENDS = "i2c-tools" EXTRA_OEMAKE += "DESTDIR=${D}" do_install() { oe_runmake install }
Add rtos recipe for serdes-diag
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"
Add ams application user recipe
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"
Add bitbake recipe for daconi skin jules black hd
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 }
Create recipe to demonstrate qt5 example.
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"
Add libdce version 2.0 support from glsdk
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"
Add recipe for libhx package
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/*"
Add a bluetooth capable image
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"
Add recipe for libdbi-drivers package
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"
Add recipe for time package
# # 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
Change YUV file to NV12 format for ducati encoding.
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"
Add recipe for libdaemon package
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"
Add a recipe to build l-loader for poplar.
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
Add recipe for libcrypt-openssl-random-perl package
# # 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"
Add recipe for libpam-mount package
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 \ "
Add OP TEE client recipes
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 - }
Add packageroup for qatests Use this packagroup to add some apps in image
SUMMARY = "QA Tests" LICENSE = "MIT" inherit packagegroup RDEPENDS_${PN} = " \ example-app-c \ example-app-node \ bad-groups-app \ "
Add recipe for AES decryptor CDM
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"
Fix problem building on a system without strip.
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 }
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 }
Add recipe for CDL concept demo
# 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"
Add recipes for python-aniso8601 packages
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__"` }
Add recipe for mm package
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"
Add recipe for Google RE2 library
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"
Add recipe to build uio pruss test firmware
DESCRIPTION = "Provides test pruss firmware for uio based tests" LICENSE = "BSD-3-Clause" PV = "1.0.0.0" require recipes-ti/includes/ti-paths.inc S = "${WORKDIR}/git" DEPENDS = "ti-cgt-pru-native" BRANCH = "master" SRC_URI = "git://git.ti.com/processor-sdk/uio-test-pruss.git;protocol=git;branch=${BRANCH}" LIC_FILES_CHKSUM = "file://Makefile;startline=1;endline=31;md5=0ee4f2c42eb6b04e37859bb55a18b144" # Corresponds to version 01.00.00.00 SRCREV = "f04b91b84331c9a12c897e4eb2836a0a3e3a5fae" COMPATIBLE_MACHINE = "am57xx" EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR}" do_install() { install -d ${D}${bindir}/ cp -r *.bin ${D}${bindir}/ }
Add mmwave, serial-ros and octomap to ros-ti group
DESCRIPTION = "ros-ti package group" LICENSE = "MIT" inherit packagegroup PACKAGES = "${PN}" RDEPENDS_${PN} = "\ mmwave-ros-pkg-master \ serial-ros \ octomap-server \ "
Add new recipe Create recipe to build libtext-charwidth-perl from Debian's source code
# 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
Add a recipe for lldb
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 }
Add recipe for rdist package
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}/ }
Add image recipe for testing
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"
Add rm-lld RTOS package version 02.02.00.00
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"
Add recipe for picamera module under python3
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} += ""
Add MM accelerator firmware recipe
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}"
Add recipe for libesmtp package
# # 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/*"
Update LICENSE field version to LGPLv2.1
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"
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"
Add srctree based recipe to aid uhd development.
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}/* root@192.168.1.171:/ } addtask copy_to_target after do_install before do_package
Add GLSDK specific staging tree for omap-a15
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"
Update LICENSE field version to LGPLv2.1
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"
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"
Update SRCREV to add CCSv5 support
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} }
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} }
Add a bitbake recipe to build cli
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}/*"
Add kernel for HTC Universal by goxboxlive <goxboxlive@gmail.com>
############## /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 <goxboxlive@gmail.com>" LICENSE = "GPL" PR="r2" SRC_URI = "cvs://anonymous@xanadux.cvs.sourceforge.net/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
Add recipe for TI unified Instrumentation Architecture in C module
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 }
Add a bitbake recipe to build raft
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}/*"
Add a bitbake recipe to build go-syslog
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}/*"
Add package group for PubNub
DESCRIPTION = "Packages for PubNub." LICENSE = "MIT" inherit packagegroup python-dir PR = "r0" PACKAGES = "${PN}" PACKAGECONFIG ??= "python" PACKAGECONFIG[python] = "\ , \ , \ , \ ${PYTHON_PN}-pubnub \ "
Add new recipe for 2.36+
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"
Add missing libmnl to DEPENDS
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
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
Add recipe for iqn2 lld test code
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} }
Convert do_stage to do_install (from Poky)
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"
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"
Add recipe for ack-grep package
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}"
Add OOT driver for rtl8192cu
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} \ "
Add recipe for libsamplerate package
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}"
Add a working Tvheadend recipe
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 \ "
Append `-fPIC` to `CFLAGS` to fix compilation on newer binutils/ld.
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} }
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} }
Add recipe for AES decryptor CDM
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"
Add a Linux 3.6 kernel recipe
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 }
Revert "libdmx: Add fso-specs to DEPENDS"
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"
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"
Add recipe for gnupg package
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"
Add v4l git branch of opencv
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 }
Add test utilities for firefly camera
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}/ }
Add recipe for iperf package
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
Fix typo and drop duplicate S entry
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"
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
Add recipe for wayland package
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"
Add recipe for new version 6-2017-q1-update
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"
Add popt to DEPENDS, fix GNU_HASH, add clients.txt to tbench
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"
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"
Add from OE-Classic, uprev and update
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"
Update mpd to latest version
DESCRIPTION = "Music Player Daemon (mpd)" HOMEPAGE = "http://www.musicpd.org" LICENSE = "GPLv2" MAINTAINER = "Chris Larson <kergoth@handhelds.org>" 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"
Bump PR to keep incremental versioning.
require pkgconfig.inc PR = "${INC_PR}.1" DEPENDS += "glib-2.0" EXTRA_OECONF = "--with-installed-glib"
require pkgconfig.inc PR = "${INC_PR}.3" DEPENDS += "glib-2.0" EXTRA_OECONF = "--with-installed-glib"
Add build and runtime depends on gvfs (without it, the app is not a lot of use).
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 }
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 }
Add a simple stand-alone system tray
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
Add a bb for python gstreamer bindings.
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 }
Add recipes for xerces-c packages
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"
Add recipe for libcrypt-openssl-bignum-perl package
# # 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"
Add (hack) recipe to enable autologin (timed) for gdm
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"
Add recipes for sbc package
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"
Add support for next generation AWS IoT SDK for Python
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"
Add initial recipe for pmacct
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}"
Add pyxdg to use fdo specs from python
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
Add RTOS package for Traceframework
inherit ti-pdk require traceframework.inc PR = "${INC_PR}.1" DEPENDS_append = " uia \ " XDCPATH_append = ";${UIA_INSTALL_DIR}/packages"
Add a usbproxy capable image
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"
Add a bitbake recipe to build crypto
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/*"
Add recipe for iperf3 package
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"
Add a recipe to build go-multierror
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}/*"
Add recipe for bsp image based on sato
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 \ "
Update SRCREV - makefile update
require matrix-tui.inc SRCREV = "35" PR = "${INC_PR}.3"
require matrix-tui.inc SRCREV = "37" PR = "${INC_PR}.4"
Add recipe for libglade2 package
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"
Fix long path to perl in icon-name-mapping
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"
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"
Use this to compile full image and produce extra-packages
# Creates the "feed", packages not required for the image # but that should be built for the feed so that other # components may use them and install on demand. require blackpole-image.bb DEPENDS += "${OPTIONAL_PACKAGES}"
Add debug image with no modules for kernel dev work
DESCRIPTION = "A console kernel development image, no modules" LICENSE = "MIT" IMAGE_FEATURES += "package-management" IMAGE_LINGUAS = "en-us" inherit core-image CORE_OS = " \ busybox-hwclock \ task-core-ssh-openssh openssh-keygen \ term-prompt \ tzdata \ " DEV_SDK_INSTALL = " \ binutils \ binutils-symlinks \ coreutils \ cpp \ cpp-symlinks \ diffutils \ file \ gcc \ gcc-symlinks \ g++ \ g++-symlinks \ gettext \ git \ ldd \ libstdc++ \ libstdc++-dev \ libtool \ make \ pkgconfig \ " EXTRA_TOOLS_INSTALL = " \ bzip2 \ ethtool \ findutils \ i2c-tools \ iftop \ iperf \ htop \ less \ procps \ sysfsutils \ tcpdump \ unzip \ wget \ zip \ " IMAGE_INSTALL += " \ ${CORE_OS} \ ${DEV_SDK_INSTALL} \ ${EXTRA_TOOLS_INSTALL} \ " 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 = "duovero-debug-image"
Update libao to latest version
LICENSE = "GPL" DESCRIPTION = "A cross platform audio library" HOMEPAGE = "http://www.xiph.org/ao/" SECTION = "libs" PRIORITY = "optional" PR = "r0" SRC_URI = "http://www.xiph.org/ao/src/libao-${PV}.tar.gz" inherit autotools pkgconfig EXTRA_OECONF = "--disable-esd --disable-esdtest \ --disable-alsa --disable-alsa09 \ --disable-arts --disable-nas" do_stage() { install -d ${STAGING_INCDIR}/ao install -m 0644 ${S}/include/ao/ao.h ${S}/include/ao/os_types.h \ ${S}/include/ao/plugin.h ${STAGING_INCDIR}/ao/ oe_libinstall -so -C src libao ${STAGING_LIBDIR} install -d ${STAGING_DATADIR}/aclocal install -m 0644 ao.m4 ${STAGING_DATADIR}/aclocal/ } FILES_${PN} += "${libdir}/ao/plugins-2/*.so"
Add recipe for xapian-core package
SUMMARY = "This package contains the core Xapian runtime library" DESCRIPTION = "\ The Xapian search engine library is a highly adaptable toolkit which allows \ developers to easily add advanced indexing and search facilities to their own \ applications. It implements the probabilistic model of information retrieval, \ and provides facilities for performing ranked free-text searches, relevance \ eedback, phrase searching, boolean searching, stemming, and simultaneous \ pdate and searching. It is highly scalable, and is capable of working with \ collections containing hundreds of millions of documents. \ " HOMEPAGE = "http://xapian.org/" PR = "r0" inherit debian-package LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "\ file://COPYING;md5=4325afd396febcb659c36b49533135d4" inherit autotools #install follow Debian jessie do_install_append() { install -d ${D}${libdir}/xapian-examples/examples mv ${D}${bindir}/simple* ${D}${libdir}/xapian-examples/examples/ } PACKAGES =+ "libxapian22 xapian-examples" DEBIANNAME_${PN} = "xapian-tools" DEBIANNAME_${PN}-dev = "libxapian-dev" DEBIANNAME_${PN}-doc = "xapian-doc" DEBIANNAME_${PN}-dbg = "libxapian22-dbg" FILES_libxapian22 = "${libdir}/libxapian.so.*" FILES_xapian-examples = "${libdir}/xapian-examples/examples/simple*" FILES_${PN}-dev += "${libdir}/cmake/xapian/* ${bindir}/xapian-config" FILES_${PN}-dbg += "${libdir}/xapian-examples/examples/.debug/*" #follow debian/control RDEPENDS_libxapian-dev += "libxapian22 libc6-dev" RDEPENDS_xapian-tools += "libxapian22"
Add missing RDEPENDS to tapioca-xmpp.
MAINTAINER = "Koen Kooi <Koen@dominion.kabel.utwente.nl>" HOMEPAGE = "http://tapioca-voip.sourceforge.net/wiki/index.php/Tapioca" LICENSE = "LGPL" DEPENDS = "gtk+ glib-2.0 dbus gconf tapioca-xmpp tapioca farsight gst-plugins-farsight" inherit autotools pkgconfig SRC_URI = "${SOURCEFORGE_MIRROR}/tapioca-voip/${P}.tar.gz" FILES_${PN} += "${datadir}/dbus*"
MAINTAINER = "Koen Kooi <Koen@dominion.kabel.utwente.nl>" HOMEPAGE = "http://tapioca-voip.sourceforge.net/wiki/index.php/Tapioca" LICENSE = "LGPL" DEPENDS = "gtk+ glib-2.0 dbus gconf tapioca-xmpp tapioca farsight gst-plugins-farsight" RDEPENDS = "tapioca-xmpp" PR = "r1" inherit autotools pkgconfig SRC_URI = "${SOURCEFORGE_MIRROR}/tapioca-voip/${P}.tar.gz" FILES_${PN} += "${datadir}/dbus*"
Add recipe for insserv package
# # base recipe: http://cgit.openembedded.org/cgit.cgi/openembedded-core/tree/meta/\ # recipes-devtools/insserv/insserv_1.14.0.bb?h=fido # base branch: fido # base commit: f0873b83d693af4a103999160d67fcf25c7eedc1 # SUMMARY = "Boot sequence organizer using LSB init.d dependencies" DESCRIPTION = "This utility reorders the init.d boot scripts based on \ dependencies agiven in scripts'LSB comment headers, or in override files \ included in this package or added in /etc/insserv." # There is no known home page for insserv LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" PR = "r0" inherit debian-package #Add option -D-GNU_SOURCE: The O_NOATIME variable in insserv.c \ #is depends on __USE_GNU and __USE_GNU depends on _GNU_SOURCE CFLAGS += " -D_GNU_SOURCE" do_install () { oe_runmake 'DESTDIR=${D}' install install -m0644 ${S}/insserv.conf ${D}${sysconfdir}/insserv.conf #Create /etc/bash_completion.d folder install -d ${D}${sysconfdir}/bash_completion.d chmod 0755 ${D}${sysconfdir}/bash_completion.d #Install /etc/bash_completion.d/insserv install -m 0644 ${S}/debian/insserv.bash-completion \ ${D}${sysconfdir}/bash_completion.d/insserv }
Add recipe for libyaml package
SUMMARY = "Fast YAML 1.1 parser and emitter library" DESCRIPTION = "LibYAML is a C library for parsing and emitting data in YAML 1.1, a \ human-readable data serialization format." HOMEPAGE = "http://pyyaml.org/wiki/LibYAML" PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17" inherit autotools DEBIAN_NOAUTONAME_${PN}-dev = "1"
Add recipe for dsh package
SUMMARY = "dancer's shell, or distributed shell" DESCRIPTION = "\ Executes specified command on a group of computers using remote shell \ methods such as rsh or ssh. \ dsh can parallelise job submission using several algorithms, such as using \ fan-out method or opening as much connections as possible, or using a window \ of connections at one time.It also supports 'interactive mode' for interactive\ maintenance of remote hosts." PR = "r0" inherit debian-package LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" inherit autotools-brokensep gettext pkgconfig DEBIAN_PATCH_TYPE = "nopatch" DEPENDS += "libdshconfig" EXTRA_OECONF += "--sysconfdir=/etc/dsh --mandir=/usr/share/man" #install follow Debian jessie do_install_append() { install -d ${D}${libdir}/update-cluster install -d ${D}${sysconfdir}/${PN}/group install -d ${D}${datadir}/locale/ja/LC_MESSAGES/ install -m 0644 ${S}/debian/machines.list ${D}${sysconfdir}/${PN}/ ln -s ../machines.list ${D}${sysconfdir}/${PN}/group/all install -m 0755 ${S}/debian/dsh.updatelist ${D}${libdir}/update-cluster/ install -m 0644 ${S}/po/ja.gmo ${D}${datadir}/locale/ja/LC_MESSAGES/dsh.mo } FILES_${PN} += "${libdir}/* ${datadir}/locale/*"
Add SECTION. Make DESCRIPTION more useful.
DESCRIPTION = "Evince is simply a document viewer" LICENSE = "GPL" DEPENDS = "tiff espgs poppler gtk+ libgnomeui libgnomeprint libgnomeprintui" RDEPENDS = "espgs gconf" RRECOMMENDS = "gnome-vfs-plugin-file" PR = "r0" inherit gnome pkgconfig SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/evince/0.5/${PN}-${PV}.tar.bz2 \ file://more-no-doc.patch;patch=1" EXTRA_OECONF = "--disable-tiff"
DESCRIPTION = "Evince is a document viewer for document formats like pdf, ps, djvu." LICENSE = "GPL" SECTION = "x11/office" DEPENDS = "tiff espgs poppler gtk+ libgnomeui libgnomeprint libgnomeprintui" RDEPENDS = "espgs gconf" RRECOMMENDS = "gnome-vfs-plugin-file" PR = "r1" inherit gnome pkgconfig SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/evince/0.5/${PN}-${PV}.tar.bz2 \ file://more-no-doc.patch;patch=1" EXTRA_OECONF = "--disable-tiff"
Add python library pamela which supports PAM
DESCRIPTION = "Pamela: yet another Python wrapper for PAM" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bfb663f37eb99232bc8ccfa4ea8f1202" SRC_URI[md5sum] = "de6516118d51eb5fc97017f3b6d5c68b" SRC_URI[sha256sum] = "1e198446a6cdd87704aa0def7621d62e7c20b0e6068e2788b9a866a8355e5d6b" PYPI_PACKAGE = "pamela" inherit pypi setuptools RDEPENDS_${PN} = "libpam" inherit distro_features_check REQUIRED_DISTRO_FEATURES = "pam"
Add recipe for compiling clk_wiz driver
inherit features_check REQUIRED_DISTRO_FEATURES = "clk-wiz" inherit esw python3native DEPENDS += "xilstandalone" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clk_wiz/src/" ESW_COMPONENT_NAME = "libclk_wiz.a" addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
Add recipe for psmisc package
# # base recipe: /meta/recipes-extended/psmisc/psmisc_22.21.bb # base branch: master # base commit: e335d9519c883165e70cda5c1fde348391686e31 # SUMMARY = "Utilities for managing processes on your system" DESCRIPTION = "The psmisc package contains utilities for managing processes \ on your system: pstree, killall and fuser. The pstree command displays a \ tree structure of all of the running processes on your system. The killall \ command sends a specified signal (SIGTERM if nothing is specified) to \ processes identified by name. The fuser command identifies the PIDs \ of processes that are using specified files or filesystems." HOMEPAGE = "http://psmisc.sf.net/" PR = "r0" inherit debian-package LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" inherit autotools gettext #Move /usr/bin/fuser file to /bin/ folder do_install_append () { install -d ${D}${base_bindir} mv ${D}${bindir}/fuser ${D}${base_bindir}/fuser } FILES_${PN} += "${base_bindir}/fuser"