Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add recipe for ebtables package | SUMMARY = "Ethernet bridge frame table administration"
DESCRIPTION = "Ebtables is used to set up, maintain, and inspect the tables of \
Ethernet frame rules in the Linux kernel. It is analogous to iptables, \
but operates at the MAC layer rather than the IP layer."
HOMEPAGE = "http://ebtables.sourceforge.net"
PR = "r0"
inherit debian-package
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
inherit autotools-brokensep
CFLAGS += "-fstack-protector-all"
EXTRA_OEMAKE = " \
'LIBDIR=${base_libdir}/${PN}' \
'BINDIR=${base_sbindir}' \
'CC=${CC}' \
'CFLAGS=${CFLAGS}' \
'LDFLAGS=${LDFLAGS}' \
"
do_install_append() {
# base on debian/rules
mv ${D}${sysconfdir}/default/ebtables-config \
${D}${sysconfdir}/default/ebtables
rm -rf ${D}${base_sbindir}/ebtables-save \
${D}${base_sbindir}/ebtables-restore
}
RRECOMMENDS_${PN} += "iptables kmod"
# Avoid a parallel build problem
PARALLEL_MAKE = ""
FILES_${PN} += "${base_libdir}/${PN}/*"
FILES_${PN}-dbg += "${base_libdir}/${PN}/.debug"
| |
Add recipe for libcgroup package | #
# Base recipe: recipes-core/libcgroup/libcgroup_0.41.bb
# Base branch: jethro
#
SUMMARY = "Linux control group abstraction library"
DESCRIPTION = "libcgroup is a library that abstracts the control group file system \
in Linux. Control groups allow you to limit, account and isolate resource usage \
(CPU, memory, disk I/O, etc.) of groups of processes."
PR = "r0"
inherit debian-package
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
inherit autotools pkgconfig
DEPENDS = "bison-native flex-native ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
EXTRA_OECONF = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam-module-dir=${base_libdir}/security --enable-pam=yes', '--enable-pam=no', d)}"
do_install_append() {
# Moving libcgroup to base_libdir
if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
mkdir -p ${D}/${base_libdir}/
mv -f ${D}${libdir}/libcgroup.so.* ${D}${base_libdir}/
rel_lib_prefix=`echo ${libdir} | sed 's,\(^/\|\)[^/][^/]*,..,g'`
ln -sf ${rel_lib_prefix}${base_libdir}/libcgroup.so.1 ${D}${libdir}/libcgroup.so
fi
# pam modules in ${base_libdir}/security/ should be binary .so files, not symlinks.
if [ -f ${D}${base_libdir}/security/pam_cgroup.so.0.0.0 ]; then
mv -f ${D}${base_libdir}/security/pam_cgroup.so.0.0.0 ${D}${base_libdir}/security/pam_cgroup.so
rm -f ${D}${base_libdir}/security/pam_cgroup.so.*
fi
}
PACKAGES =+ "cgroup-tools libpam-cgroup"
FILES_cgroup-tools += "${bindir}/* ${sbindir}/*"
FILES_libpam-cgroup += "${base_libdir}/security/pam_cgroup.so*"
FILES_${PN}-dbg += "${base_libdir}/security/.debug"
FILES_${PN}-dev += "${base_libdir}/security/*.la"
# Rename package follow Debian
DEBIANNAME_${PN} = "${PN}1"
| |
Add sensor repository for mraa | SUMMARY = "Sensor/Actuator repository for Mraa"
SECTION = "libs"
AUTHOR = "Brendan Le Foll, Tom Ingleby, Yevgeniy Kiveisha"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=66493d54e65bfc12c7983ff2e884f37f"
DEPENDS = "libjpeg-turbo mraa"
SRC_URI = "git://github.com/intel-iot-devkit/upm.git;protocol=git;tag=v${PV}"
S = "${WORKDIR}/git"
inherit distutils-base pkgconfig python-dir cmake
CFLAGS_append_edison = " -msse3 -mfpmath=sse"
FILES_${PN}-doc += "${datadir}/upm/examples/"
RDEPENDS_${PN} += "mraa"
# override this in local.conf to get a subset of bindings.
# BINDINGS_pn-upm="python"
# will result in only the python bindings being built/packaged.
BINDINGS ?= "python nodejs"
PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGES', 'node-${PN}', 'nodejs', '', d)} \
${@bb.utils.contains('PACKAGES', 'python-${PN}', 'python', '', d)}"
PACKAGECONFIG[python] = "-DBUILDSWIGPYTHON=ON, -DBUILDSWIGPYTHON=OFF, swig-native ${PYTHON_PN},"
PACKAGECONFIG[nodejs] = "-DBUILDSWIGNODE=ON, -DBUILDSWIGNODE=OFF, swig-native nodejs,"
### Python ###
# Python dependency in PYTHON_PN (from poky/meta/classes/python-dir.bbclass)
# Possible values for PYTHON_PN: "python" or "python3"
# python-upm package containing Python bindings
FILES_${PYTHON_PN}-${PN} = "${PYTHON_SITEPACKAGES_DIR} \
${datadir}/${BPN}/examples/python/ \
${prefix}/src/debug/${BPN}/${PV}-${PR}/build/src/*/pyupm_* \
"
RDEPENDS_${PYTHON_PN}-${PN} += "${PYTHON_PN} mraa"
INSANE_SKIP_${PYTHON_PN}-${PN} = "debug-files"
### Node ###
# node-upm package containing Nodejs bindings
FILES_node-${PN} = "${prefix}/lib/node_modules/ \
${datadir}/${BPN}/examples/javascript/ \
"
RDEPENDS_node-${PN} += "nodejs mraa"
INSANE_SKIP_node-${PN} = "debug-files"
### Include desired language bindings ###
PACKAGES =+ "${@bb.utils.contains('BINDINGS', 'nodejs', 'node-${PN}', '', d)}"
PACKAGES =+ "${@bb.utils.contains('BINDINGS', 'python', 'python-${PN}', '', d)}"
| |
Add TI VPE GStreamer plugins | DESCRIPTION = "GStreamer elements to use the Video Processing Engine (VPE) found on some TI devices"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
require gst-plugins-ti.inc
PR = "${INC_PR}.0"
SRCREV = "5107007ca1be8ed66f6a9ec3ffbb70ec7eb0b120"
SRC_URI = "git://git.ti.com/glsdk/gst-plugin-vpe.git;protocol=git"
| |
Add repositories for Imagination specific demo on DRM | DESCRIPTION = "Imagination PowerVR SDK"
HOMEPAGE = "http://community.imgtec.com/developers/powervr/installers"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://LegalNotice.txt;md5=d9c0ca03b9845110090435a33eec4a33"
SRC_URI = "git://git.ti.com/glsdk/img-pvr-sdk.git;protocol=git"
SRCREV = "edbd108d1582560429192dc0221f0a8fddea0928"
PR = "r3"
S = "${WORKDIR}/git"
do_install () {
oe_runmake install DESTDIR=${D}
}
INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} += "dev-so"
FILES_${PN} += "/opt/img-powervr-sdk/Examples/Advanced/OGLES2ChameleonMan /opt/img-powervr-sdk/Examples/Advanced/OGLES2Coverflow /opt/img-powervr-sdk/Examples/Advanced/OGLES2ExampleUI /opt/img-powervr-sdk/Examples/Advanced/OGLES2Navigation /opt/img-powervr-sdk/PVRHub/* /opt/img-powervr-sdk/PVRScopeDeveloper/*"
| |
Add new release of gpe-login. | LICENSE = "GPL"
inherit gpe
DESCRIPTION = "GPE user login screen"
SECTION = "gpe"
PRIORITY = "optional"
MAINTAINER = "Philip Blundell <pb@handhelds.org>"
DEPENDS = "gtk+ libgpewidget gpe-ownerinfo xkbd"
RDEPENDS = "xkbd"
RPROVIDES = "gpe-session-starter"
PR = "r0"
| |
Fix syntax error in the cairo .bb. | PV = "0.0cvs${CVSDATE}"
SECTION = "libs"
PRIORITY = "optional"
MAINTAINER = "Phil Blundell <pb@debian.org>"
# DEPENDS = "x11 libpixman libpng fontconfig libxrender xcb glitz"
DEPENDS = "x11 libpixman libpng fontconfig libxrender"
DESCRIPTION = "Cairo graphics library"
LICENSE = "MPL LGPL"
PR = "r1"
SRC_URI = "cvs://anoncvs:anoncvs@cvs.cairographics.org/cvs/cairo;module=cairo
\
file://status.patch;patch=1"
S = "${WORKDIR}/cairo"
inherit autotools pkgconfig
do_stage () {
oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR}
}
| PV = "0.0cvs${CVSDATE}"
SECTION = "libs"
PRIORITY = "optional"
MAINTAINER = "Phil Blundell <pb@debian.org>"
# DEPENDS = "x11 libpixman libpng fontconfig libxrender xcb glitz"
DEPENDS = "x11 libpixman libpng fontconfig libxrender"
DESCRIPTION = "Cairo graphics library"
LICENSE = "MPL LGPL"
PR = "r1"
SRC_URI = "cvs://anoncvs:anoncvs@cvs.cairographics.org/cvs/cairo;module=cairo \
file://status.patch;patch=1"
S = "${WORKDIR}/cairo"
inherit autotools pkgconfig
do_stage () {
oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR}
}
|
Change license from GPL to LGPL. See COPYING.LIB. | # libaio-oracle .bb build file
# Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved
# Released under the MIT license (see /COPYING)
DESCRIPTION="This is a library for accessing the new AIO system calls (asynchronous i/o) for the Linux kernel."
HOMEPAGE="http://oss.oracle.com/projects/libaio-oracle"
LICENSE="GPL"
SRC_URI="http://oss.oracle.com/projects/libaio-oracle/dist/files/${PN}-${PV}.tar.gz"
DEPENDS="libaio"
RDEPENDS="libaio"
inherit autotools
FILES_${PN}="/usr"
#We don't have a raw.h with uClibc, so copy in the one from glibc
SRC_URI_append_linux-uclibc=" file://raw.h"
do_configure_prepend_linux-uclibc () {
install -D -m 0644 ${WORKDIR}/raw.h ${S}/sys/raw.h
}
do_stage() {
rm -rf ${STAGE_TEMP}
mkdir -p ${STAGE_TEMP}
oe_runmake DESTDIR="${STAGE_TEMP}" install
install -m 0644 ${STAGE_TEMP}/usr/include/libaio-oracle/libaio-oracle.h ${STAGING_INCDIR}
rm -f ${STAGE_TEMP}/usr/lib/*.la
oe_libinstall -a -so -C ${STAGE_TEMP}/usr/lib libaio-oracle ${STAGING_LIBDIR}
}
| # libaio-oracle .bb build file
# Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved
# Released under the MIT license (see /COPYING)
DESCRIPTION="This is a library for accessing the new AIO system calls (asynchronous i/o) for the Linux kernel."
HOMEPAGE="http://oss.oracle.com/projects/libaio-oracle"
LICENSE="LGPL"
PR = "r1"
SRC_URI="http://oss.oracle.com/projects/libaio-oracle/dist/files/${PN}-${PV}.tar.gz"
DEPENDS="libaio"
RDEPENDS="libaio"
inherit autotools
FILES_${PN}="/usr"
#We don't have a raw.h with uClibc, so copy in the one from glibc
SRC_URI_append_linux-uclibc=" file://raw.h"
do_configure_prepend_linux-uclibc () {
install -D -m 0644 ${WORKDIR}/raw.h ${S}/sys/raw.h
}
do_stage() {
rm -rf ${STAGE_TEMP}
mkdir -p ${STAGE_TEMP}
oe_runmake DESTDIR="${STAGE_TEMP}" install
install -m 0644 ${STAGE_TEMP}/usr/include/libaio-oracle/libaio-oracle.h ${STAGING_INCDIR}
rm -f ${STAGE_TEMP}/usr/lib/*.la
oe_libinstall -a -so -C ${STAGE_TEMP}/usr/lib libaio-oracle ${STAGING_LIBDIR}
}
|
Add recipes for rinse packages | SUMMARY = "RPM installation environment"
DESCRIPTION = "\
This is a tool for bootstrapping a basic RPM-based distribution of \
GNU/Linux. It is comparable in purpose to the standard Debian \
debootstrap utility, but works upon RPM-based distributions instead. \
Rinse can setup 32 and 64-bit installations of: \
* CentOS \
* Scientific Linux CERN \
* Fedora \
* OpenSUSE"
HOMEPAGE = "http://collab-maint.alioth.debian.org/rinse/"
LICENSE = "GPL-1.0 | Artistic-2.0"
LIC_FILES_CHKSUM = "file://bin/rinse;beginline=165;endline=174;md5=dd2cdd3c695a6d3cc7450140acc46571"
PR = "r0"
inherit debian-package
PV = "3.0.9"
do_compile(){
oe_runmake
}
do_install(){
oe_runmake 'DESTDIR=${D}' install
}
| |
Add recipes for csh package | SUMMARY = "Shell with C-like syntax"
DESCRIPTION = "The C shell was originally written at UCB to overcome limitations in the \
Bourne shell. Its flexibility and comfort (at that time) quickly made it \
the shell of choice until more advanced shells like ksh, bash, zsh or \
tcsh appeared. Most of the latter incorporate features original to csh."
inherit debian-package
PV = "20110502"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://csh.h;beginline=4;endline=30;md5=60d2e466017ade807b579cb0367517e6"
inherit autotools-brokensep update-alternatives
DEPENDS += "bmake-native libbsd"
export MAKE="bmake"
export LDADD="${LDFLAGS}"
do_compile() {
oe_runmake CC="${CC}"
}
do_install() {
install -D ${B}/csh ${D}${base_bindir}/bsd-csh
}
do_install_append_class-native() {
ln -sf bsd-csh ${D}${base_bindir}/csh
}
# Add update-alternatives definitions base on debian/postinst
ALTERNATIVE_PRIORITY="30"
ALTERNATIVE_${PN} = "csh"
ALTERNATIVE_LINK_NAME[csh] = "${base_bindir}/csh"
ALTERNATIVE_TARGET[csh] = "${base_bindir}/bsd-csh"
RPROVIDES_${PN} = "c-shell"
RDEPENDS_${PN}_class-target += "libbsd"
BBCLASSEXTEND = "native"
# Disable parallel make
PARALLEL_MAKE = ""
| |
Add a recipe for tsd | SRC_URI="https://github.com/DefinitelyTyped/${PN}/archive/${PV}.tar.gz;downloadfilename=${PN}-${PV}.tar.gz"
LICENSE="Apache-2.0"
LIC_FILES_CHKSUM="file://LICENSE.txt;md5=585c0b2e399c33bf30e5021bbd5abaa6"
SRC_URI[md5sum]="7827e85f7220543b29eaa45ad139135a"
SRC_URI[sha256sum]="d8c951e8be81b951c13390bc8cb90b9e49d043be089626097ee9e7b8026f0328"
inherit npm-global
do_clean() {
rm -f ${STAGING_DIR_NATIVE}/usr/bin/${BPN}
rm -rf ${STAGING_DIR_NATIVE}/usr/lib/node_modules/${BPN}
}
| |
Add initial recipe for msp430 chronos watch support | DESCRIPTION = "eZ430 Chronos Tools - MSP430 Development Kit/Watch"
HOMEPAGE = "http://processors.wiki.ti.com/index.php/EZ430-Chronos"
SECTION = "multimedia"
PV = "1_05_00_00"
SRC_URI = "http://focus.ti.com/lit/sw/slac388/slac388.zip;name=slac388zip"
SRC_URI[slac388zip.md5sum] = "22d4104a07af584222828fb377793796"
SRC_URI[slac388zip.sha256sum] = "1c9cd1e36015e8db3b36c98be41907628144b76002b3f76b27fd310f4bd35ad7"
require ti-paths.inc
require ti-staging.inc
require ti-eula-unpack.inc
S = "${WORKDIR}/ti/eZ430-Chronos"
BINFILE="Chronos-Setup"
TI_BIN_UNPK_CMDS="Y:workdir:"
do_unpack_append() {
os.system('mv "Texas Instruments" ti')
}
do_compile() {
echo "Do Nothing for Now"
}
do_install() {
install -d ${D}/${installdir}/ti-msp430-chronos-apps
cp -pPrf "${S}"/"Control Center"/* ${D}/${installdir}/ti-msp430-chronos-apps
}
PACKAGES += "ti-msp430-chronos-apps"
FILES_ti-msp430-chronos-apps = "${installdir}/ti-msp430-chronos-apps/*"
RDEPENDS_ti-msp430-chronos-apps += " tcl xdotool"
| |
Add recipe for ti customised softhsm package | DESCRIPTION = "TI softhsmv2 package"
LICENSE = "BSD-2-Clause | BSD-3-Clause | ISC | IBM-License | FSFULLR | Zlib"
LIC_FILES_CHKSUM = "file://LICENSE;md5=55144a048ba54f211a1aaa38c7fd2424"
SECTION = "libs"
mntdir = "/mnt"
inherit autotools pkgconfig
DEPENDS = "openssl libdaemon"
COMPATIBLE_MACHINE = "(tci6614-evm|keystone)"
BRANCH="master"
SRC_URI = "git://git.ti.com/keystone-linux/ti-softhsmv2.git;protocol=git;branch=${BRANCH}"
#Following commit corresponds to tag DEV.SOFTHSM-01.03.00.01
SRCREV = "c79d93ac2a326567a7245dda1b903ef340b5650c"
PV = "1.3.0.1"
S = "${WORKDIR}/git"
CFLAGS += " -mno-unaligned-access"
CPPFLAGS += " -mno-unaligned-access"
INITSCRIPT_NAME = "softhsm-daemon.sh"
INITSCRIPT_PARAMS = "defaults 10"
inherit update-rc.d
SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", True).replace("-O2", "-O3")}"
SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", True).replace("-ggdb2", "")}"
FILES_${PN} += "${libdir}/softhsm/lib*.so.* ${mntdir}/*"
FILES_${PN}-dbg += "${libdir}/softhsm/.debug"
FILES_${PN}-staticdev += "${libdir}/softhsm/*.a "
FILES_${PN}-dev += "${libdir}/softhsm/*.la ${libdir}/softhsm/lib*.so"
do_install_append() {
install -d ${D}${mntdir}/securedbv0
install -d ${D}${mntdir}/securedbv1
install -d ${D}${sysconfdir}/init.d/
install -c -m 755 ${S}/src/bin/daemon/softhsm-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
}
| |
Add recipe for ganglia-web package | SUMMARY = "cluster monitoring toolkit"
DESCRIPTION = "Ganglia is a scalable, real-time cluster monitoring environment \
that collects cluster statistics in an open and well-defined XML format."
HOMEPAGE = "http://ganglia.info/"
PR = "r0"
inherit debian-package
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=3b3c74375e67e92756770b3ee9debc5f"
# source format is 3.0 (quilt) but there is no debian patch
DEBIAN_QUILT_PATCHES = ""
#compile and install follow debian/rules
do_compile_prepend() {
touch ChangeLog NEWS
}
do_install() {
install -d ${D}${sysconfdir}/ganglia-webfrontend
oe_runmake install APACHE_USER=www-data DESTDIR=${D} \
GDESTDIR=${datadir}/ganglia-webfrontend \
GWEB_STATEDIR=${localstatedir}/lib/ganglia-web
cp -f ${S}/debian/apache.conf \
${D}${sysconfdir}/ganglia-webfrontend
cp -f ${S}/debian/conf_debian.php \
${D}${datadir}/ganglia-webfrontend/conf.php
rm ${D}${datadir}/ganglia-webfrontend/COPYING
}
PKG_${PN} = "${PN}frontend"
FILES_${PN} += "${datadir}"
RDEPENDS_${PN} += "apache2 rrdtool"
| |
Add recipe for integrating hdmi drivers | SUMMARY = "Xilinx HDMI Linux Kernel module"
SECTION = "kernel/modules"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a"
XILINX_HDMI_VERSION = "1.0.0"
PV = "${XILINX_HDMI_VERSION}"
S = "${WORKDIR}/git"
BRANCH ?= "master"
REPO ?= "git://gitenterprise.xilinx.com/ipssw/hdmi-modules.git;protocol=https"
SRCREV ?= "a0ca96b977dbe18a2a7bb4041346827d4a3c6cb3"
SRC_URI[md5sum] = "9c267ce818c29efdcc5ec405a4b33ae3"
SRC_URI[sha256sum] = "5ca81352d491e5b0bbfc40c7e22451ce1a569e2f6c83c2456af66c9f0f4ca7f1"
BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
SRC_URI = "${REPO};${BRANCHARG}"
inherit module
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE_zynqmp = "zynqmp"
| |
Add recipe for libevdev package | SUMMARY = "Wrapper library for evdev devices"
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libevdev/"
SECTION = "libs"
LICENSE = "MIT-X"
LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \
file://libevdev/libevdev.h;endline=21;md5=7ff4f0b5113252c2f1a828e0bbad98d1"
SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz"
SRC_URI[md5sum] = "ab67de8f949e84ae2abb48af09eda423"
SRC_URI[sha256sum] = "265411ce79a592b3074e9d07fb97d462745d0c7ef178254a6f720245ed253446"
inherit autotools pkgconfig
#
# debian
#
inherit debian-package
DEBIAN_SECTION = "misc"
DPR = "0"
| |
Add the openjpeg recipe necessary for building efl | DESCRIPTION = "OpenJPEG library is an open-source JPEG 2000 codec"
HOMEPAGE = "http://www.openjpeg.org"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c648878b4840d7babaade1303e7f108c"
SRC_URI = "https://github.com/uclouvain/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
SRC_URI[md5sum] = "0cc4b2aee0a9b6e9e21b7abcd201a3ec"
SRC_URI[sha256sum] = "82c27f47fc7219e2ed5537ac69545bf15ed8c6ba8e6e1e529f89f7356506dbaa"
inherit cmake
DEPENDS = "libpng tiff lcms zlib"
# standard path for *.cmake
EXTRA_OECMAKE += "-DOPENJPEG_INSTALL_PACKAGE_DIR=${baselib}/cmake \
-DOPENJPEG_INSTALL_LIB_DIR:PATH=${libdir}"
FILES_${PN}-dev += "${libdir}/cmake/*.cmake"
| |
Add srctree based recipe to aid development. | include recipes/gnuradio/gnuradio.inc
inherit srctree autotools gitver
PV = "${GITVER}"
# Set S (the path to the source directory) via local.conf using the line:
# S_pn-gnuradio-srctree = "/home/username/src/git/gnuradio"
do_copy_to_target() {
scp -rp ${D}/* root@192.168.1.171:/
}
addtask copy_to_target after do_install before do_package
| |
Add triggerhappy hotkey daemon recipe | SUMMARY = "A lightweight hotkey daemon"
HOMEPAGE = "https://github.com/wertarbyte/triggerhappy"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SRC_URI = "https://github.com/wertarbyte/triggerhappy/archive/debian/0.5.0-1.tar.gz"
SRC_URI[md5sum] = "77f90a18c775e47c4c5e9e08987ca32f"
SRC_URI[sha256sum] = "9150bafbf7f2de7d57e6cc154676c33da98dc11ac6442e1ca57e5dce82bd4292"
S = "${WORKDIR}/${PN}-debian-${PV}-1"
inherit autotools-brokensep pkgconfig update-rc.d systemd
PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
PACKAGECONFIG[systemd] = ",,systemd"
INITSCRIPT_NAME = "triggerhappy"
INITSCRIPT_PARAMS = "defaults"
SYSTEMD_SERVICE_${PN} = "triggerhappy.service triggerhappy.socket"
FILES_${PN} = "\
${sbindir}/thd \
${sbindir}/th-cmd \
${sysconfdir}/triggerhappy/triggers.d \
${nonarch_base_libdir}/udev/rules.d/80-triggerhappy.rules \
${sysconfdir}/init.d/triggerhappy \
${systemd_unitdir}/system \
"
CONFFILES_${PN} = "${sysconfdir}/udev/rules.d/80-triggerhappy.rules"
do_install_append() {
install -d ${D}${sysconfdir}/triggerhappy/triggers.d
install -d ${D}${nonarch_base_libdir}/udev/rules.d
install -m 0644 ${S}/udev/triggerhappy-udev.rules ${D}${nonarch_base_libdir}/udev/rules.d/80-triggerhappy.rules
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${S}/debian/init.d ${D}${sysconfdir}/init.d/triggerhappy
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
install -d ${D}/${systemd_unitdir}/system
install -m 0644 ${S}/systemd/triggerhappy.socket ${D}${systemd_unitdir}/system
install -m 0644 ${S}/systemd/triggerhappy.service ${D}${systemd_unitdir}/system
fi
}
| |
Fix building of gnutls when host system has libtasn1. | DESCRIPTION = "GNU Transport Layer Security Library"
DEPENDS = "zlib libgcrypt"
PR = "r2"
LICENSE = "LGPL"
SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.gz \
file://gnutls-openssl.patch;patch=1"
inherit autotools
PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin"
FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*"
FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*"
FILES_${PN} = "${libdir}/libgnutls.so.*"
FILES_${PN}-bin = "${bindir}/gnutls-serv ${bindir}/gnutls-cli \
${bindir}/srptool ${bindir}/certtool ${bindir}/gnutls-srpcrypt"
FILES_${PN}-dev += "${bindir}/*-config ${bindir}/gnutls-cli-debug"
EXTRA_OECONF="--with-included-opencdk"
do_stage() {
oe_libinstall -C lib/.libs -so -a libgnutls ${STAGING_LIBDIR}
oe_libinstall -C libextra/.libs -so -a libgnutls-extra ${STAGING_LIBDIR}
oe_libinstall -C libextra/.libs -so -a libgnutls-openssl ${STAGING_LIBDIR}
autotools_stage_includes
}
| DESCRIPTION = "GNU Transport Layer Security Library"
DEPENDS = "zlib libgcrypt"
PR = "r3"
LICENSE = "LGPL"
SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.gz \
file://gnutls-openssl.patch;patch=1"
inherit autotools
PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin"
FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*"
FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*"
FILES_${PN} = "${libdir}/libgnutls.so.*"
FILES_${PN}-bin = "${bindir}/gnutls-serv ${bindir}/gnutls-cli \
${bindir}/srptool ${bindir}/certtool ${bindir}/gnutls-srpcrypt"
FILES_${PN}-dev += "${bindir}/*-config ${bindir}/gnutls-cli-debug"
EXTRA_OECONF="--with-included-opencdk --with-included-libtasn1"
do_stage() {
oe_libinstall -C lib/.libs -so -a libgnutls ${STAGING_LIBDIR}
oe_libinstall -C libextra/.libs -so -a libgnutls-extra ${STAGING_LIBDIR}
oe_libinstall -C libextra/.libs -so -a libgnutls-openssl ${STAGING_LIBDIR}
autotools_stage_includes
}
|
Add recipes for libsndfile package | SUMMARY = "Library for reading/writing audio files"
DESCRIPTION = "libsndfile is a library of C routines for reading and writing files containing \
sampled audio data."
HOMEPAGE = "http://www.mega-nerd.com/libsndfile/"
inherit debian-package
PV = "1.0.25"
LICENSE = "LGPLv2.1+ & BSD-3-Clause"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=e77fe93202736b47c07035910f47974a \
file://programs/sndfile-cmp.c;endline=32;md5=641a2cf179542b99eb03abaeea248df1"
inherit autotools pkgconfig
DEPENDS += "alsa-lib libvorbis flac"
do_install_append() {
rm -rf ${D}${bindir}/sndfile-regtest \
${D}${bindir}/sndfile-salvage \
${D}${libdir}/*.la
}
PACKAGES =+ "sndfile-programs"
FILES_sndfile-programs = "${bindir}/*"
PKG_${PN}-dev = "${PN}1-dev"
RPROVIDES_${PN}-dev += "${PN}1-dev"
RPROVIDES_${PN} += "${PN}1"
| |
Add yandex disk access package | DESCRIPTION = "Simple wrapper to work with yandex disk using webdav Basic Auth."
# Other references https://365-on.com/%D0%BE%D1%82%D0%BF%D1%80%D0%B0%D0%B2%D0%BA%D0%B0-%D1%84%D0%B0%D0%B9%D0%BB%D0%B0-%D1%81-%D0%BF%D0%BE%D0%BC%D0%BE%D1%89%D1%8C%D1%8E-curl-%D0%BD%D0%B0-yandex-disk/
HOMEPAGE = "https://github.com/lexich/yandex-disk-webdav"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
SRCNAME = "yandexwebdav"
SRC_URI = "http://pypi.python.org/packages/source/y/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
SRC_URI[md5sum] = "18223432c09f9d26c7f47413737fec9f"
SRC_URI[sha256sum] = "712166290fc412f01c7e665896072ec2e540285d747013209d62a71c55a27739"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
RDEPENDS_${PN} += "python-six"
| |
Add a recipe to build golang-lru | SUMMARY = "A fixed-size thread safe LRU cache in go"
HOMEPAGE = "https://github.com/hashicorp/golang-lru"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f27a50d2e878867827842f2c60e30bfc"
PKG_NAME = "github.com/hashicorp/golang-lru"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "995efda3e073b6946b175ed93901d729ad47466a"
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 += "golang_lru_sysroot_preprocess"
golang_lru_sysroot_preprocess () {
install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
}
FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
| |
Add recipe for ifenslave package | #
# base recipe: http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/\
# meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb?
# base branch: master
# base commit: acc086420ca087c8d044b60bd5d96e28426fd840
#
SUMMARY = "Configure network interfaces for parallel routing"
DESCRIPTION = " This is a tool to attach and detach slave network interfaces to \
a bonding device. A bonding device will act like a normal \
Ethernet network device to the kernel, but will send out the \
packets via the slave devices using a simple round-robin \
scheduler. This allows for simple load-balancing, identical \
to "channel bonding" or "trunking" techniques used in switches"
HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/networking/bonding"
PR = "r0"
inherit debian-package
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://ifenslave;md5=5b971c6ad58cb00d10e12e5bf460037c"
#Install follow Debian jessies
do_install() {
#Create new folders
install -d ${D}${sbindir}
install -m 755 ${S}/ifenslave ${D}${sbindir}/
install -d ${D}${sysconfdir}
install -d ${D}${sysconfdir}/network
install -d ${D}${sysconfdir}/network/if-post-down.d
install -d ${D}${sysconfdir}/network/if-pre-up.d
install -d ${D}${sysconfdir}/network/if-up.d
ln -s ifenslave ${D}${sbindir}/ifenslave-2.6
install -m 0755 ${S}/debian/ifenslave.if-post-down \
${D}${sysconfdir}/network/if-post-down.d/ifenslave
install -m 0755 ${S}/debian/ifenslave.if-pre-up \
${D}${sysconfdir}/network/if-pre-up.d/ifenslave
install -m 0755 ${S}/debian/ifenslave.if-up \
${D}${sysconfdir}/network/if-up.d/ifenslave
}
| |
Add Perl6::Junction perl module. This provides support for the perl6 style junction operators in perl5. | DESCRIPTION = "Perl6::Junction - Perl6 style Junction operators in Perl5."
SECTION = "libs"
MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>"
LICENSE = "Artistic|GPL"
PR = "r0"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/C/CF/CFRANKS/Perl6-Junction-1.10.tar.gz"
S = "${WORKDIR}/Perl6-Junction-${PV}"
inherit cpan
| |
Add recipe for lttng-ust package | #
# Base recipe: meta/recipes-kernel/lttng/lttng-ust_git.bb
# Base branch: jethro
#
SUMMARY = "Linux Trace Toolkit Userspace Tracer 2.x"
DESCRIPTION = "The LTTng UST 2.x package contains the userspace tracer library to trace userspace codes."
HOMEPAGE = "http://lttng.org/ust"
BUGTRACKER = "https://bugs.lttng.org/projects/lttng-ust"
LICENSE = "LGPLv2.1+ & MIT & GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=c963eb366b781252b0bf0fdf1624d9e9 \
file://snprintf/snprintf.c;endline=32;md5=d3d544959d8a3782b2e07451be0a903c \
file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44"
PR = "r0"
inherit debian-package autotools lib_package
DPN = "ust"
DEPENDS = "liburcu util-linux"
do_install_append() {
# Remove unwanted files
if [ -d ${D}${includedir}/uruc/ ]; then
rm -rf ${D}${includedir}/uruc
fi
}
PACKAGES =+ "lib${PN}-ctl2"
FILES_lib${PN}-ctl2 += "${libdir}/lib${PN}-ctl.so.*"
# Correct the package name
PKG_${PN}-dev = "lib${PN}-dev"
PKG_${PN} = "lib${PN}0"
| |
Add the fribidi recipe necessary for building efl | SUMMARY = "Fribidi library for bidirectional text"
SECTION = "libs"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
BBCLASSEXTEND = "native"
PROVIDES = "libfribidi"
DEPENDS = "glib-2.0 libpcre"
inherit autotools lib_package pkgconfig
CFLAGS_append = " -DPAGE_SIZE=4096 "
SECURITY_CFLAGS_remove_toolchain-clang = "-D_FORTIFY_SOURCE=2"
SRC_URI = "http://fribidi.org/download/fribidi-${PV}.tar.bz2"
SRC_URI[md5sum] = "6c7e7cfdd39c908f7ac619351c1c5c23"
SRC_URI[sha256sum] = "08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e"
| |
Add video for linux lib | DESCRIPTION = "v4l2 and IR applications"
LICENSE = "GPLv2 & LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \
file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
PR = "r2"
DEPENDS = "jpeg"
inherit autotools gettext
# libv4l was absorbed into this, let OE know that
PROVIDES = "libv4l"
SRC_URI = "git://linuxtv.org/v4l-utils.git;protocol=git \
"
# 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 -> v0.8.8 tag
SRCREV = "0298efdcd1153b8f719b9164548a3f0546f0cb7c"
S = "${WORKDIR}/git"
EXTRA_OECONF = "--disable-qv4l2 --enable-shared"
do_configure() {
# autotools_do_configure fails with:
# | configure.ac:139: error: required file 'build-aux/config.rpath' not found
autoreconf -vfi
oe_runconf
}
PACKAGES =+ "rc-keymaps libv4l libv4l-dbg libv4l-dev"
FILES_rc-keymaps = "${sysconfdir}/rc* ${base_libdir}/udev/rc*"
FILES_${PN} = "${bindir} ${sbindir} ${base_libdir}/udev/rules.d/70-infrared.rules"
FILES_libv4l += "${libdir}/libv4l/* ${libdir}/*.so.*"
FILES_libv4l-dbg += "${libdir}/libv4l/.debug"
FILES_libv4l-dev += "${libdir}/*.so ${includedir}/lib* ${libdir}/pkgconfig/lib*"
| |
Add mpio python library and application | DESCRIPTION = "Microchip Peripheral I/O"
LICENSE = "(Apache-2.0 & MIT)"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
file://LICENSE.MIT;md5=eaff550e3336227837b4efbd2244da32"
PACKAGES = "${PN}-dbg ${PN}"
RDEPENDS_${PN} = "python"
SRC_URI = "git://github.com/linux4sam/mpio.git;branch=master;protocol=http"
SRCREV = "d329ac453cc75d1483e516f7bfab6e8727675dc4"
S = "${WORKDIR}/git"
inherit setuptools
| |
Add skin readheathd from daconi and mmark | DESCRIPTION = "Skin Red Heat HD. Daconi and mmark"
MAINTAINER = "SIFTeam"
inherit gitpkgv
PV = "1.0+git${SRCPV}"
PKGV = "1.0+git${GITPKGV}"
PR = "r0"
SRCREV = ${AUTOREV}
PV_font-nmsbd2 = "20120113"
PR_font-nmsbd2 = "r0"
PKGV_font-nmsbd2 = "${PV_font-nmsbd2}"
DESCRIPTION_font-nmsbd2 = "Nmsbd2 font"
PV_font-verdanar = "20120113"
PR_font-verdanar = "r0"
PKGV_font-verdanar = "${PV_font-verdanar}"
DESCRIPTION_font-verdanar = "Verdana_R font"
PACKAGES = "${PN} font-nmsbd2 font-verdanar"
PROVIDES = "${PN} font-nmsbd2 font-verdanar"
SRC_URI = "git://github.com/SIFTeam/skin-redheathd.git;protocol=git"
FILES_${PN} = "/usr/share/enigma2"
FILES_font-nmsbd2 = "/usr/share/fonts/nmsbd2.ttf"
FILES_font-verdanar = "/usr/share/fonts/Verdana_R.ttf"
RDEPENDS_${PN} = "font-nmsbd2 font-verdanar"
S = "${WORKDIR}/git"
do_install() {
install -d ${D}/usr/share
cp -rp ${S}/usr/share/* ${D}/usr/share/
chmod -R a+rX ${D}/usr/share/enigma2/
chmod 644 ${D}/usr/share/fonts/*.ttf
}
| |
Add recipe for Xfce based image. | IMAGE_FEATURES += "package-management"
PR = "r0"
POKY_EXTRA_INSTALL = "\
task-x11-server\
task-x11-utils \
task-xfce-extended \
task-jlime-apps-cli \
task-jlime-apps-gui \
network-manager-applet \
libgtkstylus \
"
LICENSE = "MIT"
inherit core-image
| |
Add recipe for libnet package | # base recipe: http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/\
# meta-oe/recipes-connectivity/libnet/libnet_1.2-rc3.bb?
# base branch: master
# base commit: a558e8096c381bb2b83ad1ef39f3301e73759cbb
#
SUMMARY = "A packet dissection and creation library"
DESCRIPTION = "libnet provides a portable framework for low-level \
network packet writing and handling \
libnet features portable packet creation interfaces at the IP layer \
and link layer, as well as a host of supplementary functionality"
HOMEPAGE = "http://libnet-dev.sourceforge.net/"
PR = "r0"
inherit debian-package
LICENSE = "BSD-2-Clause & BSD-3-Clause & BSD-4-Clause"
LIC_FILES_CHKSUM = "file://doc/COPYING;md5=fb43d5727b2d3d1238545f75ce456ec3 \
file://include/ifaddrlist.h;md5=58a41682f610ab26d8b2e457f1d8d593 \
file://include/bpf.h;md5=4bf8fab88f054e7f83c66e9fa9180933 \
"
DEPENDS = "libpcap"
inherit autotools binconfig
#Correct the packages name
DEBIANNAME_${PN}-dev = "${PN}1-dev"
DEBIANNAME_${PN}-doc = "${PN}1-doc"
DEBIANNAME_${PN}-dbg = "${PN}1-dbg"
| |
Add recipe of directfb-examples built from Git repository | DESCRIPTION = "The DirectFB-examples package contains a set of simple DirectFB \
applications that can be used to test and demonstrate various DirectFB \
features"
DEPENDS = "directfb"
SECTION = "libs"
LICENSE = "MIT"
RV = "1.7-0+git"
PR = "r0"
SRC_URI = " \
git://git.directfb.org/git/directfb/extras/DirectFB-examples.git;protocol=git \
"
SRCREV = "61ddf7dc02ee28d8cab20ad482f37c2ad4390835"
LIC_FILES_CHKSUM = "file://COPYING;md5=ecf6fd2b19915afc4da56043926ca18f"
S = "${WORKDIR}/git"
inherit autotools
| |
Add recipe for icu package | #
# Base recipe: recipes-support/icu/icu_55.1.bb
# Base branch: jethro
#
SUMMARY = "International Component for Unicode libraries"
DESCRIPTION = "The International Component for Unicode (ICU) is a mature, \
portable set of C/C++ and Java libraries for Unicode support, software \
internationalization (I18N) and globalization (G11N), giving applications the \
same results on all platforms."
HOMEPAGE = "http://site.icu-project.org/"
PR = "r0"
inherit debian-package
LICENSE = "ICU"
LIC_FILES_CHKSUM = "file://../license.html;md5=3a0605ebb7852070592fbd57e8967f3f"
S = "${DEBIAN_UNPACK_DIR}/source"
DEPENDS = "icu-native"
DEPENDS_class-native = ""
CPPFLAGS_append_libc-uclibc = " -DU_TIMEZONE=0"
inherit autotools pkgconfig binconfig
STAGING_ICU_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/${BPN}/${PV}"
# ICU needs the native build directory as an argument to its --with-cross-build option when
# cross-compiling. Taken the situation that different builds may share a common sstate-cache
# into consideration, the native build directory needs to be staged.
EXTRA_OECONF = "--enable-static --with-cross-build=${STAGING_ICU_DIR_NATIVE}"
EXTRA_OECONF_class-native = ""
EXTRA_OECONF_class-nativesdk = "--with-cross-build=${STAGING_ICU_DIR_NATIVE}"
do_install_append_class-native() {
mkdir -p ${D}/${STAGING_ICU_DIR_NATIVE}/config
cp -r ${B}/config/icucross.mk ${D}/${STAGING_ICU_DIR_NATIVE}/config
cp -r ${B}/config/icucross.inc ${D}/${STAGING_ICU_DIR_NATIVE}/config
cp -r ${B}/lib ${D}/${STAGING_ICU_DIR_NATIVE}
cp -r ${B}/bin ${D}/${STAGING_ICU_DIR_NATIVE}
cp -r ${B}/tools ${D}/${STAGING_ICU_DIR_NATIVE}
}
# Add packages follow debian
PACKAGES =+ "icu-devtools libicu52"
# Rename packages follow debian
PKG_${PN}-dev = "libicu-dev"
FILES_icu-devtools += "${bindir}/* ${sbindir}/*"
FILES_libicu52 += "${libdir}/*.so.*"
BBCLASSEXTEND = "native nativesdk"
| |
Integrate the hue control python module | DESCRIPTION = "Asynchronous library to control Philips Hue"
HOMEPAGE = "https://pypi.org/project/aiohue/"
SECTION = "devel/python"
LICENSE = "Apache-2.0"
# No license file available but the license is specified in PKG-INFO and setup.py.
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515"
SRC_URI[sha256sum] = "35696d04d6eb0328b7031ea3c0a3cfe5d83dfcf62f920522e4767d165c6bc529"
inherit pypi setuptools3
RDEPENDS_${PN} += "${PYTHON_PN}-aiohttp"
| |
Add simple-video-viewer recipe, useful for testing webcams using libv4l and gtk+ | DESCRIPTION = "Simple Video Viewer"
HOMEPAGE = "http://github.com/nzjrs/simple-video-viewer/tree/master"
LICENSE = "GPLv2"
SECTION = "x/games"
PRIORITY = "optional"
DEPENDS="libv4l"
PR = "r1"
SRCREV = "dedf6cb62d0bfe234dae84e8e5dacdc934e59bad"
SRC_URI = "git://github.com/nzjrs/simple-video-viewer.git;protocol=git;branch=master"
S = "${WORKDIR}/git"
inherit autotools
| |
Add examples for libarch version 1.0.0.0 | DESCRIPTION = "TI Library Architecture Examples"
include libarch.inc
PR = "${INC_PR}.0"
DEPENDS += "libarch clocl-native"
RDEPENDS_${PN} += "opencl-runtime"
export LIBARCH_DIR = "${LIBARCH_INSTALL_DIR}"
export TARGET_ROOTDIR = "${STAGING_DIR_TARGET}"
do_compile() {
make examples TARGET=${TARGET} LIBOS=LIB_OPENCL
# Remove object files before installing so that the binaries are not present
find . -name "*.obj" -type f -delete
find . -name "*.o" -type f -delete
find . -name "*.out" -type f -delete
find . -name "*.dsp_h" -type f -delete
}
do_install() {
install -d ${D}${datadir}/ti/examples/libarch
cp -r examples/arm+dsp ${D}${datadir}/ti/examples/libarch
cp -r examples/common ${D}${datadir}/ti/examples/libarch
cp examples/Makefile ${D}${datadir}/ti/examples/libarch
}
FILES_${PN} += "\
${datadir}/ti/examples/libarch/* \ "
FILES_${PN}-dbg += "\
${datadir}/ti/examples/libarch/*/.debug \ "
INSANE_SKIP_${PN} = "arch ldflags textrel"
| |
Add task with some usefull apps. | DESCRIPTION = "Base package set for Jlime GUI images."
SECTION = "x11/wm"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r1"
inherit task
PROVIDES = "${PACKAGES}"
PACKAGES = "\
${PN}-cli \
${PN}-gui \
"
RDEPENDS_${PN}-cli = " \
htop \
file \
vim \
"
RDEPENDS_${PN}-gui = " \
leafpad \
gcalctool \
epdfview \
midori \
claws-mail \
"
| |
Add PRU software package version 4.0.0.0 | DESCRIPTION = "Programmable Real-time Unit Software Package"
HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS"
LICENSE = "BSD-3-Clause & GPL-2.0 & PD"
LIC_FILES_CHKSUM = "file://PRU-Package-v4.0-Manifest.html;md5=5ea937e4ff2c924a735d42e61ad8cbe3"
BRANCH = "master"
SRC_URI = "git://git.ti.com/pru-software-support-package/pru-software-support-package.git;protocol=git;branch=${BRANCH}"
SRCREV = "476289eb7c3a91977bae84aea55c56f3120b48ea"
PV = "4.0.0.0"
PR = "r0"
require recipes-ti/includes/ti-paths.inc
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "ti-cgt-pru-native"
S = "${WORKDIR}/git"
export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}"
SUBDIRS = "examples pru_cape/pru_fw lib/src labs"
do_compile() {
for dir in ${SUBDIRS}
do
make -C ${S}/$dir
done
}
do_install_ti33x() {
install -d ${D}/lib/firmware
for i in 0 1
do
install -m 0644 ${S}/examples/am335x/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \
${D}/lib/firmware/am335x-pru${i}-fw
done
}
do_install_ti43x() {
install -d ${D}/lib/firmware
for i in 0 1
do
install -m 0644 ${S}/examples/am437x/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \
${D}/lib/firmware/am437x-pru1_${i}-fw
done
}
do_install_omap-a15() {
install -d ${D}/lib/firmware
for i in 1 2
do
for j in 0 1
do
install -m 0644 ${S}/examples/am572x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
${D}/lib/firmware/am57xx-pru${i}_${j}-fw
done
done
}
FILES_${PN} += "/lib/firmware"
INSANE_SKIP_${PN} = "arch"
| |
Add recipe for Rezlooks Gil-Ouch theme. | DESCRIPTION = "Rezlooks Gil-Ouch theme"
HOMEPAGE = "http://gnome-look.org/content/show.php/Rezlooks-Gil-Ouch?content=70394"
SECTION = "x11/themes"
PR = "r1"
RDEPENDS = "gtk-engines-rezlooks"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://gtk-2.0/gtkrc;md5=9b78ae1658f1b5b77d271ea2ba42bdca"
SRC_URI = "http://gnome-look.org/CONTENT/content-files/70394-Rezlooks-Gil-Ouch.tar.gz"
SRC_URI[md5sum] = "bf8c33d3754513d286f9feffebebebe0"
SRC_URI[sha256sum] = "03f3da37e76b2f09b0ff51c0aa423f353214a9b0af87a0d31c22143bc33139c7"
S = "${WORKDIR}/Rezlooks-Gil-Ouch"
PACKAGES = "${PN}"
FILES_${PN} = "${datadir}/themes/Rezlooks-Gil-Ouch/gtk-2.0/gtkrc"
do_install () {
install -d -m 0755 "${D}/${datadir}/themes/Rezlooks-Gil-Ouch/gtk-2.0"
install -m 0644 "${S}/gtk-2.0/gtkrc" "${D}/${datadir}/themes/Rezlooks-Gil-Ouch/gtk-2.0"
}
| |
Add Exposure, a setting application | AUTHOR = "Willie <willie@openmoko.com>"
DESCRIPTION = "Exposure all devices on neo1973"
DEPENDS = "python-etk"
RDEPENDS = "python-etk python-re python-codecs"
PV = "0.0.1+svnr${SRCREV}"
SRCREV = ${AUTOREV}
PR = "r0"
S = ${WORKDIR}/${PN}
inherit setuptools
SRC_URI = "svn://svn.projects.openmoko.org/svnroot;module=exposure;proto=http"
PACKAGES = "${PN}"
FILES_${PN} += "${prefix}/share/*"
| |
Add python library for OAuth | DESCRIPTION = "Library for OAuth version 1.0a."
HOMEPAGE = "http://code.google.com/p/oauth/"
SECTION = "devel/python"
LICENSE = "MIT"
SOURCE = "oauth"
PR = "r0"
SRC_URI = "http://pypi.python.org/packages/source/o/${SOURCE}/${SOURCE}-${PV}.tar.gz"
SRC_URI[md5sum] = "30ed3cc8c11d7841a89feab437aabf81"
SRC_URI[sha256sum] = "e769819ff0b0c043d020246ce1defcaadd65b9c21d244468a45a7f06cb88af5d"
S = "${WORKDIR}/${SOURCE}-${PV}"
inherit setuptools
| |
Add GLSDK specific staging tree for omap-a15 | require recipes-graphics/drm/libdrm.inc
COMPATIBLE_MACHINE = "omap-a15"
DEFAULT_PREFERENCE = "-1"
EXTRA_OECONF += "--enable-omap-experimental-api --enable-kms"
SRC_URI = "git://git.ti.com/glsdk/libdrm.git;protocol=git"
SRCREV = "3cb5405084111193cedb8796d259b56560b088f0"
PR = "${INC_PR}.0"
S = "${WORKDIR}/git"
| |
Add new recipe for 3D coordinate transformations |
SUMMARY = "Functions for 3D coordinate transformations"
SECTION = "devel/python"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://setup.py;beginline=36;endline=36;md5=6dd3a8a8bcf9d24e830b974bf9345e72"
SRC_URI[sha256sum] = "404c7797c78aa461cb8043081901fc5517cef342d5ff56becd74a7967ba88d78"
inherit pypi setuptools3
RDEPENDS:${PN} += "\
${PYTHON_PN}-numpy \
"
| |
Add Wi-Fi support to at91 | DESCRIPTION = "Driver for HD Wireless Wi-Fi device"
HOMEPAGE = "http://www.hd-wireless.se"
PRIORITY = "optional"
SECTION = "kernel/modules"
LICENSE = "GPL"
PR = "r1"
RDEPENDS = "wireless-tools \
wpa-supplicant \
"
SRC_URI = "http://www.hd-wireless.se/images/stories/public_pdf/owl-linux-arm-${PV}.tar.gz \
"
S = "${WORKDIR}/owl-linux-arm-${PV}"
inherit module
do_compile () {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP
oe_runmake 'MODPATH=${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net' \
'KERNELDIR=${STAGING_KERNEL_DIR}' \
'KDIR=${STAGING_KERNEL_DIR}' \
'KERNEL_VERSION=${KERNEL_VERSION}' \
'CC=${KERNEL_CC}' \
'LD=${KERNEL_LD}'
}
do_install() {
install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net
install -m 0644 ${S}/owl*${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net
}
| |
Install a package which contains the default config This is derived from openmoko-session2 and is responsible for setting the default values which settings-daemon will pick up and advertise as xsettings. | DESCRIPTION = "Theme support and defaults to integrate OM2007.2 in the April Software Update"
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS_${PN} = "openmoko-common2"
ALLOW_EMPTY_${PN} = "1"
PACKAGE_ARCH = "all"
pkg_postinst_${PN} () {
#!/bin/sh -e
if [ "x$D" != "x" ]; then
exit 1
fi
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme Moko
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme openmoko-standard
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 5"
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/wallpaper ${datadir}/pixmaps/wallpaper.png
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /desktop/poky/interface/digital_clock 1
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/poky/peripherals/mouse/drag_threshold 8
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/openmoko/neod/power_management 2
# gstreamer audio settings
#gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct -t string --set /system/gstreamer/0.10/default/audiosink pulsesink
#gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct -t string --set /system/gstreamer/0.10/default/audiosrc pulsesrc
}
| |
Add utils used by Linaro PM scripts | DESCRIPTION = "Utilities from Linaro for testing Power Management"
HOMEPAGE = "https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQa"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://../COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
PV = "0.4.4"
PR = "r0"
BRANCH ?= "master"
SRCREV = "fbc2762359b863dfbf4fd0bab1e8abd2a6125ed4"
SRC_URI = "git://git.linaro.org/tools/pm-qa.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git/utils"
UTILS = "cpuburn cpucycle heat_cpu nanosleep"
CFLAGS += "-pthread"
do_compile () {
oe_runmake
}
do_install () {
install -d ${D}${bindir}
for util in ${UTILS}
do
install -m 0755 $util ${D}${bindir}/
done
}
| |
Create new recipe using new sourceipk.bbclass feature | DESCRIPTION = "Git repositories containing sample board port code"
HOMEPAGE = "https://gitorious.org/sitara-board-port"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
inherit allarch
CREATE_SRCIPK = "1"
SRCIPK_INSTALL_DIR = "board-support/board-port-labs/sitara-board-port-linux"
SRCIPK_PRESERVE_GIT = "true"
PR = "r0"
BRANCH = "master"
SRC_URI = "git://gitorious.org/sitara-board-port/sitara-board-port-linux.git;protocol=git;branch=${BRANCH}"
SRCREV = "30df33e7134ab507a339b89a864256cabfbddea1"
S = "${WORKDIR}/git"
adjust_git_prepend() {
# Checkout a specific branch instead of a commit that is used by default
git checkout ${BRANCH}
}
do_configure() {
:
}
do_compile() {
:
}
| |
Add a console image with OpenGL drivers and development tools (ldd,gdbserver). This image can be used as a base for other images used for development. | inherit image
IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
ANGSTROM_EXTRA_INSTALL ?= ""
DEPENDS = "task-base-extended \
${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
"
IMAGE_INSTALL = "task-base-extended \
${ANGSTROM_EXTRA_INSTALL} \
${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
archos-init \
# OpenGL modules and drivers
omap3-sgx-modules \
libgles-omap3 \
# Development utilities
ldd \
gdbserver \
"
export IMAGE_BASENAME = "archos-console-image"
IMAGE_LINGUAS = "" | |
Add recipes for lcms2 package | SUMMARY = "Little CMS 2 color management library"
DESCRIPTION = "LittleCMS 2 intends to be a small-footprint color management engine, with \
special focus on accuracy and performance. It uses the International Color \
Consortium standard (ICC) of color management. LittleCMS 2 is a full \
implementation of ICC specification 4.2 plus all addendums. It fully supports \
all V2 and V4 profiles, including abstract, devicelink and named color \
profiles."
HOMEPAGE = "http://www.littlecms.com/"
inherit debian-package
PV = "2.6"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=6c786c3b7a4afbd3c990f1b81261d516"
inherit autotools
DEPENDS += "tiff libjpeg-turbo zlib"
PACKAGES =+ "${PN}-utils"
FILES_${PN}-utils = "${bindir}/*"
RPROVIDES_${PN} += "liblcms2-2"
RPROVIDES_${PN}-dev += "liblcms2-dev"
RPROVIDES_${PN}-utils += "liblcms2-utils"
| |
Make the bash build inherit gettext, and disable parallel make. | DESCRIPTION = "An sh-compatible command language interpreter."
HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html"
DEPENDS = "ncurses"
SECTION = "base/shell"
LICENSE = "GPL"
PR = "r4"
SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
file://signames-mipsel.diff;patch=1"
inherit autotools
bindir = "/bin"
sbindir = "/sbin"
EXTRA_OECONF = "--with-ncurses"
export CC_FOR_BUILD = "${BUILD_CC}"
do_configure () {
gnu-configize
oe_runconf
}
| DESCRIPTION = "An sh-compatible command language interpreter."
HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html"
DEPENDS = "ncurses"
SECTION = "base/shell"
LICENSE = "GPL"
PR = "r4"
SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
file://signames-mipsel.diff;patch=1"
inherit autotools gettext
PARALLEL_MAKE = ""
bindir = "/bin"
sbindir = "/sbin"
EXTRA_OECONF = "--with-ncurses"
export CC_FOR_BUILD = "${BUILD_CC}"
do_configure () {
gnu-configize
oe_runconf
}
|
Add task containing basic X11 support. | DESCRIPTION = "Tasks for X11 support"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r1"
PACKAGES = "\
task-x11-core \
task-x11-core-dev \
task-x11-core-dbg \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"
XSERVER ?= "xserver-kdrive-fbdev"
ALLOW_EMPTY = "1"
RDEPENDS_task-x11-core = "\
dbus \
pointercal \
${XSERVER} \
x11-common \
xserver-nodm-init \
liberation-fonts \
xauth \
xhost \
xset \
xrandr \
"
| |
Add recipe for libdatetime-locale-perl package | SUMMARY = "Perl extension providing localization support for DateTime"
DESCRIPTION = "\
DateTime::Locale extends DateTime by providing localization support. It also \
provides some functions for getting information on available locales and is \
easily customizable through the addition of new locales. \
"
HOMEPAGE = "http://datetime.perl.org/"
PR = "r0"
inherit debian-package
LICENSE = "Artistic-1.0 | GPL-1+"
LIC_FILES_CHKSUM = "\
file://LICENSE;md5=a89fc6431f978476bd49e3f7a26a1a1e"
inherit cpan_build
RDEPENDS_${PN} += "libparams-validate-perl"
| |
Add recipe for flashrom package | SUMMARY = "Identify, read, write, erase, and verify BIOS/ROM/flash chips"
DESCRIPTION = "\
flashrom is a tool for identifying, reading, writing, verifying and erasing \
flash chips. It's often used to flash BIOS/EFI/coreboot/firmware/optionROM \
images in-system using a supported mainboard, but it also supports flashing of \
network cards (NICs), SATA controller cards, and other external devices which \
can program flash chips. \
It supports a wide range of DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32/40/48, \
and BGA chips, which use various protocols such as LPC, FWH, parallel \
flash, or SPI. \
The tool can be used to flash BIOS/firmware images for example -- be it \
proprietary BIOS images or coreboot (previously known as LinuxBIOS) images. \
It can also be used to read the current existing BIOS/firmware from a \
flash chip. \
"
HOMEPAGE = "http://www.flashrom.org"
PR = "r0"
inherit debian-package
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
inherit autotools-brokensep
DEPENDS += "pciutils"
EXTRA_OEMAKE += "PREFIX=${prefix}"
do_install_append() {
install -d ${D}${base_libdir}/udev/rules.d
install -m 0644 ${S}/util/z60_flashrom.rules \
${D}${base_libdir}/udev/rules.d/60-flashrom.rules
}
PARALLEL_MAKE = ""
| |
Add initial support for xdotool | DESCRIPTION = "xdotool - command-line X11 automation tool - utilising X11 XTEST interface"
HOMEPAGE = "http://www.semicomplete.com/projects/xdotool"
LICENSE = "GPL"
SECTION = "x11"
PRIORITY = "optional"
DEPENDS = "virtual/libx11 libxtst"
SRC_URI = "http://semicomplete.googlecode.com/files/xdotool-${PV}.tar.gz"
EXTRA_OEMAKE = "PREFIX=${prefix}"
do_install() {
oe_runmake -e install DESTDIR=${D} PREFIX=${prefix}
}
SRC_URI[md5sum] = "1d5be641e512c343abfe5f78b39e6f19"
SRC_URI[sha256sum] = "42d7271fbc796e53db71bb221f311b9ff3c51d90a71c9487a9bd3101ca39894f"
| |
Add a Linux 3.6 kernel recipe | require linux.inc
DESCRIPTION = "Linux kernel for the RaspberryPi board"
COMPATIBLE_MACHINE = "raspberrypi"
PR = "r6"
PV_append = "+git${SRCREV}"
SRCREV = "31a951046155b27361127d9cf85a1f58719fe9b3"
SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
"
S = "${WORKDIR}/git"
# NOTE: For now we pull in the default config from the RPi kernel GIT tree.
KERNEL_DEFCONFIG = "bcmrpi_defconfig"
# CMDLINE for raspberrypi
CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
UDEV_GE_141 ?= "1"
do_configure_prepend() {
install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available."
}
do_install_prepend() {
install -d ${D}/lib/firmware
}
do_deploy_append() {
# Deploy cmdline.txt
install -d ${DEPLOYDIR}/bcm2835-bootfiles
echo "${CMDLINE}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt
}
| |
Add recipes for suds packages | SUMMARY = "Lightweight SOAP client for Python"
DISCRIPTION = "\
The suds project is a Python soap web services client lib. \
Suds leverages Python meta programming to provide an intuitive API \
for consuming web services. Objectification of types defined in \
the WSDL is provided without class generation. Programmers rarely \
need to read the WSDL since services and WSDL based objects can be \
easily inspected. Supports pluggable soap bindings."
LICENSE = "LGPL-3.0+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=847e96bce86d8774f491a92924343a29"
PR = "r0"
DPN = "suds"
DEPENDS += "python-setuptools-native"
inherit debian-package
inherit distutils
PV = "0.4.1"
DISTUTILS_INSTALL_ARGS += " \
--root='${D}' \
--prefix='${prefix}' \
--install-lib='${libdir}/${PYTHON_DIR}/dist-packages' \
--install-data='${datadir}'"
do_install_append() {
# Remove unwanted files and folders
find ${D}${libdir} -type f -name "*.pyc" -exec rm -f {} \;
find ${D}${libdir} -type f -name "*.pyo" -exec rm -f {} \;
find ${D}${libdir} -type f -name "SOURCES.txt" -exec rm -f {} \;
rm -r ${D}${libdir}/${PYTHON_DIR}/site-packages
}
BBCLASSEXTEND = "native"
| |
Add recipe for Smart reflex application | DESCRIPTION = "TI Smart Reflex temperature control application for KeyStone II"
HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/srss-tc.git"
LICENSE = "BSD & MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51"
COMPATIBLE_MACHINE = "keystone"
PV = "1.0.0.0"
BRANCH = "master"
# This commit corresponds to tag DEV.SRSS-TC-01.00.00.00A
SRCREV = "7aaf8308d7ba470144730275df12edae5007e07a"
SRC_URI = "git://git.ti.com/keystone-linux/srss-tc.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
SRSS_BIN_NAME = "srss_tc.out"
INITSCRIPT_NAME = "run_srss_tc.sh"
INITSCRIPT_PARAMS = "defaults 10"
inherit update-rc.d
LDFLAGS += "-lrt"
do_install() {
install -d ${D}${bindir}/
install -c -m 755 ${S}/src/${SRSS_BIN_NAME} ${D}${bindir}/${SRSS_BIN_NAME}
install -d ${D}${sysconfdir}/init.d/
install -c -m 755 ${S}/scripts/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
}
| |
Create recipe to demonstrate qt5 example. | SUMMARY = "QT5 QUItBattery"
DESCRIPTION = "This package contains QUItBatteryComponent with few usage examples"
HOMEPAGE = "http://quitcoding.com/?page=work#cinex"
LICENSE = "CC-BY-3.0"
LIC_FILES_CHKSUM = "file://README;beginline=37;endline=46;md5=6df4bcb7f9092d42a84f32eacb61bdc4"
DEPENDS = "qtdeclarative qtgraphicaleffects"
SRC_URI = "http://quitcoding.com/download/QUItBattery_1.0.0.tar.gz"
SRC_URI[md5sum] = "7c7babc1086491b116b01d154b6163fd"
SRC_URI[sha256sum] = "38dcb7630553c397f9d8a53c6411b1a6237956ed8dd4859e01487b1dd8f37873"
S = "${WORKDIR}/QUItBattery_1.0.0"
require recipes-qt/qt5/qt5.inc
do_install() {
install -d ${D}${datadir}/${P}
install -m 0755 ${B}/QUItBattery ${D}${datadir}/${P}
cp -a ${S}/qml ${D}${datadir}/${P}
}
FILES_${PN}-dbg += "${datadir}/${P}/.debug"
FILES_${PN} += "${datadir}"
RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"
| |
Add recipe for chkconfig package | SUMMARY = "A system tool for maintaining the /etc/rc*.d hierarchy"
DESCRIPTION = "Chkconfig is a basic system utility. It updates and queries runlevel \
information for system services. Chkconfig manipulates the numerous \
symbolic links in /etc/rc.d, to relieve system administrators of some \
of the drudgery of manually editing the symbolic links."
HOMEPAGE = "http://fedorahosted.org/releases/c/h/chkconfig"
PR = "r0"
inherit debian-package
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://t/libtap.sh;md5=6c36428024c005158a85a2881975599c"
do_install() {
install -d ${D}${base_sbindir}
install -m 0644 ${S}/chkconfig ${D}${base_sbindir}/
}
FILES_${PN} += "${base_sbindir}/*"
| |
Add recipe for i2c-tools package | #
# base recipe: meta/recipes-devtools/i2c-tools/i2c-tools_3.1.2.bb
# base branch: jethro
#
SUMMARY = "heterogeneous set of I2C tools for Linux"
DESCRIPTION = "\
This package contains a heterogeneous set of I2C tools for Linux: a bus \
probing tool, a chip dumper, register-level access helpers, EEPROM \
decoding scripts, and more. \
"
HOMEPAGE = "http://www.lm-sensors.org"
PR = "r0"
inherit debian-package pythonnative
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
inherit autotools-brokensep
do_compile_append() {
export BUILD_SYS=${BUILD_SYS}
export HOST_SYS=${HOST_SYS}
export STAGING_INCDIR=${STAGING_INCDIR}
cd py-smbus && \
CFLAGS="$CFLAGS ${HOST_CC_ARCH} -I../include" \
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py build
}
#include/linux/i2c-dev.h file conflict with linux-libc-headers-base
#solve this follow base recipe
do_install() {
oe_runmake install DESTDIR=${D} prefix=/usr\
install -d ${D}${includedir}/linux
install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
rm -f ${D}${includedir}/linux/i2c-dev.h
}
| |
Add from OE-Classic, uprev and update | SUMMARY = "A new modern implementation of traceroute(8) utility for Linux systems"
DESCRIPTION = "The traceroute utility displays the route used by IP packets on \
their way to a specified network (or Internet) host. Traceroute displays \
the IP number and host name (if possible) of the machines along the \
route taken by the packets. Traceroute is used as a network debugging \
tool. If you're having network connectivity problems, traceroute will \
show you where the trouble is coming from along the route."
SECTION = "console/network"
HOMEPAGE = "http://traceroute.sourceforge.net/"
LICENSE = "GPL-2.0 LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
inherit update-alternatives
SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/traceroute-2.0.18/traceroute-2.0.18.tar.gz \
"
SRC_URI[md5sum] = "b7254149b7f081cce07f4b9e065ba5ef"
SRC_URI[sha256sum] = "5994a88520927fefe3c9754aaf1e02b4d0f3f8fb1f521a68fa86215c3fcab9ef"
do_compile() {
export LDFLAGS="${TARGET_LDFLAGS} -L${S}/libsupp"
oe_runmake "env=yes"
}
do_install() {
install -d ${D}${bindir}
install -m755 ${PN}/${PN} ${D}${bindir}
install -m755 wrappers/tcptraceroute ${D}${bindir}
install -d ${D}${mandir}
install -p -m644 ${PN}/${PN}.8 ${D}${mandir}
pushd ${D}${mandir}
ln -s ${PN}.8 ${PN}6.8
ln -s ${PN}.8 tcptraceroute.8
popd
}
ALTERNATIVE_${PN} = "traceroute6"
ALTERNATIVE_LINK_NAME[traceroute6] = "${bindir}/traceroute"
| |
Add image for QtXBee demo image | DESCRIPTION = "A console-only with QtXBee temperature monitor demo installed"
# customize IMAGE_FEATURES as follows
IMAGE_FEATURES += " \
debug-tweaks \
ssh-server-openssh \
"
# packagegroup-core-tools-profile will build and install tracing and profiling tools to the target image.
# packagegroup-core-buildessential will build and install autotools, gcc, etc. to the target image.
# kernel-modules for install of the kernel modules.
# kernel-devsrc for building out of tree modules.
# IMAGE_ROOTFS_EXTRA_SPACE_append for adding extra space to the target rootfs image.
# customize IMAGE_INSTALL as follows
IMAGE_INSTALL = "\
packagegroup-core-boot \
kernel-modules \
${CORE_IMAGE_EXTRA_INSTALL} \
qtxbee-examples \
qtxbee-temp-monitor-init-script \
kernel-module-ftdi-sio \
"
inherit core-image
# Add extra space to the rootfs image
IMAGE_ROOTFS_EXTRA_SPACE_append += "+ 30000"
| |
Add ULM library for ARM and DSP. | DESCRIPTION="TI dsptop utility."
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979"
include dsptop.inc
DEPENDS = "ti-cgt6x-native"
PR = "${INC_PR}.0"
ALLOW_EMPTY_${PN} = "1"
COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PARALLEL_MAKE= ""
S = "${WORKDIR}/git/dsptop/ulm"
DEVICE=""
DEVICE_dra7xx = "DRA7xx"
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
do_compile() {
oe_runmake arm XPORT_ONLY
oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include
}
do_install() {
install -d ${D}${includedir}
install -d ${D}${libdir}
install -d ${D}${datadir}/ti/ulm
cp -f tiulm.h ${D}${includedir}
cp -f release/libtiulm.a ${D}${libdir}
cp -f tiulm.h ${D}${datadir}/ti/ulm
cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm
}
FILES_${PN}-dev += "\
${datadir}/ti/ulm \
"
| |
Add recipe for mime-support package | #
# base recipe: http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree\
#/meta-oe/recipes-support/mime-support/mime-support_3.48.bb?h=master
# base branch: master
# base commit: ea319464b673cbf9a416b582dc4766faeb998430
#
SUMMARY = "MIME files 'mime.types' & 'mailcap', and support programs"
LICENSE = "PD"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=ea156a63df8948d1bb28270e223e93ba"
RRECOMMENDS_${PN} = "file"
PR = "r0"
inherit debian-package
DEBIAN_PATCH_TYPE = "nopatch"
FILES_${PN} += " ${libdir}/mime"
#install follow Debian jessie
do_install () {
install -d ${D}${sysconfdir}
install -d ${D}${libdir}/mime/packages
install -d ${D}${sbindir}
install -d ${D}${bindir}
install -m 644 mime.types ${D}${sysconfdir}/
install -m 644 mailcap ${D}${libdir}/mime/
install -m 644 mailcap.order ${D}${sysconfdir}/
install -m 755 update-mime ${D}${sbindir}/
install -m 755 run-mailcap ${D}${bindir}/
install -m 755 debian-view ${D}${libdir}/mime/
install -m 644 mailcap.entries ${D}${libdir}/mime/packages/mime-support
ln -s run-mailcap ${D}${bindir}/see
ln -s run-mailcap ${D}${bindir}/edit
ln -s run-mailcap ${D}${bindir}/compose
ln -s run-mailcap ${D}${bindir}/print
}
| |
Add cvs version of gpe-mini-browser, DEFAULT_PREFERENCE = -1 | PR = "r1"
PV = "0.16+cvs-${CVSDATE}"
SRC_URI = "${HANDHELDS_CVS};module=gpe/base/gpe-mini-browser"
DESCRIPTION = "A lightweight webbrowser for the GPE platform"
LICENSE = "GPL"
DEPENDS = "osb-nrcit libgpewidget"
DEFAULT_PREFERENCE = "-1"
S = "${WORKDIR}/gpe-mini-browser"
inherit autotools
do_install() {
# install -d ${D}${docdir}/gpe
# install -m 0644 ${S}/gpe-mini-browser.html ${D}${docdir}/gpe/
install -d ${D}/usr/share/applications
install -m 0644 ${S}/gpe-mini-browser.desktop ${D}/usr/share/applications/gpe-mini-browser.desktop
install -d ${D}/usr/share/pixmaps
install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png
autotools_do_install
}
pkg_postinst_${PN}-doc () {
#!/bin/sh
if [ "x$D" != "x" ]; then
if [ -e /etc/gpe/gpe-help.conf ]; then
echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf
else
echo [Help] >> /etc/gpe/gpe-help.conf
echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf
fi
if [ -x /usr/bin/gpe-helpindex ]; then
echo generating help-index
gpe-helpindex
else
echo not generating index for gpe-mini-browser
fi
fi
}
pkg_postrm_${PN}-doc () {
#!/bin/sh
if [ -e /etc/gpe/gpe-help.conf ]; then
sed '/^\<gpe-mini-browser\>/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf
mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf
fi
if [ -x /usr/bin/gpe-helpindex ]; then
echo generating help-index
gpe-helpindex
else
echo not generating index for gpe-mini-browser
fi
}
| |
Add new recipe Create recipe to build libdbi from Debian's source code | # base recipe: https://github.com/sysmocom/meta-telephony/tree/master/recipes-misc/libdbi/libdbi.inc
# base branch: master
# libdbi OE build file
# Copyright (C) 2005, Koninklijke Philips Electronics NV. All Rights Reserved
# Released under the MIT license (see packages/COPYING)
PR = "r0"
inherit debian-package
DESCRIPTION = "Database Independent Abstraction Layer for C"
HOMEPAGE = "http://libdbi.sourceforge.net/"
LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"
SECTION = "libs"
inherit autotools
EXTRA_OECONF = "--disable-docs"
do_configure () {
autotools_do_configure
}
| |
Add current version of json-c library | DESCRIPTION = "JSON-C - A JSON implementation in C"
HOMEPAGE = "https://github.com/json-c/json-c/wiki"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRCREV = "d4e81f9ec8273914739808737fa0a27a3f0589fb"
SRC_URI = "git://github.com/json-c/json-c.git"
S = "${WORKDIR}/git"
inherit autotools
| |
Add recipes for libunistring packages | SUMMARY = "Unicode string library for C"
DESCRIPTION = "The 'libunistring' library implements Unicode strings (in the UTF-8, \
UTF-16, and UTF-32 encodings), together with functions for Unicode \
characters (character names, classifications, properties) and \
functions for string processing (formatted output, width, word \
breaks, line breaks, normalization, case folding, regular \
expressions)."
HOMEPAGE = "http://www.gnu.org/software/libunistring/"
PR = "r0"
inherit debian-package
LICENSE = "GPLv3+ & LGPLv3+"
LICENSE_${PN}-doc = "GPLv3+ | GFDL-1.2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
file://doc/libunistring.texi;beginline=85;endline=107;md5=0eca48c8641a18c260ed173fdf166a65"
inherit autotools
BBCLASSEXTEND = "native"
# Avoid a parallel build problem
PARALLEL_MAKE = ""
| |
Add recipe for libxres package | SUMMARY = "X11 Resource extension library"
DESCRIPTION = "\
libXRes provides an X Window System client interface to the Resource \
extension to the X protocol. \
. \
The Resource extension allows for X clients to see and monitor the X resource \
usage of various clients (pixmaps, et al). \
"
PR = "r0"
inherit debian-package pkgconfig
LICENSE = "XFree86-1.0"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=8c89441a8df261bdc56587465e13c7fa"
inherit autotools
# Debian's source code isn't contains patch file
DEBIAN_PATCH_TYPE = "nopatch"
DEPENDS += "util-macros resourceproto"
do_install_append() {
#remove .la files
rm ${D}${libdir}/*.la
}
| |
Add the setxkbmap recipe necessary for building enlightenment | require recipes-graphics/xorg-app/xorg-app-common.inc
SUMMARY = "A program to compile XKB keyboard description"
DESCRIPTION = "The xkbcomp keymap compiler converts a description of an \
XKB keymap into one of several output formats. The most common use for \
xkbcomp is to create a compiled keymap file (.xkm extension) which can \
be read directly by XKB-capable X servers or utilities."
LIC_FILES_CHKSUM = "file://COPYING;md5=5feafdbe6dfe9e2bd32325be0cfc86f8"
PE = "1"
DEPENDS += "libxkbfile"
BBCLASSEXTEND = "native"
SRC_URI[md5sum] = "2c47a1b8e268df73963c4eb2316b1a89"
SRC_URI[sha256sum] = "a9ddb3963f263ba13f0ea105d8c45a531832140530217cc559587bb94f02d3e1"
| |
Add staging-linking - glue to allow old toolchains to work after OE staging changes | DESCRIPTION = "staging-linkage sets up symlinks in staging so old compilers continue to work with the sysroot staging layout changes"
SECTION = "devel"
PACKAGES = ""
INHIBIT_DEFAULT_DEPS = "1"
PR = "r0"
SRC_URI = ""
do_configure() {
:
}
do_compile () {
:
}
do_install() {
:
}
do_stage () {
if [ -e ${STAGING_DIR_HOST}${layout_base_libdir} ]; then
cp -pPRr ${STAGING_DIR_HOST}${layout_base_libdir}/* ${STAGING_LIBDIR}
mv ${STAGING_DIR_HOST}${layout_base_libdir}/ ${STAGING_DIR_HOST}${layout_libdir}-oldbackup/
fi
ln -s ${STAGING_LIBDIR}/ ${STAGING_DIR_HOST}${layout_base_libdir}
}
| |
Add recipe for libtry-tiny-perl package | SUMMARY = "module providing minimalistic try/catch"
DESCRIPTION = "\
Try::Tiny is a Perl module that provides bare bones try/catch statements. It \
is designed to eliminate common mistakes with eval blocks, and NOTHING else. \
. \
The main focus of this module is to provide simple and reliable error \
handling for those having a hard time installing TryCatch, but who still want \
to write correct eval blocks without 5 lines of boilerplate each time. \
"
HOMEPAGE = "https://metacpan.org/release/Try-Tiny"
PR = "r0"
inherit debian-package
LICENSE = "MIT"
LIC_FILES_CHKSUM = "\
file://LICENSE;md5=781485aae6e6d87e2262fc7baa08dcc7"
inherit cpan
FILES_${PN} += "${datadir}/*"
RDEPENDS_${PN} += "libparams-validate-perl"
# source format is 3.0 (quilt) but there is no debian patch
DEBIAN_QUILT_PATCHES = ""
| |
Add bitbake recipe to build serf | SUMMARY = "A decentralized solution for service discovery and orchestration"
HOMEPAGE = "https://github.com/hashicorp/serf"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b278a92d2c1509760384428817710378"
DEPENDS += "golang-cross \
cli \
logutils \
columnize \
go-syslog \
go-msgpack \
mapstructure \
go-metrics \
memberlist \
circbuf \
mdns \
hashicorp-go-net"
PKG_NAME = "github.com/hashicorp/serf"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "5e07170d82d73e20b832e238d71caa531b6d8a2c"
S = "${WORKDIR}/git"
do_compile() {
#Setting up a symlink to have bolt in a directory go can work with
cd ${S}
rm -rf .gopath
mkdir -p .gopath/src/$(dirname ${PKG_NAME})
ln -sf ../../../../ .gopath/src/${PKG_NAME}
#Setting up go variables
export GOPATH=${S}/.gopath:${STAGING_DIR_TARGET}/${prefix}/local/go
export GOBIN=${S}/.gopath/bin
export GOARCH="${TARGET_ARCH}"
# supported amd64, 386, arm
if [ "${TARGET_ARCH}" = "x86_64" ]; then
export GOARCH="amd64"
fi
go install ${PKG_NAME}
}
do_install() {
install -d ${D}${prefix}/local/go/src/${PKG_NAME}
cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
}
SYSROOT_PREPROCESS_FUNCS += "serf_sysroot_preprocess"
serf_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}/*"
| |
Revert "xserver-xorg-conf: add xorg.conf for palmpre machine" | DESCRIPTION = "Machine specific xorg.conf files"
PR = "r32"
SRC_URI = "file://xorg.conf"
do_install() {
install -d ${D}/${sysconfdir}/X11
install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
}
# Set some dependencies to make the confs actually work
RDEPENDS_omap3 = "xf86-video-omapfb"
CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf"
PACKAGE_ARCH = "${MACHINE_ARCH}"
| DESCRIPTION = "Machine specific xorg.conf files"
PR = "r31"
SRC_URI = "file://xorg.conf"
do_install() {
install -d ${D}/${sysconfdir}/X11
install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
}
# Set some dependencies to make the confs actually work
RDEPENDS_omap3 = "xf86-video-omapfb"
CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf"
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
Add PSP version for ti816x devices. | require u-boot-omap3.inc
COMPATIBLE_MACHINE = "ti816x"
BRANCH = "master"
# Use literal tags in SRCREV, when available, instead of commit IDs
SRCREV = "v2010.06_TI816XPSP_04.00.00.10"
UVER = "2010.06"
PSPREL = "04.00.00.10"
PR = "r1"
| |
Add new version with correct date and location. | DESCRIPTION = "Enlightened Sound Daemon - GPE version"
SECTION = "gpe/base"
LICENSE = "GPL"
DEPENDS = "audiofile"
PR = "r0"
PROVIDES += "esound"
RPROVIDES += "esound"
SRCDATE = "${PV}"
SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/extra/;module=esound;date=20070109 \
file://audiofile-please.patch;patch=1 \
file://configure.patch;patch=1"
S = "${WORKDIR}/esound"
inherit autotools binconfig pkgconfig
EXTRA_OECONF = "--disable-alsa"
SOV = "0.2.28"
do_stage () {
install -m 0644 esd.h ${STAGING_INCDIR}/esd.h
oe_soinstall .libs/libesd.so.${SOV} ${STAGING_LIBDIR}
install -m 0644 .libs/libesd.lai ${STAGING_LIBDIR}/libesd.la
install -m 0644 esd.m4 ${STAGING_DATADIR}/aclocal
}
PACKAGES =+ "esddsp esd esd-utils"
FILES_esddsp = "${bindir}/esddsp ${libdir}/libesddsp.so.*"
FILES_esd = "${bindir}/esd"
FILES_esd-utils = "${bindir}/*"
| |
Fix build failures on OE master by updating | SUMMARY = "non-mainline-kernel netfilter extensions"
DESCRIPTION = "Xtables-addons contains a set of possibly useful but not included in the mainline kernel nefilter extensions"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "virtual/kernel iptables"
inherit autotools module-base pkgconfig
SRC_URI = " \
${SOURCEFORGE_MIRROR}/project/${PN}/Xtables-addons/${PN}-${PV}.tar.xz \
file://100-add-rtsp-conntrack.patch \
file://200-add-lua-packetscript.patch \
file://201-fix-lua-packetscript.patch \
file://202-add-lua-autoconf.patch \
file://300-geoip-endian-detection.patch \
file://400-fix-IFF_LOWER_UP-musl.patch \
"
SRC_URI[md5sum] = "ebb073119a5f250dbfe6b855fcad56fd"
SRC_URI[sha256sum] = "d215a9a8b8e66aae04b982fa2e1228e8a71e7dfe42320df99e34e5000cbdf152"
EXTRA_OECONF = "--with-kbuild=${STAGING_KERNEL_DIR} --with-xtlibdir=${libdir}/iptables"
addtask make_scripts after do_patch before do_compile
do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
do_make_scripts[deptask] = "do_populate_sysroot"
FILES_${PN} += "${base_libdir}/modules ${libdir}/iptables"
RDEPENDS_${PN} += "perl"
| |
Add new recipe for kexec-tools package | #
# Base recipe: meta/recipes-kernel/kexec/kexec-tools_2.0.4.bb
# Base branch: daisy
#
SUMMARY = "Kexec fast reboot tools"
DESCRIPTION = "Kexec is a fast reboot feature that lets you reboot to a new Linux kernel"
AUTHOR = "Eric Biederman"
HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/kexec/"
PR = "r0"
inherit debian-package
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \
file://kexec/kexec.c;beginline=1;endline=20;md5=af10f6ae4a8715965e648aa687ad3e09"
inherit autotools-brokensep
EXTRA_OECONF = "--sbindir=${base_sbindir}"
# Install files follow Debian.
do_install_append () {
# Install init script
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${S}/debian/kexec.init.d ${D}${sysconfdir}/init.d/kexec
install -m 0755 ${S}/debian/kexec-load.init.d ${D}${sysconfdir}/init.d/kexec-load
}
| |
Add PSP version for am387x-evm | require u-boot-omap3.inc
COMPATIBLE_MACHINE = "ti814x"
DEFAULT_PREFERENCE_ti814x = "1"
BRANCH = "master"
# Use literal tags in SRCREV, when available, instead of commit IDs
SRCREV = "v2010.06_TI814XPSP_04.01.00.03"
UVER = "2010.06"
PSPREL = "04.01.00.03"
PR = "r1"
| |
Add recipes for lsyncd package | SUMMARY = "daemon to synchronize local directories using rsync"
DESCRIPTION = " Lsyncd (Live syncing mirror daemon) uses rsync to synchronize local \
directories with a remote machine running rsyncd. Lsyncd watches \
multiple directories trees through inotify. The first step after \
adding the watches is to rsync all directories with the remote host, \
and then sync single file by collecting the inotify events. So lsyncd \
is a light-weight live mirror solution that should be easy to install \
and use while blending \
well with your system."
HOMEPAGE = "https://github.com/axkibe/lsyncd"
DISTRO_CODENAME = "jessie"
inherit debian-package
PV = "2.1.5"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=335b31c435c9c061dfffc6fff1f52e89"
inherit autotools-brokensep pkgconfig
CACHED_CONFIGUREVARS += "ac_cv_path_LUA51=${STAGING_BINDIR_NATIVE}/lua5.1"
DEPENDS += "lua5.1 lua5.1-native"
do_install_append() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${S}/debian/lsyncd.init \
${D}${sysconfdir}/init.d/lsyncd
}
RDEPENDS_${PN} += "rsync lua5.1"
| |
Add Minizip package from zlib package source | SUMMARY = "Zlib Compression Library"
DESCRIPTION = "Zlib is a general-purpose, patent-free, lossless data compression \
library which is used by many different programs."
HOMEPAGE = "http://zlib.net/"
SECTION = "libs"
LICENSE = "Zlib"
LIC_FILES_CHKSUM = "file://zip.h;beginline=4;endline=23;md5=21a9142d31897f1dc0cd6318eaa76af3"
SRC_URI = "http://www.zlib.net/zlib-${PV}.tar.xz "
SRC_URI[md5sum] = "28f1205d8dd2001f26fec1e8c2cebe37"
SRC_URI[sha256sum] = "831df043236df8e9a7667b9e3bb37e1fcb1220a0f163b6de2626774b9590d057"
FILESEXTRAPATHS_prepend := "${THISDIR}/zlib-${PV}:"
RDEPENDS_${PN} += "zlib"
DEPENDS_${PN} += "zlib"
S = "${WORKDIR}/zlib-${PV}/contrib/minizip"
inherit autotools
| |
Create recipe for config.txt file | DESCRIPTION = "Commented config.txt file for the Raspberry Pi. \
The Raspberry Pi config.txt file is read by the GPU before \
the ARM core is initialised. It can be used to set various \
system configuration parameters."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
COMPATIBLE_MACHINE = "raspberrypi"
SRCREV = "23e90347da3f1a6029984306e7eb5177adc34df8"
SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=git;branch=master \
"
S = "${WORKDIR}/git"
PR = "r0"
addtask deploy before do_package after do_install
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
cp config.txt ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/
if [ -n "${KEY_DECODE_MPG2}" ]; then
sed -i '/#decode_MPG2/ c\decode_MPG2=${KEY_DECODE_MPG2}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
fi
if [ -n "${KEY_DECODE_WVC1}" ]; then
sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
fi
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
| |
Remove gtk dep for poppler. | DEPENDS = "fontconfig jpeg zlib cairo tiff lcms"
EXTRA_OECONF = "\
--enable-xpdf-headers \
--disable-gtk-test \
--disable-poppler-qt4 \
--enable-zlib \
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
--disable-gtk-test \
" | |
Add TI specific version of libgbm | DESCRIPTION = "Userspace interface for the kernel GBM services."
HOMEPAGE = "http://git.ti.com"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://gbm.c;beginline=1;endline=26;md5=b871c7f2f477df29ee4c0ec437b187f7"
DEPENDS = "libdrm"
COMPATIBLE_MACHINE = "omap-a15"
inherit autotools pkgconfig
SRCREV = "cb86a2f2cecd41023bf1bf12fbcf11be11220f31"
SRC_URI = "git://git.ti.com/glsdk/libgbm.git;protocol=git"
S = "${WORKDIR}/git"
| |
Add pycups - python bindings for CUPS | # Python bindings for libcups, from the CUPS project.
#
# Copyright (c) Ambu A/S - All rights reserved
# SPDX-License-Identifier: MIT
#
# Author(s)
# clst@ambu.com (Claus Stovgaard)
#
DESCRIPTION = "pycups - CUPS bindings for Python"
HOMEPAGE = "https://github.com/OpenPrinting/pycups"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS += "cups"
# See https://pypi.org/project/pycups/ for data
SRC_URI[sha256sum] = "57434ce5f62548eb12949ca8217f066f4eeb21a5d6ab8b13471dce350e380c90"
inherit pypi setuptools3 | |
Add recipe for dfe test code | DESCRIPTION = "TI Digital Radio Front End lld test application"
DEPENDS = "common-csl-ip dfe-lld iqn2-lld"
include dfe-lld.inc
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}"
do_compile () {
# Now build the lld in the updated directory
oe_runmake clean DEVICE=k2l
oe_runmake tests DEVICE=k2l
oe_runmake tests DEVICE=k2l USEDYNAMIC_LIB=yes
}
do_install () {
oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}/${bindir}
}
| |
Add for opencl matrix files. | DESCRIPTION = "OpenCL demo descriptions for Matrix v2"
HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
require matrix-gui-apps-git.inc
PR = "${INC_PR}.2"
inherit allarch
S = "${WORKDIR}/git/opencl_apps"
# Make sure opencl submenu and app images has been installed
OPENCL_RDEPENDS += "matrix-gui-apps-images matrix-gui-submenus-opencl"
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
PACKAGES = "matrix-opencl-demo-dsplibfft \
matrix-opencl-demo-vecadd \
matrix-opencl-demo-floatcompute \
"
RDEPENDS_matrix-opencl-demo-dsplibfft = "${OPENCL_RDEPENDS}"
RDEPENDS_matrix-opencl-demo-vecadd = "${OPENCL_RDEPENDS}"
RDEPENDS_matrix-opencl-demo-floatcompute = "${OPENCL_RDEPENDS}"
# Split the matrix files by opencl demos
FILES_matrix-opencl-demo-dsplibfft = "${MATRIX_APP_DIR}/opencl_dsplib_fft/*"
FILES_matrix-opencl-demo-vecadd = "${MATRIX_APP_DIR}/opencl_vecadd/*"
FILES_matrix-opencl-demo-floatcompute = "${MATRIX_APP_DIR}/opencl_float_compute/*"
# Split the ${bindir} files by opencl demos
FILES_matrix-opencl-demo-dsplibfft += "${bindir}/runOclDsplibFFT.sh"
FILES_matrix-opencl-demo-vecadd += "${bindir}/runOclVecadd.sh"
FILES_matrix-opencl-demo-floatcompute += "${bindir}/runOclFloatCompute.sh"
| |
Add a Linux 3.6 kernel recipe | require linux.inc
DESCRIPTION = "Linux kernel for the RaspberryPi board"
COMPATIBLE_MACHINE = "raspberrypi"
PR = "r6"
PV_append = "+git${SRCREV}"
SRCREV = "31a951046155b27361127d9cf85a1f58719fe9b3"
SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
"
S = "${WORKDIR}/git"
# NOTE: For now we pull in the default config from the RPi kernel GIT tree.
KERNEL_DEFCONFIG = "bcmrpi_defconfig"
# CMDLINE for raspberrypi
CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
UDEV_GE_141 ?= "1"
do_configure_prepend() {
install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available."
}
do_install_prepend() {
install -d ${D}/lib/firmware
}
do_deploy_append() {
# Deploy cmdline.txt
install -d ${DEPLOYDIR}/bcm2835-bootfiles
echo "${CMDLINE}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt
}
| |
Revert "[alias name] Adding alias name tags for packages" | DESCRIPTION = "Locations - a GPS location based communicative application"
HOMEPAGE = "http://wiki.openmoko.org/wiki/Om2008.8_Locations"
SECTION = "openmoko/applications"
LICENSE = "GPL"
DEPENDS = "eet evas edje ecore edbus etk"
RDEPENDS_${PN} = "diversity-daemon"
PV = "0.2+gitr${SRCREV}"
PR = "r1.03"
SRC_URI = "git://git.openmoko.org/git/om-locations.git;protocol=git"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"
do_configure_prepend() {
autopoint --force
}
PKG_TAGS_${PN} = "group::communication alias::Om_Locations"
| DESCRIPTION = "Locations - a GPS location based communicative application"
HOMEPAGE = "http://wiki.openmoko.org/wiki/Om2008.8_Locations"
SECTION = "openmoko/applications"
LICENSE = "GPL"
DEPENDS = "eet evas edje ecore edbus etk"
RDEPENDS_${PN} = "diversity-daemon"
PV = "0.2+gitr${SRCREV}"
PR = "r1.03"
SRC_URI = "git://git.openmoko.org/git/om-locations.git;protocol=git"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"
do_configure_prepend() {
autopoint --force
}
PKG_TAGS_${PN} = "group::communication"
|
Add GStreamer HEVC/H265 decoder plugin | DESCRIPTION = "GStreamer plugin for ARM HEVC decoder"
HOMEPAGE = "https://git.ti.com/processor-sdk/gst-plugin-hevc"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=2827f94fc0a1adeff4d9702e97ce2979"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "dra7xx"
SRC_URI = "git://git.ti.com/processor-sdk/gst-plugin-hevc.git;protocol=git"
SRCREV = "2f17d5c50f7376c0489ae1a2f571f1e749f5f72e"
S = "${WORKDIR}/git"
DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad hevc-arm-decoder"
inherit autotools pkgconfig gettext
PR = "r3"
do_configure() {
cd ${S}
chmod +x autogen.sh
./autogen.sh --host=arm-linux --with-libtool-sysroot=${STAGING_DIR_TARGET} --prefix=/usr
}
EXTRA_OECONF += "--enable-maintainer-mode"
EXTRA_OEMAKE += "'ERROR_CFLAGS=-Wno-deprecated-declarations'"
FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
| |
Add a bitbake recipe to build columnize | SUMMARY = "Column formatted output library for Go"
HOMEPAGE = "https://github.com/ryanuber/columnize"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=4b1989be3dc78e86f2c54cf3b03db7c9"
PKG_NAME = "github.com/ryanuber/columnize"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a"
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 += "columnize_sysroot_preprocess"
columnize_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 dialog-lvgl recipe as demo example | # SPDX-FileCopyrightText: Huawei Inc.
# SPDX-License-Identifier: MIT
SRC_URI = "gitsm://git.ostc-eu.org/rzr/dialog-lvgl;destsuffix=${S};protocol=https;nobranch=1"
SRCREV = "5d2121457a6988c97cacb0790594440693fc3d29"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8ce0a84e5276f01364119c873b712c4f"
AUTHOR = "Philippe Coval <philippe.coval.ext@huawei.com>"
DEPENDS += "lvgl"
DEPENDS += "lv-drivers"
SUMMARY = "Basic UI utility to be used in scripts"
DESCRIPTION = "Inspired by ncurses' dialog, implemented using LVGL"
HOMEPAGE = "https://git.ostc-eu.org/rzr/dialog-lvgl/-/wikis/"
REQUIRED_DISTRO_FEATURES = "wayland"
inherit pkgconfig
inherit features_check
EXTRA_OEMAKE += "sysroot=${RECIPE_SYSROOT}"
EXTRA_OEMAKE += "DESTDIR=${D}"
EXTRA_OEMAKE += "lvgl_driver=wayland"
do_install() {
oe_runmake install
}
| |
Add recipe for mhash package | SUMMARY = "Library for cryptographic hashing and message authentication"
DESCRIPTION = "\
Library for cryptographic hashing and message authentication Mhash is \
a library that provides a uniform interface to a large number of hash \
algorithms. These algorithms can be used to compute checksums, message\
digests, and other signatures. The HMAC support implements the basics \
for message authentication, following RFC 2104. Mhash also provides \
several key-generation algorithms, including those of OpenPGP (RFC 2440)"
HOMEPAGE = "http://mhash.sourceforge.net/"
PR = "r0"
inherit debian-package
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
inherit autotools-brokensep pkgconfig
#config follow debian/rules
EXTRA_OECONF += "--enable-pkgconfig"
#install follow Debian jessie
do_install_append() {
rm ${D}${libdir}/libmhash.la
LINKLIB=$(basename $(readlink ${D}${libdir}/libmhash.so))
chmod 0644 ${D}${libdir}/${LINKLIB}
}
| |
Add recipe for Open Asset Import Library | DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \
various well-known 3D model formats in a uniform manner."
HOMEPAGE = "http://www.assimp.org/"
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bc4231a2268da8fc55525ad119638a87"
DEPENDS = "boost"
SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}-3.1/${BPN}-${PV}_no_test_models.zip"
SRC_URI[md5sum] = "ccd4788204509da58a3a53c7aeda7a8b"
SRC_URI[sha256sum] = "da9827876f10a8b447270368753392cfd502e70a2e9d1361554e5dfcb1fede9e"
inherit cmake
FILES_${PN}-dev += "${libdir}/cmake"
| |
Add a packagegroup for gstreamer | SUMMARY = "Tizen multimedia packagegroups"
LICENSE = "MIT"
DESCRIPTION = "Tizen multimedia packages."
inherit packagegroup
PACKAGES = " \
packagegroup-tizen-gstreamer\
"
# gstreamer packages
RDEPENDS_packagegroup-tizen-gstreamer = " \
gstreamer1.0 \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-ugly \
"
| |
Add recipe for x11proto-dmx package | SUMMARY = "X11 Distributed Multihead X extension wire protocol"
DESCRIPTION = "\
This package provides development headers describing the wire protocol \
for the DMX extension, used to set up a distributed multi-head environment \
with a single server acting as a gateway to multiple X servers on multiple \
machines. \
"
PR = "r0"
inherit debian-package
LICENSE = "MIT"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=a3c3499231a8035efd0e004cfbd3b72a"
inherit autotools
DEPENDS += "util-macros"
# Debian's source code isn't contains patch file
DEBIAN_PATCH_TYPE = "nopatch"
#follow debian/x11proto-dmx-dev.install
do_install_append() {
install -d ${D}${datadir}/pkgconfig
mv ${D}${libdir}/pkgconfig/* ${D}${datadir}/pkgconfig/
rm -r ${D}${libdir}
}
FILES_${PN}-dev += "${datadir}/pkgconfig"
| |
Add recipe for cereal, a header-only C++11 serialization library. | SUMMARY = "A C++11 library for serialization"
HOMEPAGE = "https://uscilab.github.io/cereal/"
SECTION = "libs"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e612690af2f575dfd02e2e91443cea23"
SRCREV = "51cbda5f30e56c801c07fe3d3aba5d7fb9e6cca4"
SRC_URI = "git://github.com/USCiLab/cereal.git"
S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE = "-DJUST_INSTALL_CEREAL=ON"
| |
Add libcec for imx6 recipe | DESCRIPTION = "libCEC allows you in combination with the right hardware to control your device with your TV remote control. Utilising your existing HDMI cabling"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=5e8e16396992369f73f3d28875f846da"
PR = "r0"
inherit autotools
SRC_URI = "git://github.com/wolfgar/libcec.git "
SRCREV = "90b994705ee2492afa00f914e0a070a0f0929f21"
EXTRA_OECONF="--enable-imx6"
S = "${WORKDIR}/git"
| |
Add a bitbake recipe to build memberlist | SUMMARY = "Go library that manages cluster membership and member failure detection"
HOMEPAGE = "https://github.com/hashicorp/memberlist"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b278a92d2c1509760384428817710378"
DEPENDS = "go-metrics go-msgpack"
PKG_NAME = "github.com/hashicorp/memberlist"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "c0dd21a51b7f6af4ecb9e1c954bc83b2aa0fd2d8"
S = "${WORKDIR}/git"
#Empty do_compile to stop go from testing the package
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 += "memberlist_sysroot_preprocess"
memberlist_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}/*"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.