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"

amsdk-av-files: Change YUV file to NV12 format for ducati encoding.

Signed-off-by: Jacob Stiffler <0ec61db87821c27ca8ee6f3e24c6f93fdbb785d4@ti.com>


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 recipe for libdaemon package

libdaemon: Add recipe for libdaemon package

Create new recipes to build libdaemon package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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

l-loader-poplar: Add a recipe to build l-loader for poplar.

Signed-off-by: Peter Griffin <82f81e62be2bf153f8e7977fe8d5e19723573a1d@linaro.org>


#
# 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"

libcrypt-openssl-random-perl: Add recipe for libcrypt-openssl-random-perl package

Create recipe to build libcrypt-openssl-random-perl package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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

Add recipe for GTK+ Rezlooks engine.

Add recipe for GTK+ Rezlooks engine.


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"

Add PM Jupyter notebook demo recipe

pm-notebooks: Add PM Jupyter notebook demo recipe

Added Jupyter notebook demo examples recipe for PM.

Following examples are included:
 - CPU Hotplug
 - CPU Frequency Scaling

These notebooks use 'pmutil' backend utility.

Signed-off-by: Izhar Ameer Shaikh <52f6e1bbf863e642c7079a16d6d8089ac1004ee7@xilinx.com>
Signed-off-by: Manjukumar Matha <4c64a17569570cb9f1048973bce031c402b55312@xilinx.com>


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 recipe for libpam-mount package

libpam-mount: Add recipe for libpam-mount package

Create recipe to build libpam-mount packages from Debian's source code

Signed-off-by: datnd <bde12f65a3ca6fd693611f61d9e6e7d79b529ea8@toshiba-tsdv.com>


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 OP TEE client recipes

OPTEE: Add OP TEE client recipes


SUMMARY = "QA Tests"
LICENSE = "MIT"

inherit packagegroup

RDEPENDS_${PN} = " \
    example-app-c \
    example-app-node \
    bad-groups-app \
"

meta-iotqa: Add packageroup for qatests
Use this packagroup to add some apps in image

Signed-off-by: Wu Dawei <b8fdb5b9f0b6b29b63287bce074c688ca08d8ead@intel.com>


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"

Add recipe for AES decryptor CDM

Add recipe for AES decryptor CDM

TA paths match OPTEE 2.0

Signed-off-by: Zoltan Kuscsik <557cba61231509d70fbac0f1eb5a4bff058a651e@linaro.org>


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
}

u-boot-mkimage-native: Fix problem building on a system without strip.

Signed-off-by: Jeremy Puhlman <1be069fc98ed20648a02bb06caaf20fe41a23944@mvista.com>
Signed-off-by: Chris Larson <8cf06b7089d5169434d5def8b2d1c9c9c95f6e71@mvista.com>


# 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 recipe for CDL concept demo

CDL: Add recipe for CDL concept demo

Add recipe for building CDL concept demo code.

[GDP-500] Integrate Car Data Logger (CDL) into GDP

Signed-off-by: seung-hyun.yun <c124c6a0eac6b1b78eb53026521a3a44204cf169@ivisolution.com>


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__"`
}

python-aniso8601: Add recipes for python-aniso8601 packages

Create recipes to build python-aniso8601 package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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 mm package

mm: Add recipe for mm package

Create recipe to build mm package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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 for Google RE2 library

re2: Add recipe for Google RE2 library

Add Google RE2 regular expression library.

This is used in new version of gRPC.

Signed-off-by: Clément Péron <390aca838e1cd0560012163e7780dd35ce6e97c3@gmail.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


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}/
}

uio-test-pruss: Add recipe to build uio pruss test firmware

This firmware images are expected to be used with uio pruss test code

Signed-off-by: Sam Nelson <922b89dc606ff5f34a79f0527810322597be4ea8@ti.com>
Signed-off-by: Jacob Stiffler <0ec61db87821c27ca8ee6f3e24c6f93fdbb785d4@ti.com>


