doc_id
stringlengths 36
36
| metadata
dict | input
stringlengths 28
4.3k
| output
stringlengths 11
5.45k
|
---|---|---|---|
4d92244e-27ce-4329-a47c-3b142d412b26 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Library used for remotely invoking the hw accelerated codec on IVA-HD"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://libdce.h;beginline=1;endline=31;md5=0a398cf815b8b5f31f552266cd453dae"
inherit autotools pkgconfig
PR = "r1+gitr${SRCPV}"
PV = "2.0"
DEPENDS = "libdrm ti-ipc"
SRC_URI = "git://git.omapzoom.org/repo/libdce.git;protocol=git"
SRCREV = "1916cfef94c4ee41c2beedc9cd87b8916ad29895"
S = "${WORKDIR}/git"
EXTRA_OECONF += "IPC_HEADERS=${STAGING_INCDIR}/ti/ipc/mm"
```
Update to latest IPC 3.30.03.14 | ```bitbake
DESCRIPTION = "Library used for remotely invoking the hw accelerated codec on IVA-HD"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://libdce.h;beginline=1;endline=31;md5=0a398cf815b8b5f31f552266cd453dae"
inherit autotools pkgconfig
PR = "r2+gitr${SRCPV}"
PV = "2.0"
DEPENDS = "libdrm ti-ipc"
SRC_URI = "git://git.omapzoom.org/repo/libdce.git;protocol=git"
SRCREV = "bb5786d7ce8ab452ab1edc867e4456d1abf08428"
S = "${WORKDIR}/git"
EXTRA_OECONF += "IPC_HEADERS=${STAGING_INCDIR}/ti/ipc/mm"
``` |
8bd9d4fd-bae5-4a35-9750-4d7fe755fa83 | {
"language": "BitBake"
} | ```bitbake
require recipes-graphics/xorg-driver/xorg-driver-video.inc
DESCRIPTION = "X.Org X server -- A10/A13 display driver"
PR = "1"
LICENSE = "MIT-X"
LIC_FILES_CHKSUM = "file://COPYING;md5=f91dc3ee5ce59eb4b528e67e98a31266"
SRC_URI = "git://github.com/ssvb/xf86-video-sunxifb.git;protocol=http;branch=master"
SRCREV_pn-${PN} = "cbd5b2b6439308b293c84cce5e7923ef072c8110"
S = "${WORKDIR}/git"
CFLAGS += " -I${STAGING_INCDIR}/xorg "
DEPENDS += "sunxi-mali"```
Change sunxifb to the new repository | ```bitbake
require recipes-graphics/xorg-driver/xorg-driver-video.inc
DESCRIPTION = "X.Org X server -- A10/A13 display driver"
PR = "1"
LICENSE = "MIT-X"
LIC_FILES_CHKSUM = "file://COPYING;md5=f91dc3ee5ce59eb4b528e67e98a31266"
SRC_URI = "git://github.com/ssvb/xf86-video-fbturbo.git;protocol=http;branch=master"
SRCREV_pn-${PN} = "fed3148bad26186dd04707cdac67809a666f1742"
S = "${WORKDIR}/git"
CFLAGS += " -I${STAGING_INCDIR}/xorg "
DEPENDS += "sunxi-mali"``` |
7defec5a-8062-4c60-b6f8-fdf8d2747356 | {
"language": "BitBake"
} | ```bitbake
require gst-plugins.inc
INC_PR = "r0"
PR = "${INC_PR}.0"
do_configure_prepend() {
sed -i -e s:docs::g Makefile.am
}
DEPENDS += "gst-plugins-base>=0.10.30"
do_configure[depends] += "gst-plugins-base:do_populate_sysroot"
EXTRA_OECONF_openpli += "--disable-apexsink --disable-dvdnav --disable-cdaudio --disable-mpeg2enc --disable-mplex"
SRC_URI_append_openpli += " file://mpegpsdemux_speedup.diff;patch=1;pnum=0 \
file://mpegtsdemux_fix_ac3_detection.diff;patch=1;pnum=0 \
file://aacparse-fix-rank.diff;patch=1;pnum=1 \
file://ac3parse-fix-rank.diff;patch=1;pnum=1"
RCONFLICTS_gst-plugin-mpegdemux = "gst-plugin-fluendo-mpegdemux"
RREPLACES_gst-plugin-mpegdemux = "gst-plugin-fluendo-mpegdemux"
```
Revert "gst-plugins-bad: Try to explain the build order" | ```bitbake
require gst-plugins.inc
INC_PR = "r0"
PR = "${INC_PR}.0"
do_configure_prepend() {
sed -i -e s:docs::g Makefile.am
}
DEPENDS += "gst-plugins-base>=0.10.30"
EXTRA_OECONF_openpli += "--disable-apexsink --disable-dvdnav --disable-cdaudio --disable-mpeg2enc --disable-mplex"
SRC_URI_append_openpli += " file://mpegpsdemux_speedup.diff;patch=1;pnum=0 \
file://mpegtsdemux_fix_ac3_detection.diff;patch=1;pnum=0 \
file://aacparse-fix-rank.diff;patch=1;pnum=1 \
file://ac3parse-fix-rank.diff;patch=1;pnum=1"
RCONFLICTS_gst-plugin-mpegdemux = "gst-plugin-fluendo-mpegdemux"
RREPLACES_gst-plugin-mpegdemux = "gst-plugin-fluendo-mpegdemux"
``` |
ec34e8ba-07d9-4596-8d6e-309134cb210e | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Minimal initramfs image for Tegra platforms"
LICENSE = "MIT"
TEGRA_INITRD_INSTALL ??= ""
INITRD_FSTYPES ??= "${INITRAMFS_FSTYPES}"
PACKAGE_INSTALL = "\
tegra-firmware-xusb \
tegra-minimal-init \
${TEGRA_INITRD_INSTALL} \
"
IMAGE_FEATURES = ""
IMAGE_LINGUAS = ""
COPY_LIC_MANIFEST = "0"
COPY_LIC_DIRS = "0"
COMPATIBLE_MACHINE = "(tegra)"
KERNELDEPMODDEPEND = ""
IMAGE_ROOTFS_SIZE = "8192"
inherit core-image
IMAGE_FSTYPES = "${INITRD_FSTYPES}"
```
Set IMAGE_ROOTFS_EXTRA_SPACE to zero in initramfs | ```bitbake
DESCRIPTION = "Minimal initramfs image for Tegra platforms"
LICENSE = "MIT"
TEGRA_INITRD_INSTALL ??= ""
INITRD_FSTYPES ??= "${INITRAMFS_FSTYPES}"
PACKAGE_INSTALL = "\
tegra-firmware-xusb \
tegra-minimal-init \
${TEGRA_INITRD_INSTALL} \
"
IMAGE_FEATURES = ""
IMAGE_LINGUAS = ""
COPY_LIC_MANIFEST = "0"
COPY_LIC_DIRS = "0"
COMPATIBLE_MACHINE = "(tegra)"
KERNELDEPMODDEPEND = ""
IMAGE_ROOTFS_SIZE = "8192"
IMAGE_ROOTFS_EXTRA_SPACE = "0"
inherit core-image
IMAGE_FSTYPES = "${INITRD_FSTYPES}"
``` |
617facbe-1d92-40ba-a04b-b0527b709643 | {
"language": "BitBake"
} | ```bitbake
require gvfs.inc
BPN = "gvfs"
DEPENDS = "gvfs gnome-disk-utility"
PR = "${INC_PR}.0"
# we need gdu files only: reduce files to delete in libexecdir
EXTRA_OECONF += "--disable-gphoto2 \
--disable-afc \
--disable-samba"
do_install_append() {
rm -rf ${D}${sysconfdir}
rm -rf ${D}${bindir}
rm -rf ${D}${includedir}
rm -rf ${D}${libdir}/gio
rm -rf ${D}${libdir}/lib*
rmdir --ignore-fail-on-non-empty ${D}${libdir}
rm -rf ${D}${datadir}/gvfs/mounts
rm -rf ${D}${datadir}/glib-2.0
rm -rf ${D}${datadir}/GConf
rm -f ${D}${datadir}/dbus-1/services/gvfs-*
rm -rf ${D}${datadir}/locale
rm -f ${D}${libexecdir}/gvfsd*
rm -f ${D}${libexecdir}/gvfs-fuse-daemon
rm -f ${D}${libexecdir}/gvfs-gphoto2-volume-monitor
}
```
Define build dependency on libgnome-keyring | ```bitbake
require gvfs.inc
BPN = "gvfs"
DEPENDS = "gvfs gnome-disk-utility libgnome-keyring"
PR = "${INC_PR}.0"
# we need gdu files only: reduce files to delete in libexecdir
EXTRA_OECONF += "--disable-gphoto2 \
--disable-afc \
--disable-samba"
do_install_append() {
rm -rf ${D}${sysconfdir}
rm -rf ${D}${bindir}
rm -rf ${D}${includedir}
rm -rf ${D}${libdir}/gio
rm -rf ${D}${libdir}/lib*
rmdir --ignore-fail-on-non-empty ${D}${libdir}
rm -rf ${D}${datadir}/gvfs/mounts
rm -rf ${D}${datadir}/glib-2.0
rm -rf ${D}${datadir}/GConf
rm -f ${D}${datadir}/dbus-1/services/gvfs-*
rm -rf ${D}${datadir}/locale
rm -f ${D}${libexecdir}/gvfsd*
rm -f ${D}${libexecdir}/gvfs-fuse-daemon
rm -f ${D}${libexecdir}/gvfs-gphoto2-volume-monitor
}
``` |
1409c68c-8b6f-4a44-b26c-1d97f2b53cbd | {
"language": "BitBake"
} | ```bitbake
FILESEXTRAPATHS_prepend := "${THISDIR}:"
DESCRIPTION = "ACME Utilities"
SECTION = "acme"
DEPENDS = "python3"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=578ecfeb82fabd60bb6310f0bf6af799"
SRC_URI = "git://github.com/bayLibre-acme/acme-utils.git;branch=next"
SRCREV = "next"
S = "${WORKDIR}/git"
inherit systemd
SYSTEMD_SERVICE_${PN} = "pyacmed.service"
SYSTEMD_PACKAGES = "${PN}"
do_compile() {
make -C api
}
do_install() {
install -d ${D}${bindir}
install -d ${D}${systemd_unitdir}/system/
install -m 0755 api/dut-hard-reset ${D}${bindir}
install -m 0755 api/dut-switch-* ${D}${bindir}
install -m 0755 api/dut-dump-probe ${D}${bindir}
install -m 0755 pyacmed/pyacmed ${D}${bindir}
install -m 0644 pyacmed/pyacmed.service ${D}${systemd_unitdir}/system
sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/pyacmed.service
}
```
Add back python3 modules rdepends | ```bitbake
FILESEXTRAPATHS_prepend := "${THISDIR}:"
DESCRIPTION = "ACME Utilities"
SECTION = "acme"
DEPENDS = "python3"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=578ecfeb82fabd60bb6310f0bf6af799"
SRC_URI = "git://github.com/bayLibre-acme/acme-utils.git;branch=next"
SRCREV = "next"
S = "${WORKDIR}/git"
RDEPENDS_${PN} = "python3-modules"
inherit systemd
SYSTEMD_SERVICE_${PN} = "pyacmed.service"
SYSTEMD_PACKAGES = "${PN}"
do_compile() {
make -C api
}
do_install() {
install -d ${D}${bindir}
install -d ${D}${systemd_unitdir}/system/
install -m 0755 api/dut-hard-reset ${D}${bindir}
install -m 0755 api/dut-switch-* ${D}${bindir}
install -m 0755 api/dut-dump-probe ${D}${bindir}
install -m 0755 pyacmed/pyacmed ${D}${bindir}
install -m 0644 pyacmed/pyacmed.service ${D}${systemd_unitdir}/system
sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/pyacmed.service
}
``` |
2eca425b-22ad-470f-a12a-e13a95a1912a | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "Different startup scripts"
SECTION = "base"
PR = "r0"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
SRC_URI = "file://rcS.swupdate \
"
S = "${WORKDIR}"
do_install () {
install -d ${D}/${sysconfdir}/init.d
install -d ${D}${base_sbindir}
install -m 755 ${S}/rcS.swupdate ${D}${base_sbindir}/init
}
PACKAGES = "${PN}"
FILES_${PN} = "/"
PACKAGE_ARCH = "${MACHINE_ARCH}"
CONFFILES_${PN} = ""
```
Fix for Yocto deprecation issue on MIT license file. | ```bitbake
SUMMARY = "Different startup scripts"
SECTION = "base"
PR = "r0"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://rcS.swupdate \
"
S = "${WORKDIR}"
do_install () {
install -d ${D}/${sysconfdir}/init.d
install -d ${D}${base_sbindir}
install -m 755 ${S}/rcS.swupdate ${D}${base_sbindir}/init
}
PACKAGES = "${PN}"
FILES_${PN} = "/"
PACKAGE_ARCH = "${MACHINE_ARCH}"
CONFFILES_${PN} = ""
``` |
9b9556ce-5ba3-4652-9e43-2e76fbcc15d6 | {
"language": "BitBake"
} | ```bitbake
LINUX_VERSION = "5.15.19"
KBRANCH="xlnx_rebase_v5.15_LTS"
SRCREV = "b0c1be301e78c320df8c4d93b18393bfd7fd4e9d"
KCONF_AUDIT_LEVEL="0"
include linux-xlnx.inc
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
```
Update branch and SRCREV for update release | ```bitbake
LINUX_VERSION = "5.15.19"
KBRANCH="xlnx_rebase_v5.15_LTS_2022.1_update"
SRCREV = "5ead03b6e64b5072737c653bb20ebcd88704e3d1"
KCONF_AUDIT_LEVEL="0"
include linux-xlnx.inc
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
``` |
f1b67706-9851-4044-ae83-5fc6258570e0 | {
"language": "BitBake"
} | ```bitbake
require mender-artifact.inc
MENDER_ARTIFACT_BRANCH ?= "master"
SRC_URI = "git://github.com/mendersoftware/mender-artifact.git;protocol=https;branch=${MENDER_ARTIFACT_BRANCH}"
# The revision listed below is not really important, it's just a way to avoid
# network probing during parsing if we are not gonna build the git version
# anyway. If git version is enabled, the AUTOREV will be chosen instead of the
# SHA.
def mender_artifact_is_git_version(d):
version = d.getVar("PREFERRED_VERSION_${PN}")
if version is not None and "git" in version:
return d.getVar("AUTOREV")
else:
return "77326b288c70cd713e7ad15d2a084b6ee797e8ff"
SRCREV ?= '${@mender_artifact_is_git_version(d)}'
PV = "${MENDER_ARTIFACT_BRANCH}-git${SRCPV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LIC_FILES_CHKSUM.sha256;md5=f4a3edb2a8fe8e2ecde8062ba20b1c86"
# Downprioritize this recipe in version selections.
DEFAULT_PREFERENCE = "-1"
```
Add missing comment about mender-artifact license files. | ```bitbake
require mender-artifact.inc
MENDER_ARTIFACT_BRANCH ?= "master"
SRC_URI = "git://github.com/mendersoftware/mender-artifact.git;protocol=https;branch=${MENDER_ARTIFACT_BRANCH}"
# The revision listed below is not really important, it's just a way to avoid
# network probing during parsing if we are not gonna build the git version
# anyway. If git version is enabled, the AUTOREV will be chosen instead of the
# SHA.
def mender_artifact_is_git_version(d):
version = d.getVar("PREFERRED_VERSION_${PN}")
if version is not None and "git" in version:
return d.getVar("AUTOREV")
else:
return "77326b288c70cd713e7ad15d2a084b6ee797e8ff"
SRCREV ?= '${@mender_artifact_is_git_version(d)}'
PV = "${MENDER_ARTIFACT_BRANCH}-git${SRCPV}"
# DO NOT change the checksum here without make sure that ALL licenses (including
# dependencies) are included in the LICENSE variable below.
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LIC_FILES_CHKSUM.sha256;md5=f4a3edb2a8fe8e2ecde8062ba20b1c86"
# Downprioritize this recipe in version selections.
DEFAULT_PREFERENCE = "-1"
``` |
5a3ef066-3ef8-46af-b3f4-2543fca0b72e | {
"language": "BitBake"
} | ```bitbake
require mraa.inc
SRC_URI = "git://github.com/intel-iot-devkit/mraa.git;protocol=git;tag=v${PV}"
```
Move to use GT branch with latest commit | ```bitbake
require mraa.inc
SRC_URI = "git://github.com/intel-iot-devkit/mraa.git;protocol=git;branch=gt"
SRCREV = "9efeceb9af75809c48efbca55636639e3cd08617"
``` |
7d04a52d-cb2c-488f-a3f5-7001c1ec8e59 | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "GNOME Shell Extensions"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4cb3a392cbf81a9e685ec13b88c4c101"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase gettext gsettings features_check
REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data"
SRC_URI[archive.sha256sum] = "3ee65b75b1afd8bcca0a2a03da9b2884787ed40e257a881d9aa6ef7c8727602f"
DEPENDS += " \
sassc-native \
"
EXTRA_OEMESON += " \
-Dextension_set=all \
-Dclassic_mode=true \
"
do_install:append() {
# enable gnome-classic session for wayland
install -d ${D}${datadir}/wayland-sessions
install -m644 ${D}${datadir}/xsessions/gnome-classic.desktop ${D}${datadir}/wayland-sessions/
}
RDEPENDS:${PN} += "gnome-shell"
FILES:${PN} += " \
${datadir}/gnome-shell \
${datadir}/gnome-session \
${datadir}/wayland-sessions \
${datadir}/xsessions \
"
```
Stop copying gnome-classic session to wayland | ```bitbake
SUMMARY = "GNOME Shell Extensions"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4cb3a392cbf81a9e685ec13b88c4c101"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase gettext gsettings features_check
REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data"
SRC_URI[archive.sha256sum] = "3ee65b75b1afd8bcca0a2a03da9b2884787ed40e257a881d9aa6ef7c8727602f"
DEPENDS += " \
sassc-native \
"
EXTRA_OEMESON += " \
-Dextension_set=all \
-Dclassic_mode=true \
"
RDEPENDS:${PN} += "gnome-shell"
FILES:${PN} += " \
${datadir}/gnome-shell \
${datadir}/gnome-session \
${datadir}/wayland-sessions \
${datadir}/xsessions \
"
``` |
ef6bc94f-41e4-4012-a4fc-f0d22b261a31 | {
"language": "BitBake"
} | ```bitbake
# Base this image on core-image-minimal
include recipes-core/images/core-image-minimal.bb
# Include modules in rootfs
IMAGE_INSTALL += " \
kernel-modules \
"
```
Add wayland/weston to the build | ```bitbake
# Base this image on core-image-minimal
#include recipes-image/images/tizen-common-core-image-minimal.bb
# Include modules in rootfs
IMAGE_INSTALL += " \
kernel-modules \
"
SUMMARY = "A very basic image"
LICENSE = "MIT"
DESCRIPTION = "An image with Tizen common."
inherit core-image distro_features_check
IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs"
REQUIRED_DISTRO_FEATURES = "wayland pam"
CORE_IMAGE_BASE_INSTALL += "userland"
CORE_IMAGE_BASE_INSTALL += "v4l-utils"
CORE_IMAGE_BASE_INSTALL += "desktop-skin"
CORE_IMAGE_BASE_INSTALL += "packagegroup-tizen-gstreamer"
# from ./meta-tizen/meta-tizen-common-base/recipes-image/images/tizen-core-image-minimal.bb
CORE_IMAGE_BASE_INSTALL += "connman"
CORE_IMAGE_BASE_INSTALL += "${WESTONSTARTUP}"
# Profile specific configuration - default is Tizen common
CORE_IMAGE_BASE_INSTALL += "${IMAGECONFIG}"
CORE_IMAGE_BASE_INSTALL += "tlm"
CORE_IMAGE_BASE_INSTALL += "${TLMCONFIG}"
CORE_IMAGE_BASE_INSTALL += "gum-utils"
CORE_IMAGE_BASE_INSTALL += "meta-common"
CORE_IMAGE_BASE_INSTALL += "pam"
CORE_IMAGE_BASE_INSTALL += "user-session-units"
CORE_IMAGE_BASE_INSTALL += "default-ac-domains"
CORE_IMAGE_BASE_INSTALL += "rpm-security-plugin"
CORE_IMAGE_BASE_INSTALL += "config-image"
CORE_IMAGE_BASE_INSTALL += "kernel-modules"
CORE_IMAGE_BASE_INSTALL += "less"
CORE_IMAGE_BASE_INSTALL += "bash"
CORE_IMAGE_BASE_INSTALL += "psmisc"
CORE_IMAGE_BASE_INSTALL += "coreutils"
CORE_IMAGE_BASE_INSTALL += "procps"
# Fonts
CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-fonts-ttf"
CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-fonts-pango"
export SYSROOT = "${IMAGE_ROOTFS}"
``` |
99d0e37c-e2e0-4433-a284-81a576067904 | {
"language": "BitBake"
} | ```bitbake
require qt5.inc
require qt5-git.inc
LICENSE = "(GPL-3.0 & BSD) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
"
DEPENDS += "qtbase qtdeclarative qtquickcontrols2"
SRC_URI += " \
git://github.com/assimp/assimp.git;name=assimp;branch=master;protocol=https;destsuffix=git/src/3rdparty/assimp/src \
"
PACKAGECONFIG ??= ""
PACKAGECONFIG[system-assimp] = "-system-assimp,-qt-assimp,assimp"
EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}"
FILES_${PN}-qmlplugins += " \
${OE_QMAKE_PATH_QML}/QtQuick3D/Helpers/meshes/*.mesh \
"
SRCREV_qtquick3d = "f45dd1261fd9a3343742cc528d63a27e60c90205"
SRCREV_assimp = "8f0c6b04b2257a520aaab38421b2e090204b69df"
SRCREV_FORMAT = "qtquick3d_assimp"
```
Fix branch for fetching assimp submodule | ```bitbake
require qt5.inc
require qt5-git.inc
LICENSE = "(GPL-3.0 & BSD) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
"
DEPENDS += "qtbase qtdeclarative qtquickcontrols2"
SRC_URI += " \
git://github.com/assimp/assimp.git;name=assimp;branch=assimp_5.0_release;protocol=https;destsuffix=git/src/3rdparty/assimp/src \
"
PACKAGECONFIG ??= ""
PACKAGECONFIG[system-assimp] = "-system-assimp,-qt-assimp,assimp"
EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}"
FILES_${PN}-qmlplugins += " \
${OE_QMAKE_PATH_QML}/QtQuick3D/Helpers/meshes/*.mesh \
"
SRCREV_qtquick3d = "f45dd1261fd9a3343742cc528d63a27e60c90205"
SRCREV_assimp = "8f0c6b04b2257a520aaab38421b2e090204b69df"
SRCREV_FORMAT = "qtquick3d_assimp"
``` |
96a91f3e-4d2a-4ef9-99fa-6be040233dc7 | {
"language": "BitBake"
} | ```bitbake
# Copyright (C) 2014 O.S. Systems Software LTDA.
SUMMARY = "Host packages for the Qt5 standalone SDK or external toolchain"
LICENSE = "MIT"
inherit nativesdk packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS_${PN} += " \
nativesdk-packagegroup-sdk-host \
nativesdk-qttools-tools \
nativesdk-qtbase \
nativesdk-qtbase-dev \
nativesdk-perl-modules \
"
```
Add nativesdk-qtdeclarative-tools to nativesdk packagegroup | ```bitbake
# Copyright (C) 2014 O.S. Systems Software LTDA.
SUMMARY = "Host packages for the Qt5 standalone SDK or external toolchain"
LICENSE = "MIT"
inherit nativesdk packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS_${PN} += " \
nativesdk-packagegroup-sdk-host \
nativesdk-qttools-tools \
nativesdk-qtbase \
nativesdk-qtbase-dev \
nativesdk-perl-modules \
nativesdk-qtdeclarative-tools \
"
``` |
6a5bf6bf-9a9b-42a2-9b2d-2e2302e46242 | {
"language": "BitBake"
} | ```bitbake
python () {
if d.getVar("PREFERRED_PROVIDER_qemu-helper-native") != d.getVar("PN"):
raise bb.parse.SkipRecipe("Set qemu-helper-native provider to use this recipe")
}
def get_filespath_extra(d, subpath):
metaroot = next((p for p in d.getVar('BBPATH').split(':') if os.path.basename(p) == 'meta'), None)
if metaroot:
return os.path.join(metaroot, subpath) + ":"
return ""
# TODO: improve this, since it is very hacky that this recipe need to build tunctl.
# include the existing qemu-helper-native
require recipes-devtools/qemu/qemu-helper-native_1.0.bb
# get the path to tunctl.c
FILESEXTRAPATHS_prepend := "${@get_filespath_extra(d, 'recipes-devtools/qemu/qemu-helper')}"
# provide it, to replace the existing
PROVIDES += "qemu-helper-native"
# replace qemu with qemu-xilinx
DEPENDS_remove = "qemu-system-native"
DEPENDS_append = " \
qemu-xilinx-system-native \
qemu-xilinx-multiarch-helper-native \
"
RDEPENDS_${PN}_remove = "qemu-system-native"
RDEPENDS_${PN}_append = " qemu-xilinx-system-native"
```
Change the way we find the oe-core files | ```bitbake
python () {
if d.getVar("PREFERRED_PROVIDER_qemu-helper-native") != d.getVar("PN"):
raise bb.parse.SkipRecipe("Set qemu-helper-native provider to use this recipe")
}
# TODO: improve this, since it is very hacky that this recipe need to build tunctl.
# include the existing qemu-helper-native
require recipes-devtools/qemu/qemu-helper-native_1.0.bb
# get the path to tunctl.c (from oe-core!)
FILESEXTRAPATHS_prepend := "${COREBASE}/meta/recipes-devtools/qemu/qemu-helper:"
# provide it, to replace the existing
PROVIDES += "qemu-helper-native"
# replace qemu with qemu-xilinx
DEPENDS_remove = "qemu-system-native"
DEPENDS_append = " \
qemu-xilinx-system-native \
qemu-xilinx-multiarch-helper-native \
"
RDEPENDS_${PN}_remove = "qemu-system-native"
RDEPENDS_${PN}_append = " qemu-xilinx-system-native"
``` |
fb9d7dee-fa11-404e-8c3d-10097294fdca | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Minimal Hello world!"
LICENSE = "GPL"
LIC_FILES_CHKSUM = "file://helloworld.c;md5=5251979965bb2281b6a6dc1eb7fd64bc"
do_fetch () {
mkdir -p ${S}
cd ${S}
printf "#include <stdio.h>\nint main(void)\n{\n\tprintf(\"Hello world!\\\n\");\twhile(1);\n\treturn 0;\n}\n" >helloworld.c
}
do_compile () {
${CC} ${CFLAGS} -c -o helloworld.o helloworld.c
${CC} ${LDFLAGS} -o helloworld helloworld.o
}
do_install () {
install -d ${D}${bindir}
install -m 0755 helloworld ${D}${bindir}/
}
```
Remove the infinite loop from helloworld | ```bitbake
DESCRIPTION = "Minimal Hello world!"
LICENSE = "GPL"
LIC_FILES_CHKSUM = "file://helloworld.c;md5=0790c8c6a3871d0c3bed428b4ae240c4"
do_fetch () {
mkdir -p ${S}
cd ${S}
printf "#include <stdio.h>\nint main(void)\n{\n\tprintf(\"Hello world!\\\n\");\n\treturn 0;\n}\n" >helloworld.c
}
do_compile () {
${CC} ${CFLAGS} -c -o helloworld.o helloworld.c
${CC} ${LDFLAGS} -o helloworld helloworld.o
}
do_install () {
install -d ${D}${bindir}
install -m 0755 helloworld ${D}${bindir}/
}
``` |
1c8729ff-62cd-4622-8d03-25460c8b7e7f | {
"language": "BitBake"
} | ```bitbake
SECTION = "libs"
DESCRIPTION = "Liboop is a low-level event loop management library \
for POSIX-based operating systems."
LICENSE = "LGPL"
SRC_URI = "http://download.ofb.net/liboop/liboop-${PV}.tar.bz2"
S = "${WORKDIR}/liboop-${PV}"
inherit autotools pkgconfig
headers = "oop.h oop-adns.h oop-glib.h \
oop-tcl.h oop-www.h oop-rl.h \
oop-read.h"
do_stage () {
oe_libinstall -a -so liboop ${STAGING_LIBDIR}
install -m 0644 ${headers} ${STAGING_INCDIR}/
}
```
Disable www, glib, adns, readline and tcl as it is not in the DEPENDS | ```bitbake
SECTION = "libs"
DESCRIPTION = "Liboop is a low-level event loop management library \
for POSIX-based operating systems."
LICENSE = "LGPL"
SRC_URI = "http://download.ofb.net/liboop/liboop-${PV}.tar.bz2"
S = "${WORKDIR}/liboop-${PV}"
inherit autotools pkgconfig
EXTRA_OECONF = "--without-tcl --without-glib \
--without-readline --without-adns"
headers = "oop.h oop-adns.h oop-glib.h \
oop-tcl.h oop-www.h oop-rl.h \
oop-read.h"
do_stage () {
oe_libinstall -a -so liboop ${STAGING_LIBDIR}
install -m 0644 ${headers} ${STAGING_INCDIR}/
}
``` |
b2160c9e-bc4b-4c5b-9dca-48315e4becdf | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "A console-only systemd image with more full-featured Linux system \
functionality installed."
IMAGE_FEATURES += "ssh-server-openssh"
IMAGE_FSTYPES += "ext3"
VIRTUAL-RUNTIME_init_manager = "sysvinit"
TASK_BASIC_SSHDAEMON = ""
IMAGE_INSTALL = "\
packagegroup-boot \
packagegroup-base-extended \
packagegroup-basic \
procps \
i2c-tools \
tmux coreutils gateone zsh-full sudo \
connman connman-tests connman-tools \
${CORE_IMAGE_EXTRA_INSTALL} \
"
inherit core-image
```
Make the comment in this image reflect reality. | ```bitbake
DESCRIPTION = "A console-only sysvinit image with openssh and procps."
IMAGE_FEATURES += "ssh-server-openssh"
IMAGE_FSTYPES += "ext3"
VIRTUAL-RUNTIME_init_manager = "sysvinit"
TASK_BASIC_SSHDAEMON = ""
IMAGE_INSTALL = "\
packagegroup-boot \
packagegroup-base-extended \
packagegroup-basic \
procps \
i2c-tools \
tmux coreutils gateone zsh-full sudo \
connman connman-tests connman-tools \
${CORE_IMAGE_EXTRA_INSTALL} \
"
inherit core-image
``` |
a9fb9bfe-60a6-45a2-9801-84bd85fb2376 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Provides test pruss firmware for uio based tests"
LICENSE = "BSD-3-Clause"
PV = "1.0.0.0"
require recipes-ti/includes/ti-paths.inc
S = "${WORKDIR}/git"
DEPENDS = "ti-cgt-pru-native"
BRANCH = "master"
SRC_URI = "git://git.ti.com/processor-sdk/uio-test-pruss.git;protocol=git;branch=${BRANCH}"
LIC_FILES_CHKSUM = "file://Makefile;startline=1;endline=31;md5=0ee4f2c42eb6b04e37859bb55a18b144"
# Corresponds to version 01.00.00.00
SRCREV = "f04b91b84331c9a12c897e4eb2836a0a3e3a5fae"
COMPATIBLE_MACHINE = "am57xx"
EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR}"
do_install() {
install -d ${D}${bindir}/
cp -r *.bin ${D}${bindir}/
}
```
Update recipe to fix issues with Make | ```bitbake
DESCRIPTION = "Provides test pruss firmware for uio based tests"
LICENSE = "BSD-3-Clause"
PV = "1.0.0.0"
require recipes-ti/includes/ti-paths.inc
S = "${WORKDIR}/git"
DEPENDS = "ti-cgt-pru-native"
BRANCH = "master"
SRC_URI = "git://git.ti.com/processor-sdk/uio-test-pruss.git;protocol=git;branch=${BRANCH}"
LIC_FILES_CHKSUM = "file://Makefile;startline=1;endline=31;md5=0ee4f2c42eb6b04e37859bb55a18b144"
# Corresponds to version 01.00.00.00A
SRCREV = "88e78564ff9094ecb13b53d627fa6bfb25d9ac03"
PR = "r1"
COMPATIBLE_MACHINE = "am57xx-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEVICE_NAME = ""
DEVICE_NAME_append_am57xx-evm = "am57xx"
EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR} DEVICE=${DEVICE_NAME}"
do_install() {
install -d ${D}${bindir}/
cp -r *.bin ${D}${bindir}/
}
``` |
50845a80-2e9e-4f7a-b456-be8d7301d5e9 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap5 SoCs"
HOMEPAGE = "http://git.ti.com"
LICENSE = "MIT | GPLv2"
LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=2b841bfc03386bb4d8d9381b79d33898"
inherit module
MACHINE_KERNEL_PR_append = "d"
PR = "${MACHINE_KERNEL_PR}"
BRANCH = "next"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
SRCREV = "872aa64b227cadbc97755a4192919dd5ca637971"
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}"'
do_compile_prepend() {
cd ${S}/eurasia_km/eurasiacon/build/linux2/omap5430_linux
}
do_install() {
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/extra/
cp ${S}/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/omapdrm_pvr.ko \
${D}/lib/modules/${KERNEL_VERSION}/extra/
}
```
Use kernel mechanism for module installation. | ```bitbake
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap5 SoCs"
HOMEPAGE = "http://git.ti.com"
LICENSE = "MIT | GPLv2"
LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=2b841bfc03386bb4d8d9381b79d33898"
inherit module
MACHINE_KERNEL_PR_append = "e"
PR = "${MACHINE_KERNEL_PR}"
BRANCH = "next"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
SRCREV = "872aa64b227cadbc97755a4192919dd5ca637971"
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}"'
do_compile_prepend() {
cd ${S}/eurasia_km/eurasiacon/build/linux2/omap5430_linux
}
do_install() {
make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
}
``` |
350b3f98-58d0-41c7-975a-a76ec677e36c | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Library for interacting with ID3 tags"
SECTION = "libs/multimedia"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "zlib"
PR = "r3"
SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \
file://libid3tag-pkg-config.patch"
SRC_URI[md5sum] = "e5808ad997ba32c498803822078748c3"
SRC_URI[sha256sum] = "63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151"
inherit autotools pkgconfig
EXTRA_OECONF = "-enable-speed"
```
Update LICENSE field version to GPLv2 | ```bitbake
DESCRIPTION = "Library for interacting with ID3 tags"
SECTION = "libs/multimedia"
PRIORITY = "optional"
LICENSE = "GPLv2+"
DEPENDS = "zlib"
PR = "r4"
SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \
file://libid3tag-pkg-config.patch"
SRC_URI[md5sum] = "e5808ad997ba32c498803822078748c3"
SRC_URI[sha256sum] = "63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151"
inherit autotools pkgconfig
EXTRA_OECONF = "-enable-speed"
``` |
94317363-ed32-422d-aa8b-09231fe5171f | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "a unit test framework for C"
LICENSE = "LGPL"
MAINTAINER = "Chris Larson <[email protected]>"
PRIORITY = "optional"
SECTION = "devel"
SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz"
S = "${WORKDIR}/check-${PV}"
inherit autotools
EXTRA_OECONF += "--enable-plain-docdir"
```
Add staging of library and includes | ```bitbake
DESCRIPTION = "a unit test framework for C"
LICENSE = "LGPL"
MAINTAINER = "Chris Larson <[email protected]>"
PRIORITY = "optional"
SECTION = "devel"
PR="r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz"
S = "${WORKDIR}/check-${PV}"
inherit autotools
EXTRA_OECONF += "--enable-plain-docdir"
do_stage() {
install -m 0644 ${S}/src/check.h ${STAGING_INCDIR}/check.h
oe_libinstall -a -C src libcheck ${STAGING_LIBDIR}
}
``` |
28942926-8960-4f97-9264-faad357c3213 | {
"language": "BitBake"
} | ```bitbake
SECTION = "utils"
DESCRIPTION = "LVM2 is a set of utilities to manage logical volumes in Linux."
LICENSE = "GPL"
PR = ""
DEPENDS = "device-mapper"
S = "${WORKDIR}/LVM2.${PV}"
SRC_URI = "ftp://sources.redhat.com/pub/lvm2/LVM2.${PV}.tgz"
# Unset user/group to unbreak install.
EXTRA_OECONF = "--with-user= --with-group= --disable-o_direct"
EXTRA_OECONF_arm = "--with-user= --with-group= --disable-o_direct"
inherit autotools
```
Add PR so the package doesn't end in PV- | ```bitbake
SECTION = "utils"
DESCRIPTION = "LVM2 is a set of utilities to manage logical volumes in Linux."
LICENSE = "GPL"
PR = "r0"
DEPENDS = "device-mapper"
S = "${WORKDIR}/LVM2.${PV}"
SRC_URI = "ftp://sources.redhat.com/pub/lvm2/LVM2.${PV}.tgz"
# Unset user/group to unbreak install.
EXTRA_OECONF = "--with-user= --with-group= --disable-o_direct"
EXTRA_OECONF_arm = "--with-user= --with-group= --disable-o_direct"
inherit autotools
``` |
b06ff06b-1c42-438b-863e-faf9274505d4 | {
"language": "BitBake"
} | ```bitbake
require cairo.inc
PR = "r2"
SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz;name=cairo \
"
SRC_URI[cairo.md5sum] = "70a2ece66cf473d976e2db0f75bf199e"
SRC_URI[cairo.sha256sum] = "0f2ce4cc4615594088d74eb8b5360bad7c3cc3c3da9b61af9bfd979ed1ed94b2"
```
Update LICENSE field version to MPL-1 and LGPLv2.1 | ```bitbake
require cairo.inc
LICENSE = "MPL-1 LGPLv2.1"
PR = "r3"
SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz;name=cairo \
"
SRC_URI[cairo.md5sum] = "70a2ece66cf473d976e2db0f75bf199e"
SRC_URI[cairo.sha256sum] = "0f2ce4cc4615594088d74eb8b5360bad7c3cc3c3da9b61af9bfd979ed1ed94b2"
``` |
eef42c17-71dd-4b36-bc8d-0ecd2483ab66 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Asio 0.3.7 for work with boost, should be moved into boost package once integrated into the boost distribution."
HOMEPAGE = "http://asio.sf.net/"
MAINTAINER = "Martin Dietze <[email protected]>"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "Boost Software License"
PR = "r1"
inherit debian
SRC_URI = "${SOURCEFORGE_MIRROR}/asio/boost_asio_0_3_7.tar.bz2"
# mtx-[12] use 2.4 kernels but the kernel-libc-headers are from kernel 2.6,
# thus the automatic epoll detection does not work in epoll_reactor_fwd.hpp.
SRC_URI_append_mtx-1 = " file://disable-epoll.patch;patch=1"
SRC_URI_append_mtx-2 = " file://disable-epoll.patch;patch=1"
S = "${WORKDIR}/boost_asio_0_3_7"
do_configure() {
}
do_compile() {
}
do_install() {
cd ${S}
install -d ${D}/usr/include
cp -dpR boost ${D}/usr/include
}
do_stage() {
cd ${S}
install -d -m 775 ${STAGING_INCDIR}
cp -dpR boost ${STAGING_INCDIR}
}
PACKAGES = "${PN}-dev"
FILES_${PN}-dev = "/usr/include"
```
Remove inherit debian. We do not set distro policy in .bb files. | ```bitbake
DESCRIPTION = "Asio 0.3.7 for work with boost, should be moved into boost package once integrated into the boost distribution."
HOMEPAGE = "http://asio.sf.net/"
MAINTAINER = "Martin Dietze <[email protected]>"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "Boost Software License"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/asio/boost_asio_0_3_7.tar.bz2"
# mtx-[12] use 2.4 kernels but the kernel-libc-headers are from kernel 2.6,
# thus the automatic epoll detection does not work in epoll_reactor_fwd.hpp.
SRC_URI_append_mtx-1 = " file://disable-epoll.patch;patch=1"
SRC_URI_append_mtx-2 = " file://disable-epoll.patch;patch=1"
S = "${WORKDIR}/boost_asio_0_3_7"
do_configure() {
}
do_compile() {
}
do_install() {
cd ${S}
install -d ${D}/usr/include
cp -dpR boost ${D}/usr/include
}
do_stage() {
cd ${S}
install -d -m 775 ${STAGING_INCDIR}
cp -dpR boost ${STAGING_INCDIR}
}
PACKAGES = "${PN}-dev"
FILES_${PN}-dev = "/usr/include"
``` |
32be88f6-bf07-43a7-81b9-c9169dc77400 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Image Gallery"
HOMEPAGE = "https://gitorious.org/image-gallery"
SECTION = "multimedia"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9c57cc1cdee589f97cbba69e95a89a15"
require recipes-core/matrix/matrix-gui-paths.inc
inherit qt-provider
PR = "r1"
BRANCH = "master"
SRCREV = "1f89d5e6c160e87e73a9c06933e50c3981bbf41d"
SRC_URI = "git://gitorious.org/image-gallery/image-gallery.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git/"
do_install() {
install -d ${D}/${bindir}
install -m 0755 ${B}/image-gallery ${D}/${bindir}/image-gallery
install -d ${D}${MATRIX_APP_DIR}/qt-image-gallery
cp -rf matrix-files/* ${D}${MATRIX_APP_DIR}/qt-image-gallery
}
PACKAGES += "matrix-gui-apps-image-gallery"
RDEPENDS_matrix-gui-apps-image-gallery = "matrix-gui-apps-images matrix-gui-submenus-camera ${PN}"
FILES_matrix-gui-apps-image-gallery += "${MATRIX_APP_DIR}/*"
```
Fix installation of matrix files. | ```bitbake
DESCRIPTION = "Image Gallery"
HOMEPAGE = "https://gitorious.org/image-gallery"
SECTION = "multimedia"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9c57cc1cdee589f97cbba69e95a89a15"
require recipes-core/matrix/matrix-gui-paths.inc
inherit qt-provider
PR = "r2"
BRANCH = "master"
SRCREV = "1f89d5e6c160e87e73a9c06933e50c3981bbf41d"
SRC_URI = "git://gitorious.org/image-gallery/image-gallery.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git/"
do_install() {
install -d ${D}/${bindir}
install -m 0755 ${B}/image-gallery ${D}/${bindir}/image-gallery
install -d ${D}${MATRIX_APP_DIR}/qt-image-gallery
cp -rf ${S}/matrix-files/* ${D}${MATRIX_APP_DIR}/qt-image-gallery
}
PACKAGES += "matrix-gui-apps-image-gallery"
RDEPENDS_matrix-gui-apps-image-gallery = "matrix-gui-apps-images matrix-gui-submenus-camera ${PN}"
FILES_matrix-gui-apps-image-gallery += "${MATRIX_APP_DIR}/*"
``` |
af349583-ee2e-41d6-83dc-38c973eb0ff8 | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "Gesture Recognition And Instantiation Library"
HOMEPAGE = "https://launchpad.net/grail"
LICENSE = "GPLv3 & LGPLv3"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
"
inherit autotools pkgconfig
DEPENDS = "frame"
SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "0df1b3ec6167920f310e2effe6e2ad44"
SRC_URI[sha256sum] = "5eed1f650f042481daa3a2de5e7d43261fe343b2a1b1e240f3b7fc26572c9df3"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
PACKAGECONFIG[x11] = "--with-x11, --without-x11, libxi"
PACKAGE_BEFORE_PN += "${PN}-test"
FILES_${PN}-test = "${bindir}/grail-test*"
```
Disable elision warnings for clang | ```bitbake
SUMMARY = "Gesture Recognition And Instantiation Library"
HOMEPAGE = "https://launchpad.net/grail"
LICENSE = "GPLv3 & LGPLv3"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
"
inherit autotools pkgconfig
DEPENDS = "frame"
CXXFLAGS_append_toolchain-clang = " -Wno-pessimizing-move"
SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "0df1b3ec6167920f310e2effe6e2ad44"
SRC_URI[sha256sum] = "5eed1f650f042481daa3a2de5e7d43261fe343b2a1b1e240f3b7fc26572c9df3"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
PACKAGECONFIG[x11] = "--with-x11, --without-x11, libxi"
PACKAGE_BEFORE_PN += "${PN}-test"
FILES_${PN}-test = "${bindir}/grail-test*"
``` |
7826d14f-fef8-4f5b-b689-0d53f7839d18 | {
"language": "BitBake"
} | ```bitbake
# (c) Copyright 2012 Hewlett-Packard Development Company, L.P.
DESCRIPTION = "LunaPreferencesManager"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SECTION = "Linux/Multimedia"
PROVIDES = "luna-prefs"
DEPENDS += "luna-service2 mjson cjson sqlite3 glib-2.0"
inherit webos_component
inherit webos_public_repo
inherit webos_submissions
inherit webos_cmake
WEBOS_GIT_TAG = "${WEBOS_SUBMISSION}"
SRC_URI = "${OPENWEBOS_GIT_REPO}/${PN};tag=${WEBOS_GIT_TAG};protocol=git"
S = "${WORKDIR}/git"
FILES_${PN} += "${bindir} ${libdir} ${sysconfdir}"
```
Remove unneeded dependency on mjson | ```bitbake
# (c) Copyright 2012 Hewlett-Packard Development Company, L.P.
DESCRIPTION = "LunaPreferencesManager"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SECTION = "Linux/Multimedia"
PROVIDES = "luna-prefs"
DEPENDS += "luna-service2 cjson sqlite3 glib-2.0"
inherit webos_component
inherit webos_public_repo
inherit webos_submissions
inherit webos_cmake
WEBOS_GIT_TAG = "${WEBOS_SUBMISSION}"
SRC_URI = "${OPENWEBOS_GIT_REPO}/${PN};tag=${WEBOS_GIT_TAG};protocol=git"
S = "${WORKDIR}/git"
FILES_${PN} += "${bindir} ${libdir} ${sysconfdir}"
``` |
a1147c82-b81e-4369-9fbc-01dd7e3f79d8 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Phone input method manager module"
SECTION = "gpephone"
PRIORITY = "optional"
LICENSE = "LiPS"
DEPENDS = "gtk+ ptim-headers libiac"
PV = "0.1+svn-${SRCDATE}"
PR = "r1"
DEFAULT_PREFERENCE = "-1"
inherit gpephone pkgconfig autotools
SRC_URI = "svn://projects.linuxtogo.org/svn/gpephone/trunk/source/ptim;module=immanager \
file://gtkmodule-location.patch;patch=1;pnum=0"
S = "${WORKDIR}/immanager"
FILES_${PN} += "${libdir}/gtk-2.0/*/immodules/*.so ${libdir}/gtk-2.0/*/immodules/ptim"
FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/immodules/.debug/*.so"
FILES_${PN}-dev += "${libdir}/gtk-2.0/*/immodules/*.la"
do_install_append () {
# That's evil...
install -m 644 ${S}/conf/imconfig ${D}/${libdir}/gtk-2.0/*/immodules/ptim
}
do_stage () {
autotools_stage_all
}```
Remove patch which was applied upstream. | ```bitbake
DESCRIPTION = "Phone input method manager module"
SECTION = "gpephone"
PRIORITY = "optional"
LICENSE = "LiPS"
DEPENDS = "gtk+ ptim-headers libiac"
PV = "0.1+svn-${SRCDATE}"
PR = "r2"
DEFAULT_PREFERENCE = "-1"
inherit gpephone pkgconfig autotools
SRC_URI = "svn://projects.linuxtogo.org/svn/gpephone/trunk/source/ptim;module=immanager"
S = "${WORKDIR}/immanager"
FILES_${PN} += "${libdir}/gtk-2.0/*/immodules/*.so ${libdir}/gtk-2.0/*/immodules/ptim"
FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/immodules/.debug/*.so"
FILES_${PN}-dev += "${libdir}/gtk-2.0/*/immodules/*.la"
do_install_append () {
# That's evil...
install -m 644 ${S}/conf/imconfig ${D}/${libdir}/gtk-2.0/*/immodules/ptim
}
do_stage () {
autotools_stage_all
}``` |
cf80bb8d-cf8c-4a23-b9ac-35ac27af317c | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Library for reading some sort of media format."
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = ""
LICENSE = "LGPL"
PR = "r1"
inherit autotools
SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${PN}-${PV}.tar.gz"
S = "${WORKDIR}/${PN}"
PACKAGES =+ "lib${PN} lib${PN}-dev"
FILES_${PN} = " ${bindir}/faac "
FILES_lib${PN} = " ${libdir}/libfaac.so.*"
FILES_lib${PN}-dev = " ${includedir}/faac.h ${includedir}/faaccfg.h ${libdir}/libfaac.so ${libdir}/libfaac.la ${libdir}/libfaac.a "
SRC_URI[md5sum] = "e72dc74db17b42b06155613489077ad7"
SRC_URI[sha256sum] = "a5844ff3bce0d7c885af71f41da01395d3253dcfc33863306a027a78a7cfad9e"
```
Update LICENSE field version to LGPLv2 | ```bitbake
DESCRIPTION = "Library for reading some sort of media format."
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = ""
LICENSE = "LGPLv2 LGPLv2.1"
PR = "r2"
inherit autotools
SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${PN}-${PV}.tar.gz"
S = "${WORKDIR}/${PN}"
PACKAGES =+ "lib${PN} lib${PN}-dev"
FILES_${PN} = " ${bindir}/faac "
FILES_lib${PN} = " ${libdir}/libfaac.so.*"
FILES_lib${PN}-dev = " ${includedir}/faac.h ${includedir}/faaccfg.h ${libdir}/libfaac.so ${libdir}/libfaac.la ${libdir}/libfaac.a "
SRC_URI[md5sum] = "e72dc74db17b42b06155613489077ad7"
SRC_URI[sha256sum] = "a5844ff3bce0d7c885af71f41da01395d3253dcfc33863306a027a78a7cfad9e"
``` |
f098f94d-4c81-40ea-b101-e1a7912d7cbf | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "Capture and control API for IIDC compliant cameras"
HOMEPAGE = "http://sourceforge.net/projects/libdc1394/"
SECTION = "libs"
LICENSE = "LGPL-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=c848e78d9a4a5cc69906178e4d6fbd64"
# libsdl to provide sdl.m4 with AM_PATH_SDL
DEPENDS += "libusb1 libraw1394 libsdl"
PV = "2.2.5+gitr${SRCPV}"
SRCREV = "5e78f51936fd09db0c0f742c7d2c0e5bdbbeed56"
SRC_URI = "git://git.code.sf.net/p/libdc1394/code;branch=master;protocol=git \
file://install_examples.patch \
"
S = "${WORKDIR}/git/${PN}"
inherit autotools-brokensep pkgconfig
EXTRA_OECONF += "--disable-doxygen-doc --disable-examples"
```
Add X11 and opengl deps if distro has them in policy | ```bitbake
SUMMARY = "Capture and control API for IIDC compliant cameras"
HOMEPAGE = "http://sourceforge.net/projects/libdc1394/"
SECTION = "libs"
LICENSE = "LGPL-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=c848e78d9a4a5cc69906178e4d6fbd64"
# libsdl to provide sdl.m4 with AM_PATH_SDL
DEPENDS += "libusb1 libraw1394 libsdl \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxv virtual/libx11', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl libglu', '', d)} \
"
PV = "2.2.5+gitr${SRCPV}"
SRCREV = "5e78f51936fd09db0c0f742c7d2c0e5bdbbeed56"
SRC_URI = "git://git.code.sf.net/p/libdc1394/code;branch=master;protocol=git \
file://install_examples.patch \
"
S = "${WORKDIR}/git/${PN}"
inherit autotools-brokensep pkgconfig
EXTRA_OECONF += "--disable-doxygen-doc --disable-examples"
``` |
ba85ea14-40f1-4408-9f4b-d275ed9275c0 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Tool to edit the Redboot FIS partition layout from userspace"
PR = "r4"
SRC_URI = "svn://svn.nslu2-linux.org/svnroot/fis;module=trunk;proto=http"
S="${WORKDIR}/trunk"
export CFLAGS += "--std=c99"
do_install() {
${STRIP} ${S}/fis
install -d ${D}/${sbindir}
install -m 755 ${S}/fis ${D}/${sbindir}
}
```
Update to svn rev 6 | ```bitbake
DESCRIPTION = "Tool to edit the Redboot FIS partition layout from userspace"
PR = "r5"
SRC_URI = "svn://svn.nslu2-linux.org/svnroot/fis;module=trunk;proto=http;rev=6"
S="${WORKDIR}/trunk"
export CFLAGS += "--std=c99"
do_install() {
${STRIP} ${S}/fis
install -d ${D}/${sbindir}
install -m 755 ${S}/fis ${D}/${sbindir}
}
``` |
bb1eddb9-2be0-4d76-97c6-b909d469407e | {
"language": "BitBake"
} | ```bitbake
SECTION = "kernel"
DESCRIPTION = "Mainline Linux kernel"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)"
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
require linux.inc
# Pull in the devicetree files into the rootfs
RDEPENDS_kernel-base += "kernel-devicetree"
# Default is to use stable kernel version
# If you want to use latest git version set to "1"
DEFAULT_PREFERENCE = "-1"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
# 4.7 rc4
PV = "4.4+4.7rc4.git${SRCPV}"
SRCREV_pn-${PN} = "33688abb2802ff3a230bd2441f765477b94cc89e"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;branch=master \
file://defconfig \
"
S = "${WORKDIR}/git"
```
Change PV for kernel git version | ```bitbake
SECTION = "kernel"
DESCRIPTION = "Mainline Linux kernel"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)"
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
require linux.inc
# Pull in the devicetree files into the rootfs
RDEPENDS_kernel-base += "kernel-devicetree"
# Default is to use stable kernel version
# If you want to use latest git version set to "1"
DEFAULT_PREFERENCE = "-1"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
# 4.7 rc4
PV = "4.6+4.7rc4.git${SRCPV}"
SRCREV_pn-${PN} = "33688abb2802ff3a230bd2441f765477b94cc89e"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;branch=master \
file://defconfig \
"
S = "${WORKDIR}/git"
``` |
bff83362-c927-46bb-abb9-97b6643b99ef | {
"language": "BitBake"
} | ```bitbake
require u-boot-ti.inc
PR = "r32"
BRANCH = "ti-u-boot-2020.01"
SRCREV = "3352297ed065254b1a615fb16a7e4eefb07f9728"
```
Update to the latest commit | ```bitbake
require u-boot-ti.inc
PR = "r33"
BRANCH = "ti-u-boot-2020.01"
SRCREV = "6b5b982e98dde63832b3a68c84f990e63f732584"
``` |
7bdd0ddc-5490-421c-a971-632592da88dc | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "VPE test program"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
COMPATIBLE_MACHINE = "dra7xx"
SRCREV = "e3d8db1aa935775f9d196ad7428e0cd9864a36ca"
BRANCH ?= "master"
SRC_URI = "git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
# The test application needs additional include headers from the kernel
EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${FLOATABI}" KDIR="${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"'
do_install() {
oe_runmake DESTDIR="${D}" install
}
```
Add DEPENDS for the recipe | ```bitbake
DESCRIPTION = "VPE test program"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
DEPENDS = "virtual/kernel"
PR="r1"
COMPATIBLE_MACHINE = "dra7xx"
SRCREV = "e3d8db1aa935775f9d196ad7428e0cd9864a36ca"
BRANCH ?= "master"
SRC_URI = "git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
# The test application needs additional include headers from the kernel
EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${FLOATABI}" KDIR="${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"'
do_install() {
oe_runmake DESTDIR="${D}" install
}
``` |
6010a44b-3629-458f-8f8a-df1137e3d5ef | {
"language": "BitBake"
} | ```bitbake
require linux-ti-staging_5.10.bb
# Look in the generic major.minor directory for files
# This will have priority over generic non-rt path
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"
BRANCH = "ti-rt-linux-5.10.y"
SRCREV = "d238e71a2d3157a7faec48d4d3681b537a2e08cc"
PV = "5.10.41+git${SRCPV}"
```
Update linux-rt srcrev to 08.00.00.003 | ```bitbake
require linux-ti-staging_5.10.bb
# Look in the generic major.minor directory for files
# This will have priority over generic non-rt path
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"
BRANCH = "ti-rt-linux-5.10.y"
SRCREV = "bee192299392dc41c94f4603968b7a3c02f17a1d"
PV = "5.10.41+git${SRCPV}"
``` |
1da3e733-3ee7-48bd-b3d8-e1e4ed6019d7 | {
"language": "BitBake"
} | ```bitbake
# Image for Beagleboard-based robots
require recipes-images/angstrom/systemd-image.bb
DEPENDS += " \
libtirpc \
linux-firmware \
gst-plugins-base \
gst-plugins-ugly \
minicom \
avrdude \
ntp \
"
IMAGE_INSTALL += " \
libtirpc \
linux-firmware \
kernel-module-rt2x00usb \
kernel-module-rt2800usb \
kernel-module-uvcvideo \
kernel-module-ftdi-sio \
i2c-tools \
alsa-utils-amixer \
alsa-utils-aplay \
gst-plugins-base-audioconvert \
gst-plugins-base-audioresample \
gst-plugins-base-alsa \
gst-plugins-ugly-mad \
connman-tests \
python-dbus \
minicom \
avrdude \
espeak \
ntp \
"
export IMAGE_BASENAME = "robot-image"
```
Tweak image for USB audio and connman | ```bitbake
# Image for Beagleboard-based robots
require recipes-images/angstrom/systemd-image.bb
DEPENDS += " \
libtirpc \
linux-firmware \
gst-plugins-base \
gst-plugins-good \
gst-plugins-ugly \
minicom \
avrdude \
ntp \
"
IMAGE_INSTALL += " \
libtirpc \
linux-firmware \
kernel-module-rt2x00usb \
kernel-module-rt2800usb \
kernel-module-uvcvideo \
kernel-module-snd-usb-audio \
kernel-module-ftdi-sio \
i2c-tools \
alsa-utils-amixer \
alsa-utils-aplay \
gst-plugins-base-audioconvert \
gst-plugins-base-audioresample \
gst-plugins-base-alsa \
gst-plugins-ugly-mad \
python-pygobject \
python-dbus \
connman-tests \
minicom \
avrdude \
espeak \
ntp \
"
export IMAGE_BASENAME = "robot-image"
``` |
7fd655dc-467e-417c-b8d8-95758ec54639 | {
"language": "BitBake"
} | ```bitbake
```
Fix the build of unzip-5.52 (wrong S directory) | ```bitbake
DESCRIPTION = "A (de)compression library for the ZIP format"
SECTION = "console/utils"
LICENSE = "Info-ZIP"
SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip${PV}.tar.gz"
S = "${WORKDIR}/unzip-5.52"
do_compile() {
make -f unix/Makefile generic
}
do_install() {
make -f unix/Makefile install prefix=${D}${prefix}
}
``` |
d05aa8e2-65a5-4e80-8bcb-91bc2bdc28aa | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Packages that are required for the OpenSlug native build environment"
LICENSE = MIT
PR = "r2"
INHIBIT_DEFAULT_DEPS = "1"
ALLOW_EMPTY = 1
PACKAGES = "${PN}"
OPENSLUG_NATIVE = "\
automake \
bash \
binutils binutils-dev \
bison \
bzip2 \
coreutils \
cpp \
cvs \
flex \
gawk \
g++ g++-symlinks \
gcc gcc-symlinks \
glibc-extra-nss glibc-utils \
gnu-config \
libc6 libc6-dev \
libg2c-dev \
libgdbm3 \
libperl5 \
libreadline4 libreadline-dev \
libstdc++-dev \
libthread-db1 \
lrzsz \
m4 \
make \
ncurses ncurses-dev ncurses-terminfo \
patch \
sed \
tar \
util-linux \
wget \
"
RDEPENDS = '${OPENSLUG_NATIVE}'
```
Add gcc-symlinks, fix the files libpthread.so and libc.so from libc6-dev (that really should be fixed in there) | ```bitbake
DESCRIPTION = "Packages that are required for the OpenSlug native build environment"
LICENSE = MIT
PR = "r3"
INHIBIT_DEFAULT_DEPS = "1"
ALLOW_EMPTY = 1
PACKAGES = "${PN}"
OPENSLUG_NATIVE = "\
automake \
bash \
binutils binutils-dev \
bison \
bzip2 \
coreutils \
cpp cpp-symlinks \
cvs \
flex \
gawk \
g++ g++-symlinks \
gcc gcc-symlinks \
glibc-extra-nss glibc-utils \
gnu-config \
libc6 libc6-dev \
libg2c-dev \
libgdbm3 \
libperl5 \
libreadline4 libreadline-dev \
libstdc++-dev \
libthread-db1 \
lrzsz \
m4 \
make \
ncurses ncurses-dev ncurses-terminfo \
patch \
sed \
tar \
util-linux \
wget \
"
RDEPENDS = '${OPENSLUG_NATIVE}'
pkg_postinst_${PN} () {
# Fix some strange .so-files with strange comments in them. This should
# really be done in the packages providing these, but untill that, this
# works, and will not break anything when it actually gets fixed
tail -n 2 /usr/lib/libc.so > /tmp/tmpfile
mv /tmp/tmpfile /usr/lib/libc.so
tail -n 2 /usr/lib/libpthread.so > /tmp/tmpfile
mv /tmp/tmpfile /usr/lib/libpthread.so
}
``` |
5a66db38-8de7-49f1-bbbb-8794dde7843a | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "An audio format Conversion library"
HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
AUTHOR = "Erik de Castro Lopo"
SECTION = "libs/multimedia"
LICENSE = "LGPL"
PR = "r2"
SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz \
file://configure-fix.patch;patch=1"
S = "${WORKDIR}/libsndfile-${PV}"
inherit autotools lib_package pkgconfig
do_configure_prepend_arm() {
export ac_cv_sys_largefile_source=1
export ac_cv_sys_file_offset_bits=64
ac_cv_sizeof_off_t=8
}
do_stage() {
oe_libinstall -a -so -C src libsndfile ${STAGING_LIBDIR}
install -m 0644 ${S}/src/sndfile.h ${STAGING_INCDIR}/
}
```
Package unpackaged octave files to subpackage libsndfile1-octave. | ```bitbake
DESCRIPTION = "An audio format Conversion library"
HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
AUTHOR = "Erik de Castro Lopo"
SECTION = "libs/multimedia"
LICENSE = "LGPL"
PR = "r2"
SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz \
file://configure-fix.patch;patch=1"
S = "${WORKDIR}/libsndfile-${PV}"
inherit autotools lib_package pkgconfig
do_configure_prepend_arm() {
export ac_cv_sys_largefile_source=1
export ac_cv_sys_file_offset_bits=64
ac_cv_sizeof_off_t=8
}
do_stage() {
oe_libinstall -a -so -C src libsndfile ${STAGING_LIBDIR}
install -m 0644 ${S}/src/sndfile.h ${STAGING_INCDIR}/
}
PACKAGES =+ "${PN}-octave"
FILES_${PN}-octave += "/usr/share/octave/site/m"
``` |
4850c3e1-ea5f-4869-a28e-b5e5fd1761e4 | {
"language": "BitBake"
} | ```bitbake
SECTION = "kernel"
DESCRIPTION = "Linux kernel for ODROID devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
# Pull in the devicetree files into the rootfs
RDEPENDS_kernel-base += "kernel-devicetree"
# Specify dtb file
KERNEL_DEVICETREE_odroidxu-kvm = "exynos5410-odroidxu.dtb"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
COMPATIBLE_MACHINE = "odroidxu"
S = "${WORKDIR}/git"
BRANCH = "odroid-3.14.y-linaro"
SRCREV = "d66fd10dd31613ae4ec0d8e128c70dadb3411415"
PV = "3.14.0"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
PR = "${MACHINE_KERNEL_PR}"
SRC_URI = "git://github.com/hardkernel/linux.git;protocol=https;branch=${BRANCH} \
file://defconfig \
"
```
Fix source revision hash for linux source | ```bitbake
SECTION = "kernel"
DESCRIPTION = "Linux kernel for ODROID devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
# Pull in the devicetree files into the rootfs
RDEPENDS_kernel-base += "kernel-devicetree"
# Specify dtb file
KERNEL_DEVICETREE_odroidxu-kvm = "exynos5410-odroidxu.dtb"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
COMPATIBLE_MACHINE = "odroidxu"
S = "${WORKDIR}/git"
BRANCH = "odroid-3.14.y-linaro"
SRCREV = "f2083913678cde7c497401c148c0dd53106d9746"
PV = "3.14.0"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
PR = "${MACHINE_KERNEL_PR}"
SRC_URI = "git://github.com/hardkernel/linux.git;protocol=https;branch=${BRANCH} \
file://defconfig \
"
``` |
0f39acb9-9dcd-44cf-8e94-2824c05a3a6e | {
"language": "BitBake"
} | ```bitbake
# (C) Copyright 2019,
# National Instruments Corporation.
# All rights reserved.
SUMMARY = "Safemode specific packages for NI Linux Realtime distribution"
LICENSE = "MIT"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
RDEPENDS_${PN} = " \
initscripts-nilrt-safemode \
"
```
Add e2fsprogs utilities to support formatting ext4 filesystem | ```bitbake
# (C) Copyright 2019,
# National Instruments Corporation.
# All rights reserved.
SUMMARY = "Safemode specific packages for NI Linux Realtime distribution"
LICENSE = "MIT"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
RDEPENDS_${PN} = " \
initscripts-nilrt-safemode \
e2fsprogs \
e2fsprogs-e2fsck \
e2fsprogs-mke2fs \
e2fsprogs-tune2fs \
"
``` |
e5ef404b-fd2b-44ba-b7f0-c46e9aabf8ce | {
"language": "BitBake"
} | ```bitbake
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
inherit kde_cmake kde_rdepends
DEPENDS = "kde-workspace kde-runtime soprano shared-desktop-ontologies kdelibs4 libkactivities4"
RDEPENDS_${PN} = "plasma-contour-config kde-runtime shared-desktop-ontologies soprano libkactivities4"
RRECOMMENDS_${PN} = "kde-wallpapers"
SRC_URI = "git://anongit.kde.org/contour.git;branch=master"
SRCREV = "24b721c30aa36943e17ecc5ab2617ff4bc67cb2a"
PV = "Active-Two+git${SRCPV}"
S = "${WORKDIR}/git"
FILES_${PN} += "\
${libdir}/kde4/*.so \
\
${datadir}/apps/contour/* \
${datadir}/apps/plasma/* \
${datadir}/kde4/* \
${datadir}/autostart/* \
"
FILES_${PN}-dev += "${datadir}/cmake/*"
FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"
```
Move plasma-contour-config from RDEPENDS to RRECOMMENDS | ```bitbake
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
inherit kde_cmake kde_rdepends
DEPENDS = "kde-workspace kde-runtime soprano shared-desktop-ontologies kdelibs4 libkactivities4"
RDEPENDS_${PN} = "kde-runtime shared-desktop-ontologies soprano libkactivities4"
RRECOMMENDS_${PN} = "kde-wallpapers plasma-contour-config"
SRC_URI = "git://anongit.kde.org/contour.git;branch=master"
SRCREV = "24b721c30aa36943e17ecc5ab2617ff4bc67cb2a"
PV = "Active-Two+git${SRCPV}"
S = "${WORKDIR}/git"
FILES_${PN} += "\
${libdir}/kde4/*.so \
\
${datadir}/apps/contour/* \
${datadir}/apps/plasma/* \
${datadir}/kde4/* \
${datadir}/autostart/* \
"
FILES_${PN}-dev += "${datadir}/cmake/*"
FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"
``` |
89638729-ab89-4c2b-aefb-a925413c4424 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Configuration files for online package repositories of Openmoko community repository feeds"
PR = "r0.02"
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"
```
Fix the feed configuration Make the package buildable again | ```bitbake
DESCRIPTION = "Configuration files for online package repositories of Openmoko community repository feeds"
PR = "r0.02"
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/Multiverse-feed.conf"
PKG_TAGS_${PN} = "group::repos"
OPENMOKO_URI = "http://downloads.openmoko.org/repository"
``` |
1846f215-1bb6-413e-9237-ce2375987d9a | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Central Regulatory Domain Agent"
SECTION = "base"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"
PR = "r3"
DEPENDS = "libnl"
RDEPENDS_${PN} = "wireless-regdb"
S = "${WORKDIR}/git"
SRC_URI = "git://github.com/mcgrof/crda.git;protocol=git;tag=v1.1.3"
CFLAGS_append =" -DCONFIG_LIBNL32 -I${STAGING_INCDIR}/libnl3"
LDFLAGS_append =" -lnl-3 -lnl-genl-3 -lm"
do_compile() {
${CC} ${CFLAGS} ${S}/reglib.c ${S}/crda.c -o crda ${LDFLAGS}
}
do_install() {
install -m 0755 -d ${D}${bindir}
install -m 0755 ${S}/crda ${D}${bindir}
}
```
Add regulatory rules to the ipk needed by udev. | ```bitbake
DESCRIPTION = "Central Regulatory Domain Agent"
SECTION = "base"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"
PR = "r4"
DEPENDS = "libnl"
RDEPENDS_${PN} = "\
wireless-regdb \
udev \
"
S = "${WORKDIR}/git"
SRC_URI = "git://github.com/mcgrof/crda.git;protocol=git;tag=v1.1.3"
CFLAGS_append =" -DCONFIG_LIBNL32 -I${STAGING_INCDIR}/libnl3"
LDFLAGS_append =" -lnl-3 -lnl-genl-3 -lm"
do_compile() {
${CC} ${CFLAGS} ${S}/reglib.c ${S}/crda.c -o crda ${LDFLAGS}
}
do_install() {
install -m 0755 -d ${D}${bindir}
install -m 0755 ${S}/crda ${D}${bindir}
install -m 0755 -d ${D}/lib/udev/rules.d
sed 's:$(SBINDIR):${bindir}/:' ${S}/udev/regulatory.rules > ${S}/udev/regulatory.rules.parsed
install -m 0755 ${S}/udev/regulatory.rules.parsed ${D}/lib/udev/rules.d/85-regulatory.rules
}
FILES_${PN} += "${base_libdir}/udev/rules.d/85-regulatory.rules"
``` |
f8a33068-b13b-4e60-8437-b8c873b9e688 | {
"language": "BitBake"
} | ```bitbake
LICENSE = "GPL"
DESCRIPTION = "lftp is a sophisticated command line based file \
transfer program. Supported protocols include FTP, HTTP, \
and FISH."
HOMEPAGE = "http://lftp.yar.ru"
SECTION = "console/network"
DEPENDS = "readline gnutls"
SRC_URI = "ftp://ftp.wiretapped.net/pub/mirrors/lftp/old/lftp-3.5.1.tar.bz2"
EXTRA_OECONF = "--disable-largefile --disable-rpath --with-included-readline=no"
inherit autotools gettext
```
Delete the custom iconv.m4 in favor of the staged one fixing the uclibc build Make it use the libiconv iconv.m4 instead of the custom copy | ```bitbake
LICENSE = "GPL"
DESCRIPTION = "lftp is a sophisticated command line based file \
transfer program. Supported protocols include FTP, HTTP, \
and FISH."
HOMEPAGE = "http://lftp.yar.ru"
SECTION = "console/network"
DEPENDS = "readline gnutls"
SRC_URI = "ftp://ftp.wiretapped.net/pub/mirrors/lftp/old/lftp-3.5.1.tar.bz2"
EXTRA_OECONF = "--disable-largefile --disable-rpath --with-included-readline=no"
do_configure_prepend () {
rm ${S}/m4/iconv.m4
}
inherit autotools gettext
``` |
35d8adf0-cdfb-4b1c-a486-2fa4a1951b0e | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "fifo maps for c++"
HOMEPAGE = "https://github.com/nlohmann/fifo_map"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=b67209a1e36b682a8226de19d265b1e0"
SRC_URI = "git://github.com/nlohmann/fifo_map.git;branch=master;protocol=https"
PV = "1.0.0+git${SRCPV}"
SRCREV = "0dfbf5dacbb15a32c43f912a7e66a54aae39d0f9"
UPSTREAM_CHECK_COMMITS = "1"
S = "${WORKDIR}/git"
# nlohmann-fifo is a header only C++ library, so the main package will be empty.
RDEPENDS:${PN}-dev = ""
BBCLASSEXTEND = "native nativesdk"
do_install() {
install -d ${D}${includedir}
install -m 0644 ${S}/src/fifo_map.hpp ${D}${includedir}
}
```
Update to tip of trunk | ```bitbake
SUMMARY = "fifo maps for c++"
HOMEPAGE = "https://github.com/nlohmann/fifo_map"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=b67209a1e36b682a8226de19d265b1e0"
SRC_URI = "git://github.com/nlohmann/fifo_map.git;branch=master;protocol=https"
PV = "1.0.0+git${SRCPV}"
SRCREV = "d732aaf9a315415ae8fd7eb11e3a4c1f80e42a48"
UPSTREAM_CHECK_COMMITS = "1"
S = "${WORKDIR}/git"
# nlohmann-fifo is a header only C++ library, so the main package will be empty.
RDEPENDS:${PN}-dev = ""
BBCLASSEXTEND = "native nativesdk"
do_install() {
install -d ${D}${includedir}
install -m 0644 ${S}/src/fifo_map.hpp ${D}${includedir}
}
``` |
986aadf0-8eac-4861-81ad-9f8e6eeb46f0 | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "Checksec tool"
DESCRIPTION = "The checksec.sh script is designed to test what standard Linux OS and PaX security features are being used."
SECTION = "security"
LICENSE = "BSD-3-Clause"
HOMEPAGE="http://www.trapkit.de/tools/checksec.html"
LIC_FILES_CHKSUM = "file://checksec.sh;beginline=3;endline=34;md5=6dab14470bfdf12634b866dbdd7a04b0"
SRC_URI = "http://www.trapkit.de/tools/checksec.sh"
SRC_URI[md5sum] = "57cc3fbbbe48e8ebd4672c569954374d"
SRC_URI[sha256sum] = "05822cd8668589038d20650faa0e56f740911d8ad06f7005b3d12a5c76591b90"
S = "${WORKDIR}"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/checksec.sh ${D}${bindir}
}
RDEPENDS_${PN} = "bash binutils"
BBCLASSEXTEND = "native"
```
Convert checksec to unix format | ```bitbake
SUMMARY = "Checksec tool"
DESCRIPTION = "The checksec.sh script is designed to test what standard Linux OS and PaX security features are being used."
SECTION = "security"
LICENSE = "BSD-3-Clause"
HOMEPAGE="http://www.trapkit.de/tools/checksec.html"
LIC_FILES_CHKSUM = "file://checksec.sh;beginline=3;endline=34;md5=6dab14470bfdf12634b866dbdd7a04b0"
SRC_URI = "http://www.trapkit.de/tools/checksec.sh"
SRC_URI[md5sum] = "57cc3fbbbe48e8ebd4672c569954374d"
SRC_URI[sha256sum] = "05822cd8668589038d20650faa0e56f740911d8ad06f7005b3d12a5c76591b90"
S = "${WORKDIR}"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/checksec.sh ${D}${bindir}
sed -i 's/\r//' ${D}${bindir}/checksec.sh
}
RDEPENDS_${PN} = "bash binutils"
BBCLASSEXTEND = "native"
``` |
26408f8a-028d-4119-9539-e6ccc7a74937 | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "PMU ROM for QEMU"
DESCRIPTION = "The ZynqMP PMU ROM for QEMU emulation"
HOMEPAGE = "http://www.xilinx.com"
SECTION = "bsp"
LICENSE = "Proprietary"
LICENSE_FLAGS = "xilinx"
LIC_FILES_CHKSUM = "file://PMU_ROM-LICENSE.txt;md5=d43d49bc1eb1c907fc6f4ea75abafdfc"
SRC_URI = "https://www.xilinx.com/bin/public/openDownload?filename=PMU_ROM.tar.gz"
SRC_URI[sha256sum] = "f9a450ef960979463ea0a87a35fafb4a5b62d3a741de30cbcef04c8edc22a7cf"
S = "${WORKDIR}/PMU_ROM"
inherit deploy native
INHIBIT_DEFAULT_DEPS = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"
do_compile[noexec] = "1"
do_install[noexec] = "1"
do_deploy () {
install -D ${S}/pmu-rom.elf ${DEPLOYDIR}/pmu-rom.elf
}
addtask deploy before do_build after do_install
```
Remove PACKAGE_ARCH and skip do_configure | ```bitbake
SUMMARY = "PMU ROM for QEMU"
DESCRIPTION = "The ZynqMP PMU ROM for QEMU emulation"
HOMEPAGE = "http://www.xilinx.com"
SECTION = "bsp"
LICENSE = "Proprietary"
LICENSE_FLAGS = "xilinx"
LIC_FILES_CHKSUM = "file://PMU_ROM-LICENSE.txt;md5=d43d49bc1eb1c907fc6f4ea75abafdfc"
SRC_URI = "https://www.xilinx.com/bin/public/openDownload?filename=PMU_ROM.tar.gz"
SRC_URI[sha256sum] = "f9a450ef960979463ea0a87a35fafb4a5b62d3a741de30cbcef04c8edc22a7cf"
S = "${WORKDIR}/PMU_ROM"
inherit deploy native
INHIBIT_DEFAULT_DEPS = "1"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install[noexec] = "1"
do_deploy () {
install -D ${S}/pmu-rom.elf ${DEPLOYDIR}/pmu-rom.elf
}
addtask deploy before do_build after do_install
``` |
9d298d70-f319-4363-9a8f-df212b03ed62 | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "A tiny C support library"
SECTION = "libs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b"
SRC_URI = "http://www.balabit.com/downloads/files/libol/0.3/${BP}.tar.gz \
file://configure.patch"
SRC_URI[md5sum] = "cbadf4b7ea276dfa85acc38a1cc5ff17"
SRC_URI[sha256sum] = "9de3bf13297ff882e02a1e6e5f6bf760a544aff92a9d8a1cf4328a32005cefe7"
inherit autotools binconfig
do_compile_prepend() {
install ${S}/utils/make_class.in ${B}/utils
}
do_install_append() {
rm -fr ${D}${bindir}
}
```
Add HOMEPAGE info into recipe file. | ```bitbake
SUMMARY = "A tiny C support library"
HOMEPAGE = "https://my.balabit.com/downloads/libol"
SECTION = "libs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b"
SRC_URI = "http://www.balabit.com/downloads/files/libol/0.3/${BP}.tar.gz \
file://configure.patch"
SRC_URI[md5sum] = "cbadf4b7ea276dfa85acc38a1cc5ff17"
SRC_URI[sha256sum] = "9de3bf13297ff882e02a1e6e5f6bf760a544aff92a9d8a1cf4328a32005cefe7"
inherit autotools binconfig
do_compile_prepend() {
install ${S}/utils/make_class.in ${B}/utils
}
do_install_append() {
rm -fr ${D}${bindir}
}
``` |
d9a4027e-b7e6-4178-9231-007b573ef701 | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "Zstandard - Fast real-time compression algorithm"
HOMEPAGE = "http://www.zstd.net"
LICENSE = "BSD & GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c7f0b161edbe52f5f345a3d1311d0b32 \
file://contrib/linux-kernel/COPYING;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0"
SRCREV = "f3a8bd553a865c59f1bd6e1f68bf182cf75a8f00"
PV = "1.3.3+git${SRCPV}"
# required as we started with a wrong version (1.33)
PE = "1"
SRC_URI = "git://github.com/facebook/zstd.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
EXTRA_OECMAKE_append = " -DTHREADS_PTHREAD_ARG=0"
do_install() {
oe_runmake DESTDIR=${D} install
}
BBCLASSEXTEND = "native"
```
Enable build of the nativesdk package | ```bitbake
SUMMARY = "Zstandard - Fast real-time compression algorithm"
HOMEPAGE = "http://www.zstd.net"
LICENSE = "BSD & GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c7f0b161edbe52f5f345a3d1311d0b32 \
file://contrib/linux-kernel/COPYING;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0"
SRCREV = "f3a8bd553a865c59f1bd6e1f68bf182cf75a8f00"
PV = "1.3.3+git${SRCPV}"
# required as we started with a wrong version (1.33)
PE = "1"
SRC_URI = "git://github.com/facebook/zstd.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
EXTRA_OECMAKE_append = " -DTHREADS_PTHREAD_ARG=0"
do_install() {
oe_runmake DESTDIR=${D} install
}
BBCLASSEXTEND = "native nativesdk"
``` |
09e62f55-9035-46a6-921f-15ad2e35a8aa | {
"language": "BitBake"
} | ```bitbake
require u-boot-ti.inc
PR = "r18"
BRANCH = "ti-u-boot-2020.01"
SRCREV = "eea73800730b3d9125f5c12a629db2f88e566b71"
```
Update to latest HEAD for j7 build | ```bitbake
require u-boot-ti.inc
PR = "r19"
BRANCH = "ti-u-boot-2020.01"
SRCREV = "bf0a77ee8e102e921c8f08f8e919a45ffb270ebe"
``` |
59cd2e71-8b13-4baf-a35c-18872d1a15bb | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "FBreader is an ebook reader"
LICENSE = "GPL2"
HOMEPAGE = "http://only.mawhrin.net/fbreader/"
SECTION = "x11/utils"
PRIORITY = "optional"
DEPENDS = "gtk+ enca expat bzip2"
PR = "r0"
SRC_URI = "http://only.mawhrin.net/fbreader/fbreader-sources-${PV}.tgz \
file://fbreader-0.7.4q_buildsys_oe.patch;patch=1"
FILES_${PN} += "${datadir}/FBReader ${datadir}/zlibrary"
CFLAGS_append = " RESOLUTION=240x320 INSTALLDIR=/usr"
EXTRA_OEMAKE = "CC='${CXX}' LD='${CXX}' OE_CFLAGS='${CXXFLAGS}' INCPATH='${STAGING_INCDIR}' LIBPATH='${STAGING_LIBDIR}'"
inherit pkgconfig
do_install () {
cd fbreader/openzaurus; oe_runmake .builddir RESOLUTION=240x320
cp -r data/* ${D}
}
```
Fix DEPENDS and update SRC_URI | ```bitbake
DESCRIPTION = "FBreader is an ebook reader"
LICENSE = "GPL2"
HOMEPAGE = "http://only.mawhrin.net/fbreader/"
SECTION = "x11/utils"
PRIORITY = "optional"
DEPENDS = "gtk+ enca expat bzip2 libgpewidget"
PR = "r1"
SRC_URI = "http://only.mawhrin.net/fbreader/obsolete/fbreader-sources-${PV}.tgz \
file://fbreader-0.7.4q_buildsys_oe.patch;patch=1"
FILES_${PN} += "${datadir}/FBReader ${datadir}/zlibrary"
CFLAGS_append = " RESOLUTION=240x320 INSTALLDIR=/usr"
EXTRA_OEMAKE = "CC='${CXX}' LD='${CXX}' OE_CFLAGS='${CXXFLAGS}' INCPATH='${STAGING_INCDIR}' LIBPATH='${STAGING_LIBDIR}'"
inherit pkgconfig
do_install () {
cd fbreader/openzaurus; oe_runmake .builddir RESOLUTION=240x320
cp -r data/* ${D}
}
``` |
67ab5bfc-092b-4e00-a122-86042f50e309 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Mender tool for doing OTA software updates."
HOMEPAGE = "https://mender.io/"
#From oe-meta-go (https://github.com/mem/oe-meta-go)
DEPENDS = "go-cross godep"
S = "${WORKDIR}/git"
inherit go
SRC_URI = "git://github.com/mendersoftware/mender;protocol=https \
file://mender.service \
"
SRCREV = "${AUTOREV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit systemd
#FILESEXTRAPATHS_prepend := " ${THISDIR}/mender:"
#SRC_URI += "file://mender.service"
SYSTEMD_SERVICE_${PN} = "mender.service"
FILES_${PN} += "${systemd_unitdir}/system/mender.service \
"
do_compile() {
GOPATH="${B}:${S}"
export GOPATH
PATH="${B}/bin:$PATH"
export PATH
cd "${S}"
godep go build -o "${B}/mender"
}
do_install() {
install -d "${D}/${bindir}"
install -m 0755 "${B}/mender" "${D}/${bindir}"
install -d ${D}/${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/mender.service ${D}/${systemd_unitdir}/system
}
```
Remove unneeded and commented code. | ```bitbake
DESCRIPTION = "Mender tool for doing OTA software updates."
HOMEPAGE = "https://mender.io/"
#From oe-meta-go (https://github.com/mem/oe-meta-go)
DEPENDS = "go-cross godep"
S = "${WORKDIR}/git"
inherit go
SRC_URI = "git://github.com/mendersoftware/mender;protocol=https \
file://mender.service \
"
SRCREV = "${AUTOREV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit systemd
SYSTEMD_SERVICE_${PN} = "mender.service"
FILES_${PN} += "${systemd_unitdir}/system/mender.service \
"
do_compile() {
GOPATH="${B}:${S}"
export GOPATH
PATH="${B}/bin:$PATH"
export PATH
cd "${S}"
godep go build -o "${B}/mender"
}
do_install() {
install -d "${D}/${bindir}"
install -m 0755 "${B}/mender" "${D}/${bindir}"
install -d ${D}/${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/mender.service ${D}/${systemd_unitdir}/system
}
``` |
776499f0-83eb-4cb6-93af-a9fd9372d989 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Yet Another JSON Library - A Portable JSON parsing and serialization library in ANSI C"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=da2e9aa80962d54e7c726f232a2bd1e8"
inherit cmake
# corresponds to tag 1.0.12
SRCREV = "17b1790fb9c8abbb3c0f7e083864a6a014191d56"
SRC_URI = "git://github.com/lloyd/${PN}"
S = "${WORKDIR}/git"
```
Add nobranch param to SRC_URI | ```bitbake
# Copyright (c) 2012-2014 LG Electronics, Inc.
DESCRIPTION = "Yet Another JSON Library - A Portable JSON parsing and serialization library in ANSI C"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=da2e9aa80962d54e7c726f232a2bd1e8"
inherit cmake
# corresponds to tag 1.0.12
SRCREV = "17b1790fb9c8abbb3c0f7e083864a6a014191d56"
SRC_URI = "git://github.com/lloyd/${PN};nobranch=1"
S = "${WORKDIR}/git"
``` |
d8eaba58-1e91-4b45-b3e2-1fee0b43341b | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Utility to dump IrDA traffic."
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "glib-2.0 pkgconfig"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \
file://glib2.patch"
S="${WORKDIR}/irda-utils-${PV}/irdadump"
EXTRA_CFLAGS += "`pkg-config --cflags glib-2.0`"
EXTRA_LDFLAGS += "`pkg-config --libs glib-2.0`"
inherit autotools
do_compile() {
oe_runmake CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}" LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
}
do_install () {
install -d ${D}${bindir}
install -m 0755 ${S}/shell/.libs/irdadump ${D}${bindir}
}
SRC_URI[md5sum] = "2ff18f0571b5a331be7cd22fc3decd41"
SRC_URI[sha256sum] = "09a30fa12d81014b2877e8b5c36f5a341788579669d72f2dec0e29d22efe11e9"
```
Use standard installation. * Fixes installation failure with new libtool. | ```bitbake
DESCRIPTION = "Utility to dump IrDA traffic."
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "glib-2.0 pkgconfig"
PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \
file://glib2.patch"
S="${WORKDIR}/irda-utils-${PV}/irdadump"
EXTRA_CFLAGS += "`pkg-config --cflags glib-2.0`"
EXTRA_LDFLAGS += "`pkg-config --libs glib-2.0`"
inherit autotools
do_compile() {
oe_runmake CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}" LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
}
SRC_URI[md5sum] = "2ff18f0571b5a331be7cd22fc3decd41"
SRC_URI[sha256sum] = "09a30fa12d81014b2877e8b5c36f5a341788579669d72f2dec0e29d22efe11e9"
``` |
2a855ede-a4d7-49e6-8521-572c50c519f2 | {
"language": "BitBake"
} | ```bitbake
require recipes-image/images/tizen-common-core-image-minimal.bb
SUMMARY = "A Wayland image with a terminal and crosswalk"
LICENSE = "MIT"
DESCRIPTION = "A weston image with Tizen common ."
# Crosswalk
CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-crosswalk"
# Time zone
CORE_IMAGE_EXTRA_INSTALL += "tzdata wgt-backend"
```
Update Image recipes : add security manager package | ```bitbake
require recipes-image/images/tizen-common-core-image-minimal.bb
SUMMARY = "A Wayland image with a terminal and crosswalk"
LICENSE = "MIT"
DESCRIPTION = "A weston image with Tizen common ."
# Crosswalk
CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-crosswalk"
# Time zone
CORE_IMAGE_EXTRA_INSTALL += "tzdata security-manager"
``` |
c2f3af00-8e32-4f33-a5bc-a2e1aafffae1 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "roscpp is a C++ implementation of ROS. It provides a client \
library that enables C++ programmers to quickly interface with ROS Topics, \
Services, Parameters. roscpp is the most widely used ROS client library and is designed to \
be the high-performance library for ROS."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=16;endline=16;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "\
catkin-native cpp-common message-generation-native rosconsole roscpp-serialization \
roscpp-traits rosgraph-msgs roslang rostime std-msgs xmlrpcpp \
"
require ros-comm.inc
S = "${WORKDIR}/ros_comm-${PV}/clients/${BPN}"
```
Add devel space include path to cflags | ```bitbake
DESCRIPTION = "roscpp is a C++ implementation of ROS. It provides a client \
library that enables C++ programmers to quickly interface with ROS Topics, \
Services, Parameters. roscpp is the most widely used ROS client library and is designed to \
be the high-performance library for ROS."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=16;endline=16;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "\
catkin-native cpp-common message-generation-native rosconsole roscpp-serialization \
roscpp-traits rosgraph-msgs roslang rostime std-msgs xmlrpcpp \
"
require ros-comm.inc
S = "${WORKDIR}/ros_comm-${PV}/clients/${BPN}"
CXXFLAGS_append = " -I${OECMAKE_BUILDPATH}/devel/include"
``` |
18a850c4-0f8b-4643-800b-063c4717b38b | {
"language": "BitBake"
} | ```bitbake
# Kernel for Freecom FSG-3
#
# This bitbake file pulls patches and the defconfig straight
# from the NSLU2-Linux SVN repository. Information about this
# repository can be found at:
# http://trac.nslu2-linux.org/kernel/
#
# The revision that is pulled from SVN is specified below
IXP4XX_KERNEL_SVN_REV = "898"
#
# The directory containing the patches to be applied is
# specified below
IXP4XX_KERNEL_PATCH_DIR = "2.6.18-fsg3"
#
# Increment the number below (i.e. the digits after PR) when
# the changes in SVN between revisions include changes in the
# patches applied to the kernel, rather than simply defconfig
# changes
PR = "r1.${IXP4XX_KERNEL_SVN_REV}"
require ixp4xx-kernel.inc
require ixp4xx-kernel-svnpatch.inc
```
Update to latest svn defconfig | ```bitbake
# Kernel for Freecom FSG-3
#
# This bitbake file pulls patches and the defconfig straight
# from the NSLU2-Linux SVN repository. Information about this
# repository can be found at:
# http://trac.nslu2-linux.org/kernel/
#
# The revision that is pulled from SVN is specified below
IXP4XX_KERNEL_SVN_REV = "902"
#
# The directory containing the patches to be applied is
# specified below
IXP4XX_KERNEL_PATCH_DIR = "2.6.18-fsg3"
#
# Increment the number below (i.e. the digits after PR) when
# the changes in SVN between revisions include changes in the
# patches applied to the kernel, rather than simply defconfig
# changes
PR = "r1.${IXP4XX_KERNEL_SVN_REV}"
require ixp4xx-kernel.inc
require ixp4xx-kernel-svnpatch.inc
``` |
efb8b802-3ab6-4540-91dd-c44da02c554e | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "XStream Server"
LICENSE = "GPL-2"
PR = "r1"
SRC_URI = "http://surfnet.dl.sourceforge.net/sourceforge/xbplayer/${P}.tar.gz \
file://ccxstream-termcap.patch;patch=1 \
file://ccxstream.init \
file://ccxstream.conf"
inherit autotools
do_install() {
# add startup and sample config
install -d ${D}${sysconfdir}/init.d
install -d ${D}${sbindir}
install -m 0755 ${WORKDIR}/ccxstream.init ${D}${sysconfdir}/init.d/ccxstream
install -m 0644 ${WORKDIR}/ccxstream.conf ${D}${sysconfdir}/ccxstream.conf
install -m 0755 ccxstream ${D}${sbindir}/ccxstream || exit 1
}
```
Make ccxstream depend on readline | ```bitbake
DESCRIPTION = "XStream Server"
DEPENDS = "readline"
LICENSE = "GPL-2"
PR = "r2"
SRC_URI = "http://surfnet.dl.sourceforge.net/sourceforge/xbplayer/${P}.tar.gz \
file://ccxstream-termcap.patch;patch=1 \
file://ccxstream.init \
file://ccxstream.conf"
inherit autotools
do_install() {
# add startup and sample config
install -d ${D}${sysconfdir}/init.d
install -d ${D}${sbindir}
install -m 0755 ${WORKDIR}/ccxstream.init ${D}${sysconfdir}/init.d/ccxstream
install -m 0644 ${WORKDIR}/ccxstream.conf ${D}${sysconfdir}/ccxstream.conf
install -m 0755 ccxstream ${D}${sbindir}/ccxstream || exit 1
}
``` |
7ed8bad0-0cef-4b6a-a23f-e2adc14a3745 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Library for interacting with ID3 tags"
SECTION = "libs/multimedia"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "zlib"
PR = "r3"
SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \
file://libid3tag-pkg-config.patch"
SRC_URI[md5sum] = "e5808ad997ba32c498803822078748c3"
SRC_URI[sha256sum] = "63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151"
inherit autotools pkgconfig
EXTRA_OECONF = "-enable-speed"
```
Update LICENSE field version to GPLv2 | ```bitbake
DESCRIPTION = "Library for interacting with ID3 tags"
SECTION = "libs/multimedia"
PRIORITY = "optional"
LICENSE = "GPLv2+"
DEPENDS = "zlib"
PR = "r4"
SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \
file://libid3tag-pkg-config.patch"
SRC_URI[md5sum] = "e5808ad997ba32c498803822078748c3"
SRC_URI[sha256sum] = "63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151"
inherit autotools pkgconfig
EXTRA_OECONF = "-enable-speed"
``` |
3d8c254b-9e1e-4bfb-a0ae-0fa8948d1d63 | {
"language": "BitBake"
} | ```bitbake
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 \
gdb \
gdbserver \
"
export IMAGE_BASENAME = "archos-console-image"
IMAGE_LINGUAS = ""```
Add extra disk space to the image, so additional files can be uploaded | ```bitbake
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 \
gdb \
gdbserver \
"
IMAGE_EXTRA_SPACE = 65536
export IMAGE_BASENAME = "archos-console-image"
IMAGE_LINGUAS = ""``` |
c90ef649-3720-4bab-800c-f2c66f82076e | {
"language": "BitBake"
} | ```bitbake
# This image extends fsl-image-multimedia with the following:
# XFCE desktop
# Disk formatting tools
# Modem and wireless support
IMAGE_FEATURES += "\
${@base_contains('DISTRO_FEATURES', 'x11', 'x11-base', '', d)} \
"
LICENSE = "MIT"
inherit core-image
CORE_IMAGE_EXTRA_INSTALL += " \
packagegroup-fsl-gstreamer \
packagegroup-fsl-tools-gpu \
${@base_contains('DISTRO_FEATURES', 'directfb', 'packagegroup-core-directfb', '', d)} \
${@base_contains('DISTRO_FEATURES', 'x11', '', \
base_contains('DISTRO_FEATURES', 'wayland', \
'weston weston-init weston-examples \
gtk+3-demo clutter-1.0-examples', '', d), d)} \
"
CORE_IMAGE_EXTRA_INSTALL += " \
packagegroup-fsl-gstreamer-full \
"
IMAGE_INSTALL_append = " e2fsprogs-mke2fs dosfstools"
IMAGE_INSTALL_append = " packagegroup-xfce-extended midori"
IMAGE_INSTALL_append = " ppp wvdial linux-firmware canutils"
IMAGE_INSTALL_append = " opal6-apps-led-demo opal6-apps-rs485-test"
```
Correct dependencies for XFCE demo image | ```bitbake
# This image extends fsl-image-multimedia_full with the following:
# XFCE desktop
# Disk formatting tools
# Modem and wireless support
require recipes-fsl/images/fsl-image-multimedia-full.bb
IMAGE_INSTALL_append = " e2fsprogs-mke2fs dosfstools"
IMAGE_INSTALL_append = " packagegroup-xfce-extended midori"
IMAGE_INSTALL_append = " ppp wvdial linux-firmware canutils"
IMAGE_INSTALL_append = " opal6-apps-led-demo opal6-apps-rs485-test"
``` |
48ec91df-b9e9-4611-aea7-9dee6ebdbcf7 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Packages that are to be compiled nativly for the OpenSlug firmware"
LICENSE = MIT
PR = "r1"
INHIBIT_DEFAULT_DEPS = "1"
ALLOW_EMPTY = 1
PACKAGES = "${PN}"
OPENSLUG_NATIVE_PACKAGES = "\
"
BROKEN_PACKAGES = "\
"
DEPENDS = '${OPENSLUG_NATIVE_PACKAGES} \
package-index'
```
Add a few packages to test with | ```bitbake
DESCRIPTION = "Packages that are to be compiled nativly for the OpenSlug firmware"
LICENSE = MIT
PR = "r2"
INHIBIT_DEFAULT_DEPS = "1"
ALLOW_EMPTY = 1
PACKAGES = "${PN}"
# Just something the test with
OPENSLUG_NATIVE_PACKAGES = "\
gzip \
vlan \
"
BROKEN_PACKAGES = "\
"
DEPENDS = '${OPENSLUG_NATIVE_PACKAGES} \
package-index'
``` |
379c356b-57e7-4da8-86db-88f90822bd5f | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "Freedesktop sound theme"
HOMEPAGE = "http://freedesktop.org/wiki/Specifications/sound-theme-spec"
LICENSE = "GPLv2+ CC-BY-3.0 CC-BY-SA-3.0"
LIC_FILES_CHKSUM = "file://CREDITS;md5=3213e601ce34bb42ddc3498903ac4e69"
# glib-2.0 for glib-gettext.m4 which provides AM_GLIB_GNU_GETTEXT
# intltool for intltool.m4 which provides IT_PROG_INTLTOOL
DEPENDS = "glib-2.0 intltool-native"
inherit autotools gettext
DEPENDS += "glib-2.0-native intltool-native"
SRC_URI = "http://people.freedesktop.org/~mccann/dist/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "d7387912cfd275282d1ec94483cb2f62"
SRC_URI[sha256sum] = "cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14"
```
Fix license format QA error | ```bitbake
SUMMARY = "Freedesktop sound theme"
HOMEPAGE = "http://freedesktop.org/wiki/Specifications/sound-theme-spec"
LICENSE = "GPLv2+ & CC-BY-3.0 & CC-BY-SA-3.0"
LIC_FILES_CHKSUM = "file://CREDITS;md5=3213e601ce34bb42ddc3498903ac4e69"
# glib-2.0 for glib-gettext.m4 which provides AM_GLIB_GNU_GETTEXT
# intltool for intltool.m4 which provides IT_PROG_INTLTOOL
DEPENDS = "glib-2.0 intltool-native"
inherit autotools gettext
DEPENDS += "glib-2.0-native intltool-native"
SRC_URI = "http://people.freedesktop.org/~mccann/dist/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "d7387912cfd275282d1ec94483cb2f62"
SRC_URI[sha256sum] = "cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14"
``` |
7bd60560-b983-40d9-8a4a-2cb19576dcb9 | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "Python client for Redis key-value store"
DESCRIPTION = "The Python interface to the Redis key-value store."
HOMEPAGE = "http://github.com/andymccurdy/redis-py"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=51d9ad56299ab60ba7be65a621004f27"
SRC_URI[md5sum] = "048348d8cfe0b5d0bba2f4d835005c3b"
SRC_URI[sha256sum] = "a22ca993cea2962dbb588f9f30d0015ac4afcc45bee27d3978c0dbe9e97c6c0f"
inherit pypi setuptools3
RDEPENDS_${PN} += "\
${PYTHON_PN}-datetime \
"
```
Add python3-cryptography to RDEPENDS for python3-redis | ```bitbake
SUMMARY = "Python client for Redis key-value store"
DESCRIPTION = "The Python interface to the Redis key-value store."
HOMEPAGE = "http://github.com/andymccurdy/redis-py"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=51d9ad56299ab60ba7be65a621004f27"
SRC_URI[md5sum] = "048348d8cfe0b5d0bba2f4d835005c3b"
SRC_URI[sha256sum] = "a22ca993cea2962dbb588f9f30d0015ac4afcc45bee27d3978c0dbe9e97c6c0f"
inherit pypi setuptools3
RDEPENDS_${PN} += "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-cryptography \
"
``` |
8c86f6dd-7230-4a64-a95a-07cf25e177af | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "Basic X11 graphics image"
IMAGE_FEATURES += "splash package-management debug-tweaks ssh-server-openssh hwcodecs x11 tools-debug"
LICENSE = "MIT"
inherit core-image distro_features_check extrausers
# let's make sure we have a good image..
REQUIRED_DISTRO_FEATURES = "x11"
# make sure we boot to desktop
# by default and without x11-base in IMAGE_FEATURES we default to multi-user.target
SYSTEMD_DEFAULT_TARGET = "graphical.target"
CORE_IMAGE_BASE_INSTALL += " \
alsa-utils-aplay \
coreutils \
glmark2 \
gptfdisk \
gstreamer1.0-plugins-bad-meta \
gstreamer1.0-plugins-base-meta \
gstreamer1.0-plugins-good-meta \
gtkperf \
kernel-modules \
kmscube \
mesa-demos \
openbox \
rsync \
"
```
Use features_check instead of distro_features_check | ```bitbake
SUMMARY = "Basic X11 graphics image"
IMAGE_FEATURES += "splash package-management debug-tweaks ssh-server-openssh hwcodecs x11 tools-debug"
LICENSE = "MIT"
inherit core-image features_check extrausers
# let's make sure we have a good image..
REQUIRED_DISTRO_FEATURES = "x11"
# make sure we boot to desktop
# by default and without x11-base in IMAGE_FEATURES we default to multi-user.target
SYSTEMD_DEFAULT_TARGET = "graphical.target"
CORE_IMAGE_BASE_INSTALL += " \
alsa-utils-aplay \
coreutils \
glmark2 \
gptfdisk \
gstreamer1.0-plugins-bad-meta \
gstreamer1.0-plugins-base-meta \
gstreamer1.0-plugins-good-meta \
gtkperf \
kernel-modules \
kmscube \
mesa-demos \
openbox \
rsync \
"
``` |
9b8ad101-459a-40a6-bf77-97d2eaf1030f | {
"language": "BitBake"
} | ```bitbake
require connman.inc
SRCREV = "c80faf72bfdd1f78562504146f16a3b05874dd92"
SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \
file://add_xuser_dbus_permission.patch \
file://connman"
S = "${WORKDIR}/git"
PR = "${INC_PR}.0"
```
Update to connman version 1.3 | ```bitbake
require connman.inc
SRCREV = "3c0fa84091524c7cd6237744f2088ffee2f1d5ad"
SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \
file://add_xuser_dbus_permission.patch \
file://connman"
S = "${WORKDIR}/git"
PR = "${INC_PR}.1"
``` |
17878c9c-c92d-45db-a3a0-d9b31026fbd3 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Lists available userspace I/O (UIO) devices"
SECTION = "tools"
DEPENDS = ""
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
HOMEPAGE="http://www.osadl.org/UIO.uio.0.html"
SRC_URI="http://www.osadl.org/projects/downloads/UIO/user/lsuio-${PV}.tar.gz"
SRC_URI[md5sum] = "8da82b681c24e6c5b3518c99e7f961d7"
SRC_URI[sha256sum] = "c88b3850248b2d3419e025abd7b9b0991c8bd33a2d4983f9608408a29900bfb5"
# Make sure our source directory (for the build) matches the directory structure in the tarball
S = "${WORKDIR}/lsuio-${PV}"
inherit autotools
<<<<<<< HEAD
=======
>>>>>>> 9d5ccc3... Improve lsuio recipe description
```
Fix lsuio recipe from wrong merge | ```bitbake
DESCRIPTION = "Lists available userspace I/O (UIO) devices"
SECTION = "tools"
DEPENDS = ""
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
HOMEPAGE="http://www.osadl.org/UIO.uio.0.html"
SRC_URI="http://www.osadl.org/projects/downloads/UIO/user/lsuio-${PV}.tar.gz"
SRC_URI[md5sum] = "8da82b681c24e6c5b3518c99e7f961d7"
SRC_URI[sha256sum] = "c88b3850248b2d3419e025abd7b9b0991c8bd33a2d4983f9608408a29900bfb5"
# Make sure our source directory (for the build) matches the directory structure in the tarball
S = "${WORKDIR}/lsuio-${PV}"
inherit autotools
``` |
db6cee95-1544-4e5a-a4ff-1ff33ca04045 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Lists available userspace I/O (UIO) devices"
SECTION = "tools"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
PR = "r0"
DEPENDS = ""
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
HOMEPAGE="http://www.osadl.org/UIO.uio.0.html"
SRC_URI="http://www.osadl.org/projects/downloads/UIO/user/lsuio-${PV}.tar.gz"
SRC_URI[md5sum] = "8da82b681c24e6c5b3518c99e7f961d7"
SRC_URI[sha256sum] = "c88b3850248b2d3419e025abd7b9b0991c8bd33a2d4983f9608408a29900bfb5"
# Make sure our source directory (for the build) matches the directory structure in the tarball
S = "${WORKDIR}/lsuio-${PV}"
inherit autotools
```
Allow fixing a conflict when building petalinux SDK | ```bitbake
DESCRIPTION = "Lists available userspace I/O (UIO) devices"
SECTION = "tools"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
PR = "r1"
DEPENDS = ""
HOMEPAGE="http://www.osadl.org/UIO.uio.0.html"
SRC_URI="http://www.osadl.org/projects/downloads/UIO/user/lsuio-${PV}.tar.gz"
SRC_URI[md5sum] = "8da82b681c24e6c5b3518c99e7f961d7"
SRC_URI[sha256sum] = "c88b3850248b2d3419e025abd7b9b0991c8bd33a2d4983f9608408a29900bfb5"
# Make sure our source directory (for the build) matches the directory structure in the tarball
S = "${WORKDIR}/lsuio-${PV}"
PACKAGES = "lsuio-dbg lsuio"
FILES_${PN}-dbg += " \
/usr/bin/.debug \
/usr/share \
"
inherit autotools
``` |
107cd97c-01ff-47eb-9ea8-515bd2e6d853 | {
"language": "BitBake"
} | ```bitbake
require kernel-module-mali-utgard.inc
LIC_FILES_CHKSUM = "file://driver/src/devicedrv/mali/readme.txt;md5=92d15b487d204ace57072c48697b4a89"
BRANCH="DX910-SW-99002-r9p0-01rel0_meson_gx"
SRC_URI = "git://github.com/superna9999/meson_gx_mali_450.git;branch=${BRANCH}"
SRCREV = "eb2c846fd78058def70b492f55e4c52fd7254da7"
S = "${WORKDIR}/git"
MALI_KCONFIG = "MALI_PLATFORM_FILES=platform/meson/meson.c \
CONFIG_MALI_DMA_BUF_MAP_ON_ATTACH=y \
CONFIG_MALI_QUIET=y \
"
MALI_FLAGS = "-DMALI_FAKE_PLATFORM_DEVICE=1 \
-DCONFIG_MALI_DMA_BUF_MAP_ON_ATTACH \
-DCONFIG_MALI_QUIET \
"
COMPATIBLE_MACHINE = "odroid-c2"
```
Fix vm_fault_t build error on v5.0 | ```bitbake
require kernel-module-mali-utgard.inc
LIC_FILES_CHKSUM = "file://driver/src/devicedrv/mali/readme.txt;md5=92d15b487d204ace57072c48697b4a89"
BRANCH="DX910-SW-99002-r9p0-01rel0_meson_gx"
SRC_URI = "git://github.com/superna9999/meson_gx_mali_450.git;branch=${BRANCH}"
SRCREV = "bff4613d70b95c783e514019d169b68bfbdd9f3b"
S = "${WORKDIR}/git"
MALI_KCONFIG = "MALI_PLATFORM_FILES=platform/meson/meson.c \
CONFIG_MALI_DMA_BUF_MAP_ON_ATTACH=y \
CONFIG_MALI_QUIET=y \
"
MALI_FLAGS = "-DMALI_FAKE_PLATFORM_DEVICE=1 \
-DCONFIG_MALI_DMA_BUF_MAP_ON_ATTACH \
-DCONFIG_MALI_QUIET \
"
COMPATIBLE_MACHINE = "odroid-c2"
``` |
1c602ef4-2b1d-4fbf-a7b6-c44a79ea98aa | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Packages for IBM Bluemix & Watson platforms."
LICENSE = "MIT"
inherit packagegroup
PR = "r0"
RDEPENDS_${PN} = "\
ibm-iotf-embeddedc \
ibm-iotf-embeddedc-dev \
ibm-iotf-embeddedc-samples \
node-red-contrib-ibm-watson-iot \
python-ibmiotf \
"
PACKAGES = "${PN}"
PACKAGECONFIG ??= "java"
PACKAGECONFIG[java] = "\
, \
, \
, \
ibm-iotf-java \
"
```
Choose which programming languages to support in the package group | ```bitbake
DESCRIPTION = "Packages for IBM Bluemix & Watson platforms."
LICENSE = "MIT"
inherit packagegroup
PR = "r0"
PACKAGES = "${PN}"
PACKAGECONFIG ??= "c java python node-red"
PACKAGECONFIG[c] = "\
, \
, \
, \
ibm-iotf-embeddedc \
ibm-iotf-embeddedc-dev \
ibm-iotf-embeddedc-samples \
"
PACKAGECONFIG[java] = "\
, \
, \
, \
ibm-iotf-java \
"
PACKAGECONFIG[python] = "\
, \
, \
, \
python-ibmiotf \
"
PACKAGECONFIG[node-red] = "\
, \
, \
, \
node-red-contrib-ibm-watson-iot \
"
``` |
cd151de9-5af1-43aa-8697-f7f328911c6f | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "PetaLinux Qt additional supported packages"
inherit packagegroup distro_features_check
ANY_OF_DISTRO_FEATURES = "x11 fbdev wayland"
QT_EXTENDED_PACKAGES = " \
ruby \
packagegroup-petalinux-qt \
qtbase-mkspecs \
qtbase-plugins \
qtsystems-mkspecs \
qttranslations-qtbase \
qttranslations-qthelp \
qtconnectivity-mkspecs \
qttranslations-qtconnectivity \
qtdeclarative-mkspecs \
qttranslations-qmlviewer \
qttranslations-qtdeclarative \
qtenginio-mkspecs \
qtimageformats-plugins \
qtlocation-mkspecs \
qtlocation-plugins \
qttranslations-qtmultimedia \
qtscript-mkspecs \
qttranslations-qtscript \
qtsensors-mkspecs \
qtsensors-plugins \
qtserialport-mkspecs \
qtsvg-mkspecs \
qtsvg-plugins \
qtwebsockets-mkspecs \
qttranslations-qtwebsockets \
qtwebchannel-mkspecs \
qtxmlpatterns-mkspecs \
qttranslations-qtxmlpatterns \
qtwebkit-mkspecs \
qtx11extras \
"
RDEPENDS_${PN} = "${QT_EXTENDED_PACKAGES}"
```
Build qtx11extras only if distro contains X11 | ```bitbake
DESCRIPTION = "PetaLinux Qt additional supported packages"
inherit packagegroup distro_features_check
ANY_OF_DISTRO_FEATURES = "x11 fbdev wayland"
QT_EXTENDED_PACKAGES = " \
ruby \
packagegroup-petalinux-qt \
qtbase-mkspecs \
qtbase-plugins \
qtsystems-mkspecs \
qttranslations-qtbase \
qttranslations-qthelp \
qtconnectivity-mkspecs \
qttranslations-qtconnectivity \
qtdeclarative-mkspecs \
qttranslations-qmlviewer \
qttranslations-qtdeclarative \
qtenginio-mkspecs \
qtimageformats-plugins \
qtlocation-mkspecs \
qtlocation-plugins \
qttranslations-qtmultimedia \
qtscript-mkspecs \
qttranslations-qtscript \
qtsensors-mkspecs \
qtsensors-plugins \
qtserialport-mkspecs \
qtsvg-mkspecs \
qtsvg-plugins \
qtwebsockets-mkspecs \
qttranslations-qtwebsockets \
qtwebchannel-mkspecs \
qtxmlpatterns-mkspecs \
qttranslations-qtxmlpatterns \
qtwebkit-mkspecs \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'qtx11extras', '', d)} \
"
RDEPENDS_${PN} = "${QT_EXTENDED_PACKAGES}"
``` |
c8bae795-9112-45d7-8ae9-872a02f51bfa | {
"language": "BitBake"
} | ```bitbake
# based on OE-Core
require recipes-kernel/linux-libc-headers/linux-libc-headers.inc
# use the same kernel source as linux_git.bb
inherit linux-src
PROVIDES += "linux-libc-headers"
```
Fix oe_multilib_header cannot find asm/bpf_perf_event.h | ```bitbake
# based on OE-Core
require recipes-kernel/linux-libc-headers/linux-libc-headers.inc
# The current version of linux-cip is 4.4 which does not provide 'asm/bpf_perf_event.h'
# Overwrite do_install_armmultilib to remove 'asm/bpf_perf_event.h'.
# Fix error:
# | ERROR: linux-libc-headers-base-gitAUTOINC+94e27e1f56-r0 do_install: oe_multilib_header: Unable to find header asm/bpf_perf_event.h.
do_install_armmultilib () {
oe_multilib_header asm/auxvec.h asm/bitsperlong.h asm/byteorder.h asm/fcntl.h asm/hwcap.h asm/ioctls.h asm/kvm.h asm/kvm_para.h asm/mman.h asm/param.h asm/perf_regs.h
oe_multilib_header asm/posix_types.h asm/ptrace.h asm/setup.h asm/sigcontext.h asm/siginfo.h asm/signal.h asm/stat.h asm/statfs.h asm/swab.h asm/types.h asm/unistd.h
}
# use the same kernel source as linux_git.bb
inherit linux-src
PROVIDES += "linux-libc-headers"
``` |
8b8fb4d7-691a-4f4b-82b9-d16ca512f01e | {
"language": "BitBake"
} | ```bitbake
#
# base recipe: meta/recipes-core/expat/expat_2.1.0.bb
# base branch: daisy
#
PR = "r0"
SUMMARY = "A stream-oriented XML parser library"
DESCRIPTION = "Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags)"
inherit debian-package
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=1b71f681713d1256e1c23b0890920874"
inherit autotools lib_package gzipnative
# This package uses an archive format known to have issue with some
# versions of gzip
do_unpack[depends] += "gzip-native:do_populate_sysroot"
do_configure_prepend () {
rm -f ${S}/conftools/libtool.m4
}
BBCLASSEXTEND = "native nativesdk"
LIC_FILES_CHKSUM = "file://COPYING;md5=1b71f681713d1256e1c23b0890920874"
SRC_URI[md5sum] = "dd7dab7a5fea97d2a6a43f511449b7cd"
SRC_URI[sha256sum] = "823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86"
```
Update recipe for expat package | ```bitbake
#
# base recipe: meta/recipes-core/expat/expat_2.1.0.bb
# base branch: daisy
#
PR = "r0"
SUMMARY = "A stream-oriented XML parser library"
DESCRIPTION = "Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags)"
inherit debian-package
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=1b71f681713d1256e1c23b0890920874"
inherit autotools lib_package gzipnative
# This package uses an archive format known to have issue with some
# versions of gzip
do_unpack[depends] += "gzip-native:do_populate_sysroot"
do_configure_prepend () {
rm -f ${S}/conftools/libtool.m4
}
BBCLASSEXTEND = "native nativesdk"
LIC_FILES_CHKSUM = "file://COPYING;md5=1b71f681713d1256e1c23b0890920874"
``` |
93de1d27-9353-46af-b93f-2eac8722b606 | {
"language": "BitBake"
} | ```bitbake
require linux.inc
DESCRIPTION = "The Linux kernel for E-Ten Glofiish smartphones"
COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = "eten-m800"
KERNEL_RELEASE = "2.6.28-rc4"
KERNEL_VERSION = "${KERNEL_RELEASE}"
# See http://wiki.openembedded.net/index.php/Versioning_Policy
PV = "2.6.27+${KERNEL_RELEASE}+${PR}+gitr${SRCREV}"
PR = "r2"
SRC_URI = "\
git://git.openezx.org/gnufiish.git;protocol=git;branch=master \
file://defconfig \
"
S = "${WORKDIR}/git"
CMDLINE = "root=/dev/mmcblk0p1 rootdelay=5"
```
Add ro to CMDLINE to work around a strange bug that the SD gets not mounted | ```bitbake
require linux.inc
DESCRIPTION = "The Linux kernel for E-Ten Glofiish smartphones"
COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = "eten-m800"
KERNEL_RELEASE = "2.6.28-rc4"
KERNEL_VERSION = "${KERNEL_RELEASE}"
# See http://wiki.openembedded.net/index.php/Versioning_Policy
PV = "2.6.27+${KERNEL_RELEASE}+${PR}+gitr${SRCREV}"
PR = "r2"
SRC_URI = "\
git://git.openezx.org/gnufiish.git;protocol=git;branch=master \
file://defconfig \
"
S = "${WORKDIR}/git"
CMDLINE = "root=/dev/mmcblk0p1 rootdelay=5 ro"
``` |
c65b90eb-14a2-4647-bf40-add142e2d2fa | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "A collection of cross-platform QtQuick components for building fluid and dynamic applications"
LICENSE = "MPLv2"
LIC_FILES_CHKSUM = " \
file://LICENSE.MPL2;md5=815ca599c9df247a0c7f619bab123dad \
"
inherit liri
SRC_URI += "file://0001-remove-Werror-from-build-flags.patch"
PV = "0.9.0+git${SRCPV}"
SRCREV = "db128f54be2c65b98bf32e5d60aa1b286f938bfa"
S = "${WORKDIR}/git"
DEPENDS += " \
qtgraphicaleffects \
qtquickcontrols2 \
qtsvg \
"
do_configure_append() {
(cd ${S} && ./scripts/fetch_icons.sh)
}
FILES_${PN} += "${OE_QMAKE_PATH_QML}"
FILES_${PN}-dev += "${libdir}/cmake"
```
Add mkspecs to dev subpackage | ```bitbake
SUMMARY = "A collection of cross-platform QtQuick components for building fluid and dynamic applications"
LICENSE = "MPLv2"
LIC_FILES_CHKSUM = " \
file://LICENSE.MPL2;md5=815ca599c9df247a0c7f619bab123dad \
"
inherit liri
SRC_URI += "file://0001-remove-Werror-from-build-flags.patch"
PV = "0.9.0+git${SRCPV}"
SRCREV = "a6103bd412abe49932964b9f09f69b1a28db530a"
S = "${WORKDIR}/git"
DEPENDS += " \
qtgraphicaleffects \
qtquickcontrols2 \
qtsvg \
"
do_configure_append() {
(cd ${S} && ./scripts/fetch_icons.sh)
}
FILES_${PN} += "${OE_QMAKE_PATH_QML}"
FILES_${PN}-dev += " \
${libdir}/cmake \
${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs \
"
``` |
7e3ad038-b65b-4579-b4ba-470ac1ec3739 | {
"language": "BitBake"
} | ```bitbake
inherit gpe
DEPENDS = "virtual/xserver libxtst libxau libxpm libgpelaunch"
DEPENDS_append_openzaurus = " display-brightness"
RDEPENDS_append_openzaurus = " display-brightness"
SECTION = "gpe"
LICENSE = "GPL"
DESCRIPTION = "A small utility for binding commands to a hot key.\
Keylaunch is a minimal utility for associating commands with hot keys. This\
GPE version is intended for use with the special keys found on most handheld\
computers. You can connect each key to a program of your choice; if the\
program is already running, keylaunch can bring its window to the front\
rather than just running another copy."
PACKAGE_ARCH = "${MACHINE_ARCH}"
PR = "r5"
SRC_URI += " file://keylaunchrc"
do_install_prepend () {
install ${WORKDIR}/keylaunchrc ${S}/keylaunchrc
}
export CVSBUILD="no"
```
Install configuration using update-alternatives, enables different key-bindings for different window managers | ```bitbake
inherit gpe
DEPENDS = "virtual/xserver libxtst libxau libxpm libgpelaunch"
DEPENDS_append_openzaurus = " display-brightness"
RDEPENDS_append_openzaurus = " display-brightness"
SECTION = "gpe"
LICENSE = "GPL"
DESCRIPTION = "A small utility for binding commands to a hot key.\
Keylaunch is a minimal utility for associating commands with hot keys. This\
GPE version is intended for use with the special keys found on most handheld\
computers. You can connect each key to a program of your choice; if the\
program is already running, keylaunch can bring its window to the front\
rather than just running another copy."
PACKAGE_ARCH = "${MACHINE_ARCH}"
PR = "r6"
SRC_URI += " file://keylaunchrc"
do_install_prepend () {
install ${WORKDIR}/keylaunchrc ${S}/keylaunchrc
}
do_install_append() {
# yeah I know...this is less than ideal
mv ${D}/etc/keylaunchrc ${D}/etc/keylaunchrc.matchbox
}
export CVSBUILD="no"
pkg_postinst_${PN}() {
update-alternatives --install /etc/keylaunchrc keylaunchrc /etc/keylaunchrc.matchbox 10
}
pkg_postrm_${PN}() {
update-alternatives --remove keylaunchrc /etc/keylaunchrc.matchbox
}
``` |
6b705a90-0ba4-476b-8428-f1b88a7c147e | {
"language": "BitBake"
} | ```bitbake
FILESEXTRAPATHS_prepend := "${THISDIR}:"
DESCRIPTION = "ACME Utilities"
SECTION = "acme"
DEPENDS = ""
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=578ecfeb82fabd60bb6310f0bf6af799"
SRC_URI = "git://github.com/bayLibre-acme/acme-utils.git;branch=python-cli"
SRCREV = "python-cli"
S = "${WORKDIR}/git"
RDEPENDS_${PN} = "python3-modules"
inherit systemd
SYSTEMD_SERVICE_${PN} = "pyacmed.service"
SYSTEMD_PACKAGES = "${PN}"
do_compile() {
make -C api
}
do_install() {
install -d ${D}${bindir}
install -d ${D}${systemd_unitdir}/system/
install -m 0755 api/dut-hard-reset ${D}${bindir}
install -m 0755 api/dut-switch-* ${D}${bindir}
install -m 0755 api/dut-dump-probe ${D}${bindir}
install -m 0755 pyacmed/pyacmed ${D}${bindir}
install -m 0644 pyacmed/pyacmed.service ${D}${systemd_unitdir}/system
sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/pyacmed.service
}
```
Switch to master for acme-utils | ```bitbake
FILESEXTRAPATHS_prepend := "${THISDIR}:"
DESCRIPTION = "ACME Utilities"
SECTION = "acme"
DEPENDS = ""
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=578ecfeb82fabd60bb6310f0bf6af799"
SRC_URI = "git://github.com/bayLibre-acme/acme-utils.git;branch=master"
SRCREV = "master"
S = "${WORKDIR}/git"
RDEPENDS_${PN} = "python3-modules"
inherit systemd
SYSTEMD_SERVICE_${PN} = "pyacmed.service"
SYSTEMD_PACKAGES = "${PN}"
do_compile() {
make -C api
}
do_install() {
install -d ${D}${bindir}
install -d ${D}${systemd_unitdir}/system/
install -m 0755 api/dut-hard-reset ${D}${bindir}
install -m 0755 api/dut-switch-* ${D}${bindir}
install -m 0755 api/dut-dump-probe ${D}${bindir}
install -m 0755 pyacmed/pyacmed ${D}${bindir}
install -m 0644 pyacmed/pyacmed.service ${D}${systemd_unitdir}/system
sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/pyacmed.service
}
``` |
7168b89f-6cfe-424d-8b72-6a9737742006 | {
"language": "BitBake"
} | ```bitbake
#
# Meta-debian
#
DESCRIPTION = "The JasPer JPEG-2000 runtime library"
LICENSE = "Jasper-2.0"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6fa5cfb08782fcab103fad4ebb2a01d7 \
file://LICENSE;md5=baa697d7510288a9cdcce9bd7edaf9bc"
SECTION = "graphics"
PR = "r1"
DEPENDS = "libjpeg-turbo"
EXTRA_OECONF += " --enable-shared=yes"
inherit autotools
inherit debian-package
PACKAGES =+ "libjasper "
FILES_libjasper = "${libdir}/libjasper.so.*"
DEBIANNAME_${PN}-dev = "libjasper-dev"
DEBIANNAME_${PN} = "libjasper-runtime"
```
Add recipe for native package and correct LICENSE | ```bitbake
#
# Meta-debian
#
DESCRIPTION = "The JasPer JPEG-2000 runtime library"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6fa5cfb08782fcab103fad4ebb2a01d7 \
file://LICENSE;md5=baa697d7510288a9cdcce9bd7edaf9bc"
SECTION = "graphics"
PR = "r1"
DEPENDS = "libjpeg-turbo"
EXTRA_OECONF += " --enable-shared=yes"
inherit autotools
inherit debian-package
PACKAGES =+ "libjasper "
FILES_libjasper = "${libdir}/libjasper.so.*"
DEBIANNAME_${PN}-dev = "libjasper-dev"
DEBIANNAME_${PN} = "libjasper-runtime"
BBCLASSEXTEND = "native"
``` |
324905a7-d7fc-498c-a05e-157dae9cb8a9 | {
"language": "BitBake"
} | ```bitbake
require linaro-image-common.inc
IMAGE_INSTALL += " \
apache2 \
fwts \
grub \
mysql5-server \
mysql5-client \
php-fpm \
php-fpm-apache2 \
packagegroup-core-buildessential \
${SDK_IMAGE_INSTALL}"
IMAGE_FEATURES += "\
dev-pkgs \
staticdev-pkgs \
tools-debug \
tools-sdk \
"
```
Revert "mongodb: remove from lamp temporarily" | ```bitbake
require linaro-image-common.inc
IMAGE_INSTALL += " \
apache2 \
fwts \
grub \
mysql5-server \
mysql5-client \
mongodb \
php-fpm \
php-fpm-apache2 \
packagegroup-core-buildessential \
${SDK_IMAGE_INSTALL}"
IMAGE_FEATURES += "\
dev-pkgs \
staticdev-pkgs \
tools-debug \
tools-sdk \
"
``` |
c48b5ad2-6468-42ac-9650-375057c8c1e1 | {
"language": "BitBake"
} | ```bitbake
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=58ea69e00c0f1a17ba58451500255625"
require kde4.inc
DEPENDS = "virtuoso raptor"
SRC_URI = "git://anongit.kde.org/soprano.git;branch=master \
file://Fix-Redland-cross-compile-error.patch \
file://WORKAROUND-export-visibility.patch \
"
SRCREV = "2f5381c4c449f5c0b1390f7eaf00ef9216f8b5fa"
#Note: the cmake patch for redland could be resolved with a TryRun.cmake file, however since the cmake file will be installed for other programs it would be needed at every program using it.
FILES_${PN} =+ "${libdir}libsopranoserver.*"
EXTRA_OECMAKE =+ "\
-DBUILD_VIRTUOSO_BACKEND=TRUE \
-DBUILD_RAPTOR_PARSER=TRUE \
-DREDLAND_CONFIG_EXECUTABLE=${STAGING_DIR_TARGET}${bindir_crossscripts}/redland-config \
"
PV = "2.7.53+git${SRCPV}"
S = "${WORKDIR}/git"```
Fix packaging, add necessary RDEPENDS | ```bitbake
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=58ea69e00c0f1a17ba58451500255625"
require kde4.inc
DEPENDS = "virtuoso raptor"
RDEPENDS_${PN} = "virtuoso raptor rasqal redland"
SRC_URI = "git://anongit.kde.org/soprano.git;branch=master \
file://Fix-Redland-cross-compile-error.patch \
file://WORKAROUND-export-visibility.patch \
"
SRCREV = "2f5381c4c449f5c0b1390f7eaf00ef9216f8b5fa"
#Note: the cmake patch for redland could be resolved with a TryRun.cmake file, however since the cmake file will be installed for other programs it would be needed at every program using it.
FILES_${PN} =+ "${libdir}/soprano/* \
${datadir}/dbus-1/* \
"
FILES_${PN}-dev += "${datadir}/soprano/cmake/*"
EXTRA_OECMAKE =+ "\
-DBUILD_VIRTUOSO_BACKEND=TRUE \
-DBUILD_RAPTOR_PARSER=TRUE \
-DREDLAND_CONFIG_EXECUTABLE=${STAGING_DIR_TARGET}${bindir_crossscripts}/redland-config \
"
PV = "2.7.53+git${SRCPV}"
S = "${WORKDIR}/git"``` |
c45a3335-5bb9-4f11-b313-65bec514881a | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "C++ bindings for the GTK+ toolkit V3"
HOMEPAGE = "http://www.gtkmm.org/"
SECTION = "libs"
LICENSE = "LGPL-2.1-only & GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "glib-2.0-native atkmm pangomm glibmm gtk+3 cairomm gdk-pixbuf-native"
BPN = "gtkmm"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase features_check
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI[archive.sha256sum] = "856333de86689f6a81c123f2db15d85db9addc438bc3574c36f15736aeae22e6"
EXTRA_OEMESON = "-Dbuild-demos=false"
FILES:${PN}-dev += "${libdir}/*/include ${libdir}/*/proc/m4"
```
Allow wayland or x11 in distro features | ```bitbake
SUMMARY = "C++ bindings for the GTK+ toolkit V3"
HOMEPAGE = "http://www.gtkmm.org/"
SECTION = "libs"
LICENSE = "LGPL-2.1-only & GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "glib-2.0-native atkmm pangomm glibmm gtk+3 cairomm gdk-pixbuf-native"
BPN = "gtkmm"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase features_check
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
SRC_URI[archive.sha256sum] = "856333de86689f6a81c123f2db15d85db9addc438bc3574c36f15736aeae22e6"
EXTRA_OEMESON = "-Dbuild-demos=false"
FILES:${PN}-dev += "${libdir}/*/include ${libdir}/*/proc/m4"
``` |
d5fa3338-9779-4958-bf46-a4b542e93869 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "TI Cryptography Example Applications"
HOMEPAGE = "http://arago-project.org/git/projects/?p=crypto-example-apps.git;a=summary"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://AES/aes_256.c;beginline=9;endline=35;md5=8edbb4dee965d2f2eb5ca2822addcae5"
SECTION = "console"
DEPENDS += "openssl"
PR = "r6"
BRANCH ?= "master"
SRCREV = "616ca5b6a0feefc1ba2e876c7ced4407f927ef1b"
SRC_URI = "git://arago-project.org/git/projects/crypto-example-apps.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git/"
do_compile() {
export CROSS_COMPILE=${TARGET_PREFIX}
export CFLAGS='${TARGET_CC_ARCH}'
# build the release version
oe_runmake release
}
do_install() {
oe_runmake DESTDIR=${D} install
}
```
Update commit to fix mknod issues | ```bitbake
DESCRIPTION = "TI Cryptography Example Applications"
HOMEPAGE = "http://arago-project.org/git/projects/?p=crypto-example-apps.git;a=summary"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://AES/aes_256.c;beginline=9;endline=35;md5=8edbb4dee965d2f2eb5ca2822addcae5"
SECTION = "console"
DEPENDS += "openssl"
PR = "r7"
BRANCH ?= "master"
SRCREV = "6f4b09fffe970bb6b448369875874e798ef282f6"
SRC_URI = "git://arago-project.org/git/projects/crypto-example-apps.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git/"
do_compile() {
export CROSS_COMPILE=${TARGET_PREFIX}
export CFLAGS='${TARGET_CC_ARCH}'
# build the release version
oe_runmake release
}
do_install() {
oe_runmake DESTDIR=${D} install
}
``` |
8f8cc467-192d-4114-a0e9-89478fbc7400 | {
"language": "BitBake"
} | ```bitbake
require u-boot.inc
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-omap3-git/${MACHINE}"
SRCREV = "160b30a7f315ea2c7d76dd19250d723eedb283ee"
PV = "2008.10-rc3+${PR}+git${SRCREV}"
PR="r0"
SRC_URI = "git://www.sakoman.net/git/u-boot-omap3.git;branch=overo;protocol=git \
"
UBOOT_MACHINE_beagleboard = "omap3_beagle_config"
UBOOT_MACHINE_omap3evm = "omap3_evm_config"
UBOOT_MACHINE_overo = "omap3_overo_config"
S = "${WORKDIR}/git"
PACKAGE_ARCH = "${MACHINE_ARCH}"
```
Switch to evmmux branch to put some mileage on the patches to be submitted upstream | ```bitbake
require u-boot.inc
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-omap3-git/${MACHINE}"
SRCREV = "486ad6069e804bcc98004f197f01b7ef267dc408"
PV = "2008.10+${PR}+git${SRCREV}"
PR="r0"
SRC_URI = "git://www.sakoman.net/git/u-boot-omap3.git;branch=evmmux;protocol=git \
"
UBOOT_MACHINE_beagleboard = "omap3_beagle_config"
UBOOT_MACHINE_omap3evm = "omap3_evm_config"
UBOOT_MACHINE_overo = "omap3_overo_config"
S = "${WORKDIR}/git"
PACKAGE_ARCH = "${MACHINE_ARCH}"
``` |
cd0f79ed-080f-4e4e-a8cc-50404be4b324 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Linux kernel based on nilrt branch"
require linux-nilrt.inc
NI_RELEASE_VERSION = "17.1"
LINUX_VERSION = "4.6"
LINUX_VERSION_EXTENSION = "-nilrt"
KBRANCH = "nilrt/${NI_RELEASE_VERSION}/${LINUX_VERSION}"
KBRANCH_n310 = "dev/bmouring/nilrt/cardassia/${LINUX_VERSION}"
# Subfolder of the same name will be added to FILESEXTRAPATHS and also
# used for nilrt-specific config fragment manipulation during build.
# Provide a unique name for each recipe saved in the same source folder.
KBUILD_FRAGMENTS_LOCATION = "nilrt"
```
Update release name for Cardassia | ```bitbake
DESCRIPTION = "Linux kernel based on nilrt branch"
require linux-nilrt.inc
NI_RELEASE_VERSION = "cardassia"
LINUX_VERSION = "4.6"
LINUX_VERSION_EXTENSION = "-nilrt"
KBRANCH = "nilrt/${NI_RELEASE_VERSION}/${LINUX_VERSION}"
KBRANCH_n310 = "dev/bmouring/nilrt/cardassia/${LINUX_VERSION}"
# Subfolder of the same name will be added to FILESEXTRAPATHS and also
# used for nilrt-specific config fragment manipulation during build.
# Provide a unique name for each recipe saved in the same source folder.
KBUILD_FRAGMENTS_LOCATION = "nilrt"
``` |
6ea96929-fb63-4841-8e51-5140ba3260ca | {
"language": "BitBake"
} | ```bitbake
HOMEPAGE = "http://www.oberhumer.com/opensource/ucl/"
SUMMARY = "Data compression library"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=dfeaf3dc4beef4f5a7bdbc35b197f39e"
SRC_URI = " \
http://www.oberhumer.com/opensource/ucl/download/ucl-1.03.tar.gz \
file://0001-configure.ac-Fix-with-current-autoconf.patch \
file://0002-acinclude.m4-Provide-missing-macros.patch"
SRC_URI[md5sum] = "852bd691d8abc75b52053465846fba34"
SRC_URI[sha256sum] = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348"
inherit autotools
CFLAGS += "-std=c90"
BBCLASSEXTEND = "native"
```
Fix gcc6 ACC conformance test configure error for ucl-native too | ```bitbake
HOMEPAGE = "http://www.oberhumer.com/opensource/ucl/"
SUMMARY = "Data compression library"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=dfeaf3dc4beef4f5a7bdbc35b197f39e"
SRC_URI = " \
http://www.oberhumer.com/opensource/ucl/download/ucl-1.03.tar.gz \
file://0001-configure.ac-Fix-with-current-autoconf.patch \
file://0002-acinclude.m4-Provide-missing-macros.patch"
SRC_URI[md5sum] = "852bd691d8abc75b52053465846fba34"
SRC_URI[sha256sum] = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348"
inherit autotools
CFLAGS_append = " -std=c90"
BBCLASSEXTEND = "native"
``` |
f5bd83a8-732a-445d-abe9-0721ed7d867e | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "A simple presentation tool for hackers"
DESCRIPTION = "Pinpoint is a simple presentation tool that hopes to avoid audience death \
by bullet point and instead encourage presentations containing beautiful \
images and small amounts of concise text in slides."
SECTION = "x11/multimedia"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \
file://pinpoint.c;beginline=6;endline=17;md5=201d438283607da393fae6aca085454c"
DEPENDS = "glib-2.0 gdk-pixbuf cogl-1.0 clutter-1.0 clutter-gst-3.0 librsvg"
inherit autotools gettext pkgconfig
SRC_URI = "git://git.gnome.org/pinpoint"
SRCREV = "80a056c57e819d0b75035424638813b0670830e1"
PV = "0.1.4+gitr${SRCPV}"
S = "${WORKDIR}/git"
RRECOMMENDS_${PN} = "gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png"
```
Add dependency on opengl for cogl | ```bitbake
SUMMARY = "A simple presentation tool for hackers"
DESCRIPTION = "Pinpoint is a simple presentation tool that hopes to avoid audience death \
by bullet point and instead encourage presentations containing beautiful \
images and small amounts of concise text in slides."
SECTION = "x11/multimedia"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \
file://pinpoint.c;beginline=6;endline=17;md5=201d438283607da393fae6aca085454c"
DEPENDS = "glib-2.0 gdk-pixbuf cogl-1.0 clutter-1.0 clutter-gst-3.0 librsvg"
inherit autotools gettext pkgconfig distro_features_check
# cogl requires opengl
REQUIRED_DISTRO_FEATURES = "opengl"
SRC_URI = "git://git.gnome.org/pinpoint"
SRCREV = "80a056c57e819d0b75035424638813b0670830e1"
PV = "0.1.4+gitr${SRCPV}"
S = "${WORKDIR}/git"
RRECOMMENDS_${PN} = "gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png"
``` |
2d02e249-40ea-4afe-94c0-5b09172f3bb4 | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "MagOS image for production"
LICENSE = "MIT"
IMAGE_FEATURES += "ssh-server-dropbear package-management"
IMAGE_INSTALL = " \
packagegroup-magos-base \
packagegroup-magos-mmctools \
packagegroup-core-full-cmdline \
packagegroup-core-lsb \
"
IMAGE_LINGUAS = " "
inherit core-image
```
Remove packagegroup-core-lsb from images, for now, since it requires x11. | ```bitbake
SUMMARY = "MagOS image for production"
LICENSE = "MIT"
IMAGE_FEATURES += "ssh-server-dropbear package-management"
IMAGE_INSTALL = " \
packagegroup-magos-base \
packagegroup-magos-mmctools \
packagegroup-core-full-cmdline \
"
IMAGE_LINGUAS = " "
inherit core-image
``` |
c4df5776-9074-4375-8248-4bf1f80075fd | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "PWM drivers for omap3 processors"
HOMEPAGE = "https://github.com/scottellis/omap3-pwm"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://../git/pwm.c;endline=28;md5=c8448052329697f9239ac2d919535901"
PR="r2"
inherit module
COMPATIBLE_MACHINE = "overo"
SRCREV = "dc40d9296054e7e26c89586c1bd01199e1593017"
SRC_URI = "git://github.com/scottellis/omap3-pwm.git;protocol=git"
S = "${WORKDIR}/git"
do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
oe_runmake 'KERNELDIR=${STAGING_KERNEL_DIR}'
}
do_install() {
install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/${PN}
install -m 0644 pwm${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/${PN}
}
```
Update license and code for OMAP3 PWM | ```bitbake
DESCRIPTION = "PWM drivers for omap3 processors"
HOMEPAGE = "https://github.com/scottellis/omap3-pwm"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
inherit module
COMPATIBLE_MACHINE = "omap3"
SRCREV = "ccee3524b0bc063f968eef3d7963e613dd0beb1b"
SRC_URI = "git://github.com/scottellis/omap3-pwm.git;protocol=git"
S = "${WORKDIR}/git"
do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
oe_runmake 'KERNELDIR=${STAGING_KERNEL_DIR}'
}
do_install() {
install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/${PN}
install -m 0644 pwm${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/${PN}
}
``` |
d08cf97d-7a1f-4407-9341-0698f141d7d1 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Media controller control application"
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
SRC_URI = "git://git.ideasonboard.org/media-ctl.git;protocol=git"
SRCREV = "f2f1e160ce411a08836e31c36a09c9dd55ec9784"
PV = "0.0.1"
PR = "r2"
S = "${WORKDIR}/git"
inherit autotools
# It needs some kernel definitions only for v4l2, so it isn't machine specific
EXTRA_OECONF = "--with-kernel-headers=${STAGING_KERNEL_DIR}"
PACKAGES =+ "libmediactl libv4l2subdev"
FILES_libmediactl = "${libdir}/libmediactl${SOLIBS}"
FILES_libv4l2subdev = "${libdir}/libv4l2subdev${SOLIBS}"
```
Update to latest upstream to fix build with latest autotools | ```bitbake
DESCRIPTION = "Media controller control application"
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
SRC_URI = "git://git.ideasonboard.org/media-ctl.git;protocol=git"
SRCREV = "a6ec4a37028952ffd6e62eb52648cf66248eb519"
PV = "0.0.1"
PR = "r3"
S = "${WORKDIR}/git"
inherit autotools
# It needs some kernel definitions only for v4l2, so it isn't machine specific
EXTRA_OECONF = "--with-kernel-headers=${STAGING_KERNEL_DIR}"
PACKAGES =+ "libmediactl libv4l2subdev"
FILES_libmediactl = "${libdir}/libmediactl${SOLIBS}"
FILES_libv4l2subdev = "${libdir}/libv4l2subdev${SOLIBS}"
``` |
b87d715b-cb37-4776-a2d2-ccf0586c4ea7 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Linux kernel for Beck IPC Hardware"
require recipes-kernel/linux/linux.inc
require recipes-kernel/linux/linux-dtb.inc
COMPATIBLE_MACHINE = "(sc145-db150|sc165-db150|sc165-cti1*)"
PV = "4.9.18"
SRCREV_pn-${PN} = "b6b23aaf48c153ed3bfc0f4b7b3b19d3f0a95797"
SRC_URI += "git://github.com/beck-ipc/kernel-at-chip.git;protocol=https;branch=v4.9-beck; \
file://defconfig"
S = "${WORKDIR}/git"
```
Update to latest state, add support for sc145 based cti | ```bitbake
DESCRIPTION = "Linux kernel for Beck IPC Hardware"
require recipes-kernel/linux/linux.inc
require recipes-kernel/linux/linux-dtb.inc
COMPATIBLE_MACHINE = "(sc145-db150|sc165-db150|sc165-cti1*|sc145-cti1*)"
PV = "4.9.18"
SRCREV_pn-${PN} = "99e5b2a76ac48cdff1c3ef3f6191c00aec6f93d9"
SRC_URI += "git://github.com/beck-ipc/kernel-at-chip.git;protocol=https;branch=v4.9-beck; \
file://defconfig"
S = "${WORKDIR}/git"
``` |
5e81caf7-8b00-4e39-883b-9d63b6095956 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Python applets manager"
SECTION = "x11"
LICENSE = "GPL"
DEPENDS += "python-pygame virtual/libsdl libsdl-image python-dbus python-pygobject"
PV = "0.1+svnr${SRCREV}"
PR = "r0.01"
SRC_URI = "svn://svn.projects.openmoko.org/svnroot;module=tichy;proto=http"
S = "${WORKDIR}/tichy"
inherit distutils
FILES_${PN} += "${datadir}"
RDEPENDS_${PN} += "python-pygame"
# This is because pkg-config --libs --cflags sdl doesn't return the correct path (bug in libsdl recipe ?)
CFLAGS += -I${STAGING_INCDIR}/SDL
```
Revert "[tichy] Apply Charlie's change" | ```bitbake
DESCRIPTION = "Python applets manager"
SECTION = "x11"
LICENSE = "GPL"
DEPENDS = "python-pygame"
PV = "0.1+svnr${SRCREV}"
PR = "r0"
SRC_URI = "svn://svn.projects.openmoko.org/svnroot;module=tichy;proto=http"
S = "${WORKDIR}/tichy"
inherit distutils
FILES_${PN} += "${datadir}"
RDEPENDS_${PN} += "python-pygame"
``` |
3434b1c0-943e-41d1-9901-5dc6b9337bcc | {
"language": "BitBake"
} | ```bitbake
require swupdate.inc
require swupdate_tools.inc
DEFAULT_PREFERENCE = "-1"
SRCREV = '8a2ff356c3d93bb4f681a511e6b42ed64dcf6409'
```
Allow .bbappend files to overwrite SRCREV | ```bitbake
require swupdate.inc
require swupdate_tools.inc
DEFAULT_PREFERENCE = "-1"
SRCREV ?= '8a2ff356c3d93bb4f681a511e6b42ed64dcf6409'
``` |
c322bd33-b715-445e-959f-a5bbd5cf4e07 | {
"language": "BitBake"
} | ```bitbake
LINUX_VERSION = "5.15.19"
KBRANCH="xlnx_rebase_v5.15_LTS"
SRCREV = "b0c1be301e78c320df8c4d93b18393bfd7fd4e9d"
KCONF_AUDIT_LEVEL="0"
include linux-xlnx.inc
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
```
Update branch and SRCREV for update release | ```bitbake
LINUX_VERSION = "5.15.19"
KBRANCH="xlnx_rebase_v5.15_LTS_2022.1_update"
SRCREV = "5ead03b6e64b5072737c653bb20ebcd88704e3d1"
KCONF_AUDIT_LEVEL="0"
include linux-xlnx.inc
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
``` |
d3c0ff8a-54fc-4df9-bba5-4502b27cd6f8 | {
"language": "BitBake"
} | ```bitbake
#NOTE: This package is currently only supported for the Angstrom
# distribution. Other distributions and toolchains may or
# may not work.
DESCRIPTION = "AM Benchmarks"
HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
LICENSE = "BSD"
SECTION = "system"
PRIORITY = "optional"
SRCREV = "59"
PR = "r2+svnr${SRCPV}"
COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
ARCHITECTURE_dm365 = "arm9"
ARCHITECTURE_omapl138 = "arm9"
ARCHITECTURE_omap3 = "cortex-a8"
ARCHITECTURE_ti816x = "cortex-a8"
INSANE_SKIP_${PN} = "True"
SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"
S = "${WORKDIR}/trunk/${ARCHITECTURE}"
do_compile() {
# don't build debug version
touch debug
export CROSS_COMPILE=${TARGET_PREFIX}
make release
}
do_install() {
make DESTDIR=${D} install
}
```
Add support for am387x-evm machine | ```bitbake
#NOTE: This package is currently only supported for the Angstrom
# distribution. Other distributions and toolchains may or
# may not work.
DESCRIPTION = "AM Benchmarks"
HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
LICENSE = "BSD"
SECTION = "system"
PRIORITY = "optional"
SRCREV = "60"
PR = "r2+svnr${SRCPV}"
COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)"
ARCHITECTURE_dm365 = "arm9"
ARCHITECTURE_omapl138 = "arm9"
ARCHITECTURE_omap3 = "cortex-a8"
ARCHITECTURE_ti816x = "cortex-a8"
ARCHITECTURE_ti814x = "cortex-a8"
INSANE_SKIP_${PN} = "True"
SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"
S = "${WORKDIR}/trunk/${ARCHITECTURE}"
do_compile() {
# don't build debug version
touch debug
export CROSS_COMPILE=${TARGET_PREFIX}
make release
}
do_install() {
make DESTDIR=${D} install
}
``` |
348321e3-28d3-4c48-9fc3-0870cc313aeb | {
"language": "BitBake"
} | ```bitbake
# (c) Copyright 2012 Hewlett-Packard Development Company, L.P.
DESCRIPTION = "A base class for browser plugins loaded by webOS."
LICENSE = "Apache-2.0"
SECTION = "Linux/System"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
DEPENDS = "glib-2.0 npapi-headers"
PR = "r0"
inherit autotools
inherit webos_public_repo
inherit webos_submissions
WEBOS_GIT_TAG = "${WEBOS_SUBMISSION}"
SRC_URI = "${ISIS-PROJECT_GIT_REPO}/AdapterBase;tag=${WEBOS_GIT_TAG};protocol=git"
S = "${WORKDIR}/git"
ALLOW_EMPTY_${PN} = "1"
do_configure() {
# remove these from staging to ensure we are picking up
# the correct versions during compilation.
rm -f ${D}${includedir}/AdapterBase.h
rm -f ${D}${libdir}/AdapterBase.a
}
do_compile() {
LUNA_STAGING="." make
}
do_install() {
install -d ${D}${includedir}
install -m 444 AdapterBase.h ${D}${includedir}
install -m 444 AdapterBase.a ${D}${libdir}
}
```
Create install directory for AdapterBase.a library | ```bitbake
# (c) Copyright 2012 Hewlett-Packard Development Company, L.P.
DESCRIPTION = "A base class for browser plugins loaded by webOS."
LICENSE = "Apache-2.0"
SECTION = "Linux/System"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
DEPENDS = "glib-2.0 npapi-headers"
PR = "r1"
inherit autotools
inherit webos_public_repo
inherit webos_submissions
WEBOS_GIT_TAG = "${WEBOS_SUBMISSION}"
SRC_URI = "${ISIS-PROJECT_GIT_REPO}/AdapterBase;tag=${WEBOS_GIT_TAG};protocol=git"
S = "${WORKDIR}/git"
ALLOW_EMPTY_${PN} = "1"
do_configure() {
# remove these from staging to ensure we are picking up
# the correct versions during compilation.
rm -f ${D}${includedir}/AdapterBase.h
rm -f ${D}${libdir}/AdapterBase.a
}
do_compile() {
LUNA_STAGING="." make
}
do_install() {
install -d ${D}${includedir}
install -m 444 AdapterBase.h ${D}${includedir}
install -d ${D}${libdir}
install -m 444 AdapterBase.a ${D}${libdir}
}
``` |
5758f2b9-4d6e-4ac4-aab0-303306ffa34d | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities."
PRIORITY = "optional"
SECTION = "libs"
LICENSE = "GPL"
DEPENDS = "bison-native flex-native"
SRC_URI = "http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/libcap-${PV}.tar.bz2 \
file://makenames.patch;patch=1 \
file://make.patch;patch=1 "
S = "${WORKDIR}/libcap-${PV}"
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}
}
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}
}
FILES_${PN} = "${libdir}"
FILES_${PN}-dev = "${includedir}"
```
Append include directory to CFLAGS. Reenables compilation and fixes 1628. Seizing the opportunity to remove some cruft and beautify the bb. RP approved. | ```bitbake
DESCRIPTION = "Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities."
PRIORITY = "optional"
SECTION = "libs"
LICENSE = "GPL"
DEPENDS = "bison-native flex-native"
CFLAGS_append = " -I${S}/libcap/include"
SRC_URI = "http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/${PN}-${PV}.tar.bz2 \
file://makenames.patch;patch=1 \
file://make.patch;patch=1 "
FILES_${PN} = "${libdir}"
FILES_${PN}-dev = "${includedir}"
#S = "${WORKDIR}/libcap-${PV}"
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}
}
``` |
33517e42-887d-44c1-b3de-25389c3ab9f0 | {
"language": "BitBake"
} | ```bitbake
SUMMARY = "Appling JSON patches in Python 2.6+ and 3.x"
HOMEPAGE = "https://github.com/stefankoegl/python-json-patch"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
inherit pypi setuptools
SRC_URI[md5sum] = "cf4fbad8188f1389363433dbf867109f"
SRC_URI[sha256sum] = "776d828d6f7b4581862529cf413439a652d74b9e3a0261fa08c36fd761a78b4a"
RDEPENDS_${PN} += "python-re python-json python-jsonpointer"
```
Fix RDEPENDS to work on minimal python install | ```bitbake
SUMMARY = "Appling JSON patches in Python 2.6+ and 3.x"
HOMEPAGE = "https://github.com/stefankoegl/python-json-patch"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
inherit pypi setuptools
SRC_URI[md5sum] = "cf4fbad8188f1389363433dbf867109f"
SRC_URI[sha256sum] = "776d828d6f7b4581862529cf413439a652d74b9e3a0261fa08c36fd761a78b4a"
RDEPENDS_${PN} += "${PYTHON_PN}-json ${PYTHON_PN}-jsonpointer ${PYTHON_PN}-netclient ${PYTHON_PN}-re ${PYTHON_PN}-stringold"
``` |
f60fee8f-fcbf-4d5d-aca5-e57a8c3839b7 | {
"language": "BitBake"
} | ```bitbake
DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld"
COMPATIBLE_MACHINE = "keystone"
BRANCH = "master"
SRC_URI = "git://git.ti.com/keystone-rtos/pktlib.git;protocol=git;branch=${BRANCH}"
# Corresponds to DEV.PKTLIB.2.1.0.4
SRCREV = "a9aa56afed54b0a04f36d2fdb248cad5dcac6ff6"
PV = "2.1.0.4"
S = "${WORKDIR}/git/ti/runtime/pktlib"
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}"
do_compile () {
oe_runmake lib
}
do_install () {
oe_runmake install
}
```
Update to new version 2.1.0.5 | ```bitbake
DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld"
COMPATIBLE_MACHINE = "keystone"
BRANCH = "master"
SRC_URI = "git://git.ti.com/keystone-rtos/pktlib.git;protocol=git;branch=${BRANCH}"
# Corresponds to DEV.PKTLIB.2.1.0.5
SRCREV = "d757026f3d6a837711f4b44b5ffdefed761fc186"
PV = "2.1.0.5"
S = "${WORKDIR}/git/ti/runtime/pktlib"
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}"
do_compile () {
oe_runmake lib
}
do_install () {
oe_runmake install
}
``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.