Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Comment out install to target.
include recipes/gnuradio/gnuradio.inc inherit srctree autotools gitver PV = "${GITVER}" # Set S (the path to the source directory) via local.conf using the line: # S_pn-gnuradio-srctree = "/home/username/src/git/gnuradio" do_copy_to_target() { scp -rp ${D}/* root@192.168.1.171:/ } addtask copy_to_target after do_install before do_package
include recipes/gnuradio/gnuradio.inc inherit srctree autotools gitver PV = "${GITVER}" # Set S (the path to the source directory) via local.conf using the line: # S_pn-gnuradio-srctree = "/home/username/src/git/gnuradio" #do_copy_to_target() { # scp -rp ${D}/* root@192.168.1.171:/ #} #addtask copy_to_target after do_install before do_package
Update to bootgen SRCREV to point to latest commit.
SUMMARY = "Building and installing bootgen" DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1" S = "${WORKDIR}/git" DEPENDS += "openssl" RDEPENDS:${PN} += "openssl" REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" BRANCH ?= "master" SRCREV = "2b8859218defc9983b6d312c8be48d0c08070ca1" BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" SRC_URI = "${REPO};${BRANCHARG}" EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}' CXXFLAGS:append = " -std=c++0x" TARGET_CC_ARCH += "${LDFLAGS}" do_install() { install -d ${D}${bindir} install -Dm 0755 ${S}/bootgen ${D}${bindir} } FILES:${PN} = "${bindir}/bootgen" BBCLASSEXTEND = "native nativesdk"
SUMMARY = "Building and installing bootgen" DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1" S = "${WORKDIR}/git" DEPENDS += "openssl" RDEPENDS:${PN} += "openssl" REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" BRANCH ?= "master" SRCREV = "4eac958eb6c831ffa5768a0e2cd4be23c5efe2e0" BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" SRC_URI = "${REPO};${BRANCHARG}" EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}' CXXFLAGS:append = " -std=c++0x" TARGET_CC_ARCH += "${LDFLAGS}" do_install() { install -d ${D}${bindir} install -Dm 0755 ${S}/bootgen ${D}${bindir} } FILES:${PN} = "${bindir}/bootgen" BBCLASSEXTEND = "native nativesdk"
Add a script flash-fs.sh for flashing NAND
## Reminder: The correct spacing for a variable is FOO = "BAR" in : PR="r1" DESCRIPTION = "BeagleBoard test scripts" HOMEPAGE = "http://beagleboad.org/support" PR = "r2" SRC_URI = "git://gitorious.org/beagleboard-validation/scripts.git;protocol=git \ " SRCREV = "473dd2ab20d866be6168c9f992c2c9e74e485c9d" S = "${WORKDIR}/git" do_install() { TEST_FILES=" \ testaudio \ testcamera \ testdsp \ testedid \ testled \ testmem \ testneon \ testsvideo \ testuserbtn \ editbootscr \ edituserscr \ readgpio \ " install -d ${D}/${bindir} for i in ${TEST_FILES}; do install -m 0755 ${S}/${i} ${D}/${bindir} done }
## Reminder: The correct spacing for a variable is FOO = "BAR" in : PR="r1" DESCRIPTION = "BeagleBoard test scripts" HOMEPAGE = "http://beagleboad.org/support" PR = "r3" SRC_URI = "git://gitorious.org/~joelf/beagleboard-validation/validation-scripts.git;protocol=git \ " SRCREV = "2df76857155fbd462527c2b00ee83214483f0594" S = "${WORKDIR}/git" inherit update-rc.d INITSCRIPT_NAME = "flash-nand-fs.sh" INITSCRIPT_PARAMS = "start 99 2 3 4 5 ." do_install() { TEST_FILES=" \ testaudio \ testcamera \ testdsp \ testedid \ testled \ testmem \ testneon \ testsvideo \ testuserbtn \ editbootscr \ edituserscr \ readgpio \ " install -d ${D}/${bindir} for i in ${TEST_FILES}; do install -m 0755 ${S}/${i} ${D}/${bindir} done # A script to flash NAND if the board has it, and if there is valid image to flash on the SD Card. # We also register it as an init script so that the SD Card auto-flashes to NAND during boot. install -d ${D}/${sysconfdir}/init.d/ install -m 0755 ${S}/flashing/flash-nand-fs.sh ${D}/${sysconfdir}/init.d/flash-nand-fs.sh }
Update to new version 2.1.0.7
DESCRIPTION = "Chip support library low level interface" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21" COMPATIBLE_MACHINE = "keystone" ALLOW_EMPTY_${PN} = "1" PR = "r2" BRANCH="master" SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}" # commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.06A SRCREV = "6e39222e13244c285929bda2f90f5224f9ea5144" S = "${WORKDIR}/git" do_install () { install -d ${D}${includedir}/ti/csl find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl }
DESCRIPTION = "Chip support library low level interface" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21" COMPATIBLE_MACHINE = "keystone" ALLOW_EMPTY_${PN} = "1" PR = "r3" BRANCH="master" SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}" # commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.07A SRCREV = "c78867df9165fdf8042fb692fcea776fc0102326" S = "${WORKDIR}/git" do_install () { install -d ${D}${includedir}/ti/csl find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl }
Extend for native and nativesdk
SUMMARY = "Mscgen is a small program that parses Message Sequence Chart descriptions and produces PNG, SVG, EPS or server side image maps (ismaps) as the output." HOMEPAGE = "http://www.mcternan.me.uk/mscgen/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b1e6a340187c1cf716513439d07c1d79" SRC_URI = "http://www.mcternan.me.uk/mscgen/software/${BPN}-src-${PV}.tar.gz" SRC_URI[md5sum] = "65c90fb5150d7176b65b793f0faa7377" SRC_URI[sha256sum] = "3c3481ae0599e1c2d30b7ed54ab45249127533ab2f20e768a0ae58d8551ddc23" DEPENDS = "gd " inherit autotools gettext do_configure_prepend() { sed -i "s#AC_PATH_PROG(GDLIB_CONFIG,gdlib-config)#AC_PATH_PROG([GDLIB_CONFIG],[gdlib-config], ,[${STAGING_BINDIR_CROSS}])#" ${S}/configure.ac }
SUMMARY = "Mscgen is a small program that parses Message Sequence Chart descriptions and produces PNG, SVG, EPS or server side image maps (ismaps) as the output." HOMEPAGE = "http://www.mcternan.me.uk/mscgen/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b1e6a340187c1cf716513439d07c1d79" SRC_URI = "http://www.mcternan.me.uk/mscgen/software/${BPN}-src-${PV}.tar.gz" SRC_URI[md5sum] = "65c90fb5150d7176b65b793f0faa7377" SRC_URI[sha256sum] = "3c3481ae0599e1c2d30b7ed54ab45249127533ab2f20e768a0ae58d8551ddc23" DEPENDS = "gd " inherit autotools gettext do_configure_prepend() { sed -i "s#AC_PATH_PROG(GDLIB_CONFIG,gdlib-config)#AC_PATH_PROG([GDLIB_CONFIG],[gdlib-config], ,[${STAGING_BINDIR_CROSS}])#" ${S}/configure.ac } BBCLASSEXTEND = "native nativesdk"
Update to 08.00.00.002 release tag
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 = "8fbd16658d1105671e67182c290235a99a7af02b" PV = "5.10.30+git${SRCPV}"
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}"
Set Image Size to 2G
DESCRIPTION = "A small image just capable of allowing a device to boot." IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL} mochad-cgi " IMAGE_LINGUAS = " " LICENSE = "MIT" inherit core-image IMAGE_ROOTFS_SIZE = "16384000"
DESCRIPTION = "A small image just capable of allowing a device to boot." IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL} mochad-cgi " IMAGE_LINGUAS = " " LICENSE = "MIT" inherit core-image IMAGE_ROOTFS_SIZE = "2097152"
Fix -dbg package RRECOMMENDS since PN as a package doesn't exist This is the same fix as the one by rpurdie to ttf-dejavu.
require ttf.inc DESCRIPTION = "Liberation fonts - TTF Version" HOMEPAGE = "https://www.redhat.com/promo/fonts/" LICENSE = "Liberation" PR = "r1" SRC_URI = "http://www.redhat.com/f/fonts/liberation-fonts-ttf-3.tar.gz" S = "${WORKDIR}/liberation-fonts-${PV}" PACKAGES = "${PN}-dbg ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" FILES_ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*" FILES_ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*" FILES_ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*"
require ttf.inc DESCRIPTION = "Liberation fonts - TTF Version" HOMEPAGE = "https://www.redhat.com/promo/fonts/" LICENSE = "Liberation" PR = "r1" SRC_URI = "http://www.redhat.com/f/fonts/liberation-fonts-ttf-3.tar.gz" S = "${WORKDIR}/liberation-fonts-${PV}" PACKAGES = "${PN}-dbg ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" RRECOMMENDS_${PN}-dbg = "" FILES_ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*" FILES_ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*" FILES_ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*"
Make PACKAGECONFIG easier to read by making the list multiline
DESCRIPTION = "library for easy implementation of a RDP/VNC server" HOMEPAGE = "https://libvnc.github.io" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f" PACKAGECONFIG ??= "gcrypt gnutls jpeg png ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} sdl zlib" PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt" PACKAGECONFIG[gnutls] = ",,gnutls" PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg" PACKAGECONFIG[openssl] = ",,openssl" PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng" PACKAGECONFIG[systemd] = ",,systemd" PACKAGECONFIG[sdl] = ",,libsdl2" PACKAGECONFIG[zlib] = ",,zlib" inherit cmake SRC_URI = "git://github.com/LibVNC/libvncserver" SRCREV = "f997b5a75fa171d79c5e568b7157fba83c8d8355" S = "${WORKDIR}/git"
DESCRIPTION = "library for easy implementation of a RDP/VNC server" HOMEPAGE = "https://libvnc.github.io" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f" PACKAGECONFIG ??= " \ gcrypt \ gnutls \ jpeg \ png \ ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \ sdl \ zlib \ " PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt" PACKAGECONFIG[gnutls] = ",,gnutls" PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg" PACKAGECONFIG[openssl] = ",,openssl" PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng" PACKAGECONFIG[systemd] = ",,systemd" PACKAGECONFIG[sdl] = ",,libsdl2" PACKAGECONFIG[zlib] = ",,zlib" inherit cmake SRC_URI = "git://github.com/LibVNC/libvncserver" SRCREV = "f997b5a75fa171d79c5e568b7157fba83c8d8355" S = "${WORKDIR}/git"
Make use of bitbake variables where appropriate.
SUMMARY = "OverC installer script" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" SRCREV = "${AUTOREV}" SRC_URI = " \ git://github.com/OverC/overc-installer.git \ file://git/COPYING \ " S = "${WORKDIR}/git" do_install() { mkdir -p ${D}/opt/${BPN}/ mkdir -p ${D}/lib/systemd/system/ install -m755 ${S}/sbin/overc-cctl ${D}/opt/${BPN}/ install -m 0755 ${S}/files/overc_cleanup.service ${D}/lib/systemd/system/ } FILES_${PN} += "/opt/${BPN} \ /lib/systemd/system \ " RDEPENDS_${PN} += "bash"
SUMMARY = "OverC installer script" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" SRCREV = "${AUTOREV}" SRC_URI = " \ git://github.com/OverC/overc-installer.git \ file://git/COPYING \ " S = "${WORKDIR}/git" do_install() { mkdir -p ${D}/opt/${BPN}/ mkdir -p ${D}${systemd_system_unitdir}/ install -m755 ${S}/sbin/overc-cctl ${D}/opt/${BPN}/ install -m 0755 ${S}/files/overc_cleanup.service ${D}${systemd_system_unitdir}/ } FILES_${PN} += "/opt/${BPN} \ ${systemd_system_unitdir} \ " RDEPENDS_${PN} += "bash"
Fix build with version upgrade and nepomuk-core
LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://LICENSE.LGPL-2.1;md5=4fbd65380cdd255951079008b364516c" DEPENDS = "kdelibs4 kde-runtime soprano libkactivities4" inherit kde_cmake SRC_URI = "git://anongit.kde.org/share-like-connect.git;branch=master" ## Tag Active/2.0 SRCREV = "9ed8128284ab9fcab806455bccf0344dd21afbd1" PV = "Active-2.0+git${SRCPV}" S = "${WORKDIR}/git" FILES_${PN} += "\ ${libdir}/libsharelikeconnect.so \ ${libdir}/kde4/*.so \ ${libdir}/kde4/imports/* \ \ ${datadir}/* \ " FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"
LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://LICENSE.LGPL-2.1;md5=4fbd65380cdd255951079008b364516c" DEPENDS = "kdelibs4 kde-runtime soprano libkactivities4" inherit kde_cmake SRC_URI = "git://anongit.kde.org/share-like-connect.git;branch=master" ## Tag Active/2.0 SRCREV = "dac3ad67f7b07c277152508a1a4144043075b50e" PV = "Active-2.0+git${SRCPV}" S = "${WORKDIR}/git" FILES_${PN} += "\ ${libdir}/libsharelikeconnect.so \ ${libdir}/kde4/*.so \ ${libdir}/kde4/imports/* \ \ ${datadir}/* \ " FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"
Revert "Revert "**TEMPORARY** Disable start-jupyterlab""
DESCRIPTION = "Required packges for running jupyter notebook with python3 " inherit packagegroup START_JUPYTER_PKG ?= "start-jupyter" START_JUPYTER_PKG_k26 = "start-jupyterlab" JUPYTER_NOTEBOOK_PACKAGES = " \ packagegroup-python3-jupyter \ python3-core \ python3-ipywidgets \ python3-pydot \ liberation-fonts \ ttf-bitstream-vera \ ${START_JUPYTER_PKG} \ " RDEPENDS_${PN} = "${JUPYTER_NOTEBOOK_PACKAGES}"
DESCRIPTION = "Required packges for running jupyter notebook with python3 " inherit packagegroup START_JUPYTER_PKG ?= "start-jupyter" #START_JUPYTER_PKG_k26 = "start-jupyterlab" JUPYTER_NOTEBOOK_PACKAGES = " \ packagegroup-python3-jupyter \ python3-core \ python3-ipywidgets \ python3-pydot \ liberation-fonts \ ttf-bitstream-vera \ ${START_JUPYTER_PKG} \ " RDEPENDS_${PN} = "${JUPYTER_NOTEBOOK_PACKAGES}"
Append missing dependencies to RDEPEND
DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed." LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" PV = "4.5.3" SRCREV = "8e9e75502ff910629663c4cdd7779d43ea2dd150" SRC_URI = "git://github.com/tornadoweb/tornado.git;branch=branch4.5" S = "${WORKDIR}/git" inherit setuptools DEPENDS = "python-certifi" RDEPENDS_${PN} = "python-certifi" RCONFLICTS_${PN} = "python-tornado" RCONFLICTS_${PN} += "python-tornado40" RCONFLICTS_${PN} += "python-tornado50"
DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed." LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" PV = "4.5.3" SRCREV = "8e9e75502ff910629663c4cdd7779d43ea2dd150" SRC_URI = "git://github.com/tornadoweb/tornado.git;branch=branch4.5" S = "${WORKDIR}/git" inherit setuptools DEPENDS = "python-certifi" RDEPENDS_${PN} = "python-certifi" RDEPENDS_${PN} += "python-backports-abc" RDEPENDS_${PN} += "python-singledispatch" RCONFLICTS_${PN} = "python-tornado" RCONFLICTS_${PN} += "python-tornado40" RCONFLICTS_${PN} += "python-tornado50"
Add regulatory rules to the ipk needed by udev.
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} }
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"
Use the new upstream GitHub location instead of the defunct tarball URL
SUMMARY = "Jpeg 2000 implementation" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=baa697d7510288a9cdcce9bd7edaf9bc" PR = "r1" SRC_URI = "http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-${PV}.zip" inherit autotools lib_package PACKAGECONFIG ??= "" PACKAGECONFIG[jpeg] = "--enable-libjpeg,--disable-libjpeg,jpeg" PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,freeglut" EXTRA_OECONF = "--enable-shared" SRC_URI[md5sum] = "a342b2b4495b3e1394e161eb5d85d754" SRC_URI[sha256sum] = "6b905a9c2aca2e275544212666eefc4eb44d95d0a57e4305457b407fe63f9494"
SUMMARY = "Jpeg 2000 implementation" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=baa697d7510288a9cdcce9bd7edaf9bc" PR = "r1" SRC_URI = "git://github.com/mdadams/jasper.git;protocol=https" SRCREV = "b13b8c86be870107f83b0a9a4b77557cb2b65d69" S = "${WORKDIR}/git" inherit autotools lib_package PACKAGECONFIG ??= "" PACKAGECONFIG[jpeg] = "--enable-libjpeg,--disable-libjpeg,jpeg" PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,freeglut" EXTRA_OECONF = "--enable-shared"
Remove absent py3 modules from rdeps
SUMMARY = "Python Remote Objects" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=cd13dafd4eeb0802bb6efea6b4a4bdbc" SRC_URI[md5sum] = "21f015ae93cf9ea2bbbc418a2267e9fb" SRC_URI[sha256sum] = "2bfe12a22f396474b0e57c898c7e2c561a8f850bf2055d8cf0f7119f0c7a523f" PYPI_PACKAGE = "Pyro4" inherit pypi setuptools3 RDEPENDS_${PN} += " \ ${PYTHON_PN}-logging \ ${PYTHON_PN}-selectors34 \ ${PYTHON_PN}-serpent \ ${PYTHON_PN}-threading \ ${PYTHON_PN}-zlib \ "
SUMMARY = "Python Remote Objects" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=cd13dafd4eeb0802bb6efea6b4a4bdbc" SRC_URI[md5sum] = "21f015ae93cf9ea2bbbc418a2267e9fb" SRC_URI[sha256sum] = "2bfe12a22f396474b0e57c898c7e2c561a8f850bf2055d8cf0f7119f0c7a523f" PYPI_PACKAGE = "Pyro4" inherit pypi setuptools3 RDEPENDS_${PN} += " \ ${PYTHON_PN}-logging \ ${PYTHON_PN}-serpent \ ${PYTHON_PN}-threading \ "
Add HTML doc link text
inherit ti-pdk require traceframework.inc PR = "${INC_PR}.1" DEPENDS_append = " uia \ " XDCPATH_append = ";${UIA_INSTALL_DIR}/packages"
inherit ti-pdk require traceframework.inc PR = "${INC_PR}.2" DEPENDS_append = " uia \ " XDCPATH_append = ";${UIA_INSTALL_DIR}/packages" # HTML doc link params PDK_COMP_LINK_TEXT = "Trace Framework"
Add missing dependency to libx11
SUMMARY = "Multitouch viewer" DESCRIPTION = "mtview is a small X application that shows a graphical view of your MT-enabled hardware. It uses mtdev." HOMEPAGE = "http://bitmath.org/code/mtview/" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=4c61b8950dc1aab4d2aa7c2ae6b1cfb3" inherit autotools SRC_URI = "git://bitmath.org/git/mtview.git;protocol=http" SRCREV = "ad437c38dc111cf3990a03abf14efe1b5d89604b" DEPENDS += "mtdev utouch-frame utouch-evemu" PV = "1.1.7+git${SRCPV}" S = "${WORKDIR}/git/"
SUMMARY = "Multitouch viewer" DESCRIPTION = "mtview is a small X application that shows a graphical view of your MT-enabled hardware. It uses mtdev." HOMEPAGE = "http://bitmath.org/code/mtview/" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=4c61b8950dc1aab4d2aa7c2ae6b1cfb3" inherit autotools SRC_URI = "git://bitmath.org/git/mtview.git;protocol=http" SRCREV = "ad437c38dc111cf3990a03abf14efe1b5d89604b" DEPENDS += "mtdev utouch-frame utouch-evemu libx11" PV = "1.1.7+git${SRCPV}" S = "${WORKDIR}/git/"
Add native and nativesdk classes
SUMMARY = "A C++11 library for serialization" HOMEPAGE = "https://uscilab.github.io/cereal/" SECTION = "libs" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e612690af2f575dfd02e2e91443cea23" SRCREV = "51cbda5f30e56c801c07fe3d3aba5d7fb9e6cca4" SRC_URI = "git://github.com/USCiLab/cereal.git" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE = "-DJUST_INSTALL_CEREAL=ON"
SUMMARY = "A C++11 library for serialization" HOMEPAGE = "https://uscilab.github.io/cereal/" SECTION = "libs" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e612690af2f575dfd02e2e91443cea23" SRCREV = "51cbda5f30e56c801c07fe3d3aba5d7fb9e6cca4" SRC_URI = "git://github.com/USCiLab/cereal.git" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE = "-DJUST_INSTALL_CEREAL=ON" BBCLASSEXTEND = "native nativesdk"
Disable RPATH to avoid issues in package_qa
SUMMARY = "Message Passing Interface(MPI) implementation" HOMEPAGE = "http://git.mpich.org/mpich.git/" SECTION = "devel" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=2106f0435056f3dd9349747a766e5816" SRC_URI = "http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz" SRC_URI[md5sum] = "40dc408b1e03cc36d80209baaa2d32b7" SRC_URI[sha256sum] = "455ccfaf4ec724d2cf5d8bff1f3d26a958ad196121e7ea26504fd3018757652d" RDEPENDS_${PN} += "bash perl tcsh" S = "${WORKDIR}/${PN}-${PV}" EXTRA_OECONF = "--enable-debuginfo \ --enable-fast \ --enable-shared \ --disable-f77 \ --disable-fc \ --disable-fortran \ --disable-cxx" inherit autotools-brokensep gettext do_configure_prepend() { autoreconf --verbose --install --force -I . -I confdb/ -I maint/ oe_runconf exit }
SUMMARY = "Message Passing Interface (MPI) implementation" HOMEPAGE = "http://www.mpich.org/" SECTION = "devel" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=2106f0435056f3dd9349747a766e5816" SRC_URI = " \ http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz \ " SRC_URI[md5sum] = "40dc408b1e03cc36d80209baaa2d32b7" SRC_URI[sha256sum] = "455ccfaf4ec724d2cf5d8bff1f3d26a958ad196121e7ea26504fd3018757652d" RDEPENDS_${PN} += "bash perl libxml2" S = "${WORKDIR}/${PN}-${PV}" EXTRA_OECONF = "--enable-debuginfo \ --enable-fast \ --enable-shared \ --with-pm=gforker \ --disable-rpath \ --disable-f77 \ --disable-fc \ --disable-fortran \ --disable-cxx" inherit autotools-brokensep gettext do_configure_prepend() { autoreconf --verbose --install --force -I . -I confdb/ -I maint/ oe_runconf exit }
Remove obsolete comment issue has been fixed for long
LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://LICENSE.LGPL-2.1;md5=4fbd65380cdd255951079008b364516c" DEPENDS = "kdelibs4 kde-runtime libkactivities4" inherit kde_cmake # This tag is very odd, it will cause bitbake to create a directory in the workdir of this recipe with the name 2.0+${SRCREV} # But other than that no misbehaviour has been spotted SRC_URI = "git://anongit.kde.org/share-like-connect.git;branch=master" ## Tag Active/2.0 SRCREV = "9ed8128284ab9fcab806455bccf0344dd21afbd1" PV = "Active-2.0+git${SRCPV}" S = "${WORKDIR}/git" FILES_${PN} += "\ ${libdir}/libsharelikeconnect.so \ ${libdir}/kde4/*.so \ ${libdir}/kde4/imports/* \ \ ${datadir}/* \ " FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"
LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://LICENSE.LGPL-2.1;md5=4fbd65380cdd255951079008b364516c" DEPENDS = "kdelibs4 kde-runtime libkactivities4" inherit kde_cmake SRC_URI = "git://anongit.kde.org/share-like-connect.git;branch=master" ## Tag Active/2.0 SRCREV = "9ed8128284ab9fcab806455bccf0344dd21afbd1" PV = "Active-2.0+git${SRCPV}" S = "${WORKDIR}/git" FILES_${PN} += "\ ${libdir}/libsharelikeconnect.so \ ${libdir}/kde4/*.so \ ${libdir}/kde4/imports/* \ \ ${datadir}/* \ " FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"
Add missing runtime dependency on libusb1
SUMMARY = "PyUSB provides USB access on the Python language" HOMEPAGE = "http://pyusb.sourceforge.net/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e64a29fcd3c3dd356a24e235dfcb3905" DEPENDS += "libusb1 ${PYTHON_PN}-setuptools-scm-native" RDEPENDS_${PN} += " \ python3-logging \ " SRC_URI[sha256sum] = "d68597d2cf7df766bdf816b1a337b72ab8233c19825e170ae18714f16b838cbc" inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk"
SUMMARY = "PyUSB provides USB access on the Python language" HOMEPAGE = "http://pyusb.sourceforge.net/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e64a29fcd3c3dd356a24e235dfcb3905" DEPENDS += "libusb1 ${PYTHON_PN}-setuptools-scm-native" RDEPENDS_${PN} += " \ python3-logging \ " SRC_URI[sha256sum] = "d68597d2cf7df766bdf816b1a337b72ab8233c19825e170ae18714f16b838cbc" inherit pypi setuptools3 RDEPENDS_${PN} += "libusb1" BBCLASSEXTEND = "native nativesdk"
Update to latest commit SHA
require u-boot-ti.inc PR = "r21" BRANCH = "ti-u-boot-2020.01" SRCREV = "7c8ae131b5623ff14c1b1ad6702801e39ef9b722"
require u-boot-ti.inc PR = "r22" BRANCH = "ti-u-boot-2020.01" SRCREV = "3c9ebdb87d65aacc4ec302be8bef3df15364bacd"
Remove RDEPEND on empty xpext package.
LICENSE= "MIT" SUMMARY = "X Server Nokia 770 extensions library" SECTION = "x11/libs" DEPENDS = "virtual/libx11 libxext" LIC_FILES_CHKSUM = "file://COPYING;md5=db043791349ba57ad1169e1c92477cb6" SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/${BPN}/${BPN}_${PV}.tar.gz \ file://auxdir.patch;striplevel=0" S = "${WORKDIR}/xpext-1.0" inherit autotools pkgconfig distro_features_check # depends on virtual/libx11 REQUIRED_DISTRO_FEATURES = "x11" SRC_URI[md5sum] = "1b0cb67b6f2bd7c4abef17648b062896" SRC_URI[sha256sum] = "a3b06f5188fd9effd0799ae31352b3cd65cb913b964e2c1a923ffa9d3c08abbe"
LICENSE= "MIT" SUMMARY = "X Server Nokia 770 extensions library" SECTION = "x11/libs" DEPENDS = "virtual/libx11 libxext" LIC_FILES_CHKSUM = "file://COPYING;md5=db043791349ba57ad1169e1c92477cb6" SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/${BPN}/${BPN}_${PV}.tar.gz \ file://auxdir.patch;striplevel=0" S = "${WORKDIR}/xpext-1.0" inherit autotools pkgconfig distro_features_check # depends on virtual/libx11 REQUIRED_DISTRO_FEATURES = "x11" # Remove runtime dependency on empty package ${PN} RDEPENDS_${PN}-dev = "" SRC_URI[md5sum] = "1b0cb67b6f2bd7c4abef17648b062896" SRC_URI[sha256sum] = "a3b06f5188fd9effd0799ae31352b3cd65cb913b964e2c1a923ffa9d3c08abbe"
Use http instead of ftp in SRC_URI
SUMMARY = "A library for loose coupling of C++ method calls" SECTION = "libs" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499" DEPENDS = "mm-common" SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-${PV}.tar.xz" SRC_URI[md5sum] = "815d0c6d61601f51bbcaeef6826606b0" SRC_URI[sha256sum] = "9834045f74f56752c2c6b3cdc195c30ab8314ad22dc8e626d6f67f940f1e4957" S = "${WORKDIR}/libsigc++-${PV}" inherit autotools EXTRA_AUTORECONF = "--exclude=autoheader" FILES_${PN}-dev += "${libdir}/sigc++-*/" FILES_${PN}-doc += "${datadir}/devhelp" BBCLASSEXTEND = "native"
SUMMARY = "A library for loose coupling of C++ method calls" SECTION = "libs" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499" DEPENDS = "mm-common" SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-${PV}.tar.xz" SRC_URI[md5sum] = "815d0c6d61601f51bbcaeef6826606b0" SRC_URI[sha256sum] = "9834045f74f56752c2c6b3cdc195c30ab8314ad22dc8e626d6f67f940f1e4957" S = "${WORKDIR}/libsigc++-${PV}" inherit autotools EXTRA_AUTORECONF = "--exclude=autoheader" FILES_${PN}-dev += "${libdir}/sigc++-*/" FILES_${PN}-doc += "${datadir}/devhelp" BBCLASSEXTEND = "native"
Add opencv libraries to xfce image
# 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_FEATURES += "package-management ssh-server-dropbear" IMAGE_INSTALL_append = " e2fsprogs-mke2fs dosfstools" IMAGE_INSTALL_append = " packagegroup-xfce-extended" IMAGE_INSTALL_append = " ppp wvdial linux-firmware canutils" IMAGE_INSTALL_append = " opal6-apps-led-demo opal6-apps-rs485-test" IMAGE_INSTALL_append = " mesa-demos nano"
# 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_FEATURES += "package-management ssh-server-dropbear" IMAGE_INSTALL_append = " e2fsprogs-mke2fs dosfstools" IMAGE_INSTALL_append = " packagegroup-xfce-extended" IMAGE_INSTALL_append = " ppp wvdial linux-firmware canutils" IMAGE_INSTALL_append = " opal6-apps-led-demo opal6-apps-rs485-test" IMAGE_INSTALL_append = " mesa-demos nano" IMAGE_INSTALL_append = " libopencv-core-dev libopencv-highgui-dev \ libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev"
Add missing libpcre build time depenedency
SUMMARY = "A simple text editor" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" GNOMEBASEBUILDCLASS = "meson" DEPENDS = " \ desktop-file-utils-native \ libadwaita \ gtk4 \ gtksourceview5 \ enchant2 \ " GTKIC_VERSION = "4" inherit gnomebase gtk-icon-cache itstool gnome-help mime-xdg features_check ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" REQUIRED_DISTRO_FEATURES = "opengl" SRC_URI[archive.sha256sum] = "e56d4a8cdcbce8a8f1c0881b45de799f8b25205ec0cbf2269e532025761cc5da" FILES:${PN} += " \ ${datadir}/metainfo \ ${datadir}/dbus-1 \ "
SUMMARY = "A simple text editor" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" GNOMEBASEBUILDCLASS = "meson" DEPENDS = " \ desktop-file-utils-native \ libadwaita \ gtk4 \ gtksourceview5 \ enchant2 \ libpcre \ " GTKIC_VERSION = "4" inherit gnomebase gtk-icon-cache itstool gnome-help mime-xdg features_check ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" REQUIRED_DISTRO_FEATURES = "opengl" SRC_URI[archive.sha256sum] = "e56d4a8cdcbce8a8f1c0881b45de799f8b25205ec0cbf2269e532025761cc5da" FILES:${PN} += " \ ${datadir}/metainfo \ ${datadir}/dbus-1 \ "
Install example scripts into /usr/share
DESCRIPTION = "Python client library for Gumstix RoboVero" HOMEPAGE = "https://github.com/robovero/python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=52b7490557d2fd1a2c673d32aa5d4b8a" SRCREV = "a0c5719086348af7d1a9c91f04a255f512bb38d4" SRC_URI = "git://github.com/robovero/python.git;branch=master" DEPENDS = "python python-pyserial" RDEPENDS_${PN} = "python-pyserial" PACKAGES += "${PN}-examples" S = "${WORKDIR}/git" inherit python-dir do_install() { SITE_PACKAGES=${D}/${PYTHON_SITEPACKAGES_DIR} install -d ${D}${ROOT_HOME}/robovero-python install -d ${SITE_PACKAGES}/robovero install -m 755 ${S}/*.py ${D}${ROOT_HOME}/robovero-python/ install -m 755 ${S}/robovero/*.py ${SITE_PACKAGES}/robovero/ } FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR} " FILES_${PN}-examples += "${ROOT_HOME}/robovero-python"
DESCRIPTION = "Python client library for Gumstix RoboVero" HOMEPAGE = "https://github.com/robovero/python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=52b7490557d2fd1a2c673d32aa5d4b8a" SRCREV = "a0c5719086348af7d1a9c91f04a255f512bb38d4" SRC_URI = "git://github.com/robovero/python.git;branch=master" DEPENDS = "python python-pyserial" RDEPENDS_${PN} = "python-pyserial" PACKAGES += "${PN}-examples" inherit python-dir S = "${WORKDIR}/git" SITE_PACKAGES="${D}/${PYTHON_SITEPACKAGES_DIR}" SHARE="/usr/share" do_install() { install -d ${D}${SHARE}/robovero-python install -d ${SITE_PACKAGES}/robovero install -m 755 ${S}/*.py ${D}${SHARE}/robovero-python/ install -m 755 ${S}/robovero/*.py ${SITE_PACKAGES}/robovero/ } FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR} " FILES_${PN}-examples += "${SHARE}/robovero-python"
Remove redundant FILES_$ from helloworld
DESCRIPTION = "johns hello world sample program" PR = "r0" DEPENDS = "" SRC_URI = " \ file://hello.c \ " S = "${WORKDIR}" do_compile () { ${CC} ${CFLAGS} ${LDFLAGS} -o hello hello.c } do_install () { install -d ${D}${bindir}/ install -m 0755 ${S}/hello ${D}${bindir}/ } FILES_${PN} = "${bindir}/hello"
DESCRIPTION = "johns hello world sample program" PR = "r1" DEPENDS = "" SRC_URI = " \ file://hello.c \ " S = "${WORKDIR}" do_compile () { ${CC} ${CFLAGS} ${LDFLAGS} -o hello hello.c } do_install () { install -d ${D}${bindir} install -m 0755 hello ${D}${bindir} }
Fix build when S != B
SUMMARY = "GNOME default webbrowser" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" DEPENDS = "gnome-doc-utils libsoup-2.4 webkit-gtk gtk+ gconf iso-codes startup-notification ca-certificates libgnome-keyring" inherit gnome SRC_URI[archive.md5sum] = "0c566b3ffd428d2135e3c8cb65352d64" SRC_URI[archive.sha256sum] = "278a5c00ce07e6a3ea440d289de22dbec3ebec4ded4ff3b4c48b580f469c2dcc" EXTRA_OECONF += " --disable-nss --with-distributor-name=${DISTRO} --without-ca-file" do_configure_prepend() { touch ${S}/gnome-doc-utils.make sed -i -e s:help::g Makefile.am } FILES_${PN} += "${datadir}/icons ${datadir}/dbus-1" RDEPENDS_${PN} = "iso-codes" RRECOMMENDS_${PN} = "ca-certificates"
SUMMARY = "GNOME default webbrowser" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" DEPENDS = "gnome-doc-utils libsoup-2.4 webkit-gtk gtk+ gconf iso-codes startup-notification ca-certificates libgnome-keyring" inherit gnome SRC_URI[archive.md5sum] = "0c566b3ffd428d2135e3c8cb65352d64" SRC_URI[archive.sha256sum] = "278a5c00ce07e6a3ea440d289de22dbec3ebec4ded4ff3b4c48b580f469c2dcc" EXTRA_OECONF += " --disable-nss --with-distributor-name=${DISTRO} --without-ca-file" do_configure_prepend() { touch ${S}/gnome-doc-utils.make sed -i -e s:help::g ${S}/Makefile.am } FILES_${PN} += "${datadir}/icons ${datadir}/dbus-1" RDEPENDS_${PN} = "iso-codes" RRECOMMENDS_${PN} = "ca-certificates"
Allow the displayed file to be overridden in local.conf
DESCRIPTION = "Systemd Service script to run mpv in a loop with a PNG file for demo purposes." HOMEPAGE = "https://mender.io" LICENSE = "Apache-2.0" SRC_URI = " \ file://${PN}.service \ file://demo-image-locked.png \ file://demo-image-unlocked.png \ file://LICENSE \ " LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" inherit systemd SYSTEMD_SERVICE_${PN} = "${PN}.service" FILES_${PN} += "${systemd_unitdir}/system/${PN}.service" RDEPENDS_${PN} = "mpv" LICENSE_FLAGS_WHITELIST += "commercial" do_install() { install -d ${D}/${systemd_unitdir}/system install -m 0644 ${WORKDIR}/${PN}.service ${D}/${systemd_unitdir}/system install -d ${D}/${sysconfdir}/ install -m 0644 ${WORKDIR}/demo-image-unlocked.png ${D}/${sysconfdir}/ install -m 0644 ${WORKDIR}/demo-image-locked.png ${D}/${sysconfdir}/ ln -s demo-image-unlocked.png ${D}/${sysconfdir}/demo-image.png }
DESCRIPTION = "Systemd Service script to run mpv in a loop with a PNG file for demo purposes." HOMEPAGE = "https://mender.io" LICENSE = "Apache-2.0" SRC_URI = " \ file://${PN}.service \ file://demo-image-locked.png \ file://demo-image-unlocked.png \ file://LICENSE \ " LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" inherit systemd SYSTEMD_SERVICE_${PN} = "${PN}.service" FILES_${PN} += "${systemd_unitdir}/system/${PN}.service" RDEPENDS_${PN} = "mpv" LICENSE_FLAGS_WHITELIST += "commercial" IMAGE_DISPLAY_IMAGE_FILE ?= "demo-image-unlocked.png" do_install() { install -d ${D}/${systemd_unitdir}/system install -m 0644 ${WORKDIR}/${PN}.service ${D}/${systemd_unitdir}/system install -d ${D}/${sysconfdir}/ install -m 0644 ${WORKDIR}/demo-image-unlocked.png ${D}/${sysconfdir}/ install -m 0644 ${WORKDIR}/demo-image-locked.png ${D}/${sysconfdir}/ ln -s ${IMAGE_DISPLAY_IMAGE_FILE} ${D}/${sysconfdir}/demo-image.png }
Add recipe to support RTIMULib
DESCRIPTION = "RTIMULib is a C++ and Python library that makes it easy to use 9-dof and \ 10-dof IMUs with embedded Linux systems" HOMEPAGE = "https://github.com/RPi-Distro/RTIMULib/" SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://../../LICENSE;md5=96cdecb41125f498958e09b72faf318e" SRC_URI = "git://github.com/RPi-Distro/RTIMULib.git;protocol=http;branch=master" SRCREV = "b949681af69b45f0f7f4bb53b6770037b5b02178" S = "${WORKDIR}/git/Linux/python/" inherit setuptools
Add recipe for java notify usage
DESCRIPTION = "JNotify library with OSGi extensions." SRCREV = "12121" SRC_URI = "svn://bugcamp.net/bug/trunk;module=${PN};proto=svn" DEPENDS = "fastjar-native virtual/java-initial openjdk-6" #inherit jni-library bug-java-library inherit bug-java-library PACKAGES = ${PN} S = "${WORKDIR}/${PN}" # INHIBIT_PACKAGE_STRIP=1 PR="r2" addtask jar_package after do_compile before do_install do_compile() { mkdir -p build oe_makeclasspath cp -s ${DEPENDS} ${EXTRA_CP} cp=$cp:${WORKDIR}/files/osgi.jar echo "--- JAVAC CLASSPATH ---------------" echo $cp | awk 'BEGIN {FS=":"} {split($0,a,":"); for (i=1; i<=NF; i++) print a[i]; }' echo "-------------------------" javac -sourcepath . -cp $cp -d build `find . -name \*.java` } do_jni_compile() { cd ${S}/src/c/Release oe_runmake all } do_jni_install() { install -d ${D}${JNI_LIB_DIR} install ${S}/src/c/Release/libjnotify.so ${D}${JNI_LIB_DIR} } do_jar_package() { # mkdir META-INF echo 'Manifest-Version: 1.0' > META-INF/MANIFEST.MF echo 'Bundle-Vendor: Bug Labs, Inc.' >> META-INF/MANIFEST.MF echo 'Bundle-Author: Omry Yadan (http://jnotify.sourceforge.net/)' >> META-INF/MANIFEST.MF echo 'Bundle-Name: net.contentobjects.jnotify' >> META-INF/MANIFEST.MF echo 'Bundle-License: LGPL' >> META-INF/MANIFEST.MF echo 'Bundle-SymbolicName: net.contentobjects.jnotify' >> META-INF/MANIFEST.MF echo 'Bundle-Version: ${DISTRO_VERSION}.${PR}' >> META-INF/MANIFEST.MF echo 'Bundle-BuildDate: ${DATETIME}' >> META-INF/MANIFEST.MF echo 'Export-Package: net.contentobjects.jnotify' >> META-INF/MANIFEST.MF fastjar -0 -m META-INF/MANIFEST.MF -C build -c -f ${JARFILENAME} . } FILES_${PN} += "/usr/share/java/${PN}.jar" FILES_${PN} += "/usr/share/java/${P}.jar" FILES_${PN} += "/usr/lib/jni/libjnotify.so" FILES_${PN} += "${JNI_LIB_DIR}/${PN}.so"
Add new release with several bugfixes and merged patches from OE. tested with Angstrom 2008.1
DESCRIPTION = "Common X11 scripts and support files" LICENSE = "GPL" SECTION = "x11" RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo" PR = "r0" PACKAGE_ARCH = "all" DEFAULT_PREFERENCE = "-1" RCONFLICTS_${PN} = "xserver-kdrive-common" RREPLACES_${PN} = "xserver-kdrive-common" # we are using a gpe-style Makefile inherit gpe SRC_URI[md5sum] = "82f2f84cd96610e8f7b92c700cd31c14" SRC_URI[sha256sum] = "cd04c33418f776b1e13fcc7af3d6bd0c7cccd03fbabd7dbcd97f88166cc34210" SRC_URI_append = " \ file://setDPI.sh \ file://89xdgautostart.sh" SRC_URI_append_angstrom = " file://xtscal-fix.patch " RDEPENDS_${PN}_append_angstrom = " tslib-calibrate " RDEPENDS_${PN}_append_shr = " xinput-calibrator " SRC_URI_append_shr = " file://89xTs_Calibrate.xinput_calibrator.patch \ file://90xXWindowManager.patch \ file://Xserver.add.nocursor.for.gta.patch \ file://Xserver.add.xserver-system.patch \ file://Xserver.add.dpi.for.gta.patch" do_install_append() { install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi" install -m 0755 "${WORKDIR}/89xdgautostart.sh" "${D}/etc/X11/Xsession.d/89xdgautostart" sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/xserver-common }
Add a bitbake recipe to build go-msgpack
SUMMARY = "Collection of Open-Source Go libraries and tools" HOMEPAGE = "https://github.com/hashicorp/go-msgpack" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=3f4c936a1236aa7f17ca2a0b0ce4bfdd" PKG_NAME = "github.com/hashicorp/go-msgpack" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "fa3f63826f7c23912c15263591e65d54d080b458" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "go_msgpack_sysroot_preprocess" go_msgpack_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
Package initramfs into package. * Go badass with recursive bitbake invocation idea expressed on ML. * It works! But don't try with BB_NUMBER_THREADS > 1 or at home.
DESCRIPTION = "Boot initramfs as a package" PR = "r1" do_compile() { cd ${TOPDIR}; DISTRO=${USERDISTRO} MACHINE=${MACHINE} ANGSTROM_MODE=uclibc IMAGE_FSTYPES=cpio.gz DEPLOY_TO=${D}/boot/initramfs.bin bitbake initramfs-image } do_install() { install -d ${D}/boot/ cd ${TOPDIR}; DISTRO=${USERDISTRO} MACHINE=${MACHINE} ANGSTROM_MODE=uclibc IMAGE_FSTYPES=cpio.gz DEPLOY_TO=${D}/boot/initramfs.bin bitbake initramfs-image -c deploy_to } FILES_${PN} += "/boot/*" PACKAGE_ARCH = "${MACHINE_ARCH}"
Add bitbake recipe to build go-metrics
SUMMARY = "A go based metrics library" HOMEPAGE = "https://github.com/armon/go-metrics" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d2d77030c0183e3d1e66d26dc1f243be" PKG_NAME = "github.com/armon/go-metrics" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "b2d95e5291cdbc26997d1301a5e467ecbb240e25" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "go_metrics_sysroot_preprocess" go_metrics_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
Add recipe for the WebKit based LightDM greeter.
DESCRIPTION = "LightDM Webkit Greeter" LICENSE = "GPLv3 LGPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS = "lightdm libxklavier consolekit polkit" PR = "r0" inherit autotools SRC_URI = " \ http://launchpad.net/lightdm-webkit-greeter/trunk/${PV}/+download/lightdm-webkit-greeter-${PV}.tar.gz \ " SRC_URI[md5sum] = "ff8247d5bbf3026140531061fbf1f51e" SRC_URI[sha256sum] = "53d6d41127b7c4cccc239d5d98edce868f18f95c76766cd1681ef58d1678c120" do_install_append() { # Basic tweaks to the lightdm-gtk-greeter.conf sed -i -e "s|#show-language-selector=false|show-language-selector=true|g" ${D}/${sysconfdir}/lightdm/lightdm-gtk-greeter.conf || true sed -i -e "s|#xft-rgba=|xft-rgba=rgb|g" ${D}/${sysconfdir}/lightdm/lightdm-gtk-greeter.conf || true sed -i -e "s|#xft-hintstyle=|xft-hintstyle=slight|g" ${D}/${sysconfdir}/lightdm/lightdm-gtk-greeter.conf || true # Carry out more tweaks in a .bbappend to customise the setup. } FILES_${PN} += "${datadir}/xgreeters/lightdm* \ ${datadir}/lightdm* \ " pkg_postinst_${PN} () { # Can't do this offline # Register as default LightDM greeter. sed -i -e "s|#greeter-session=example-gtk-gnome|greeter-theme=lightdm-webkit-greeter|g" ${sysconfdir}/lightdm/lightdm.conf || true } pkg_postrm_${PN} () { # Set back to default when removed. Can't think of a nice way to do this right now that's safe? sed -i -e "s|greeter-theme=lightdm-webkit-greeter|#greeter-session=example-gtk-gnome|g" ${sysconfdir}/lightdm/lightdm.conf || true }
Add the recipe for vxd-dec-fw
SUMMARY = "Video Decoding Firmware Packaging recipe" LICENSE = "TI-TFL" LIC_FILES_CHKSUM = "file://LICENSE;md5=84ca7278930db001870686ad997d6bb1" BRANCH = "master" SRCREV = "0acbf1d0a7c7eaca0ef14c1a30ce313ea82147e5" SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" PV = "1.0-git${SRCPV}" PACKAGE_ARCH = "${MACHINE_ARCH}" VXD_FW_DIR = "${S}/decoder/firmware/" # make sure that lib/firmware, and all its contents are part of the package FILES_${PN} += "${base_libdir}/firmware" do_install() { install -d ${D}${base_libdir}/firmware install -m 0755 ${VXD_FW_DIR}/pvdec_full_bin.fw ${D}${base_libdir}/firmware } # This is used to prevent the build system to strip the executables INHIBIT_PACKAGE_STRIP = "1" # This is used to prevent the build system to split the debug info in a separate file INHIBIT_PACKAGE_DEBUG_SPLIT = "1" # As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP INSANE_SKIP_${PN} += "arch" # we don't want to configure and build the source code do_compile[noexec] = "1" do_configure[noexec] = "1"
Add pinmux utility for am1808
DESCRIPTION = "Texas Instruments Pinmux Utility" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=2b328fcf0477d688d8b85f7310f9e6b9" COMPATIBLE_MACHINE = "am180x-evm" PR = "r0" SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/461/4210/Pin_Setup_AM18xx_01_00_1076_03.zip;name=base;subdir=${P}" # Temporarily add LICENSE file here since zip files don't contain any license information. This file was grabbed # from the License Agreement screen when installing pinmux-utility_2.3.1.0. No license information exist for this # version of the pinmux utility. SRC_URI += "file://LICENSE" SRC_URI[base.md5sum] = "5a4eb834bde44c662aaf669882adbfe6" SRC_URI[base.sha256sum] = "6701ca0e91761b9eb80b0097fbb2e2ce2cd8e0bcdc0bd18c34cd0221d9d450d0" S = "${WORKDIR}/${P}" do_unpack_extra() { mv ${WORKDIR}/LICENSE ${WORKDIR}/${P} } addtask unpack_extra after do_unpack before do_patch installdir = "host-tools/pinmux_utils/windows" do_install() { install -d ${D}/${installdir} cp -rf ${S}/bin ${D}/${installdir}/ cp -rf ${S}/configurations ${D}/${installdir}/ } FILES_${PN} += "${installdir}/*"
Make it use , and actually create the dir before installing. (duh)
DESCRIPTION = "The Linux bandwidth monitor" MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org" DEPENDS = "ncurses" LICENSE = "Unspecified" PR = "r0" SRC_URI = "${SOURCEFORGE_MIRROR}/bwmon/${P}.tar.gz \ file://makefile.patch;patch=1" EXTRA_OEMAKE = "LDFLAGS=-L${STAGING_LIBDIR}" inherit autotools do_install () { install ${S}/bwmon ${D}/usr/bin/bwmon }
DESCRIPTION = "The Linux bandwidth monitor" MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org" DEPENDS = "ncurses" LICENSE = "Unspecified" PR = "r0" SRC_URI = "${SOURCEFORGE_MIRROR}/bwmon/${P}.tar.gz \ file://makefile.patch;patch=1" EXTRA_OEMAKE = "LDFLAGS=-L${STAGING_LIBDIR}" inherit autotools do_install () { install -d ${D}${bindir} install ${S}/bwmon ${D}${bindir}/bwmon }
Add qmss-lld RTOS package version 02.01.00.12
inherit ti-pdk require qmss-lld-02.01.00.12.inc DEPENDS += "rm-lld-rtos" XDCARGS_k2hk-evm = "k2h k2k" XDCARGS_k2l-evm = "k2l" XDCARGS_k2e-evm = "k2e" XDCARGS_k2g-evm = "k2g"
Add recipe for linux ptp
DESCRIPTION = "This software is an implementation of the Precision Time Protocol (PTP) \ according to IEEE standard 1588 for Linux" HOMEPAGE = "http://linuxptp.sourceforge.net/" SECTION = "console/network" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" PR = "r0" SRC_URI = "http://iweb.dl.sourceforge.net/project/linuxptp/v${PV}/linuxptp-${PV}.tgz" SRC_URI[md5sum] = "664706a86fe1413391d4536080548501" SRC_URI[sha256sum] = "b1651186689ef06e56add506bd9bb55a700ca56e3f92ba71d08f3ad12fad3085" EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} ARCH=${TARGET_ARCH} \ EXTRA_CFLAGS="-D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME \ -DHAVE_ONESTEP_SYNC"" do_install() { install -d ${D}${bindir}/ install -c -m 755 ${S}/ptp4l ${D}${bindir}/ }
Add recipe for freetds package
SUMMARY = "FreeTDS command-line utilities" DESCRIPTION = "\ FreeTDS is an implementation of the Tabular DataStream protocol, used for \ connecting to MS SQL and Sybase servers over TCP/IP. \ " HOMEPAGE = "http://www.freetds.org/" PR = "r0" inherit debian-package LICENSE = "GPLv2+ & LGPLv2+" LIC_FILES_CHKSUM = "\ file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b \ file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605" inherit autotools DEPENDS += "gnutls unixodbc glib-2.0 krb5" EXTRA_OECONF += "\ --with-gnu-ld --with-tdsver=4.2 \ --with-unixodbc=${STAGING_DIR_HOST}${prefix} \ --sysconfdir=${sysconfdir}/${DPN} \ --enable-sybase-compat --with-gnutls --enable-krb5" # There is no debian/source or debian/patches DEBIAN_PATCH_TYPE = "nopatch" do_install_append() { install -d ${D}${libdir}/odbc LINKLIB=$(basename $(readlink ${D}${libdir}/libtdsodbc.so)) #follow debian/rules mv ${D}${libdir}/$LINKLIB \ ${D}${libdir}/odbc/libtdsodbc.so #follow debian/tdsodbc.install install -D -m 0644 ${S}/debian/odbcinst.ini \ ${D}${datadir}/tdsodbc/odbcinst.ini #follow debian/freetds-common.install install -d ${D}${datadir}/${DPN} mv ${D}${sysconfdir}/${DPN}/freetds.conf \ ${D}${datadir}/${DPN}/freetds.conf rm ${D}${libdir}/libtdsodbc.* rm ${D}${sysconfdir}/${DPN}/* ${D}${libdir}/*.la } PACKAGES =+ "libct libsybdb tdsodbc ${PN}-common" PKG_${PN} = "${PN}-bin" FILES_${PN}-common += "${datadir}/${DPN}" FILES_libct = "${libdir}/libct.so.*" FILES_libsybdb = "${libdir}/libsybdb.so.*" FILES_tdsodbc = "${libdir}/odbc/libtdsodbc.so ${datadir}/tdsodbc" FILES_${PN}-dbg += "${libdir}/odbc/.debug" RDEPENDS_libct += "${PN}-common" RDEPENDS_${PN} += "${PN}-common" RDEPENDS_tdsodbc += "${PN}-common" RDEPENDS_${PN}-dev += "libct libsybdb"
Add new recipe for libclc package
SUMMARY=" OpenCL C language implementation" DESCRIPTION="\ libclc is an open implementation of the OpenCL C programming language, \ as specified by the OpenCL 1.1 Specification. \ " HOMEPAGE = "http://libclc.llvm.org" DEBIAN_GIT_BRANCH = "jessie-backports-master" inherit debian-package PV="0.2.0+git20150813" LICENSE = "NCSA & MIT" LIC_FILES_CHKSUM = "\ file://LICENSE.TXT;md5=3d5e39153f76a72ef2ced27e62d33511 \ " DEPENDS = "python llvm-toolchain-3.8" do_configure() { ${S}/configure.py --prefix=${prefix} --with-llvm-config=${STAGING_BINDIR_NATIVE}/llvm-config-3.8 } # This recipe is used for generating libclc-dev package to build # mesa-opencl-icd only do_compile[noexec] = "1" do_install_append(){ mkdir -p ${D}${includedir} mkdir -p ${D}${datadir}/pkgconfig cp -r ${S}/generic/include/clc ${D}${includedir} cp -r ${S}/libclc.pc ${D}${datadir}/pkgconfig } FILES_${PN}-dev = "\ ${includedir}/clc \ ${datadir}/pkgconfig/${PN}.pc \ "
Remove libpixman from cairo depends, since it was usurped into cairo
SECTION = "libs" PRIORITY = "optional" MAINTAINER = "Phil Blundell <pb@debian.org>" # DEPENDS = "x11 libpixman libpng fontconfig libxrender xcb glitz" DEPENDS = "x11 libpixman libpng fontconfig libxrender" DESCRIPTION = "Cairo graphics library" LICENSE = "MPL LGPL" PR = "r0" SRC_URI = "http://cairographics.org/snapshots/cairo-${PV}.tar.gz" inherit autotools pkgconfig do_stage () { oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR} }
SECTION = "libs" PRIORITY = "optional" MAINTAINER = "Phil Blundell <pb@debian.org>" DEPENDS = "x11 libpng fontconfig libxrender" DESCRIPTION = "Cairo graphics library" LICENSE = "MPL LGPL" PR = "r1" SRC_URI = "http://cairographics.org/snapshots/cairo-${PV}.tar.gz" inherit autotools pkgconfig do_stage () { oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR} }
Add recipe for init-system-helpers package
SUMMARY = "Helper tools for all init systems" DESCRIPTION = "This package contains helper tools that are necessary for switching between\n\ the various init systems that Debian contains (e.g. sysvinit, upstart,\n\ systemd). An example is deb-systemd-helper, a script that enables systemd unit\n\ files without depending on a running systemd.\n\ .\n\ While this package is maintained by pkg-systemd-maintainers, it is NOT\n\ specific to systemd at all. Maintainers of other init systems are welcome to\n\ include their helpers in this package." HOMEPAGE = "https://packages.qa.debian.org/i/init-system-helpers.html" PR = "r0" inherit debian-package LICENSE = "GPLv3+ & BSD" LIC_FILES_CHKSUM = "\ file://script/deb-systemd-invoke;beginline=3;endline=30;md5=42d36293e53d929566aef24e3e3b9ef8 \ file://systemd2init/COPYING;md5=d32239bcb673463ab874e80d47fae504" do_install() { install -d ${D}${bindir} install -d ${D}${datadir}/dh-systemd install -d ${D}${datadir}/perl5/Debian/Debhelper/Sequence install -d ${D}${datadir}/debhelper #follow debian/dh-systemd.install and debian/init-system-helpers.install install -m 0755 script/* ${D}${bindir} install -m 0755 systemd2init/systemd2init ${D}${bindir} install -m 0644 systemd2init/skeleton.* ${D}${datadir}/dh-systemd install -m 0644 lib/Debian/Debhelper/Sequence/systemd.pm \ ${D}${datadir}/perl5/Debian/Debhelper/Sequence cp -r autoscripts ${D}${datadir}/debhelper } PACKAGES =+ "dh-systemd" FILES_dh-systemd = "\ ${bindir}/dh_systemd_enable ${bindir}/dh_systemd_start \ ${bindir}/systemd2init ${datadir}/debhelper \ ${datadir}/dh-systemd ${datadir}/perl5" RDEPENDS_${PN} = "perl-base"
Add fuse-utils to RDEPENDS as Gigolo is not a lot of use without it.
DESCRIPTION = "Gigolo is a frontend to easily manage connections to remote filesystems using GIO/GVfs." DEPENDS = "pkgconfig gtk+ gvfs" RDEPENDS = "libxfce4util libxfcegui4 gvfs" SECTION = "x11" LICENSE = "GPL-2" PR = "r2" inherit xfce46 XFCE_VERSION = "4.6.1" SRC_URI = "http://files.uvena.de/${PN}/${PN}-${PV}.tar.bz2" do_compile() { oe_runmake }
DESCRIPTION = "Gigolo is a frontend to easily manage connections to remote filesystems using GIO/GVfs." DEPENDS = "pkgconfig gtk+ gvfs" RDEPENDS = "libxfce4util libxfcegui4 gvfs fuse-utils" SECTION = "x11" LICENSE = "GPL-2" PR = "r3" inherit xfce46 XFCE_VERSION = "4.6.1" SRC_URI = "http://files.uvena.de/${PN}/${PN}-${PV}.tar.bz2" do_compile() { oe_runmake }
Add eventlog recipe, borrowed from meta-oe
SUMMARY = "Replacement syslog API" DESCRIPTION = "The EventLog library aims to be a replacement of the \ simple syslog() API provided on UNIX systems. The \ major difference between EventLog and syslog is that \ EventLog tries to add structure to messages. EventLog \ provides an interface to build, format and output an \ event record. The exact format and output method can \ be customized by the administrator via a configuration \ file. his package is the runtime part of the library. \ " LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=b8ba8e77bcda9a53fac0fe39fe957767" SRC_URI = "http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/${BPN}_${PV}.tar.gz" inherit autotools pkgconfig SRC_URI[md5sum] = "68ec8d1ea3b98fa35002bb756227c315" SRC_URI[sha256sum] = "7cb4e6f316daede4fa54547371d5c986395177c12dbdec74a66298e684ac8b85"
Add RapidJSON recipe required for AWS IoT C++ Device SDK
DESCRIPTION = "A fast JSON parser/generator for C++ with both SAX/DOM style API" HOMEPAGE = "http://rapidjson.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125" inherit cmake PR = "r0" SRC_URI = "git://github.com/miloyip/rapidjson.git" SRCREV = "f54b0e47a08782a6131cc3d60f94d038fa6e0a51" PACKAGES = "${PN}-dev" S = "${WORKDIR}/git" B = "${WORKDIR}/build" EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF" do_install() { install -d ${D}${includedir}/${PN} install -d ${D}${includedir}/${PN}/error install -d ${D}${includedir}/${PN}/internal install -d ${D}${includedir}/${PN}/msinttypes install -m 0644 ${S}/include/${PN}/*.h ${D}${includedir}/${PN}/ install -m 0644 ${S}/include/${PN}/error/*.h ${D}${includedir}/${PN}/error/ install -m 0644 ${S}/include/${PN}/internal/*.h ${D}${includedir}/${PN}/internal/ install -m 0644 ${S}/include/${PN}/msinttypes/*.h ${D}${includedir}/${PN}/msinttypes/ install -d ${D}${libdir}/pkgconfig install -m 0644 ${B}/*.pc ${D}${libdir}/pkgconfig/ install -d ${D}${libdir}/cmake/RapidJSON install -m 0644 ${B}/RapidJSONConfig.cmake ${D}${libdir}/cmake/RapidJSON install -m 0644 ${B}/RapidJSONConfigVersion.cmake ${D}${libdir}/cmake/RapidJSON } FILES_${PN}-dev += "\ ${includedir} \ ${libdir} \ "
Add CPSW 9G support for J7
SUMMARY = "R5 PSDK CPSW9G Ethernet Switch Firmware" LICENSE = "TI-TFL" LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=04ad0a015d4bb63c2b9e7b112debf3db" PV = "1.0+git${SRCPV}" PACKAGE_ARCH = "${MACHINE_ARCH}" inherit deploy inherit update-alternatives PROTOCOL = "git" BRANCH = "master" SRCREV = "df7f399319ee401dfbda9317878128a0f718507f" SRC_URI = "git://git.ti.com/glsdk/ti-eth-fw.git;protocol=${PROTOCOL};branch=${BRANCH}" S = "${WORKDIR}/git" CPSW9G_FW_DIR = "${S}/ethfw" CPSW9G_FW_FILENAME = "app_remoteswitchcfg_server.xer5f" # make sure that lib/firmware, and all its contents are part of the package FILES_${PN} += "${base_libdir}/firmware" do_install() { install -d ${D}${base_libdir}/firmware # Ethernet firmware to be loaded on Main R5 core(needs read permission) install -m 0644 ${CPSW9G_FW_DIR}/${CPSW9G_FW_FILENAME} ${D}${base_libdir}/firmware } TARGET_MAIN_R5FSS0_0 = "j7-main-r5f0_0-fw" ALTERNATIVE_${PN} = "j7-main-r5f0_0-fw" ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}" ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${CPSW9G_FW_FILENAME}" ALTERNATIVE_PRIORITY = "17" INHIBIT_PACKAGE_STRIP = "1" INHIBIT_PACKAGE_DEBUG_SPLIT = "1" INSANE_SKIP_${PN} += "arch" do_compile[noexec] = "1" do_configure[noexec] = "1"
Add the opencl library package.
DESCRIPTION = "TI OpenCL" HOMEPAGE = "https://gitorious.design.ti.com/ocl" LICENSE = "BSD" include ocl.inc PR = "${INC_PR}.0" inherit cmake COMPATIBLE_MACHINE = "dra7xx|k2hk-evm" PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGES += " ${PN}-runtime" DEPENDS = "ocl-gl-headers opencl-monitor cmake-native cmem ti-llvm3.3 ti-llvm3.3-native binutils sqlite3 libffi boost boost-native libloki pkgconfig-native libulm" DEPENDS_append_dra7xx += "ti-ipc virtual/kernel" DEPENDS_append_k2hk-evm += " mpm-transport multiprocmgr" RDEPENDS_${PN}-dev += " ocl-gl-headers-dev opencl-monitor" RDEPENDS_${PN}-runtime += " ${PN} opencl-monitor clocl ti-cgt6x" ALLOW_EMPTY_${PN}-runtime = "1" S = "${WORKDIR}/git/host" export WANT_LLVM_RELEASE = "3.3-ti" OCL_BUILD_TARGET_dra7xx = "ARM_AM57" OCL_BUILD_TARGET_k2hk-evm = "ARM_K2H" EXTRA_OECMAKE += " -DBUILD_TARGET=${OCL_BUILD_TARGET} -DBUILD_OUTPUT=lib -DENABLE_ULM=1" EXTRA_OEMAKE += "KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} LINUX_DEVKIT_ROOT=${STAGING_DIR_HOST}" export KERNEL_INSTALL_DIR = "${STAGING_KERNEL_DIR}" FILES_${PN} += " \ ${datadir}/ti/opencl/* \ "
Move from meta-qt5-extra to meta-oe
SUMMARY = "raw image decoder" LICENSE = "LGPL-2.1 | CDDL-1.0" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=74c9dffdc42805f9c0de2f97df6031fc" SRC_URI = "git://github.com/LibRaw/LibRaw.git" SRCREV = "0209b6a2caec189e6d1a9b21c10e9e49f46e5a92" S = "${WORKDIR}/git" inherit autotools pkgconfig DEPENDS = "jpeg jasper lcms"
Add ESD daemon for Nokia 770 to be used with DSP stuff.
PR = "r0" LICENSE = "GPL" MAINTAINER = "Florian Boor <florian@kernelconcepts.de>" PROVIDES = "esd" RPROVIDES = "esd" DEPENDS = "audiofile osso-dsp-headers" SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.orig.tar.gz" S = ${WORKDIR}/esd inherit autotools pkgconfig
Add e17genmenu, a program to convert KDE and Gnome menus to e17 menus
DESCRIPTION = "Convert Gnome or KDE menus to e17 menus" SECTION = "e/utils" DEPENDS = "e virtual/ecore virtual/evas eet engrave" LICENSE = "MIT" HOMEPAGE = "http://sourceforge.net/projects/e17genmenu" MAINTAINER = "Justin Patrin <papercrane@reversefold.com>" PR = "r0" export EET_CONFIG = "${STAGING_BINDIR}/eet-config" export EVAS_CONFIG = "${STAGING_BINDIR}/evas-config" export ECORE_CONFIG = "${STAGING_BINDIR}/ecore-config" export ENGRAVE_CONFIG = "${STAGING_BINDIR}/engrave-config" export ENLIGHTENMENT_CONFIG = "${STAGING_BINDIR}/enlightenment-config" SRC_URI = "${SOURCEFORGE_MIRROR}/e17genmenu/e17genmenu-2.0.2.tar.gz" inherit autotools
Add new release of minilite supporting the Nokia 770.
inherit gpe LICENSE = "GPL" DEPENDS = "libgpewidget" SECTION = "gpe" DESCRIPTION = "GPE Screen light control dockapp" SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.gz" export CVSBUILD="no"
Add bitbake recipe to build mapstructure
SUMMARY = "Go library for decoding generic map values to structures" HOMEPAGE = "https://github.com/mitchellh/mapstructure" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3f7765c3d4f58e1f84c4313cecf0f5bd" PKG_NAME = "github.com/mitchellh/mapstructure" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "2caf8efc93669b6c43e0441cdc6aed17546c96f3" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "mapstructure_sysroot_preprocess" mapstructure_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
Add recipe for user space library for udma kernel driver
DESCRIPTION = "Provides zero copy access from user-space to packet dma channels via udma kernel driver" LICENSE = "BSD-3-Clause" COMPATIBLE_MACHINE = "keystone" LIC_FILES_CHKSUM = "file://include/udma.h;startline=1;endline=39;md5=ba3c7f91f970afe073b759ced61d0f27" BRANCH = "master" SRC_URI = "git://git.ti.com/keystone-linux/udma.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" # Commit corresponds to UDMA.01.00.00.00 SRCREV = "53d09fb0bc98c41c5eb43623097e363c497d6fd8" PACKAGES =+ "${PN}-test" FILES_${PN}-test = "${bindir}/udma_test" do_install_append() { install -d ${D}${bindir}/ install -d ${D}${libdir}/ install -d ${D}${includedir}/ install -c -m 755 ${S}/udma_test ${D}${bindir}/ install -c -m 755 ${S}/libudma.a ${D}${libdir}/ install -c -m 755 ${S}/libudma.so ${D}${libdir}/libudma.so.1.0.0 cd ${D}${libdir}/ ln -sf libudma.so.1.0.0 libudma.so.1 ln -sf libudma.so.1.0.0 libudma.so install -c -m 755 ${S}/include/* ${D}${includedir}/ }
Add a build of opencv samples from libv4l branch
DESCRIPTION = "Opencv : The Open Computer Vision Library" HOMEPAGE = "http://sourceforge.net/projects/opencvlibrary" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPLv2" PR = "r3" DEPENDS = "opencv" SRCREV = "fb7cc87ed6a7425f3edc58e2d1eb44599496ac09" SRC_URI = "git://github.com/nzjrs/opencv.git;protocol=git;branch=libv4l" PV = "1.1.0+git${SRCREV}" S = "${WORKDIR}/git" do_install() { cd samples/c install -d ${D}/${bindir} for i in *.c; do echo "compiling $i" ${CXX} ${CFLAGS} ${LDFLAGS} -ggdb `pkg-config --cflags opencv` -o `basename $i .c` $i `pkg-config --libs opencv`; install -m 0755 `basename $i .c` ${D}/${bindir} done for i in *.cpp; do echo "compiling $i" ${CXX} ${CFLAGS} ${LDFLAGS} -ggdb `pkg-config --cflags opencv` -o `basename $i .cpp` $i `pkg-config --libs opencv`; install -m 0755 `basename $i .cpp` ${D}/${bindir} done } FILES_${PN} += "${bindir}"
Add support for user-defined multimedia in rootfs
DESCRIPTION = "MultiMedia files" LICENSE = "GPL" PR = "r5" # This package allows you to add multimedia contents to the file system # To add this, you define # MULTIMEDIA_FILES=<path><filename>.tar.bz2 in local.conf # and include "multimedia" in your image do_install() { install -d ${D}/usr/share/multimedia if [ "x${MULTIMEDIA_FILES}" != "x" ] ; then if [ -f ${MULTIMEDIA_FILES} ] ; then tar jxvf ${MULTIMEDIA_FILES} -C ${D}/usr/share/multimedia fi fi } FILES_${PN} = "\ /usr/share/multimedia/* \ /usr/share/multimedia \ "
Add recipe for libusb package
SUMMARY = "userspace USB programming library" DESCRIPTION = "\ Library for programming USB applications without the knowledge \ of Linux kernel internals." HOMEPAGE = "http://www.linux-usb.org/" inherit debian-package autotools pkgconfig PR = "r0" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589" EXTRA_OECONF = "--disable-build-docs" do_install_append() { install -d ${D}${base_libdir} mv ${D}${libdir}/libusb-0.1.so.* ${D}${base_libdir}/ ln -sf ../../lib/libusb-0.1.so.4 \ ${D}${libdir}/libusb-0.1.so.4 LINKLIB=$(basename $(readlink ${D}${libdir}/libusb.so)) ln -sf ../../lib/$LINKLIB ${D}${libdir}/libusb.so rm ${D}${libdir}/*.la } PACKAGES =+ "${PN}++ ${PN}++-dev" FILES_${PN} += "${bindir}/libusb-config" FILES_${PN}++ = "${libdir}/libusbpp-*" FILES_${PN}++-dev = "${includedir}/usbpp.h ${libdir}/libusbpp.so" DEBIANNAME_${PN} = "${PN}-0.1-4" DEBIANNAME_${PN}++ = "${PN}++-0.1-4c2" DEBIANNAME_${PN}++-dev = "${PN}++-dev"
Update LICENSE field version to GPLv2
LICENSE = "GPL" inherit gnome DEPENDS += "shared-mime-info intltool-native" RDEPENDS_${PN} = "shared-mime-info" PR = "r1" FILES_${PN}-dev += "${datadir}/pkgconfig/*.pc" SRC_URI[archive.md5sum] = "541858188f80090d12a33b5a7c34d42c" SRC_URI[archive.sha256sum] = "37196b5b37085bbcd45c338c36e26898fe35dd5975295f69f48028b1e8436fd7"
LICENSE = "GPLv2 GPLv2+" inherit gnome DEPENDS += "shared-mime-info intltool-native" RDEPENDS_${PN} = "shared-mime-info" PR = "r2" FILES_${PN}-dev += "${datadir}/pkgconfig/*.pc" SRC_URI[archive.md5sum] = "541858188f80090d12a33b5a7c34d42c" SRC_URI[archive.sha256sum] = "37196b5b37085bbcd45c338c36e26898fe35dd5975295f69f48028b1e8436fd7"
Add new recipe Create recipe to build libbsd from Debian's source code
# base recipe: meta/recipes-support/libbsd/libbsd_0.7.0.bb # base branch: master # Copyright (C) 2013 Khem Raj <raj.khem@gmail.com> # Released under the MIT license (see COPYING.MIT for the terms) SUMMARY = "Library of utility functions from BSD systems" DESCRIPTION = "This library provides useful functions commonly found on BSD systems, \ and lacking on others like GNU systems, thus making it easier to port \ projects with strong BSD origins, without needing to embed the same \ code over and over again on each project." HOMEPAGE = "http://libbsd.freedesktop.org/wiki/" PR = "r0" inherit debian-package LICENSE = "BSD-4-Clause & MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=f1530ea92aeaa1c5e2547cfd43905d8c" SECTION = "libs" DEPENDS = "" inherit autotools pkgconfig do_install_append() { # move libbsd.so.0* file from ${libdir} to ${base_libdir} as debian jessie install -d ${D}${base_libdir} mv ${D}${libdir}/libbsd.so.0* ${D}${base_libdir}/ # Relink library rel_lib_prefix=`echo ${libdir} | sed 's,\(^/\|\)[^/][^/]*,..,g'` libname=`readlink ${D}${libdir}/libbsd.so | xargs basename` ln -sf ${rel_lib_prefix}${base_libdir}/${libname} ${D}${libdir}/libbsd.so } FILES_${PN}0 += "${base_libdir}/*"
Add new recipe Create recipe to build dcfldd from Debian's source code
# base recipe: not base recipe # base branch: LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" PR = "r0" inherit debian-package inherit autotools
Add recipe for git version
SUMMARY = "Ply: A light-weight dynamic tracer for eBPF" HOMEPAGE = "https://github.com/iovisor/ply" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS += "bison-native" SRC_URI = "git://github.com/iovisor/ply" SRCREV = "aa5b9ac31307ec1acece818be334ef801c802a12" S = "${WORKDIR}/git" inherit autotools-brokensep COMPATIBLE_HOST = "(x86_64.*|aarch64.*|arm.*|powerpc.*)-linux"
Add basic at91 image with Wi-Fi support
#Angstrom bootstrap at91sam9 image IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp" ANGSTROM_EXTRA_INSTALL += " \ alsa-utils-amixer \ alsa-utils-aplay \ dosfstools \ iperf \ madplay \ mplayer \ mtd-utils \ # nbench-byte \ owl-wifi \ thttpd \ usbview \ " 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)} \ " export IMAGE_BASENAME = "console-at91sam9-image" IMAGE_LINGUAS = "" #we dont need the kernel in the image ROOTFS_POSTPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/*Image*; " inherit image
Add recipes for jansson packages
SUMMARY = "C library for encoding, decoding and manipulating JSON data" DESCRIPTION = " Jansson is a C library for encoding, decoding and manipulating JSON data.\n\ .\n\ It features:\n\ * Simple and intuitive API and data model\n\ * Comprehensive documentation\n\ * No dependencies on other libraries\n\ * Full Unicode support (UTF-8)\n\ * Extensive test suite" HOMEPAGE = "http://www.digip.org/jansson/" PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=517b9b5519c82636e516e4969c5ce393" inherit autotools
Add recipe fo minicom package
#base recipe: /meta/recipes-extended/minicom/minicom_2.7.bb # base branch: master # base commit: 7e4cc9892dc72bfd360855940e715f8d43186053 # SUMMARY = "Text-based modem control and terminal emulation program" DESCRIPTION = " Minicom is a text-based modem control and terminal emulation \ program for Unix-like operating systems" HOMEPAGE = "https://alioth.debian.org/projects/minicom/" PR = "r0" inherit debian-package DEPENDS = "ncurses" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "\ file://COPYING;md5=420477abc567404debca0a2a1cb6b645 \ file://src/minicom.h;beginline=1;endline=12;md5=a58838cb709f0db517f4e42730c49e81" inherit autotools gettext pkgconfig
Add recipe for php-auth package
DESCRIPTION = "PHP PEAR modules for creating an authentication system" PR = "r0" inherit debian-package LICENSE = "PHP-3.1" LIC_FILES_CHKSUM = "file://debian/copyright;md5=02f173e28791fe9054ea54631abf4dc3" do_install() { install -d ${D}${datadir}/php/Auth/Container install -d ${D}${datadir}/php/Auth/Frontend install -m 644 ${S}/Auth-*/Auth.php ${D}${datadir}/php/ install -m 644 ${S}/Auth-*/Auth/*.php ${D}${datadir}/php/Auth install -m 644 ${S}/Auth-*/Auth/Container/* ${D}${datadir}/php/Auth/Container install -m 644 ${S}/Auth-*/Auth/Frontend/* ${D}${datadir}/php/Auth/Frontend } FILES_${PN}="${datadir}"
Create recipe for config.txt file
DESCRIPTION = "Commented config.txt file for the Raspberry Pi. \ The Raspberry Pi config.txt file is read by the GPU before \ the ARM core is initialised. It can be used to set various \ system configuration parameters." LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" COMPATIBLE_MACHINE = "raspberrypi" SRCREV = "23e90347da3f1a6029984306e7eb5177adc34df8" SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=git;branch=master \ " S = "${WORKDIR}/git" PR = "r0" addtask deploy before do_package after do_install do_deploy() { install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles cp config.txt ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/ if [ -n "${KEY_DECODE_MPG2}" ]; then sed -i '/#decode_MPG2/ c\decode_MPG2=${KEY_DECODE_MPG2}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt fi if [ -n "${KEY_DECODE_WVC1}" ]; then sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt fi } PACKAGE_ARCH = "${MACHINE_ARCH}"
Add recipe for libsepol package
SUMMARY = "SELinux library for manipulating binary security policies" inherit debian-package PR = "r0" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" do_compile(){ oe_runmake } do_install(){ oe_runmake install DESTDIR=${D} } PACKAGES =+ "sepol-utils" FILES_sepol-utils += "${bindir}/chkcon" FILES_${PN} += "${base_libdir}/libsepol.so.1"
Add recipe for libvdpau package
SUMMARY = "Video Decode and Presentation API for Unix" DESCRIPTION = "\ VDPAU (Video Decode and Presentation API for Unix) is an open source \ library (libvdpau) and API designed by NVIDIA originally for its GeForce \ 8 series and later GPU hardware, targeted at the X Window System on Unix \ operating-systems (including Linux, FreeBSD, and Solaris). This VDPAU API \ allows video programs to offload portions of the video decoding process \ and video post-processing to the GPU video-hardware. \ " HOMEPAGE = "http://cgit.freedesktop.org/~aplattner/libvdpau" PR = "r0" inherit debian-package pkgconfig LICENSE = "MIT" LIC_FILES_CHKSUM = "\ file://COPYING;md5=83af8811a28727a13f04132cc33b7f58" inherit autotools DEPENDS += "libx11 libxext dri2proto" #follow debian/rules EXTRA_OECONF += "--enable-dri2" do_install_append() { rm ${D}${libdir}/vdpau/libvdpau_trace.so \ ${D}${libdir}/vdpau/libvdpau_trace.la \ ${D}${libdir}/*.la } FILES_${PN} += "${libdir}/vdpau/libvdpau_trace.so.*" FILES_${PN}-dbg += "${libdir}/vdpau/.debug"
Move from meta-arago to meta-ti
DESCRIPTION = "TI Resource Manager Low Level Driver" LICENSE = "TI BSD" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc" BRANCH="master" SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}" # Below commit ID corresponds to DEV.RM_LLD.02.01.00.04 SRCREV = "59e3bf5fca3995dd0f79bbdd1af988d278a2a049" PR = "r0" PV = "02.01.00.04" COMPATIBLE_MACHINE = "keystone" DEPENDS = "ti-ipc" PACKAGES =+ "${PN}-test" FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \ ${bindir}/rmLinuxClientTest_*.out \ ${bindir}/ti/drv/rm/test/dts_files/*.dtb" DEVICELIST = "k2h k2k" CHOICELIST = "yes no" BASEDIR = "${WORKDIR}/git" S = "${BASEDIR}/ti/drv/rm" do_compile () { # Now build the lld make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S} for device in ${DEVICELIST} do for choice in ${CHOICELIST} do make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} DEVICE="$device" USEDYNAMIC_LIB="$choice" done done } do_install () { install -d ${D}${includedir}/ti/drv/rm install -d ${D}${libdir} install -d ${D}${bindir} for device in ${DEVICELIST} do make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device" done }
Create recipe to demonstrate qt5 example.
SUMMARY = "QUItIndicators components with few usage examples" HOMEPAGE = "http://quitcoding.com/?page=work#cinex" LICENSE = "CC-BY-3.0" LIC_FILES_CHKSUM = "file://README;beginline=38;endline=45;md5=9a4a88358260db32391eda6ebe7562e5" DEPENDS = "qtdeclarative qtgraphicaleffects" SRC_URI = "http://quitcoding.com/download/QUItIndicators_1.0.1.tar.gz" SRC_URI[md5sum] = "85ec60b553e181c55b331a9921d1b9a0" SRC_URI[sha256sum] = "db84112adbde9b6f28c129e8fb37a6912f4bc34bed18e57f570fb78ea0cb6ae2" S = "${WORKDIR}/QUItIndicators_1.0.1" require recipes-qt/qt5/qt5.inc do_install() { install -d ${D}${datadir}/${P} install -m 0755 ${B}/QUItIndicators ${D}${datadir}/${P} cp -a ${S}/qml ${D}${datadir}/${P} } FILES_${PN}-dbg += "${datadir}/${P}/.debug" FILES_${PN} += "${datadir}" RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"
Add a task for the core libraries of QtopiaCore/QtE
HOMEPAGE = "http://www.trolltech.com" LICENSE = "MIT" inherit task DESCRIPTION_task-qtopia-core-console = "QtopiaCore Core libraries for XML, SQL, Network, Containers and others." RDEPENDS_task-qtopia-core-console = "\ libqtopiacorecore4 \ libqtopiacorenetwork4 \ libqtopiacorexml4 \ libqtopiacoresql4"
Add the linux-adi kernel from the Parallella repo
DECRIPTION = "ADI Kernel" SECTION = "kernel" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" # This version extension should match CONFIG_LOCALVERSION in defconfig LINUX_VERSION_EXTENSION ?= "-adi" PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCREV}" # Source Directory S = "${WORKDIR}/git" # Inherit/include base functionality inherit kernel require recipes-kernel/linux/linux-machine-common.inc # Override COMPATIBLE_MACHINE to include your machine in a bbappend file. COMPATIBLE_MACHINE = "qemuzynq|zynq" PR = "r1" KBRANCH = "bcxcube_epiphany_driver" LINUX_VERSION = "3.12" SRCREV = "203d6a659b5b74fbf279a83a2121ef604769abe7" SRC_URI = "git://github.com/parallella/parallella-linux-adi.git;protocol=https;branch=${KBRANCH}" do_configure_prepend() { cp ${S}/arch/arm/configs/parallella_defconfig ${B}/.config # Enable the Epiphany drive echo "CONFIG_EPIPHANY=y" >> ${B}/.config echo "" >> ${B}/.config }
Add recipe for rng-tools package
# # base recipe: https://github.com/joelagnel/meta-openembedded/blob/master/\ # meta-oe/recipes-support/rng-tools/rng-tools_2.bb # base branch: master # base commit: 7fd47b69000367319886af45151581c0ecd88310 # SUMMARY = "Random number generator daemon" DESCRIPTION = " rngd is a daemon that runs conditioning tests (from FIPS 140-2,\ edition of 2002-10-10) on a source of random data, and if that \ data passes the FIPS test,feeds it back as trusted entropy to the\ in-kernel entropy pool. Thus, it increases the amount of true \ random data the kernel has available." PR = "r0" inherit debian-package LICENSE = "GPL-2.0+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" inherit autotools do_install_append() { #Create new folders install -d ${D}${sysconfdir} install -d ${D}${sysconfdir}/default install -d ${D}${sysconfdir}/init.d install -d ${D}${sysconfdir}/logcheck install -d ${D}${sysconfdir}/logcheck/ignore.d.server install -d ${D}${sysconfdir}/logcheck/violations.ignore.d install -m 0644 ${S}/debian/rng-tools.default \ ${D}${sysconfdir}/default/rng-tools install -m 0755 ${S}/debian/rng-tools.init \ ${D}${sysconfdir}/init.d/rng-tools install -m 0644 ${S}/debian/logcheck.ignore \ ${D}${sysconfdir}/logcheck/ignore.d.server/rng-tools cp ${D}${sysconfdir}/logcheck/ignore.d.server/rng-tools \ ${D}${sysconfdir}/logcheck/violations.ignore.d/rng-tools }
Make sure that we are using correct version of u-boot-mkimage.
SUMMARY = "U-Boot bootloader image creation tool" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95" SECTION = "bootloader" DEPENDS = "openssl" # This revision corresponds to the tag "v2015.10" # We use the revision in order to avoid having to fetch it from the # repo during parse SRCREV = "5ec0003b19cbdf06ccd6941237cbc0d1c3468e2d" PV = "v2015.10+git${SRCPV}" SRC_URI = "git://git.denx.de/u-boot.git;branch=master" S = "${WORKDIR}/git" EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" STRIP=true V=1' do_compile () { oe_runmake sandbox_defconfig oe_runmake cross_tools NO_SDL=1 } do_install () { install -d ${D}${bindir} install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage ln -sf uboot-mkimage ${D}${bindir}/mkimage } BBCLASSEXTEND = "native nativesdk"
Package for LSB init-functions script
DESCRIPTION = "Miscellaneous files for the base system." SECTION = "base" PRIORITY = "optional" PR = "r0" LICENSE = "BSD" PACKAGE_ARCH = "all" SRC_URI = "http://ftp.de.debian.org/debian/pool/main/l/lsb/lsb_3.2-23.tar.gz" FILES_${PN} = "/lib/lsb" S = "${WORKDIR}/lsb-3.2" do_compile () { } do_install () { install -d ${D}/lib/lsb install -m 755 init-functions ${D}/lib/lsb/ }
Add new version for testing (this is the version that OpenWrt currently uses, exiting versions no longer build due to kernel network api changes)
# Bitbake recipe for the madwifi-ng driver DEFAULT_PREFERENCE = "-1" # Disable stripping of kernel modules, since this action strips too # much out, and the resulting module won't load. INHIBIT_PACKAGE_STRIP = "1" require madwifi-ng_r.inc # PR set after the include, to override what's set in the included file. # PR = "r1"
Fix segfault, remap zoom keys, package desktop file
DESCRIPTION = "GPS navigation/map display software" LICENSE = "GPL" DEPENDS = "sqlite3 gtk+ gnome-vfs-dbus dbus bluez-libs" PV = "1.2.4+svn${SRCDATE}" #only works with SRCDATE_maemo-mapper-nohildon = "20061114" SRC_URI = "svn://garage.maemo.org/svn/maemo-mapper;proto=https;module=trunk \ http://home.tal.org/%7Emilang/n770/maemo-mapper-desktop-20061114-001.patch;patch=1;pnum=0" S = "${WORKDIR}/trunk" inherit autotools pkgconfig #FILES_${PN} = "${bindir}/gpsdrive ${bindir}/wpcvt ${bindir}/wpget ${datadir}/pixmaps ${datadir}/applications"
DESCRIPTION = "GPS navigation/map display software" LICENSE = "GPL" DEPENDS = "sqlite3 gtk+ gnome-vfs-dbus dbus bluez-libs" RDEPENDS = "bluez-utils" PV = "1.2.4+svn${SRCDATE}" PR = "r1" # Only works with SRCDATE_maemo-mapper-nohildon = "20061114" SRC_URI = "svn://garage.maemo.org/svn/maemo-mapper;proto=https;module=trunk \ http://home.tal.org/%7Emilang/n770/maemo-mapper-desktop-20061114-001.patch;patch=1;pnum=0 \ file://fix_segfault.patch;patch=1" S = "${WORKDIR}/trunk" inherit autotools pkgconfig do_install_append () { install -d ${D}${datadir}/applications/ mv ${D}/maemo-mapper.desktop ${D}${datadir}/applications/ } #FILES_${PN} += "${datadir}/icons"
Add new package rules for rkflashtool
# Copyright (C) 2014 Romain Perier <romain.perier@gmail.com> # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "Tools for flashing Rockchip devices" LICENSE = "AS IS" LIC_FILES_CHKSUM = "file://rkcrc.c;beginline=1;endline=25;md5=5c55527c991502a9b86b768674cdcff5" DEPENDS += "libusb-native" SRC_URI="git://github.com/linux-rockchip/rkflashtool.git" SRCREV = "${AUTOREV}" PR = "r1" PV = "0.1+git${SRCREV}" inherit native S = "${WORKDIR}/git" do_compile() { oe_runmake } do_install() { install -d ${D}/${prefix}/bin for tool in rkcrc rkflashtool rkmisc rkpad rkparameters rkunpack rkunsign; do install -m 0755 ${S}/${tool} ${D}/${prefix}/bin/${tool} done }
Add new recipe Create recipe to build debianutils from Debian's source code
# base recipe: meta/recipes-support/debianutils/debianutils_4.5.1.bb # base branch: master SUMMARY = "Miscellaneous utilities specific to Debian" SECTION = "base" LICENSE = "GPLv2+ & SMAIL_GPL" LIC_FILES_CHKSUM = "file://debian/copyright;md5=f01a5203d50512fc4830b4332b696a9f" PR = "r0" inherit debian-package inherit autotools do_install_append() { install -d ${D}${base_bindir} mv ${D}${bindir}/run-parts ${D}${base_bindir}/ mv ${D}${bindir}/tempfile ${D}${base_bindir}/ mv ${D}${bindir}/which ${D}${base_bindir}/ # create link binary ln -s ${base_bindir}/which ${D}${bindir}/which }
Add recipes for libmatheval packages
SUMMARY = "GNU library for evaluating symbolic mathematical expressions" DESCRIPTION = "GNU libmatheval is a library comprising of several procedures that make \ it possible to create an in-memory tree representation of mathematical \ functions over single or multiple variables and later use this \ representation to evaluate functions for specified variable values, to \ create corresponding trees for function derivatives over specified \ variables or to print textual representations of in-memory trees to a \ specified string. The library supports arbitrary variable names in \ expressions, decimal constants, basic unary and binary operators and \ elementary mathematical functions." HOMEPAGE = "http://www.gnu.org/software/libmatheval/" PR = "r0" inherit debian-package LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" inherit autotools gettext pkgconfig do_configure_prepend() { # base on debian/rules touch ${S}/config/config.rpath } DEPENDS += "guile-2.0 flex libtool" RPROVIDES_${PN}-dev = "libmatheval1-dev"
Add recipe for compiling clk_wiz driver
inherit features_check REQUIRED_DISTRO_FEATURES = "clk-wiz" inherit esw python3native DEPENDS += "xilstandalone" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clk_wiz/src/" ESW_COMPONENT_NAME = "libclk_wiz.a" addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
Add recipe for the remmina remote desktop client
DESCRIPTION = "A feature rich Remote Desktop Application written in GTK+" HOMEPAGE = "https://remmina.org" SECTION = "Support" LICENSE = "GPLv2 & openssl" LIC_FILES_CHKSUM = "file://LICENSE;md5=dab7215512044d49037272ce1ac4ea8f file://LICENSE.OpenSSL;md5=c1eb3cee0a4dea27503c531267a69769" DEPENDS += "openssl freerdp gtk+3 gdk-pixbuf atk libgcrypt avahi-ui libsodium libssh vte json-glib libsoup-2.4 libvncserver spice spice-protocol libsecret" DEPENDS_append_libc-musl = "libexecinfo" LDFLAGS_append_libc-musl = " -lexecinfo" SRC_URI = "https://gitlab.com/Remmina/Remmina/-/archive/v${PV}/Remmina-v${PV}.tar.bz2 \ " SRC_URI[md5sum] = "6da599c3a5cab2df37a70f8fba2f5438" SRC_URI[sha256sum] = "fbed745438bb0c21467b60cbd67c8148a9289b5ebc7482d06db443bea556af1a" S = "${WORKDIR}/Remmina-v${PV}" inherit cmake EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF -DWITH_TRANSLATIONS=OFF" do_install_append(){ # We dont need the extra stuff form other desktop environments rm -rf ${D}/${datadir}/xsessions rm -rf ${D}/${datadir}/metainfo rm -rf ${D}/${datadir}/gnome-session } RDEPENDS_${PN} = "bash" FILES_${PN}_append = " ${datadir}/icons/hicolor/*" COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
Switch to subdir= in SRC_URI
DESCRIPTION = "ZRally is a top view race game which offers the player mulitple \ tracks and multiple skill levels." SECTION = "opie/games" PRIORITY = "optional" LICENSE = "GPL" AUTHOR = "Kevin Greenhaw <kevin_greenhaw@email.com>" HOMEPAGE = "http://zrally.sourceforge.net/zrally.html" APPNAME = "zrally" APPTYPE = "binary" APPDESKTOP = "${WORKDIR}" SRC_URI = "${SOURCEFORGE_MIRROR}/zrally/zrally_0.90_src.tar.gz \ file://dir.patch;striplevel=0" S = "${WORKDIR}" inherit opie do_install () { install -d ${D}${palmtopdir}/pics/${APPNAME}/track_pics/ install -m 0644 track_pics/*.png ${D}${palmtopdir}/pics/${APPNAME}/track_pics/ install -m 0644 track_pics/ZRallyIcon.png ${D}${palmtopdir}/pics/ } SRC_URI[md5sum] = "7084c0d2b28108563ca45e5ec1533ba1" SRC_URI[sha256sum] = "c4fb0477fdc110b63d867ae2a46cca7913fa6a0ca8bf574c7189329bea91dcdf"
DESCRIPTION = "ZRally is a top view race game which offers the player mulitple \ tracks and multiple skill levels." SECTION = "opie/games" PRIORITY = "optional" LICENSE = "GPL" AUTHOR = "Kevin Greenhaw <kevin_greenhaw@email.com>" HOMEPAGE = "http://zrally.sourceforge.net/zrally.html" APPNAME = "zrally" APPTYPE = "binary" APPDESKTOP = "${WORKDIR}" SRC_URI = "${SOURCEFORGE_MIRROR}/zrally/zrally_0.90_src.tar.gz;subdir=${BPN}-${PV} \ file://dir.patch;striplevel=0" inherit opie do_install () { install -d ${D}${palmtopdir}/pics/${APPNAME}/track_pics/ install -m 0644 track_pics/*.png ${D}${palmtopdir}/pics/${APPNAME}/track_pics/ install -m 0644 track_pics/ZRallyIcon.png ${D}${palmtopdir}/pics/ } SRC_URI[md5sum] = "7084c0d2b28108563ca45e5ec1533ba1" SRC_URI[sha256sum] = "c4fb0477fdc110b63d867ae2a46cca7913fa6a0ca8bf574c7189329bea91dcdf"
Add octomap map server recipe
DESCRIPTION = "The OctoMap library implements a 3D occupancy grid mapping approach, providing data structures and mapping algorithms in C++." SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;md5=dfb148c57f55603b266f9fd073e6d1b6" SRC_URI = "git://github.com/OctoMap/octomap_mapping.git;branch=indigo-devel;protocol=git" SRCREV = "122bc60230925009925c99d8e40c1abea287ebf0" DEPENDS = "roscpp visualization-msgs sensor-msgs pcl-ros pcl-conversions nav-msgs std-msgs std-srvs octomap-ros octomap-msgs dynamic-reconfigure nodelet rospy python-six python-bson" DEPENDS += "${PYTHON_PN}-setuptools-native ${PYTHON_PN}-future-native" S = "${WORKDIR}/git/octomap_server" EXTRA_OECMAKE += "-DCMAKE_SKIP_RPATH=ON" inherit catkin
Add recipes for lksctp-tools package
SUMMARY = "ser-space access to Linux Kernel SCTP" DESCRIPTION = "SCTP (Stream Control Transmission Protocol) is a message oriented, \ reliable transport protocol, with congestion control, support for \ transparent multi-homing, and multiple ordered streams of messages. \ RFC2960 defines the core protocol." HOMEPAGE = "http://lksctp.sf.net/" inherit debian-package PV = "1.0.16+dfsg" LICENSE = "GPL-2+ & LGPL-2.1+ & BSD-3-Clause" LIC_FILES_CHKSUM = "\ file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e \ file://COPYING.lib;md5=0a1b79af951c42a9c8573533fbba9a92 \ file://src/withsctp/sctp_bind.c;beginline=10;endline=37;md5=4f5ceff92458066c8cfdfe5b3f824aa0" inherit autotools do_install_append() { # follow libsctp-dev.install install -d ${D}${docdir}/libsctp-dev/examples/ mv ${D}${datadir}/lksctp-tools/* ${D}${docdir}/libsctp-dev/examples/ rm -rf ${D}${libdir}/lksctp-tools/libwithsctp.so \ ${D}${libdir}/lksctp-tools/libwithsctp.la \ ${D}${libdir}/lksctp-tools/libwithsctp.a } PACKAGES =+ "libsctp libsctp-dev" FILES_libsctp = "${libdir}/libsctp${SOLIBS}" FILES_libsctp-dev = "${includedir}/* \ ${libdir}/*.so \ ${libdir}/*.la \ " RPROVIDES_libsctp = "libsctp1"
Add current version of json-c library
DESCRIPTION = "JSON-C - A JSON implementation in C" HOMEPAGE = "https://github.com/json-c/json-c/wiki" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRCREV = "d4e81f9ec8273914739808737fa0a27a3f0589fb" SRC_URI = "git://github.com/json-c/json-c.git" S = "${WORKDIR}/git" inherit autotools
Add recipe for mklibs package
SUMMARY = "Shared library reduction script" DESCRIPTION = "\ mklibs produces cut-down shared libraries that contain only the \ routines required by a particular set of executables. This is \ useful when building closed systems where disk space is at a premium, \ such as the Debian installer. \ " PR = "r0" inherit debian-package LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "\ file://src/mklibs-readelf/elf.cpp;md5=eac8712efb9999f3ad0606c57d13424e \ " inherit autotools-brokensep gettext pkgconfig DEPENDS += "libtimedate-perl-native" PACKAGES =+ "${PN}-copy" FILES_${PN}-copy += "\ ${bindir}/mklibs-copy ${bindir}/mklibs-readelf \ ${libdir}/mklibs/* ${docdir}/mklibs-copy/* \ ${mandir}/man1/mklibs-copy.1.gz ${mandir}/man1/mklibs-readelf.1.gz \ "
Add recipe for TI trace framework library
DESCRIPTION = "TI Trace Framework library" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/instrumentation/traceframework/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" BRANCH="master" SRC_URI = "git://git.ti.com/keystone-rtos/traceframework.git;destsuffix=git/ti/instrumentation/traceframework;protocol=git;branch=${BRANCH}" # Below commit ID corresponds to DEV.TFWK-01.01.01.06A SRCREV = "bd87f53f4d12dc802bcc5609afb7994643e40cb9" PV = "01.01.01.06" COMPATIBLE_MACHINE = "(tci6614-evm|keystone)" DEPENDS = "cuia" DEVICELIST = "" DEVICELIST_append_tci6614-evm = "c6614" DEVICELIST_append_keystone = "k2k k2h k2e k2l" PACKAGES =+ "${PN}-test" FILES_${PN}-test = "${bindir}/tfw*.out \ ${bindir}/*.txt" BASEDIR = "${WORKDIR}/git" S = "${BASEDIR}/ti/instrumentation/traceframework" EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} \ CUIA_INSTALL_DIR=${STAGING_INCDIR} CUIA_LIB_DIR=${STAGING_LIBDIR}" do_compile () { # making the library oe_runmake clean oe_runmake lib # make the test application for device in ${DEVICELIST} do oe_runmake tests DEVICE="$device" TFW_INC_DIR=${BASEDIR} TFW_SRC_DIR=${S} \ TARGET_ROOT_DIR=${D} done } do_install() { for device in ${DEVICELIST} do oe_runmake install DEVICE="$device" TFW_SRC_DIR=${S} TARGET_ROOT_DIR=${D} done }
Add new recipe for multiproc transport library and test code
DESCRIPTION = "Multiproc transport layer for KeyStone devices: Provide basic transport layer for moving data between different processing nodes" HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git" LICENSE = "BSD-3-Clause & MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51" COMPATIBLE_MACHINE = "keystone" DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld" SRC_URI = "git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}" BRANCH = "master" # This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.04.00E SRCREV = "56640c6296f9f4816140364b7620b1d1a483ac40" PV = "1.0.4.0" PR = "r0" S = "${WORKDIR}/git" PACKAGES =+ "${PN}-test" FILES_${PN}-test = "${bindir}/mpm_transport_test.out ${bindir}/mpm_transport_hyplnk_loopback.out ${bindir}/mpm_transport_hyplnk_remote.out ${bindir}/mpm_transport_hyplnk_loopback_dma.out ${bindir}/mpm_transport_hyplnk_loopback64.out" do_compile () { cd ${S} make PDK_INSTALL_PATH=${STAGING_INCDIR} } do_install() { make installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir} install -d ${D}${includedir}/ install -c -m 755 ${S}/include/* ${D}${includedir}/ install -d ${D}${libdir}/ cp -a ${S}/lib/* ${D}${libdir}/ install -d ${D}${sysconfdir}/mpm/ install -c -m 755 ${S}/scripts/mpm_config.json ${D}${sysconfdir}/mpm/mpm_config.json }
Add bitbake recipe to build consul-migrate
SUMMARY = "Provides data migration for Consul server nodes" HOMEPAGE = "https://github.com/hashicorp/consul-migrate" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=b278a92d2c1509760384428817710378" DEPENDS += "raft raft-boltdb raft-mdb" PKG_NAME = "github.com/hashicorp/consul-migrate" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "678fb10cdeae25ab309e99e655148f0bf65f9710" S = "${WORKDIR}/git" do_compile() { #Setting up a symlink to have bolt in a directory go can work with cd ${S} rm -rf .gopath mkdir -p .gopath/src/$(dirname ${PKG_NAME}) ln -sf ../../../../ .gopath/src/${PKG_NAME} #Setting up go variables export GOPATH="${S}/.gopath:${STAGING_DIR_TARGET}/${prefix}/local/go" export GOBIN=${S}/.gopath/bin export GOARCH="${TARGET_ARCH}" # supported amd64, 386, arm if [ "${TARGET_ARCH}" = "x86_64" ]; then export GOARCH="amd64" fi go install ${PKG_NAME} } do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} install -d ${D}${prefix}/bin cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ cp -a ${S}/.gopath/bin/* ${D}${prefix}/bin/ } SYSROOT_PREPROCESS_FUNCS += "consul_migrate_sysroot_preprocess" consul_migrate_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) install -d ${SYSROOT_DESTDIR}${prefix}/bin cp -a ${D}${prefix}/bin/* ${SYSROOT_DESTDIR}${prefix}/bin/ } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/* ${prefix}/bin/*"
Fix broken package references to remove parsing errors
DESCRIPTION = "Entice is the E17 picture viewer" # can also depend on GIMP for editing DEPENDS = "edb evas-x11 ecore-x11 edje epsilon esmart-x11" LICENSE = "MIT" PR = "r0" inherit e RDEPENDS += "libesmart-container-plugins libesmart-thumb0 libesmart-trans-x11-0 libesmart-file-dialog0" SRC_URI = "${E_CVS};module=e17/apps/entice;date=${PV}" S = "${WORKDIR}/entice" EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR}/edje_cc" FILES_${PN} = "${bindir}/* ${libdir}/* ${datadir} ${sysconfdir} ${sbindir}"
DESCRIPTION = "Entice is the E17 picture viewer" # can also depend on GIMP for editing DEPENDS = "edb evas-x11 ecore-x11 edje epsilon esmart-x11" LICENSE = "MIT" PR = "r0" inherit e RDEPENDS += "libesmart-container-plugins libesmart-thumb libesmart-trans-x11-0 libesmart-file-dialog" SRC_URI = "${E_CVS};module=e17/apps/entice;date=${PV}" S = "${WORKDIR}/entice" EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR}/edje_cc" FILES_${PN} = "${bindir}/* ${libdir}/* ${datadir} ${sysconfdir} ${sbindir}"
Add initial recipe for cppkafka wrapper
SUMMARY = "high level C++ wrapper for rdkafka" DESCRIPTION = "cppkafka allows C++ applications to consume and produce messages using the Apache Kafka protocol." HOMEPAGE = "https://github.com/mfontanini/cppkafka" SECTION = "lib" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = " \ file://LICENSE;md5=d8b4ca15d239dc1485ef495c8f1bcc72 \ " SRC_URI = "git://github.com/mfontanini/cppkafka;protocol=https" SRCREV = "5e4b350806d561473138ce7a982e8f6cf2e77733" DEPENDS = "librdkafka boost chrpath-replacement-native" inherit cmake S = "${WORKDIR}/git" do_install_append(){ chrpath -d ${D}${libdir}/libcppkafka.so.0.3.1 }
Add recipe for libmongo-client package
SUMMARY = "alternative C driver for MongoDB," DESCRIPTION = "\ libmongo-client is meant to be a stable (API, ABI and quality alike), \ clean, well documented and well tested shared library, that strives to\ make the most common use cases as convenient as possible" HOMEPAGE = "https://github.com/algernon/libmongo-client" PR = "r0" inherit debian-package LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" inherit autotools pkgconfig DEPENDS += "glib-2.0" #install follow Debian jessie do_install_append() { rm ${D}${libdir}/libmongo-client.la LINKLIB=$(basename $(readlink ${D}${libdir}/libmongo-client.so)) chmod 0644 ${D}${libdir}/${LINKLIB} } #correct the sub-package name DEBIANNAME_${PN}-dbg = "${PN}0-dbg"
Add recipe for TI Image processing demo for keystone 2
DESCRIPTION = "TI Image Processing Demo for KeyStone 2" HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/image-proc.git" LICENSE = "BSD & MIT" LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=29;md5=ada2acff673fad7c53cbfd2598525f2a" SECTION = "console" COMPATIBLE_MACHINE = "keystone" DEPENDS = "ti-ipc" BRANCH = "master" SRC_URI = "git://git.ti.com/keystone-demos/image-proc.git;protocol=git;branch=${BRANCH}" #Commit corresponds to DEV.DEMO_IMAGE_PROC-01.00.00.01 SRCREV = "1745725128929f6d57a3e8e8ed0ca02fe4b28b51" PV = "1.0.0.1" S = "${WORKDIR}/git" MATRIX_BASE_DIR = "${datadir}/matrix-gui-2.0" MATRIX_WEB_DIR = "${MATRIX_BASE_DIR}" MATRIX_APP_DIR = "${MATRIX_WEB_DIR}/apps" MATRIX_IPD_DIR = "${MATRIX_APP_DIR}/demo_imageproc" MATRIX_CGI_DIR = "${MATRIX_IPD_DIR}/cgi-bin" FILES_${PN} = "${MATRIX_IPD_DIR}/demo_imageproc.html" FILES_${PN} += "${MATRIX_CGI_DIR}/image_processing_master.out" do_install() { install -d ${D}${MATRIX_IPD_DIR} install -d ${D}${MATRIX_CGI_DIR} install -c -m 755 ${S}/ipc/master/image_processing_master.out ${D}${MATRIX_CGI_DIR} install -c -m 755 ${S}/webpage/demo_imageproc.html ${D}${MATRIX_IPD_DIR} }
Add recipe for linux-netbookpro version 3.1.1
SECTION = "kernel" DESCRIPTION = "Linux kernel for Psion Teklogix NetBook Pro" LICENSE = "GPLv2" PR = "r1" DEPENDS="boost-img-native boost-bootcode" SRC_URI = "git://github.com/tworaz/linux.git;protocol=git;branch=v3.1.1-nbpro0" SRCREV="edbc7eca3e93aa2c66acf54f2f6c219faffd2a33" ARCH = "arm" COMPATIBLE_HOST = "arm.*-linux" COMPATIBLE_MACHINE = "netbookpro" S = "${WORKDIR}/git" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" inherit kernel NBKPRO_IMG_NAME ?= "nBkProOs.img" NBKPRO_IMG_DESCR ?= "NetBook Pro Linux ${PV}" PACKAGES += "kernel-image-raw" FILES_kernel-image = "/${KERNEL_IMAGEDEST}/${NBKPRO_IMG_NAME}" FILES_kernel-image-raw = "/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}*" do_configure_prepend() { install -m 0644 ${S}/arch/arm/configs/netbookpro_defconfig ${S}/.config } kernel_do_compile_append() { boost-img create \ -k arch/${ARCH}/boot/Image \ -b ${DEPLOY_DIR_IMAGE}/bcode-latest.bin \ -o ${NBKPRO_IMG_NAME} \ -d "${NBKPRO_IMG_DESCR}" \ -z || die "Failed to create boost img" } kernel_do_install_append() { install -m 0644 ${NBKPRO_IMG_NAME} ${D}/${KERNEL_IMAGEDEST} } kernel_do_deploy_append() { install -m 0644 ${S}/${NBKPRO_IMG_NAME} ${DEPLOYDIR}/${NBKPRO_IMG_NAME}_${KERNEL_VERSION} } pkg_postinst_kernel() { } pkg_postrm_kernel() { }
Create new recipe using new sourceipk.bbclass feature
DESCRIPTION = "Git repositories containing sample board port code" HOMEPAGE = "https://gitorious.org/sitara-board-port" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" inherit allarch CREATE_SRCIPK = "1" SRCIPK_INSTALL_DIR = "board-support/board-port-labs/sitara-board-port-u-boot" SRCIPK_PRESERVE_GIT = "true" PR = "r0" BRANCH = "master" SRC_URI = "git://gitorious.org/sitara-board-port/sitara-board-port-uboot.git;protocol=git;branch=${BRANCH}" SRCREV = "43a81af5ccddc67f9ed5f11664e5478f59574102" S = "${WORKDIR}/git" adjust_git_prepend() { # Checkout a specific branch instead of a commit that is used by default git checkout ${BRANCH} } do_configure() { : } do_compile() { : }