DESCRIPTION = "ros-ti package group"
LICENSE = "MIT"

inherit packagegroup

PACKAGES = "${PN}"

RDEPENDS_${PN} = "\
    mmwave-ros-pkg-master \
    serial-ros \
    octomap-server \
"

ros: Add mmwave, serial-ros and octomap to ros-ti group

Signed-off-by: Djordje Senicic <cf2c6e052117bcf6743ddc95795455bc1fb322b1@ti.com>
Signed-off-by: Jacob Stiffler <0ec61db87821c27ca8ee6f3e24c6f93fdbb785d4@ti.com>


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"

lksctp-tools: Add new recipe for lksctp tools: library and utilities

- Stream Control Transmission Protocol (SCTP) is a reliable, message-oriented,
  multihomed transport protocol. Developed by the IETF SIGTRAN working group
  to transport SS7 over IP, it is now the third general-purpose transport developed
  by the IETF.

Signed-off-by: Sam Nelson <922b89dc606ff5f34a79f0527810322597be4ea8@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


# 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

libtext-charwidth-perl: Add new recipe
Create recipe to build libtext-charwidth-perl from Debian's source code

Signed-off-by: Hoang Van Tuyen <7732625216faaf64524cd5937238e63de8e0f261@toshiba-tsdv.com>


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 a recipe for lldb

Add a recipe for lldb


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 recipe for rdist package

rdist: Add recipe for rdist package

Create recipe to build rdist from debian source package

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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 image recipe for testing

Add image recipe for testing


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"

rm-lld-rtos: Add rm-lld RTOS package version 02.02.00.00

Signed-off-by: Jacob Stiffler <0ec61db87821c27ca8ee6f3e24c6f93fdbb785d4@ti.com>


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} += ""

python3-picamera: Add recipe for picamera module under python3

We only supported picamera on python2. It is time to add support
for python3 too.

Signed-off-by: Francesco Giancane <5e0d397f13d752fd00fa46122736c65fe4aff425@polito.it>


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 MM accelerator firmware recipe

ipumm-fw: Add MM accelerator firmware recipe

* Based on recipes from meta-ti-glsdk and preserved authorship
  for Mrinmayee
* Modified for upstreaming:
    * Combined the dra7xx-evm and omap5-evm versions into a
      shared recipe.  This changes the recipe name to just
      ipumm-fw.

Signed-off-by: Chase Maupin <5a5662f468a76e0fc4391e65fb9f536df44d7380@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


#
# 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/*"

Add recipe for libesmtp package

libesmtp: Add recipe for libesmtp package

Create recipe to build libesmtp from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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"

libvisual: Update LICENSE field version to LGPLv2.1

* Updated LICENSE field version from generic LGPL/GPL to LGPLv2.1+
  and GPLv2 to reflect the real license version.
* This change was based on code inspection.

Signed-off-by: Chase Maupin <5a5662f468a76e0fc4391e65fb9f536df44d7380@ti.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>


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

uhd: Add srctree based recipe to aid uhd development.


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"

libdrm: Add GLSDK specific staging tree for omap-a15

* Override SRC_URI to use TI's tree at https://git.ti.com/glsdk/libdrm
  This tree includes patches on top of the upstream libdrm for
  omap5 and dra7xx class of devices.

v2 :
* Change PR to "${INC_PR}.0" instead of using the SRCREV as per comments
  received in v1.
* Add missing configure options to get Kernel Mode Setting (KMS) as
  well. This was missing in the original patch.

Signed-off-by: Mrinmayee Hingolikar <65ee8764f43536ab6a1236598fe300183eb7172f@ti.com>
Signed-off-by: Siddharth Heroor <1457302e24e895303aa4b06d008aa2447893910c@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


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"

libmikmod: Update LICENSE field version to LGPLv2.1

* Updated LICENSE field version from generic LGPL to LGPLv2.1 to
  reflect the real license version.
* This change was back-ported from oe-core.

Signed-off-by: Chase Maupin <5a5662f468a76e0fc4391e65fb9f536df44d7380@ti.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>


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}
}

Update SRCREV to add CCSv5 support

am-sysinfo: Update SRCREV to add CCSv5 support

* Update SRCREV to pull in the following:
    * Update the makefile to support the debug and release versions utilized by CCSv5
    * Add a top level Makefile
    * update support files used by CCSv5 - .cproject and .project

Signed-off-by: Jeff Lance <1f65ae864703160707afde1c899546bb901fc98c@ti.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


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 a bitbake recipe to build cli

cli: Add a bitbake recipe to build cli

Cli is a go library for implementing command line interfaces. It is required
for consul's command line interface.

Signed-off-by: Christopher Braga <ecd7259f54548716af2f59ce4d8c3af5ea2e9f00@windriver.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

xanadux-un: Add kernel for HTC Universal by goxboxlive <goxboxlive@gmail.com>


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
}

cuia: Add recipe for TI unified Instrumentation Architecture in C module

- Provides instrumentation libraries in C for TI SoCs

Signed-off-by: Sam Nelson <922b89dc606ff5f34a79f0527810322597be4ea8@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


#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

Create a minimal image for Arago

Create a minimal image for Arago


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 raft

raft: Add a bitbake recipe to build raft

Raft is a go library which is responsible for providing consensus.
This package is part of the dependency chain needed to build consul.

Signed-off-by: Christopher Braga <ecd7259f54548716af2f59ce4d8c3af5ea2e9f00@windriver.com>


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"

Package for VPE DMA FW and test app

vpe-vpdma: Package for VPE DMA FW and test app

* This recipe will create the firmware and test application
  packages.

Signed-off-by: Chase Maupin <5a5662f468a76e0fc4391e65fb9f536df44d7380@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


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/"

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"

Revert "[openmoko] Change default community repository"

This reverts commit 84420b57e88f72281c54aef45ae22728cf36bf6f.


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 a bitbake recipe to build go-syslog

go-syslog: Add a bitbake recipe to build go-syslog

Go-syslog is a go library which provides safe access to syslog, without
introducing cross-compilation issues. This package is part of the dependency
tree needed to build consul.

Signed-off-by: Christopher Braga <ecd7259f54548716af2f59ce4d8c3af5ea2e9f00@windriver.com>


DESCRIPTION = "Packages for PubNub."
LICENSE = "MIT"

inherit packagegroup python-dir

PR = "r0"

PACKAGES = "${PN}"

PACKAGECONFIG ??= "python"
PACKAGECONFIG[python] = "\
	, \
	, \
	, \
	${PYTHON_PN}-pubnub \
"

Add package group for PubNub

PubNub: Add package group for PubNub

Signed-off-by: Scott Ware <73d8c51564b4eae79a1225e2fb09ab1ef1f00b4b@intel.com>


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 new recipe for 2.36+

atkmm: Add new recipe for 2.36+

Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


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 missing libmnl to DEPENDS

libnetfilter-queue: Add missing libmnl to DEPENDS

otherwise Errors are seen with sstate

| configure:11780: error: Package requirements (libmnl >= 1.0.3) were
not met:
|
| No package 'libmnl' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.

Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>
Signed-off-by: Joe MacDonald <75b725b40bc588a7079b9d1596fafc9f579dbd52@windriver.com>


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
}

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
}

xterm: Fix what looks like a totally insane staging path (probably missed in pervious rounds of cleanup?)


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}
}

Add recipe for iqn2 lld test code

iqn2-lld: Add recipe for iqn2 lld test code

- Adds test code for iqn2 peripheral low level driver

Signed-off-by: Sam Nelson <922b89dc606ff5f34a79f0527810322597be4ea8@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


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"

modutils-cross: Convert do_stage to do_install (from Poky)

Signed-off-by: Richard Purdie <a03894c799ea916bd571ce8f12ed88f6fb3400f7@linux.intel.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


LICENSE = "GPL"
MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
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
}

LICENSE = "GPL"
MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
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
}

Fix hardcoded path trying to set permissions on /usr/bin/


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}/*"

Add a bitbake recipe to build go-radix

go-radix: Add a bitbake recipe to build go-radix

Go-radix is a go library which implements a radix tree. This library
is part of the dependency chain needed to build consul.

Signed-off-by: Christopher Braga <ecd7259f54548716af2f59ce4d8c3af5ea2e9f00@windriver.com>


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/*"

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/*"

[Assassin] Add curl to assassin's depends.
Tick did a quick hack to assassin for access networking.
It's is a temporary solution.

After the real solution has been done, this dependency will
be remvoed.


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 recipe for ack-grep package

ack-grep: Add recipe for ack-grep package

Create recipe to build ack-grep package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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 OOT driver for rtl8192cu

rtl8192cu: Add OOT driver for rtl8192cu

This driver is way more stable than the mainline one but lacks some
functionality which can be achived by using patched components (example hostapd
for access point functionality -
https://github.com/pritambaral/hostapd-rtl871xdrv)

Signed-off-by: Theodor Gherzan <be3f40ffe21d83aefcbc279c996fd6bca5445244@resin.io>


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 recipe for libsamplerate package

libsamplerate: Add recipe for libsamplerate package

Create recipe to build libsamplerate package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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 \
                 "

Add a working Tvheadend recipe

Add a working Tvheadend recipe

The original one was previously removed
by commit ec9e5ed06256ad92c818474cdb490dc0d3a0d0a3
as part of a clean-up of blacklisted recipes.

Signed-off-by: Peter Bašista <67ba0ff9cb8fe3d0134a365da92469a75d56f879@gmail.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


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}
}

libcap: Append `-fPIC` to `CFLAGS` to fix compilation on newer binutils/ld.

Doing `bitbake libcap` with

        PREFERRED_VERSION_binutils               = "2.20"
        PREFERRED_VERSION_binutils-cross         = "2.20"
        PREFERRED_VERSION_binutils-cross-sdk     = "2.20"

        PREFERRED_VERSION_gcc                    = "4.4.2"
        PREFERRED_VERSION_gcc-cross              = "4.4.2"
        PREFERRED_VERSION_gcc-cross-sdk          = "4.4.2"
        PREFERRED_VERSION_gcc-cross-initial      = "4.4.2"
        PREFERRED_VERSION_gcc-cross-intermediate = "4.4.2"

in `local.conf` made `do_compile` error out with the following message [1].

        arm-angstrom-linux-gnueabi-ld -soname libcap.so.1 -x -shared -o libcap.so.1.10 cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o
        arm-angstrom-linux-gnueabi-ld: cap_text.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC

Khem Raj explained it the following way [2].

Am Mittwoch, den 13.01.2010, 02:27 -0800 schrieb Khem Raj:
> > I also get the same error which I did not get before with GCC 4.1.1.
>
> Older versions of binutils/ld can not detect MOVT/MOVW relocations which
> are absolute and cant be used in PIC code.
> hence even if the error was there it remained latent.

Therefore just append `-fPIC` to the CFLAGS and bump the PR variable.

The strange thing is still, that other distributions seem to have patched libcap to build with `-fPIC` long ago [3–5].

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-January/016142.html
[2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-January/016211.html
[3] http://www.linuxfromscratch.org/patches/downloads/libcap/libcap-1.10-fedora_fixes-1.patch
[4] http://frugalware.org/pipermail/frugalware-darcs/2005-May/000824.html
[5] http://cvs.fedoraproject.org/viewvc/rpms/libcap/F-7/libcap-1.10-fPIC.patch?revision=1.1&view=markup

Signed-off-by: Paul Menzel <acd6d3b156327487a919475da61b8867f1e8b249@users.sourceforge.net>


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 recipe for AES decryptor CDM

Add recipe for AES decryptor CDM

Signed-off-by: Zoltan Kuscsik <557cba61231509d70fbac0f1eb5a4bff058a651e@linaro.org>


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
}

Add a Linux 3.6 kernel recipe

linux: Add a Linux 3.6 kernel recipe

* Add a recipe to build the linux kernel from the rpi-3.6.y branch at
  https://github.com/raspberrypi/linux
* Since this has a higher version, it will be the preferred linux kernel
  by default.

Signed-off-by: Jan Schmidt <def0dbdcd55cbd155ceb01f88cf85ce025345ce8@noraisin.net>
Signed-off-by: Andrei Gherzan <8dc7c09356db0b1762fb140617d7375c0a5a4131@gherzan.ro>


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"

Revert "libdmx: Add fso-specs to DEPENDS"

Mistake on my part from debugging the other issue.  Bump PR to keep feeds sane.

This reverts commit ff0e53a12cc2f99f3529e409cbf04950ea7401ca.


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 recipe for gnupg package

gnupg: Add recipe for gnupg package

Create new recipe to build gnupg package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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 v4l git branch of opencv

Add v4l git branch of opencv


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 test utilities for firefly camera

Add test utilities for firefly camera


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

Add recipe for iperf package

iperf: Add recipe for iperf package

Create recipe to build iperf package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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

Fix typo and drop duplicate S entry

opkg-utils: Fix typo and drop duplicate S entry

virtclass-native not virtclass_native

Signed-off-by: Tom Rini <4c3d5c8f8c21c27dd329bd585f481113514551fd@mentor.com>


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 wayland package

wayland: Add recipe for wayland package

Create recipe to build wayland package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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"

gcc-arm-none-eabi-native: Add recipe for new version 6-2017-q1-update

The source location changed to developer.arm.com compared to previous
version

Signed-off-by: Sam Nelson <922b89dc606ff5f34a79f0527810322597be4ea8@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


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"

dbench: Add popt to DEPENDS, fix GNU_HASH, add clients.txt to tbench

Signed-off-by: Tom Rini <4c3d5c8f8c21c27dd329bd585f481113514551fd@mentor.com>


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"

Add from OE-Classic, uprev and update

traceroute: Add from OE-Classic, uprev and update

Uprev traceroute from 2.0.12 in OE-Classic to 2.0.18.

Update SUMMERY, DESCRIPTION, LICENSE, LIC_FILES_CHKSUM, update do_install
to be similar Fedora rpm spec files, and update update alternatives to use
the update alteratives class.

Signed-off-by: Morgan Little <9c66571348e927f5bc3ff48787df149027b424a2@windriver.com>


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"

Update mpd to latest version

Update mpd to latest version


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"

Bump PR to keep incremental versioning.

pkgconfig: Bump PR to keep incremental versioning.


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
}

gigolo: Add build and runtime depends on gvfs (without it, the app is not a lot of use).


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 simple stand-alone system tray

stalonetray: Add a simple stand-alone system tray

Stalonetray is a simple and convenient stand-alone freedesktop.org
and KDE system tray for X11 with minimal dependencies.

Signed-off-by: Leon Anavi <15d13d7e2c6115f28df053122512bfcb5eb2dbf7@konsulko.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


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 a bb for python gstreamer bindings.

Add a bb for python gstreamer bindings.


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 recipes for xerces-c packages

xerces-c: Add recipes for xerces-c packages

Create recipes to build xerces-c package from Debian's source code

Signed-off-by: Masahiro Yamada <76d6c03d331b29d77eaac66c3113243c4dd22703@toshiba.co.jp>


#
# 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"

libcrypt-openssl-bignum-perl: Add recipe for libcrypt-openssl-bignum-perl package

Create recipe to build libcrypt-openssl-bignum-perl package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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"

glm: Add recipe for OpenGL Mathematics library

Signed-off-by: Tom Hochstein <d3f54c5ed448dd8f49d051a9857d0e3d7888d99c@nxp.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>


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"

angstrom: Add (hack) recipe to enable autologin (timed) for gdm

   * Append autologin to default custom.conf
   * Longer term need better replacement/conf mechanism

Signed-off-by: Roger Monk <d23a2d7364ff5b9274b46f5bc00c2488a2111ac3@ti.com>
Signed-off-by: Koen Kooi <aeb23945acf582c79fe8e7da695ed6eac02acbbd@ti.com>


DESCRIPTION = "Common Opie Sounds"
SECTION = "opie/base"
PRIORITY = "optional"
MAINTAINER = "Team Opie <opie@handhelds.org>"
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}"

DESCRIPTION = "Common Opie Sounds"
SECTION = "opie/base"
PRIORITY = "optional"
MAINTAINER = "Team Opie <opie@handhelds.org>"
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}"

Fix TAG for opie-sounds the same as opie-pics

BKrev: 4202151fSpq_j7sYgRUxBdYmM796qw


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 recipes for sbc package

sbc: Add recipes for sbc package

Create new recipes to build sbc package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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
}

Add known-good version from 20070110

gspcav1: Add known-good version from 20070110


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"

python-awsiotsdk: Add support for next generation AWS IoT SDK for Python

Signed-off-by: Scott Ware <73d8c51564b4eae79a1225e2fb09ab1ef1f00b4b@intel.com>


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 initial recipe for pmacct

[networking] Add initial recipe for pmacct

Pmacct is a small set of multi-purpose passive network monitoring
tools.


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 pyxdg to use fdo specs from python

[python] Add pyxdg to use fdo specs from python


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
}

ttf-freefonts: Add GNU FreeFont (Free UCS Outline Fonts) package.


inherit ti-pdk

require traceframework.inc

PR = "${INC_PR}.1"

DEPENDS_append = " uia \
"

XDCPATH_append = ";${UIA_INSTALL_DIR}/packages"

Add RTOS package for Traceframework

traceframework-rtos: Add RTOS package for Traceframework

Signed-off-by: Justin Sobota <6669b542e28f0ba167c4902f156887fb103f5791@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


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 usbproxy capable image

Add a usbproxy capable image


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 a bitbake recipe to build crypto

crypto: Add a bitbake recipe to build crypto

Crypto is a go library which provides common cryptographic constants.
This library is part of the dependency chain needed to build consul.

Signed-off-by: Christopher Braga <ecd7259f54548716af2f59ce4d8c3af5ea2e9f00@windriver.com>


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 recipe for iperf3 package

iperf3: Add recipe for iperf3 package

Create recipe to build iperf3 package from Debian's source code

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>


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 a recipe to build go-multierror

go-multierror: Add a recipe to build go-multierror

Go-multierror is a go library which represents a list of errors
as a single error. This package is part of the dependency tree
needed to build consul.

Signed-off-by: Christopher Braga <ecd7259f54548716af2f59ce4d8c3af5ea2e9f00@windriver.com>


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 \
"

Add recipe for bsp image based on sato

lager: Add recipe for bsp image based on sato

This image support with gstreamer for lager.

Signed-off-by: Nobuhiro Iwamatsu <2b8440e189956f325e301c8d8c76bd30356b2f9f@renesas.com>


require matrix-tui.inc

SRCREV = "35"
PR = "${INC_PR}.3"

require matrix-tui.inc

SRCREV = "37"
PR = "${INC_PR}.4"

Update SRCREV - makefile update

matrix-tui: Update SRCREV - makefile update

* Updating the makefile to better support the release and debug versions used in CCSv5
  * Adding an install_debug option to the makefile
  * Updating the README file to go with the makefile updates

Signed-off-by: Jeff Lance  <1f65ae864703160707afde1c899546bb901fc98c@ti.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


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"

Add an image with bluetooth tools

Add an image with bluetooth tools