doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
193cfc6f-91b7-45ab-9a90-a13046369ca2
{ "language": "BitBake" }
```bitbake ``` Add recipes for libsndfile package
```bitbake SUMMARY = "Library for reading/writing audio files" DESCRIPTION = "libsndfile is a library of C routines for reading and writing files containing \ sampled audio data." HOMEPAGE = "http://www.mega-nerd.com/libsndfile/" inherit debian-package PV = "1.0.25" LICENSE = "LGPLv2.1+ & BSD-3-Clause" LIC_FILES_CHKSUM = "\ file://COPYING;md5=e77fe93202736b47c07035910f47974a \ file://programs/sndfile-cmp.c;endline=32;md5=641a2cf179542b99eb03abaeea248df1" inherit autotools pkgconfig DEPENDS += "alsa-lib libvorbis flac" do_install_append() { rm -rf ${D}${bindir}/sndfile-regtest \ ${D}${bindir}/sndfile-salvage \ ${D}${libdir}/*.la } PACKAGES =+ "sndfile-programs" FILES_sndfile-programs = "${bindir}/*" PKG_${PN}-dev = "${PN}1-dev" RPROVIDES_${PN}-dev += "${PN}1-dev" RPROVIDES_${PN} += "${PN}1" ```
23cdac08-1698-453d-b35b-d8a0e51392d5
{ "language": "BitBake" }
```bitbake ``` Add yandex disk access package
```bitbake DESCRIPTION = "Simple wrapper to work with yandex disk using webdav Basic Auth." # Other references https://365-on.com/%D0%BE%D1%82%D0%BF%D1%80%D0%B0%D0%B2%D0%BA%D0%B0-%D1%84%D0%B0%D0%B9%D0%BB%D0%B0-%D1%81-%D0%BF%D0%BE%D0%BC%D0%BE%D1%89%D1%8C%D1%8E-curl-%D0%BD%D0%B0-yandex-disk/ HOMEPAGE = "https://github.com/lexich/yandex-disk-webdav" SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" SRCNAME = "yandexwebdav" SRC_URI = "http://pypi.python.org/packages/source/y/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" SRC_URI[md5sum] = "18223432c09f9d26c7f47413737fec9f" SRC_URI[sha256sum] = "712166290fc412f01c7e665896072ec2e540285d747013209d62a71c55a27739" S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools RDEPENDS_${PN} += "python-six" ```
bfee129f-2f5e-4d3f-b2b6-93c0bc61f5dc
{ "language": "BitBake" }
```bitbake ``` Add a recipe to build golang-lru
```bitbake SUMMARY = "A fixed-size thread safe LRU cache in go" HOMEPAGE = "https://github.com/hashicorp/golang-lru" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=f27a50d2e878867827842f2c60e30bfc" PKG_NAME = "github.com/hashicorp/golang-lru" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "995efda3e073b6946b175ed93901d729ad47466a" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "golang_lru_sysroot_preprocess" golang_lru_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" ```
1199aa7b-4cce-4214-a4d5-617103cf2001
{ "language": "BitBake" }
```bitbake ``` Add recipe for ifenslave package
```bitbake # # base recipe: http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/\ # meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb? # base branch: master # base commit: acc086420ca087c8d044b60bd5d96e28426fd840 # SUMMARY = "Configure network interfaces for parallel routing" DESCRIPTION = " This is a tool to attach and detach slave network interfaces to \ a bonding device. A bonding device will act like a normal \ Ethernet network device to the kernel, but will send out the \ packets via the slave devices using a simple round-robin \ scheduler. This allows for simple load-balancing, identical \ to "channel bonding" or "trunking" techniques used in switches" HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/networking/bonding" PR = "r0" inherit debian-package LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://ifenslave;md5=5b971c6ad58cb00d10e12e5bf460037c" #Install follow Debian jessies do_install() { #Create new folders install -d ${D}${sbindir} install -m 755 ${S}/ifenslave ${D}${sbindir}/ install -d ${D}${sysconfdir} install -d ${D}${sysconfdir}/network install -d ${D}${sysconfdir}/network/if-post-down.d install -d ${D}${sysconfdir}/network/if-pre-up.d install -d ${D}${sysconfdir}/network/if-up.d ln -s ifenslave ${D}${sbindir}/ifenslave-2.6 install -m 0755 ${S}/debian/ifenslave.if-post-down \ ${D}${sysconfdir}/network/if-post-down.d/ifenslave install -m 0755 ${S}/debian/ifenslave.if-pre-up \ ${D}${sysconfdir}/network/if-pre-up.d/ifenslave install -m 0755 ${S}/debian/ifenslave.if-up \ ${D}${sysconfdir}/network/if-up.d/ifenslave } ```
cc935214-1f73-44b0-8e86-055af604c7a7
{ "language": "BitBake" }
```bitbake ``` Add Perl6::Junction perl module. This provides support for the perl6 style junction operators in perl5.
```bitbake DESCRIPTION = "Perl6::Junction - Perl6 style Junction operators in Perl5." SECTION = "libs" MAINTAINER = "Jamie Lenehan <[email protected]>" LICENSE = "Artistic|GPL" PR = "r0" SRC_URI = "http://search.cpan.org/CPAN/authors/id/C/CF/CFRANKS/Perl6-Junction-1.10.tar.gz" S = "${WORKDIR}/Perl6-Junction-${PV}" inherit cpan ```
92509e1e-a3e7-4fb4-b882-b34b60628e13
{ "language": "BitBake" }
```bitbake ``` Add recipe for lttng-ust package
```bitbake # # Base recipe: meta/recipes-kernel/lttng/lttng-ust_git.bb # Base branch: jethro # SUMMARY = "Linux Trace Toolkit Userspace Tracer 2.x" DESCRIPTION = "The LTTng UST 2.x package contains the userspace tracer library to trace userspace codes." HOMEPAGE = "http://lttng.org/ust" BUGTRACKER = "https://bugs.lttng.org/projects/lttng-ust" LICENSE = "LGPLv2.1+ & MIT & GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=c963eb366b781252b0bf0fdf1624d9e9 \ file://snprintf/snprintf.c;endline=32;md5=d3d544959d8a3782b2e07451be0a903c \ file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44" PR = "r0" inherit debian-package autotools lib_package DPN = "ust" DEPENDS = "liburcu util-linux" do_install_append() { # Remove unwanted files if [ -d ${D}${includedir}/uruc/ ]; then rm -rf ${D}${includedir}/uruc fi } PACKAGES =+ "lib${PN}-ctl2" FILES_lib${PN}-ctl2 += "${libdir}/lib${PN}-ctl.so.*" # Correct the package name PKG_${PN}-dev = "lib${PN}-dev" PKG_${PN} = "lib${PN}0" ```
d267db01-355c-4dc4-b9ab-87288cd26f34
{ "language": "BitBake" }
```bitbake ``` Add the fribidi recipe necessary for building efl
```bitbake SUMMARY = "Fribidi library for bidirectional text" SECTION = "libs" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" BBCLASSEXTEND = "native" PROVIDES = "libfribidi" DEPENDS = "glib-2.0 libpcre" inherit autotools lib_package pkgconfig CFLAGS_append = " -DPAGE_SIZE=4096 " SECURITY_CFLAGS_remove_toolchain-clang = "-D_FORTIFY_SOURCE=2" SRC_URI = "http://fribidi.org/download/fribidi-${PV}.tar.bz2" SRC_URI[md5sum] = "6c7e7cfdd39c908f7ac619351c1c5c23" SRC_URI[sha256sum] = "08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e" ```
fa947a21-5c1d-4bab-b619-0ff58ce67288
{ "language": "BitBake" }
```bitbake ``` Add video for linux lib
```bitbake DESCRIPTION = "v4l2 and IR applications" LICENSE = "GPLv2 & LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \ file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0" PR = "r2" DEPENDS = "jpeg" inherit autotools gettext # libv4l was absorbed into this, let OE know that PROVIDES = "libv4l" SRC_URI = "git://linuxtv.org/v4l-utils.git;protocol=git \ " # 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 -> v0.8.8 tag SRCREV = "0298efdcd1153b8f719b9164548a3f0546f0cb7c" S = "${WORKDIR}/git" EXTRA_OECONF = "--disable-qv4l2 --enable-shared" do_configure() { # autotools_do_configure fails with: # | configure.ac:139: error: required file 'build-aux/config.rpath' not found autoreconf -vfi oe_runconf } PACKAGES =+ "rc-keymaps libv4l libv4l-dbg libv4l-dev" FILES_rc-keymaps = "${sysconfdir}/rc* ${base_libdir}/udev/rc*" FILES_${PN} = "${bindir} ${sbindir} ${base_libdir}/udev/rules.d/70-infrared.rules" FILES_libv4l += "${libdir}/libv4l/* ${libdir}/*.so.*" FILES_libv4l-dbg += "${libdir}/libv4l/.debug" FILES_libv4l-dev += "${libdir}/*.so ${includedir}/lib* ${libdir}/pkgconfig/lib*" ```
f0c74db1-7206-449c-8882-b91b860271ef
{ "language": "BitBake" }
```bitbake ``` Add mpio python library and application
```bitbake DESCRIPTION = "Microchip Peripheral I/O" LICENSE = "(Apache-2.0 & MIT)" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://LICENSE.MIT;md5=eaff550e3336227837b4efbd2244da32" PACKAGES = "${PN}-dbg ${PN}" RDEPENDS_${PN} = "python" SRC_URI = "git://github.com/linux4sam/mpio.git;branch=master;protocol=http" SRCREV = "d329ac453cc75d1483e516f7bfab6e8727675dc4" S = "${WORKDIR}/git" inherit setuptools ```
6e8ed500-285b-4af2-91df-5a663d29db02
{ "language": "BitBake" }
```bitbake ``` Add skin readheathd from daconi and mmark
```bitbake DESCRIPTION = "Skin Red Heat HD. Daconi and mmark" MAINTAINER = "SIFTeam" inherit gitpkgv PV = "1.0+git${SRCPV}" PKGV = "1.0+git${GITPKGV}" PR = "r0" SRCREV = ${AUTOREV} PV_font-nmsbd2 = "20120113" PR_font-nmsbd2 = "r0" PKGV_font-nmsbd2 = "${PV_font-nmsbd2}" DESCRIPTION_font-nmsbd2 = "Nmsbd2 font" PV_font-verdanar = "20120113" PR_font-verdanar = "r0" PKGV_font-verdanar = "${PV_font-verdanar}" DESCRIPTION_font-verdanar = "Verdana_R font" PACKAGES = "${PN} font-nmsbd2 font-verdanar" PROVIDES = "${PN} font-nmsbd2 font-verdanar" SRC_URI = "git://github.com/SIFTeam/skin-redheathd.git;protocol=git" FILES_${PN} = "/usr/share/enigma2" FILES_font-nmsbd2 = "/usr/share/fonts/nmsbd2.ttf" FILES_font-verdanar = "/usr/share/fonts/Verdana_R.ttf" RDEPENDS_${PN} = "font-nmsbd2 font-verdanar" S = "${WORKDIR}/git" do_install() { install -d ${D}/usr/share cp -rp ${S}/usr/share/* ${D}/usr/share/ chmod -R a+rX ${D}/usr/share/enigma2/ chmod 644 ${D}/usr/share/fonts/*.ttf } ```
af4cc494-c833-4ecf-b89a-112d5b190af7
{ "language": "BitBake" }
```bitbake ``` Add recipe for Xfce based image.
```bitbake IMAGE_FEATURES += "package-management" PR = "r0" POKY_EXTRA_INSTALL = "\ task-x11-server\ task-x11-utils \ task-xfce-extended \ task-jlime-apps-cli \ task-jlime-apps-gui \ network-manager-applet \ libgtkstylus \ " LICENSE = "MIT" inherit core-image ```
2d2463c5-163f-4822-a308-a087e1d0267f
{ "language": "BitBake" }
```bitbake ``` Add recipe for libnet package
```bitbake # base recipe: http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/\ # meta-oe/recipes-connectivity/libnet/libnet_1.2-rc3.bb? # base branch: master # base commit: a558e8096c381bb2b83ad1ef39f3301e73759cbb # SUMMARY = "A packet dissection and creation library" DESCRIPTION = "libnet provides a portable framework for low-level \ network packet writing and handling \ libnet features portable packet creation interfaces at the IP layer \ and link layer, as well as a host of supplementary functionality" HOMEPAGE = "http://libnet-dev.sourceforge.net/" PR = "r0" inherit debian-package LICENSE = "BSD-2-Clause & BSD-3-Clause & BSD-4-Clause" LIC_FILES_CHKSUM = "file://doc/COPYING;md5=fb43d5727b2d3d1238545f75ce456ec3 \ file://include/ifaddrlist.h;md5=58a41682f610ab26d8b2e457f1d8d593 \ file://include/bpf.h;md5=4bf8fab88f054e7f83c66e9fa9180933 \ " DEPENDS = "libpcap" inherit autotools binconfig #Correct the packages name DEBIANNAME_${PN}-dev = "${PN}1-dev" DEBIANNAME_${PN}-doc = "${PN}1-doc" DEBIANNAME_${PN}-dbg = "${PN}1-dbg" ```
953d0ab6-1ad6-4977-ab89-564a4a8046a4
{ "language": "BitBake" }
```bitbake ``` Add Latest FC Version (2.25.02)
```bitbake require ti-framework-components.inc PV = "2_25_02_06" SRC_URI[fctarball.md5sum] = "0ff9fc152633f6bfbe7ae98902833477" SRC_URI[fctarball.sha256sum] = "1dc2994b867c76a474fd0c7c82c544d9163f661434ce994542bba9dd2997da6a" ```
c91ace6d-2975-48fb-aaab-c9425b6d0b6f
{ "language": "BitBake" }
```bitbake ``` Add recipe of directfb-examples built from Git repository
```bitbake DESCRIPTION = "The DirectFB-examples package contains a set of simple DirectFB \ applications that can be used to test and demonstrate various DirectFB \ features" DEPENDS = "directfb" SECTION = "libs" LICENSE = "MIT" RV = "1.7-0+git" PR = "r0" SRC_URI = " \ git://git.directfb.org/git/directfb/extras/DirectFB-examples.git;protocol=git \ " SRCREV = "61ddf7dc02ee28d8cab20ad482f37c2ad4390835" LIC_FILES_CHKSUM = "file://COPYING;md5=ecf6fd2b19915afc4da56043926ca18f" S = "${WORKDIR}/git" inherit autotools ```
a50e0520-a030-4643-962e-199ec466e695
{ "language": "BitBake" }
```bitbake ``` Add recipe for icu package
```bitbake # # Base recipe: recipes-support/icu/icu_55.1.bb # Base branch: jethro # SUMMARY = "International Component for Unicode libraries" DESCRIPTION = "The International Component for Unicode (ICU) is a mature, \ portable set of C/C++ and Java libraries for Unicode support, software \ internationalization (I18N) and globalization (G11N), giving applications the \ same results on all platforms." HOMEPAGE = "http://site.icu-project.org/" PR = "r0" inherit debian-package LICENSE = "ICU" LIC_FILES_CHKSUM = "file://../license.html;md5=3a0605ebb7852070592fbd57e8967f3f" S = "${DEBIAN_UNPACK_DIR}/source" DEPENDS = "icu-native" DEPENDS_class-native = "" CPPFLAGS_append_libc-uclibc = " -DU_TIMEZONE=0" inherit autotools pkgconfig binconfig STAGING_ICU_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/${BPN}/${PV}" # ICU needs the native build directory as an argument to its --with-cross-build option when # cross-compiling. Taken the situation that different builds may share a common sstate-cache # into consideration, the native build directory needs to be staged. EXTRA_OECONF = "--enable-static --with-cross-build=${STAGING_ICU_DIR_NATIVE}" EXTRA_OECONF_class-native = "" EXTRA_OECONF_class-nativesdk = "--with-cross-build=${STAGING_ICU_DIR_NATIVE}" do_install_append_class-native() { mkdir -p ${D}/${STAGING_ICU_DIR_NATIVE}/config cp -r ${B}/config/icucross.mk ${D}/${STAGING_ICU_DIR_NATIVE}/config cp -r ${B}/config/icucross.inc ${D}/${STAGING_ICU_DIR_NATIVE}/config cp -r ${B}/lib ${D}/${STAGING_ICU_DIR_NATIVE} cp -r ${B}/bin ${D}/${STAGING_ICU_DIR_NATIVE} cp -r ${B}/tools ${D}/${STAGING_ICU_DIR_NATIVE} } # Add packages follow debian PACKAGES =+ "icu-devtools libicu52" # Rename packages follow debian PKG_${PN}-dev = "libicu-dev" FILES_icu-devtools += "${bindir}/* ${sbindir}/*" FILES_libicu52 += "${libdir}/*.so.*" BBCLASSEXTEND = "native nativesdk" ```
418ff2e0-ee7c-4981-914b-9be5ad76728d
{ "language": "BitBake" }
```bitbake ``` Integrate the hue control python module
```bitbake DESCRIPTION = "Asynchronous library to control Philips Hue" HOMEPAGE = "https://pypi.org/project/aiohue/" SECTION = "devel/python" LICENSE = "Apache-2.0" # No license file available but the license is specified in PKG-INFO and setup.py. LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" SRC_URI[sha256sum] = "35696d04d6eb0328b7031ea3c0a3cfe5d83dfcf62f920522e4767d165c6bc529" inherit pypi setuptools3 RDEPENDS_${PN} += "${PYTHON_PN}-aiohttp" ```
081a6778-75a5-4684-b408-90c16f5ec5fc
{ "language": "BitBake" }
```bitbake ``` Add new recipe for sysstat package
```bitbake # # Base recipe: meta/recipes-extended/sysstat/sysstat_10.2.1.bb # Base branch: daisy # SUMMARY = "System performance tools" DESCRIPTION = "The sysstat utilities are a collection of performance monitoring tools for Linux." HOMEPAGE = "http://sebastien.godard.pagesperso-orange.fr/" PR = "r0" inherit debian-package autotools-brokensep gettext LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" EXTRA_OECONF += " \ --enable-yesterday \ --disable-man-group \ --disable-compress-manpg \ --enable-copy-only \ sa_lib_dir=${libdir}/${PN} \ sa_di=${localstatedir}/log/${PN} \ conf_dir=${sysconfdir}/${PN}" # Install files follow deian/rules do_install_append() { mkdir -p -m 755 ${D}${libdir}/sysstat install -m 0755 ${S}/contrib/isag/isag ${D}${bindir}/isag install -m 0644 ${S}/contrib/isag/isag.1 ${D}${mandir}/man1 install -d ${D}${datadir}/applications install -m 0644 ${S}/debian/isag.desktop ${D}${datadir}/applications install -m 0755 ${S}/debian/debian-sa1 ${D}${libdir}/${DPN} mv ${D}${bindir}/sar ${D}${bindir}/sar.sysstat mv ${D}${mandir}/man1/sar.1 ${D}${mandir}/man1/sar.sysstat.1 rm -rf ${D}${docdir} install -d ${D}${sysconfdir}/cron.d install -m 0644 ${S}/debian/sysstat.cron.d ${D}${sysconfdir}/cron.d/sysstat install -d ${D}${sysconfdir}/cron.daily install -m 0755 ${S}/debian/sysstat.cron.daily ${D}${sysconfdir}/cron.daily/sysstat install -d ${D}${sysconfdir}/init.d install -m 0755 ${S}/debian/sysstat.init.d ${D}${sysconfdir}/init.d/sysstat } # Ship packages follow debian PACKAGES =+ "isag isag-doc" FILES_isag += "${bindir}/isag" FILES_isag-doc += "${datadir}/applications \ ${mandir}/man1/isag.1 \ ${datadir}/menu/" ```
420d7d73-8470-4529-b5a8-c591ed428eea
{ "language": "BitBake" }
```bitbake ``` Add simple-video-viewer recipe, useful for testing webcams using libv4l and gtk+
```bitbake DESCRIPTION = "Simple Video Viewer" HOMEPAGE = "http://github.com/nzjrs/simple-video-viewer/tree/master" LICENSE = "GPLv2" SECTION = "x/games" PRIORITY = "optional" DEPENDS="libv4l" PR = "r1" SRCREV = "dedf6cb62d0bfe234dae84e8e5dacdc934e59bad" SRC_URI = "git://github.com/nzjrs/simple-video-viewer.git;protocol=git;branch=master" S = "${WORKDIR}/git" inherit autotools ```
7f3967a5-4268-44d1-b339-f2e9353c7132
{ "language": "BitBake" }
```bitbake ``` Add examples for libarch version 1.0.0.0
```bitbake DESCRIPTION = "TI Library Architecture Examples" include libarch.inc PR = "${INC_PR}.0" DEPENDS += "libarch clocl-native" RDEPENDS_${PN} += "opencl-runtime" export LIBARCH_DIR = "${LIBARCH_INSTALL_DIR}" export TARGET_ROOTDIR = "${STAGING_DIR_TARGET}" do_compile() { make examples TARGET=${TARGET} LIBOS=LIB_OPENCL # Remove object files before installing so that the binaries are not present find . -name "*.obj" -type f -delete find . -name "*.o" -type f -delete find . -name "*.out" -type f -delete find . -name "*.dsp_h" -type f -delete } do_install() { install -d ${D}${datadir}/ti/examples/libarch cp -r examples/arm+dsp ${D}${datadir}/ti/examples/libarch cp -r examples/common ${D}${datadir}/ti/examples/libarch cp examples/Makefile ${D}${datadir}/ti/examples/libarch } FILES_${PN} += "\ ${datadir}/ti/examples/libarch/* \ " FILES_${PN}-dbg += "\ ${datadir}/ti/examples/libarch/*/.debug \ " INSANE_SKIP_${PN} = "arch ldflags textrel" ```
faae0b2d-ec49-4330-8797-e72656f6222b
{ "language": "BitBake" }
```bitbake ``` Add task with some usefull apps.
```bitbake DESCRIPTION = "Base package set for Jlime GUI images." SECTION = "x11/wm" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" PR = "r1" inherit task PROVIDES = "${PACKAGES}" PACKAGES = "\ ${PN}-cli \ ${PN}-gui \ " RDEPENDS_${PN}-cli = " \ htop \ file \ vim \ " RDEPENDS_${PN}-gui = " \ leafpad \ gcalctool \ epdfview \ midori \ claws-mail \ " ```
13580b68-e59b-4887-b474-f11525002144
{ "language": "BitBake" }
```bitbake ``` Add PRU software package version 4.0.0.0
```bitbake DESCRIPTION = "Programmable Real-time Unit Software Package" HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS" LICENSE = "BSD-3-Clause & GPL-2.0 & PD" LIC_FILES_CHKSUM = "file://PRU-Package-v4.0-Manifest.html;md5=5ea937e4ff2c924a735d42e61ad8cbe3" BRANCH = "master" SRC_URI = "git://git.ti.com/pru-software-support-package/pru-software-support-package.git;protocol=git;branch=${BRANCH}" SRCREV = "476289eb7c3a91977bae84aea55c56f3120b48ea" PV = "4.0.0.0" PR = "r0" require recipes-ti/includes/ti-paths.inc COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15" PACKAGE_ARCH = "${MACHINE_ARCH}" DEPENDS = "ti-cgt-pru-native" S = "${WORKDIR}/git" export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}" SUBDIRS = "examples pru_cape/pru_fw lib/src labs" do_compile() { for dir in ${SUBDIRS} do make -C ${S}/$dir done } do_install_ti33x() { install -d ${D}/lib/firmware for i in 0 1 do install -m 0644 ${S}/examples/am335x/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \ ${D}/lib/firmware/am335x-pru${i}-fw done } do_install_ti43x() { install -d ${D}/lib/firmware for i in 0 1 do install -m 0644 ${S}/examples/am437x/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \ ${D}/lib/firmware/am437x-pru1_${i}-fw done } do_install_omap-a15() { install -d ${D}/lib/firmware for i in 1 2 do for j in 0 1 do install -m 0644 ${S}/examples/am572x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \ ${D}/lib/firmware/am57xx-pru${i}_${j}-fw done done } FILES_${PN} += "/lib/firmware" INSANE_SKIP_${PN} = "arch" ```
b1fb83a3-302c-4c2d-b5e8-377db6782cc7
{ "language": "BitBake" }
```bitbake ``` Add recipe for Rezlooks Gil-Ouch theme.
```bitbake DESCRIPTION = "Rezlooks Gil-Ouch theme" HOMEPAGE = "http://gnome-look.org/content/show.php/Rezlooks-Gil-Ouch?content=70394" SECTION = "x11/themes" PR = "r1" RDEPENDS = "gtk-engines-rezlooks" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://gtk-2.0/gtkrc;md5=9b78ae1658f1b5b77d271ea2ba42bdca" SRC_URI = "http://gnome-look.org/CONTENT/content-files/70394-Rezlooks-Gil-Ouch.tar.gz" SRC_URI[md5sum] = "bf8c33d3754513d286f9feffebebebe0" SRC_URI[sha256sum] = "03f3da37e76b2f09b0ff51c0aa423f353214a9b0af87a0d31c22143bc33139c7" S = "${WORKDIR}/Rezlooks-Gil-Ouch" PACKAGES = "${PN}" FILES_${PN} = "${datadir}/themes/Rezlooks-Gil-Ouch/gtk-2.0/gtkrc" do_install () { install -d -m 0755 "${D}/${datadir}/themes/Rezlooks-Gil-Ouch/gtk-2.0" install -m 0644 "${S}/gtk-2.0/gtkrc" "${D}/${datadir}/themes/Rezlooks-Gil-Ouch/gtk-2.0" } ```
ad8824c4-1256-40c4-967e-e41a77902715
{ "language": "BitBake" }
```bitbake ``` Add Exposure, a setting application
```bitbake AUTHOR = "Willie <[email protected]>" DESCRIPTION = "Exposure all devices on neo1973" DEPENDS = "python-etk" RDEPENDS = "python-etk python-re python-codecs" PV = "0.0.1+svnr${SRCREV}" SRCREV = ${AUTOREV} PR = "r0" S = ${WORKDIR}/${PN} inherit setuptools SRC_URI = "svn://svn.projects.openmoko.org/svnroot;module=exposure;proto=http" PACKAGES = "${PN}" FILES_${PN} += "${prefix}/share/*" ```
b879a669-2599-4cc6-9d99-0410f4341a95
{ "language": "BitBake" }
```bitbake ``` Add python library for OAuth
```bitbake DESCRIPTION = "Library for OAuth version 1.0a." HOMEPAGE = "http://code.google.com/p/oauth/" SECTION = "devel/python" LICENSE = "MIT" SOURCE = "oauth" PR = "r0" SRC_URI = "http://pypi.python.org/packages/source/o/${SOURCE}/${SOURCE}-${PV}.tar.gz" SRC_URI[md5sum] = "30ed3cc8c11d7841a89feab437aabf81" SRC_URI[sha256sum] = "e769819ff0b0c043d020246ce1defcaadd65b9c21d244468a45a7f06cb88af5d" S = "${WORKDIR}/${SOURCE}-${PV}" inherit setuptools ```
2ee41e91-b81e-4c30-ad04-281c19feca6b
{ "language": "BitBake" }
```bitbake ``` Add GLSDK specific staging tree for omap-a15
```bitbake require recipes-graphics/drm/libdrm.inc COMPATIBLE_MACHINE = "omap-a15" DEFAULT_PREFERENCE = "-1" EXTRA_OECONF += "--enable-omap-experimental-api --enable-kms" SRC_URI = "git://git.ti.com/glsdk/libdrm.git;protocol=git" SRCREV = "3cb5405084111193cedb8796d259b56560b088f0" PR = "${INC_PR}.0" S = "${WORKDIR}/git" ```
a2e223d2-542f-482e-a74b-c12af4d945df
{ "language": "BitBake" }
```bitbake ``` Add new recipe for 3D coordinate transformations
```bitbake SUMMARY = "Functions for 3D coordinate transformations" SECTION = "devel/python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://setup.py;beginline=36;endline=36;md5=6dd3a8a8bcf9d24e830b974bf9345e72" SRC_URI[sha256sum] = "404c7797c78aa461cb8043081901fc5517cef342d5ff56becd74a7967ba88d78" inherit pypi setuptools3 RDEPENDS:${PN} += "\ ${PYTHON_PN}-numpy \ " ```
f2c3aeeb-194d-4b6e-b272-f65d1fe07f93
{ "language": "BitBake" }
```bitbake ``` Add Wi-Fi support to at91
```bitbake DESCRIPTION = "Driver for HD Wireless Wi-Fi device" HOMEPAGE = "http://www.hd-wireless.se" PRIORITY = "optional" SECTION = "kernel/modules" LICENSE = "GPL" PR = "r1" RDEPENDS = "wireless-tools \ wpa-supplicant \ " SRC_URI = "http://www.hd-wireless.se/images/stories/public_pdf/owl-linux-arm-${PV}.tar.gz \ " S = "${WORKDIR}/owl-linux-arm-${PV}" inherit module do_compile () { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP oe_runmake 'MODPATH=${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net' \ 'KERNELDIR=${STAGING_KERNEL_DIR}' \ 'KDIR=${STAGING_KERNEL_DIR}' \ 'KERNEL_VERSION=${KERNEL_VERSION}' \ 'CC=${KERNEL_CC}' \ 'LD=${KERNEL_LD}' } do_install() { install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net install -m 0644 ${S}/owl*${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net } ```
84050e50-bd8b-4e12-8508-27cc891f4c54
{ "language": "BitBake" }
```bitbake ``` Add a special version of binutils for building MinGW
```bitbake PR = "r1" require binutils.inc DESCRIPTION = "A GNU collection of binary utilities - MinGW port" HOMEPAGE = "http://www.mingw.org/" SRC_URI = "${SOURCEFORGE_MIRROR}/mingw/binutils-${PV}-src.tar.gz" S = "${WORKDIR}/binutils-${PV}-src" DEFAULT_PREFERENCE = "0" ```
408fafd3-24d6-4f9d-a805-7cbe58c52cfd
{ "language": "BitBake" }
```bitbake ``` Install a package which contains the default config This is derived from openmoko-session2 and is responsible for setting the default values which settings-daemon will pick up and advertise as xsettings.
```bitbake DESCRIPTION = "Theme support and defaults to integrate OM2007.2 in the April Software Update" LICENSE = "GPL" SECTION = "x11" RDEPENDS_${PN} = "openmoko-common2" ALLOW_EMPTY_${PN} = "1" PACKAGE_ARCH = "all" pkg_postinst_${PN} () { #!/bin/sh -e if [ "x$D" != "x" ]; then exit 1 fi gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme Moko gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme openmoko-standard gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 5" gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/wallpaper ${datadir}/pixmaps/wallpaper.png gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /desktop/poky/interface/digital_clock 1 gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/poky/peripherals/mouse/drag_threshold 8 gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/openmoko/neod/power_management 2 # gstreamer audio settings #gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct -t string --set /system/gstreamer/0.10/default/audiosink pulsesink #gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct -t string --set /system/gstreamer/0.10/default/audiosrc pulsesrc } ```
54e1ec2f-a032-4e99-b4b7-6512160ae78e
{ "language": "BitBake" }
```bitbake ``` Add utils used by Linaro PM scripts
```bitbake DESCRIPTION = "Utilities from Linaro for testing Power Management" HOMEPAGE = "https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQa" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://../COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" PV = "0.4.4" PR = "r0" BRANCH ?= "master" SRCREV = "fbc2762359b863dfbf4fd0bab1e8abd2a6125ed4" SRC_URI = "git://git.linaro.org/tools/pm-qa.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git/utils" UTILS = "cpuburn cpucycle heat_cpu nanosleep" CFLAGS += "-pthread" do_compile () { oe_runmake } do_install () { install -d ${D}${bindir} for util in ${UTILS} do install -m 0755 $util ${D}${bindir}/ done } ```
10e4333b-b278-49b9-9163-1aa99581b4e9
{ "language": "BitBake" }
```bitbake ``` Create recipe to demonstrate qt5 example.
```bitbake SUMMARY = "Qt5 smarthome QML demo application" DESCRIPTION = "This is the Smarthome QML demo application. It shows some user interfaces for controlling an automated house" HOMEPAGE = "http://www.basyskom.com/news/143-demos-qt5-port.html" LICENSE = "LGPLv2.1+ & GFDL-1.2" LIC_FILES_CHKSUM = "file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \ file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" DEPENDS = "qtdeclarative qtgraphicaleffects" SRC_URI = "http://share.basyskom.com/demos/smarthome_src.tar.gz" SRC_URI[md5sum] = "883b0376239baec20ebec072e938a995" SRC_URI[sha256sum] = "fceaa813c33e462bad6c0383eaef81a6f6e586c15d1fa73898173b517fc1cda6" S = "${WORKDIR}/smarthome_src" require recipes-qt/qt5/qt5.inc do_install() { install -d ${D}${datadir}/${P} install -m 0755 ${B}/smarthome ${D}${datadir}/${P} cp -a ${S}/qml ${D}${datadir}/${P} cp -a ${S}/components ${D}${datadir}/${P} } FILES_${PN}-dbg += "${datadir}/${P}/.debug" FILES_${PN} += "${datadir}" RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" ```
d5421734-278e-4afd-99c0-fce6cbbd0614
{ "language": "BitBake" }
```bitbake ``` Add recipe based on upcoming 1.0.4 version
```bitbake DESCRIPTION = "Locking devices library" SECTION = "libs" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM="file://COPYING;md5=4fbd65380cdd255951079008b364516c" PV = "1.0.3+git${SRCPV}" SRCREV = "16b899645d32012cc94cc9232f64d4ddaaf0b795" SRC_URI = "git://anonscm.debian.org/lockdev/lockdev.git;protocol=git" S = "${WORKDIR}/git" inherit lib_package autotools do_configure_prepend () { ./scripts/git-version > VERSION # Make automake happy touch ChangeLog } ```
e6dbac3f-af2c-4188-b187-26db305dca07
{ "language": "BitBake" }
```bitbake ``` Create new recipe using new sourceipk.bbclass feature
```bitbake DESCRIPTION = "Git repositories containing sample board port code" HOMEPAGE = "https://gitorious.org/sitara-board-port" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" inherit allarch CREATE_SRCIPK = "1" SRCIPK_INSTALL_DIR = "board-support/board-port-labs/sitara-board-port-linux" SRCIPK_PRESERVE_GIT = "true" PR = "r0" BRANCH = "master" SRC_URI = "git://gitorious.org/sitara-board-port/sitara-board-port-linux.git;protocol=git;branch=${BRANCH}" SRCREV = "30df33e7134ab507a339b89a864256cabfbddea1" S = "${WORKDIR}/git" adjust_git_prepend() { # Checkout a specific branch instead of a commit that is used by default git checkout ${BRANCH} } do_configure() { : } do_compile() { : } ```
c784102b-8c23-4f12-b6fc-06e692aefca9
{ "language": "BitBake" }
```bitbake ``` Add a console image with OpenGL drivers and development tools (ldd,gdbserver). This image can be used as a base for other images used for development.
```bitbake inherit image IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp" ANGSTROM_EXTRA_INSTALL ?= "" DEPENDS = "task-base-extended \ ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \ " IMAGE_INSTALL = "task-base-extended \ ${ANGSTROM_EXTRA_INSTALL} \ ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \ archos-init \ # OpenGL modules and drivers omap3-sgx-modules \ libgles-omap3 \ # Development utilities ldd \ gdbserver \ " export IMAGE_BASENAME = "archos-console-image" IMAGE_LINGUAS = ""```
e7920175-347a-4f45-b750-63f3cc4a8e64
{ "language": "BitBake" }
```bitbake ``` Add recipes for lcms2 package
```bitbake SUMMARY = "Little CMS 2 color management library" DESCRIPTION = "LittleCMS 2 intends to be a small-footprint color management engine, with \ special focus on accuracy and performance. It uses the International Color \ Consortium standard (ICC) of color management. LittleCMS 2 is a full \ implementation of ICC specification 4.2 plus all addendums. It fully supports \ all V2 and V4 profiles, including abstract, devicelink and named color \ profiles." HOMEPAGE = "http://www.littlecms.com/" inherit debian-package PV = "2.6" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=6c786c3b7a4afbd3c990f1b81261d516" inherit autotools DEPENDS += "tiff libjpeg-turbo zlib" PACKAGES =+ "${PN}-utils" FILES_${PN}-utils = "${bindir}/*" RPROVIDES_${PN} += "liblcms2-2" RPROVIDES_${PN}-dev += "liblcms2-dev" RPROVIDES_${PN}-utils += "liblcms2-utils" ```
b8801854-1a65-4ba6-b115-ee2731e47705
{ "language": "BitBake" }
```bitbake DESCRIPTION = "An sh-compatible command language interpreter." HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html" DEPENDS = "ncurses" SECTION = "base/shell" LICENSE = "GPL" PR = "r4" SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ file://signames-mipsel.diff;patch=1" inherit autotools bindir = "/bin" sbindir = "/sbin" EXTRA_OECONF = "--with-ncurses" export CC_FOR_BUILD = "${BUILD_CC}" do_configure () { gnu-configize oe_runconf } ``` Make the bash build inherit gettext, and disable parallel make.
```bitbake DESCRIPTION = "An sh-compatible command language interpreter." HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html" DEPENDS = "ncurses" SECTION = "base/shell" LICENSE = "GPL" PR = "r4" SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ file://signames-mipsel.diff;patch=1" inherit autotools gettext PARALLEL_MAKE = "" bindir = "/bin" sbindir = "/sbin" EXTRA_OECONF = "--with-ncurses" export CC_FOR_BUILD = "${BUILD_CC}" do_configure () { gnu-configize oe_runconf } ```
ef909298-eb0f-4f15-add3-0fde0c575441
{ "language": "BitBake" }
```bitbake ``` Add task containing basic X11 support.
```bitbake DESCRIPTION = "Tasks for X11 support" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" PR = "r1" PACKAGES = "\ task-x11-core \ task-x11-core-dev \ task-x11-core-dbg \ " PACKAGE_ARCH = "${MACHINE_ARCH}" XSERVER ?= "xserver-kdrive-fbdev" ALLOW_EMPTY = "1" RDEPENDS_task-x11-core = "\ dbus \ pointercal \ ${XSERVER} \ x11-common \ xserver-nodm-init \ liberation-fonts \ xauth \ xhost \ xset \ xrandr \ " ```
b7f4b9e4-9d90-43e1-ba83-099b573541b5
{ "language": "BitBake" }
```bitbake ``` Add recipe for libdatetime-locale-perl package
```bitbake SUMMARY = "Perl extension providing localization support for DateTime" DESCRIPTION = "\ DateTime::Locale extends DateTime by providing localization support. It also \ provides some functions for getting information on available locales and is \ easily customizable through the addition of new locales. \ " HOMEPAGE = "http://datetime.perl.org/" PR = "r0" inherit debian-package LICENSE = "Artistic-1.0 | GPL-1+" LIC_FILES_CHKSUM = "\ file://LICENSE;md5=a89fc6431f978476bd49e3f7a26a1a1e" inherit cpan_build RDEPENDS_${PN} += "libparams-validate-perl" ```
7e8d6c7e-6040-4ed2-b399-c520939dbe59
{ "language": "BitBake" }
```bitbake ``` Add recipe for flashrom package
```bitbake SUMMARY = "Identify, read, write, erase, and verify BIOS/ROM/flash chips" DESCRIPTION = "\ flashrom is a tool for identifying, reading, writing, verifying and erasing \ flash chips. It's often used to flash BIOS/EFI/coreboot/firmware/optionROM \ images in-system using a supported mainboard, but it also supports flashing of \ network cards (NICs), SATA controller cards, and other external devices which \ can program flash chips. \ It supports a wide range of DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32/40/48, \ and BGA chips, which use various protocols such as LPC, FWH, parallel \ flash, or SPI. \ The tool can be used to flash BIOS/firmware images for example -- be it \ proprietary BIOS images or coreboot (previously known as LinuxBIOS) images. \ It can also be used to read the current existing BIOS/firmware from a \ flash chip. \ " HOMEPAGE = "http://www.flashrom.org" PR = "r0" inherit debian-package LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "\ file://COPYING;md5=751419260aa954499f7abaabaa882bbe" inherit autotools-brokensep DEPENDS += "pciutils" EXTRA_OEMAKE += "PREFIX=${prefix}" do_install_append() { install -d ${D}${base_libdir}/udev/rules.d install -m 0644 ${S}/util/z60_flashrom.rules \ ${D}${base_libdir}/udev/rules.d/60-flashrom.rules } PARALLEL_MAKE = "" ```
53445400-c201-401d-9518-59cc7f814eed
{ "language": "BitBake" }
```bitbake ``` Add initial support for xdotool
```bitbake DESCRIPTION = "xdotool - command-line X11 automation tool - utilising X11 XTEST interface" HOMEPAGE = "http://www.semicomplete.com/projects/xdotool" LICENSE = "GPL" SECTION = "x11" PRIORITY = "optional" DEPENDS = "virtual/libx11 libxtst" SRC_URI = "http://semicomplete.googlecode.com/files/xdotool-${PV}.tar.gz" EXTRA_OEMAKE = "PREFIX=${prefix}" do_install() { oe_runmake -e install DESTDIR=${D} PREFIX=${prefix} } SRC_URI[md5sum] = "1d5be641e512c343abfe5f78b39e6f19" SRC_URI[sha256sum] = "42d7271fbc796e53db71bb221f311b9ff3c51d90a71c9487a9bd3101ca39894f" ```
cb3bc0f9-d8b3-456b-a283-a812f1aeeb61
{ "language": "BitBake" }
```bitbake ``` Add a Linux 3.6 kernel recipe
```bitbake require linux.inc DESCRIPTION = "Linux kernel for the RaspberryPi board" COMPATIBLE_MACHINE = "raspberrypi" PR = "r6" PV_append = "+git${SRCREV}" SRCREV = "31a951046155b27361127d9cf85a1f58719fe9b3" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \ " S = "${WORKDIR}/git" # NOTE: For now we pull in the default config from the RPi kernel GIT tree. KERNEL_DEFCONFIG = "bcmrpi_defconfig" # CMDLINE for raspberrypi CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" UDEV_GE_141 ?= "1" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } do_install_prepend() { install -d ${D}/lib/firmware } do_deploy_append() { # Deploy cmdline.txt install -d ${DEPLOYDIR}/bcm2835-bootfiles echo "${CMDLINE}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt } ```
b3849cbb-4cc4-44eb-9014-bc7821ffa247
{ "language": "BitBake" }
```bitbake ``` Add recipes for suds packages
```bitbake SUMMARY = "Lightweight SOAP client for Python" DISCRIPTION = "\ The suds project is a Python soap web services client lib. \ Suds leverages Python meta programming to provide an intuitive API \ for consuming web services. Objectification of types defined in \ the WSDL is provided without class generation. Programmers rarely \ need to read the WSDL since services and WSDL based objects can be \ easily inspected. Supports pluggable soap bindings." LICENSE = "LGPL-3.0+" LIC_FILES_CHKSUM = "file://LICENSE;md5=847e96bce86d8774f491a92924343a29" PR = "r0" DPN = "suds" DEPENDS += "python-setuptools-native" inherit debian-package inherit distutils PV = "0.4.1" DISTUTILS_INSTALL_ARGS += " \ --root='${D}' \ --prefix='${prefix}' \ --install-lib='${libdir}/${PYTHON_DIR}/dist-packages' \ --install-data='${datadir}'" do_install_append() { # Remove unwanted files and folders find ${D}${libdir} -type f -name "*.pyc" -exec rm -f {} \; find ${D}${libdir} -type f -name "*.pyo" -exec rm -f {} \; find ${D}${libdir} -type f -name "SOURCES.txt" -exec rm -f {} \; rm -r ${D}${libdir}/${PYTHON_DIR}/site-packages } BBCLASSEXTEND = "native" ```
4a7484e5-5d43-49c6-b40d-b260429e3558
{ "language": "BitBake" }
```bitbake ``` Add recipe for Smart reflex application
```bitbake DESCRIPTION = "TI Smart Reflex temperature control application for KeyStone II" HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/srss-tc.git" LICENSE = "BSD & MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51" COMPATIBLE_MACHINE = "keystone" PV = "1.0.0.0" BRANCH = "master" # This commit corresponds to tag DEV.SRSS-TC-01.00.00.00A SRCREV = "7aaf8308d7ba470144730275df12edae5007e07a" SRC_URI = "git://git.ti.com/keystone-linux/srss-tc.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" SRSS_BIN_NAME = "srss_tc.out" INITSCRIPT_NAME = "run_srss_tc.sh" INITSCRIPT_PARAMS = "defaults 10" inherit update-rc.d LDFLAGS += "-lrt" do_install() { install -d ${D}${bindir}/ install -c -m 755 ${S}/src/${SRSS_BIN_NAME} ${D}${bindir}/${SRSS_BIN_NAME} install -d ${D}${sysconfdir}/init.d/ install -c -m 755 ${S}/scripts/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} } ```
377c8089-8a9f-418c-b717-229d801f9cb6
{ "language": "BitBake" }
```bitbake ``` Create recipe to demonstrate qt5 example.
```bitbake SUMMARY = "QT5 QUItBattery" DESCRIPTION = "This package contains QUItBatteryComponent with few usage examples" HOMEPAGE = "http://quitcoding.com/?page=work#cinex" LICENSE = "CC-BY-3.0" LIC_FILES_CHKSUM = "file://README;beginline=37;endline=46;md5=6df4bcb7f9092d42a84f32eacb61bdc4" DEPENDS = "qtdeclarative qtgraphicaleffects" SRC_URI = "http://quitcoding.com/download/QUItBattery_1.0.0.tar.gz" SRC_URI[md5sum] = "7c7babc1086491b116b01d154b6163fd" SRC_URI[sha256sum] = "38dcb7630553c397f9d8a53c6411b1a6237956ed8dd4859e01487b1dd8f37873" S = "${WORKDIR}/QUItBattery_1.0.0" require recipes-qt/qt5/qt5.inc do_install() { install -d ${D}${datadir}/${P} install -m 0755 ${B}/QUItBattery ${D}${datadir}/${P} cp -a ${S}/qml ${D}${datadir}/${P} } FILES_${PN}-dbg += "${datadir}/${P}/.debug" FILES_${PN} += "${datadir}" RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" ```
0f426dab-4a6f-4502-87e6-4fa2f1697aba
{ "language": "BitBake" }
```bitbake ``` Add recipe for chkconfig package
```bitbake SUMMARY = "A system tool for maintaining the /etc/rc*.d hierarchy" DESCRIPTION = "Chkconfig is a basic system utility. It updates and queries runlevel \ information for system services. Chkconfig manipulates the numerous \ symbolic links in /etc/rc.d, to relieve system administrators of some \ of the drudgery of manually editing the symbolic links." HOMEPAGE = "http://fedorahosted.org/releases/c/h/chkconfig" PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://t/libtap.sh;md5=6c36428024c005158a85a2881975599c" do_install() { install -d ${D}${base_sbindir} install -m 0644 ${S}/chkconfig ${D}${base_sbindir}/ } FILES_${PN} += "${base_sbindir}/*" ```
4ea6bd60-a6d0-4e6e-b75d-44974209cec2
{ "language": "BitBake" }
```bitbake ``` Add recipe for i2c-tools package
```bitbake # # base recipe: meta/recipes-devtools/i2c-tools/i2c-tools_3.1.2.bb # base branch: jethro # SUMMARY = "heterogeneous set of I2C tools for Linux" DESCRIPTION = "\ This package contains a heterogeneous set of I2C tools for Linux: a bus \ probing tool, a chip dumper, register-level access helpers, EEPROM \ decoding scripts, and more. \ " HOMEPAGE = "http://www.lm-sensors.org" PR = "r0" inherit debian-package pythonnative LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "\ file://COPYING;md5=751419260aa954499f7abaabaa882bbe" inherit autotools-brokensep do_compile_append() { export BUILD_SYS=${BUILD_SYS} export HOST_SYS=${HOST_SYS} export STAGING_INCDIR=${STAGING_INCDIR} cd py-smbus && \ CFLAGS="$CFLAGS ${HOST_CC_ARCH} -I../include" \ ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py build } #include/linux/i2c-dev.h file conflict with linux-libc-headers-base #solve this follow base recipe do_install() { oe_runmake install DESTDIR=${D} prefix=/usr\ install -d ${D}${includedir}/linux install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h rm -f ${D}${includedir}/linux/i2c-dev.h } ```
7d5a4e45-b309-4947-8207-9975e17b4a82
{ "language": "BitBake" }
```bitbake ``` Add from OE-Classic, uprev and update
```bitbake SUMMARY = "A new modern implementation of traceroute(8) utility for Linux systems" DESCRIPTION = "The traceroute utility displays the route used by IP packets on \ their way to a specified network (or Internet) host. Traceroute displays \ the IP number and host name (if possible) of the machines along the \ route taken by the packets. Traceroute is used as a network debugging \ tool. If you're having network connectivity problems, traceroute will \ show you where the trouble is coming from along the route." SECTION = "console/network" HOMEPAGE = "http://traceroute.sourceforge.net/" LICENSE = "GPL-2.0 LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff" inherit update-alternatives SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/traceroute-2.0.18/traceroute-2.0.18.tar.gz \ " SRC_URI[md5sum] = "b7254149b7f081cce07f4b9e065ba5ef" SRC_URI[sha256sum] = "5994a88520927fefe3c9754aaf1e02b4d0f3f8fb1f521a68fa86215c3fcab9ef" do_compile() { export LDFLAGS="${TARGET_LDFLAGS} -L${S}/libsupp" oe_runmake "env=yes" } do_install() { install -d ${D}${bindir} install -m755 ${PN}/${PN} ${D}${bindir} install -m755 wrappers/tcptraceroute ${D}${bindir} install -d ${D}${mandir} install -p -m644 ${PN}/${PN}.8 ${D}${mandir} pushd ${D}${mandir} ln -s ${PN}.8 ${PN}6.8 ln -s ${PN}.8 tcptraceroute.8 popd } ALTERNATIVE_${PN} = "traceroute6" ALTERNATIVE_LINK_NAME[traceroute6] = "${bindir}/traceroute" ```
70a0f32d-e411-4dd5-9c31-dccccec47a95
{ "language": "BitBake" }
```bitbake ``` Add image for QtXBee demo image
```bitbake DESCRIPTION = "A console-only with QtXBee temperature monitor demo installed" # customize IMAGE_FEATURES as follows IMAGE_FEATURES += " \ debug-tweaks \ ssh-server-openssh \ " # packagegroup-core-tools-profile will build and install tracing and profiling tools to the target image. # packagegroup-core-buildessential will build and install autotools, gcc, etc. to the target image. # kernel-modules for install of the kernel modules. # kernel-devsrc for building out of tree modules. # IMAGE_ROOTFS_EXTRA_SPACE_append for adding extra space to the target rootfs image. # customize IMAGE_INSTALL as follows IMAGE_INSTALL = "\ packagegroup-core-boot \ kernel-modules \ ${CORE_IMAGE_EXTRA_INSTALL} \ qtxbee-examples \ qtxbee-temp-monitor-init-script \ kernel-module-ftdi-sio \ " inherit core-image # Add extra space to the rootfs image IMAGE_ROOTFS_EXTRA_SPACE_append += "+ 30000" ```
aaf0b381-1b93-4fa8-aecc-94e6ebee6488
{ "language": "BitBake" }
```bitbake ``` Add ULM library for ARM and DSP.
```bitbake DESCRIPTION="TI dsptop utility." LICENSE = "BSD" LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" include dsptop.inc DEPENDS = "ti-cgt6x-native" PR = "${INC_PR}.0" ALLOW_EMPTY_${PN} = "1" COMPATIBLE_MACHINE = "dra7xx" PACKAGE_ARCH = "${MACHINE_ARCH}" PARALLEL_MAKE= "" S = "${WORKDIR}/git/dsptop/ulm" DEVICE="" DEVICE_dra7xx = "DRA7xx" EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" do_compile() { oe_runmake arm XPORT_ONLY oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include } do_install() { install -d ${D}${includedir} install -d ${D}${libdir} install -d ${D}${datadir}/ti/ulm cp -f tiulm.h ${D}${includedir} cp -f release/libtiulm.a ${D}${libdir} cp -f tiulm.h ${D}${datadir}/ti/ulm cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm } FILES_${PN}-dev += "\ ${datadir}/ti/ulm \ " ```
477b23db-b167-43e5-bf01-d907615f7936
{ "language": "BitBake" }
```bitbake ``` Add recipe for mime-support package
```bitbake # # base recipe: http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree\ #/meta-oe/recipes-support/mime-support/mime-support_3.48.bb?h=master # base branch: master # base commit: ea319464b673cbf9a416b582dc4766faeb998430 # SUMMARY = "MIME files 'mime.types' & 'mailcap', and support programs" LICENSE = "PD" LIC_FILES_CHKSUM = "file://debian/copyright;md5=ea156a63df8948d1bb28270e223e93ba" RRECOMMENDS_${PN} = "file" PR = "r0" inherit debian-package DEBIAN_PATCH_TYPE = "nopatch" FILES_${PN} += " ${libdir}/mime" #install follow Debian jessie do_install () { install -d ${D}${sysconfdir} install -d ${D}${libdir}/mime/packages install -d ${D}${sbindir} install -d ${D}${bindir} install -m 644 mime.types ${D}${sysconfdir}/ install -m 644 mailcap ${D}${libdir}/mime/ install -m 644 mailcap.order ${D}${sysconfdir}/ install -m 755 update-mime ${D}${sbindir}/ install -m 755 run-mailcap ${D}${bindir}/ install -m 755 debian-view ${D}${libdir}/mime/ install -m 644 mailcap.entries ${D}${libdir}/mime/packages/mime-support ln -s run-mailcap ${D}${bindir}/see ln -s run-mailcap ${D}${bindir}/edit ln -s run-mailcap ${D}${bindir}/compose ln -s run-mailcap ${D}${bindir}/print } ```
4cec1c57-2b31-47d2-b400-1ca450aa403e
{ "language": "BitBake" }
```bitbake ``` Add cvs version of gpe-mini-browser, DEFAULT_PREFERENCE = -1
```bitbake PR = "r1" PV = "0.16+cvs-${CVSDATE}" SRC_URI = "${HANDHELDS_CVS};module=gpe/base/gpe-mini-browser" DESCRIPTION = "A lightweight webbrowser for the GPE platform" LICENSE = "GPL" DEPENDS = "osb-nrcit libgpewidget" DEFAULT_PREFERENCE = "-1" S = "${WORKDIR}/gpe-mini-browser" inherit autotools do_install() { # install -d ${D}${docdir}/gpe # install -m 0644 ${S}/gpe-mini-browser.html ${D}${docdir}/gpe/ install -d ${D}/usr/share/applications install -m 0644 ${S}/gpe-mini-browser.desktop ${D}/usr/share/applications/gpe-mini-browser.desktop install -d ${D}/usr/share/pixmaps install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png autotools_do_install } pkg_postinst_${PN}-doc () { #!/bin/sh if [ "x$D" != "x" ]; then if [ -e /etc/gpe/gpe-help.conf ]; then echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf else echo [Help] >> /etc/gpe/gpe-help.conf echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf fi if [ -x /usr/bin/gpe-helpindex ]; then echo generating help-index gpe-helpindex else echo not generating index for gpe-mini-browser fi fi } pkg_postrm_${PN}-doc () { #!/bin/sh if [ -e /etc/gpe/gpe-help.conf ]; then sed '/^\<gpe-mini-browser\>/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf fi if [ -x /usr/bin/gpe-helpindex ]; then echo generating help-index gpe-helpindex else echo not generating index for gpe-mini-browser fi } ```
45b3ba95-6a81-471b-91e7-aa5ae4919f7f
{ "language": "BitBake" }
```bitbake ``` Add new recipe Create recipe to build libdbi from Debian's source code
```bitbake # base recipe: https://github.com/sysmocom/meta-telephony/tree/master/recipes-misc/libdbi/libdbi.inc # base branch: master # libdbi OE build file # Copyright (C) 2005, Koninklijke Philips Electronics NV. All Rights Reserved # Released under the MIT license (see packages/COPYING) PR = "r0" inherit debian-package DESCRIPTION = "Database Independent Abstraction Layer for C" HOMEPAGE = "http://libdbi.sourceforge.net/" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499" SECTION = "libs" inherit autotools EXTRA_OECONF = "--disable-docs" do_configure () { autotools_do_configure } ```
dbf17ce7-d91a-4d66-bab2-d4b3ce16fe27
{ "language": "BitBake" }
```bitbake ``` Add current version of json-c library
```bitbake 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 ```
08ea79fc-32d2-41e9-84aa-e9524ffa6533
{ "language": "BitBake" }
```bitbake ``` Add recipes for libunistring packages
```bitbake SUMMARY = "Unicode string library for C" DESCRIPTION = "The 'libunistring' library implements Unicode strings (in the UTF-8, \ UTF-16, and UTF-32 encodings), together with functions for Unicode \ characters (character names, classifications, properties) and \ functions for string processing (formatted output, width, word \ breaks, line breaks, normalization, case folding, regular \ expressions)." HOMEPAGE = "http://www.gnu.org/software/libunistring/" PR = "r0" inherit debian-package LICENSE = "GPLv3+ & LGPLv3+" LICENSE_${PN}-doc = "GPLv3+ | GFDL-1.2+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ file://doc/libunistring.texi;beginline=85;endline=107;md5=0eca48c8641a18c260ed173fdf166a65" inherit autotools BBCLASSEXTEND = "native" # Avoid a parallel build problem PARALLEL_MAKE = "" ```
48f99dd0-2bf8-44a3-8f2d-38e2eb608411
{ "language": "BitBake" }
```bitbake ``` Add recipe for libxres package
```bitbake SUMMARY = "X11 Resource extension library" DESCRIPTION = "\ libXRes provides an X Window System client interface to the Resource \ extension to the X protocol. \ . \ The Resource extension allows for X clients to see and monitor the X resource \ usage of various clients (pixmaps, et al). \ " PR = "r0" inherit debian-package pkgconfig LICENSE = "XFree86-1.0" LIC_FILES_CHKSUM = "\ file://COPYING;md5=8c89441a8df261bdc56587465e13c7fa" inherit autotools # Debian's source code isn't contains patch file DEBIAN_PATCH_TYPE = "nopatch" DEPENDS += "util-macros resourceproto" do_install_append() { #remove .la files rm ${D}${libdir}/*.la } ```
bdecca10-9d69-43f6-bee0-35501f379248
{ "language": "BitBake" }
```bitbake ``` Add the setxkbmap recipe necessary for building enlightenment
```bitbake require recipes-graphics/xorg-app/xorg-app-common.inc SUMMARY = "A program to compile XKB keyboard description" DESCRIPTION = "The xkbcomp keymap compiler converts a description of an \ XKB keymap into one of several output formats. The most common use for \ xkbcomp is to create a compiled keymap file (.xkm extension) which can \ be read directly by XKB-capable X servers or utilities." LIC_FILES_CHKSUM = "file://COPYING;md5=5feafdbe6dfe9e2bd32325be0cfc86f8" PE = "1" DEPENDS += "libxkbfile" BBCLASSEXTEND = "native" SRC_URI[md5sum] = "2c47a1b8e268df73963c4eb2316b1a89" SRC_URI[sha256sum] = "a9ddb3963f263ba13f0ea105d8c45a531832140530217cc559587bb94f02d3e1" ```
4bb1947c-cd08-42e0-9450-d43cb975b020
{ "language": "BitBake" }
```bitbake ``` Add staging-linking - glue to allow old toolchains to work after OE staging changes
```bitbake DESCRIPTION = "staging-linkage sets up symlinks in staging so old compilers continue to work with the sysroot staging layout changes" SECTION = "devel" PACKAGES = "" INHIBIT_DEFAULT_DEPS = "1" PR = "r0" SRC_URI = "" do_configure() { : } do_compile () { : } do_install() { : } do_stage () { if [ -e ${STAGING_DIR_HOST}${layout_base_libdir} ]; then cp -pPRr ${STAGING_DIR_HOST}${layout_base_libdir}/* ${STAGING_LIBDIR} mv ${STAGING_DIR_HOST}${layout_base_libdir}/ ${STAGING_DIR_HOST}${layout_libdir}-oldbackup/ fi ln -s ${STAGING_LIBDIR}/ ${STAGING_DIR_HOST}${layout_base_libdir} } ```
be6eab89-db31-4260-89f3-026f7c5c83f8
{ "language": "BitBake" }
```bitbake ``` Add recipe for libtry-tiny-perl package
```bitbake SUMMARY = "module providing minimalistic try/catch" DESCRIPTION = "\ Try::Tiny is a Perl module that provides bare bones try/catch statements. It \ is designed to eliminate common mistakes with eval blocks, and NOTHING else. \ . \ The main focus of this module is to provide simple and reliable error \ handling for those having a hard time installing TryCatch, but who still want \ to write correct eval blocks without 5 lines of boilerplate each time. \ " HOMEPAGE = "https://metacpan.org/release/Try-Tiny" PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "\ file://LICENSE;md5=781485aae6e6d87e2262fc7baa08dcc7" inherit cpan FILES_${PN} += "${datadir}/*" RDEPENDS_${PN} += "libparams-validate-perl" # source format is 3.0 (quilt) but there is no debian patch DEBIAN_QUILT_PATCHES = "" ```
0d95efbb-58cd-4565-b8f8-ffb330a673c0
{ "language": "BitBake" }
```bitbake ``` Add bitbake recipe to build serf
```bitbake SUMMARY = "A decentralized solution for service discovery and orchestration" HOMEPAGE = "https://github.com/hashicorp/serf" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=b278a92d2c1509760384428817710378" DEPENDS += "golang-cross \ cli \ logutils \ columnize \ go-syslog \ go-msgpack \ mapstructure \ go-metrics \ memberlist \ circbuf \ mdns \ hashicorp-go-net" PKG_NAME = "github.com/hashicorp/serf" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "5e07170d82d73e20b832e238d71caa531b6d8a2c" S = "${WORKDIR}/git" do_compile() { #Setting up a symlink to have bolt in a directory go can work with cd ${S} rm -rf .gopath mkdir -p .gopath/src/$(dirname ${PKG_NAME}) ln -sf ../../../../ .gopath/src/${PKG_NAME} #Setting up go variables export GOPATH=${S}/.gopath:${STAGING_DIR_TARGET}/${prefix}/local/go export GOBIN=${S}/.gopath/bin export GOARCH="${TARGET_ARCH}" # supported amd64, 386, arm if [ "${TARGET_ARCH}" = "x86_64" ]; then export GOARCH="amd64" fi go install ${PKG_NAME} } do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "serf_sysroot_preprocess" serf_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" ```
948527b0-910b-43f7-8cb0-40e56c3e7099
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Machine specific xorg.conf files" PR = "r32" SRC_URI = "file://xorg.conf" do_install() { install -d ${D}/${sysconfdir}/X11 install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ } # Set some dependencies to make the confs actually work RDEPENDS_omap3 = "xf86-video-omapfb" CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf" PACKAGE_ARCH = "${MACHINE_ARCH}" ``` Revert "xserver-xorg-conf: add xorg.conf for palmpre machine"
```bitbake DESCRIPTION = "Machine specific xorg.conf files" PR = "r31" SRC_URI = "file://xorg.conf" do_install() { install -d ${D}/${sysconfdir}/X11 install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ } # Set some dependencies to make the confs actually work RDEPENDS_omap3 = "xf86-video-omapfb" CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf" PACKAGE_ARCH = "${MACHINE_ARCH}" ```
dd2cdcc7-be1a-4dd2-96aa-d4213ffa2b9b
{ "language": "BitBake" }
```bitbake ``` Add PSP version for ti816x devices.
```bitbake require u-boot-omap3.inc COMPATIBLE_MACHINE = "ti816x" BRANCH = "master" # Use literal tags in SRCREV, when available, instead of commit IDs SRCREV = "v2010.06_TI816XPSP_04.00.00.10" UVER = "2010.06" PSPREL = "04.00.00.10" PR = "r1" ```
4a353d24-8dd1-4a54-b6c7-9dc9b76612e7
{ "language": "BitBake" }
```bitbake ``` Add new version with correct date and location.
```bitbake DESCRIPTION = "Enlightened Sound Daemon - GPE version" SECTION = "gpe/base" LICENSE = "GPL" DEPENDS = "audiofile" PR = "r0" PROVIDES += "esound" RPROVIDES += "esound" SRCDATE = "${PV}" SRC_URI = "svn://projects.linuxtogo.org/svn/gpe/trunk/extra/;module=esound;date=20070109 \ file://audiofile-please.patch;patch=1 \ file://configure.patch;patch=1" S = "${WORKDIR}/esound" inherit autotools binconfig pkgconfig EXTRA_OECONF = "--disable-alsa" SOV = "0.2.28" do_stage () { install -m 0644 esd.h ${STAGING_INCDIR}/esd.h oe_soinstall .libs/libesd.so.${SOV} ${STAGING_LIBDIR} install -m 0644 .libs/libesd.lai ${STAGING_LIBDIR}/libesd.la install -m 0644 esd.m4 ${STAGING_DATADIR}/aclocal } PACKAGES =+ "esddsp esd esd-utils" FILES_esddsp = "${bindir}/esddsp ${libdir}/libesddsp.so.*" FILES_esd = "${bindir}/esd" FILES_esd-utils = "${bindir}/*" ```
7673df56-2331-4286-8599-3918c93f9776
{ "language": "BitBake" }
```bitbake ``` Fix build failures on OE master by updating
```bitbake SUMMARY = "non-mainline-kernel netfilter extensions" DESCRIPTION = "Xtables-addons contains a set of possibly useful but not included in the mainline kernel nefilter extensions" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" DEPENDS = "virtual/kernel iptables" inherit autotools module-base pkgconfig SRC_URI = " \ ${SOURCEFORGE_MIRROR}/project/${PN}/Xtables-addons/${PN}-${PV}.tar.xz \ file://100-add-rtsp-conntrack.patch \ file://200-add-lua-packetscript.patch \ file://201-fix-lua-packetscript.patch \ file://202-add-lua-autoconf.patch \ file://300-geoip-endian-detection.patch \ file://400-fix-IFF_LOWER_UP-musl.patch \ " SRC_URI[md5sum] = "ebb073119a5f250dbfe6b855fcad56fd" SRC_URI[sha256sum] = "d215a9a8b8e66aae04b982fa2e1228e8a71e7dfe42320df99e34e5000cbdf152" EXTRA_OECONF = "--with-kbuild=${STAGING_KERNEL_DIR} --with-xtlibdir=${libdir}/iptables" addtask make_scripts after do_patch before do_compile do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" do_make_scripts[deptask] = "do_populate_sysroot" FILES_${PN} += "${base_libdir}/modules ${libdir}/iptables" RDEPENDS_${PN} += "perl" ```
bc0054fc-164d-43a6-91cf-21d645f345d8
{ "language": "BitBake" }
```bitbake ``` Add new recipe for kexec-tools package
```bitbake # # Base recipe: meta/recipes-kernel/kexec/kexec-tools_2.0.4.bb # Base branch: daisy # SUMMARY = "Kexec fast reboot tools" DESCRIPTION = "Kexec is a fast reboot feature that lets you reboot to a new Linux kernel" AUTHOR = "Eric Biederman" HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/kexec/" PR = "r0" inherit debian-package LICENSE = "GPLv2" LIC_FILES_CHKSUM = " \ file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \ file://kexec/kexec.c;beginline=1;endline=20;md5=af10f6ae4a8715965e648aa687ad3e09" inherit autotools-brokensep EXTRA_OECONF = "--sbindir=${base_sbindir}" # Install files follow Debian. do_install_append () { # Install init script install -d ${D}${sysconfdir}/init.d install -m 0755 ${S}/debian/kexec.init.d ${D}${sysconfdir}/init.d/kexec install -m 0755 ${S}/debian/kexec-load.init.d ${D}${sysconfdir}/init.d/kexec-load } ```
5b30d646-d840-4ec9-b7ed-fdab8a78ad65
{ "language": "BitBake" }
```bitbake ``` Add PSP version for am387x-evm
```bitbake require u-boot-omap3.inc COMPATIBLE_MACHINE = "ti814x" DEFAULT_PREFERENCE_ti814x = "1" BRANCH = "master" # Use literal tags in SRCREV, when available, instead of commit IDs SRCREV = "v2010.06_TI814XPSP_04.01.00.03" UVER = "2010.06" PSPREL = "04.01.00.03" PR = "r1" ```
f1cdc155-9337-481e-800d-71ac19d8baef
{ "language": "BitBake" }
```bitbake ``` Add recipes for lsyncd package
```bitbake SUMMARY = "daemon to synchronize local directories using rsync" DESCRIPTION = " Lsyncd (Live syncing mirror daemon) uses rsync to synchronize local \ directories with a remote machine running rsyncd. Lsyncd watches \ multiple directories trees through inotify. The first step after \ adding the watches is to rsync all directories with the remote host, \ and then sync single file by collecting the inotify events. So lsyncd \ is a light-weight live mirror solution that should be easy to install \ and use while blending \ well with your system." HOMEPAGE = "https://github.com/axkibe/lsyncd" DISTRO_CODENAME = "jessie" inherit debian-package PV = "2.1.5" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=335b31c435c9c061dfffc6fff1f52e89" inherit autotools-brokensep pkgconfig CACHED_CONFIGUREVARS += "ac_cv_path_LUA51=${STAGING_BINDIR_NATIVE}/lua5.1" DEPENDS += "lua5.1 lua5.1-native" do_install_append() { install -d ${D}${sysconfdir}/init.d install -m 0755 ${S}/debian/lsyncd.init \ ${D}${sysconfdir}/init.d/lsyncd } RDEPENDS_${PN} += "rsync lua5.1" ```
e061fdd1-fa6b-4c7f-8c6e-25f07b2b0b5a
{ "language": "BitBake" }
```bitbake ``` Add Minizip package from zlib package source
```bitbake SUMMARY = "Zlib Compression Library" DESCRIPTION = "Zlib is a general-purpose, patent-free, lossless data compression \ library which is used by many different programs." HOMEPAGE = "http://zlib.net/" SECTION = "libs" LICENSE = "Zlib" LIC_FILES_CHKSUM = "file://zip.h;beginline=4;endline=23;md5=21a9142d31897f1dc0cd6318eaa76af3" SRC_URI = "http://www.zlib.net/zlib-${PV}.tar.xz " SRC_URI[md5sum] = "28f1205d8dd2001f26fec1e8c2cebe37" SRC_URI[sha256sum] = "831df043236df8e9a7667b9e3bb37e1fcb1220a0f163b6de2626774b9590d057" FILESEXTRAPATHS_prepend := "${THISDIR}/zlib-${PV}:" RDEPENDS_${PN} += "zlib" DEPENDS_${PN} += "zlib" S = "${WORKDIR}/zlib-${PV}/contrib/minizip" inherit autotools ```
78f6087f-3f83-4910-a697-407f92d22d66
{ "language": "BitBake" }
```bitbake ``` Add recipe for cgroupfs-mount package
```bitbake SUMMARY = "Light-weight package to set up cgroupfs mounts" DESCRIPTION = "\ Control groups are a kernel mechanism for tracking and imposing \ limits on resource usage on groups of tasks. \ . \ This package installs scripts to set up cgroups at boot without doing any \ cgroup management or doing any classification of tasks into cgroups." HOMEPAGE = "https://github.com/tianon/cgroupfs-mount" PR = "r0" inherit debian-package LICENSE = "GPL-3.0+" LIC_FILES_CHKSUM = "file://debian/copyright;md5=748441b371c032eda4cfc3e5b703997a \ file://cgroupfs-umount;beginline=2;endline=5;md5=e69c19fa6efa953933d3c8784933547d" do_install() { install -d ${D}${bindir} install -d ${D}${sysconfdir}/init ${D}${sysconfdir}/init.d install -m 0755 ${S}/cgroupfs-mount ${D}${bindir} install -m 0755 ${S}/cgroupfs-umount ${D}${bindir} install -m 0644 ${S}/debian/cgroupfs-mount.upstart \ ${D}${sysconfdir}/init/cgroupfs-mount.conf install -m 0755 ${S}/debian/cgroupfs-mount.init \ ${D}${sysconfdir}/init.d/cgroupfs-mount } RDEPENDS_${PN} += "mountall" ```
2f858e71-3f89-4322-b13f-78aed50394a5
{ "language": "BitBake" }
```bitbake ``` Create recipe for config.txt file
```bitbake 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}" ```
c3a3d09d-275e-4001-8424-f73e7f2ff85f
{ "language": "BitBake" }
```bitbake ``` Remove gtk dep for poppler.
```bitbake DEPENDS = "fontconfig jpeg zlib cairo tiff lcms" EXTRA_OECONF = "\ --enable-xpdf-headers \ --disable-gtk-test \ --disable-poppler-qt4 \ --enable-zlib \ --disable-gtk-doc \ --disable-gtk-doc-html \ --disable-gtk-doc-pdf \ --disable-gtk-test \ "```
21a09227-f6db-4f09-81b9-15fca467b8fe
{ "language": "BitBake" }
```bitbake ``` Add recipe for libtext-wrapi18n-perl package
```bitbake DESCRIPTION = "internationalized substitute of Text::Wrap" PR = "r0" inherit debian-package cpan LICENSE = "Artistic-1.0 | GPL-1.0+" LIC_FILES_CHKSUM = "file://README;beginline=44;md5=080862e1e40cdcddef4393e137285858" DEBIAN_PATCH_TYPE = "quilt" do_install_append() { install -d ${D}${datadir}/perl5 mv ${D}${libdir}/perl/vendor_perl/5.20.2/Text \ ${D}${datadir}/perl5 rm -rf ${D}${libdir} } FILES_${PN} = "${datadir}" ```
5b220621-e603-4848-95f4-0ca1cf94c294
{ "language": "BitBake" }
```bitbake ``` Add TI specific version of libgbm
```bitbake DESCRIPTION = "Userspace interface for the kernel GBM services." HOMEPAGE = "http://git.ti.com" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://gbm.c;beginline=1;endline=26;md5=b871c7f2f477df29ee4c0ec437b187f7" DEPENDS = "libdrm" COMPATIBLE_MACHINE = "omap-a15" inherit autotools pkgconfig SRCREV = "cb86a2f2cecd41023bf1bf12fbcf11be11220f31" SRC_URI = "git://git.ti.com/glsdk/libgbm.git;protocol=git" S = "${WORKDIR}/git" ```
3e560b04-25d4-450e-bb02-aca216572729
{ "language": "BitBake" }
```bitbake ``` Add pycups - python bindings for CUPS
```bitbake # Python bindings for libcups, from the CUPS project. # # Copyright (c) Ambu A/S - All rights reserved # SPDX-License-Identifier: MIT # # Author(s) # [email protected] (Claus Stovgaard) # DESCRIPTION = "pycups - CUPS bindings for Python" HOMEPAGE = "https://github.com/OpenPrinting/pycups" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS += "cups" # See https://pypi.org/project/pycups/ for data SRC_URI[sha256sum] = "57434ce5f62548eb12949ca8217f066f4eeb21a5d6ab8b13471dce350e380c90" inherit pypi setuptools3```
dc9160ca-5c6d-4009-9458-c3efa31bfb17
{ "language": "BitBake" }
```bitbake ``` Add recipe for dfe test code
```bitbake DESCRIPTION = "TI Digital Radio Front End lld test application" DEPENDS = "common-csl-ip dfe-lld iqn2-lld" include dfe-lld.inc EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}" do_compile () { # Now build the lld in the updated directory oe_runmake clean DEVICE=k2l oe_runmake tests DEVICE=k2l oe_runmake tests DEVICE=k2l USEDYNAMIC_LIB=yes } do_install () { oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}/${bindir} } ```
d588ed74-8997-4d8a-9d60-c4292dcb8d47
{ "language": "BitBake" }
```bitbake ``` Add recipe to work with the marvell-sdio-tf-fw
```bitbake DESCRIPTION = "Firmware for Marvel 8686 gspi wifi chipset" LICENCE = "closed" SRC_URI = "file://${PV}.tar.gz \ file://Marvell-Licence.txt" S = "${WORKDIR}/${PV}/FwImage" do_install() { install -d ${D}${base_libdir}/firmware install -m 0644 sd8686tf.bin sd8686_helper.bin ${D}${base_libdir}/firmware install -m 0644 ${WORKDIR}/Marvell-Licence.txt ${D}${base_libdir}/firmware } PACKAGES = "${PN}" FILES_${PN} += "${base_libdir}/firmware" PACKAGE_ARCH = "all" ```
93c4004c-b155-42f4-b0da-cfa458e6721c
{ "language": "BitBake" }
```bitbake ``` Add for opencl matrix files.
```bitbake DESCRIPTION = "OpenCL demo descriptions for Matrix v2" HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps" require matrix-gui-apps-git.inc PR = "${INC_PR}.2" inherit allarch S = "${WORKDIR}/git/opencl_apps" # Make sure opencl submenu and app images has been installed OPENCL_RDEPENDS += "matrix-gui-apps-images matrix-gui-submenus-opencl" FILES_${PN} += "${MATRIX_BASE_DIR}/*" PACKAGES = "matrix-opencl-demo-dsplibfft \ matrix-opencl-demo-vecadd \ matrix-opencl-demo-floatcompute \ " RDEPENDS_matrix-opencl-demo-dsplibfft = "${OPENCL_RDEPENDS}" RDEPENDS_matrix-opencl-demo-vecadd = "${OPENCL_RDEPENDS}" RDEPENDS_matrix-opencl-demo-floatcompute = "${OPENCL_RDEPENDS}" # Split the matrix files by opencl demos FILES_matrix-opencl-demo-dsplibfft = "${MATRIX_APP_DIR}/opencl_dsplib_fft/*" FILES_matrix-opencl-demo-vecadd = "${MATRIX_APP_DIR}/opencl_vecadd/*" FILES_matrix-opencl-demo-floatcompute = "${MATRIX_APP_DIR}/opencl_float_compute/*" # Split the ${bindir} files by opencl demos FILES_matrix-opencl-demo-dsplibfft += "${bindir}/runOclDsplibFFT.sh" FILES_matrix-opencl-demo-vecadd += "${bindir}/runOclVecadd.sh" FILES_matrix-opencl-demo-floatcompute += "${bindir}/runOclFloatCompute.sh" ```
6de646a8-76cf-42f8-9bce-527b8bd019a1
{ "language": "BitBake" }
```bitbake ``` Add a Linux 3.6 kernel recipe
```bitbake require linux.inc DESCRIPTION = "Linux kernel for the RaspberryPi board" COMPATIBLE_MACHINE = "raspberrypi" PR = "r6" PV_append = "+git${SRCREV}" SRCREV = "31a951046155b27361127d9cf85a1f58719fe9b3" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \ " S = "${WORKDIR}/git" # NOTE: For now we pull in the default config from the RPi kernel GIT tree. KERNEL_DEFCONFIG = "bcmrpi_defconfig" # CMDLINE for raspberrypi CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" UDEV_GE_141 ?= "1" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } do_install_prepend() { install -d ${D}/lib/firmware } do_deploy_append() { # Deploy cmdline.txt install -d ${DEPLOYDIR}/bcm2835-bootfiles echo "${CMDLINE}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt } ```
423fc216-eed3-4516-ab69-21e260bf1f80
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Locations - a GPS location based communicative application" HOMEPAGE = "http://wiki.openmoko.org/wiki/Om2008.8_Locations" SECTION = "openmoko/applications" LICENSE = "GPL" DEPENDS = "eet evas edje ecore edbus etk" RDEPENDS_${PN} = "diversity-daemon" PV = "0.2+gitr${SRCREV}" PR = "r1.03" SRC_URI = "git://git.openmoko.org/git/om-locations.git;protocol=git" S = "${WORKDIR}/git" inherit autotools pkgconfig EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" do_configure_prepend() { autopoint --force } PKG_TAGS_${PN} = "group::communication alias::Om_Locations" ``` Revert "[alias name] Adding alias name tags for packages"
```bitbake DESCRIPTION = "Locations - a GPS location based communicative application" HOMEPAGE = "http://wiki.openmoko.org/wiki/Om2008.8_Locations" SECTION = "openmoko/applications" LICENSE = "GPL" DEPENDS = "eet evas edje ecore edbus etk" RDEPENDS_${PN} = "diversity-daemon" PV = "0.2+gitr${SRCREV}" PR = "r1.03" SRC_URI = "git://git.openmoko.org/git/om-locations.git;protocol=git" S = "${WORKDIR}/git" inherit autotools pkgconfig EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" do_configure_prepend() { autopoint --force } PKG_TAGS_${PN} = "group::communication" ```
f2751018-0686-4337-9cad-760e43b27500
{ "language": "BitBake" }
```bitbake SUMMARY = "view and edit files in hexadecimal or in ASCII" HOMEPAGE = "http://rigaux.org/hexedit.html" SECTION = "console/utils" LICENSE = "GPLv2+" DEPENDS = "ncurses" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" SRC_URI = "http://rigaux.org/${BP}.src.tgz \ file://0001-don-t-strip-when-installing.patch " SRC_URI[md5sum] = "a5af1378d028512a9cad27a5ba3e15f9" SRC_URI[sha256sum] = "6a126da30a77f5c0b08038aa7a881d910e3b65d13767fb54c58c983963b88dd7" inherit autotools S = "${WORKDIR}/${PN}" ``` Disable separate build since its broken
```bitbake SUMMARY = "view and edit files in hexadecimal or in ASCII" HOMEPAGE = "http://rigaux.org/hexedit.html" SECTION = "console/utils" LICENSE = "GPLv2+" DEPENDS = "ncurses" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" SRC_URI = "http://rigaux.org/${BP}.src.tgz \ file://0001-don-t-strip-when-installing.patch " SRC_URI[md5sum] = "a5af1378d028512a9cad27a5ba3e15f9" SRC_URI[sha256sum] = "6a126da30a77f5c0b08038aa7a881d910e3b65d13767fb54c58c983963b88dd7" inherit autotools-brokensep S = "${WORKDIR}/${PN}" ```
691e3e65-3a8c-4472-bfd9-2030cbae2d08
{ "language": "BitBake" }
```bitbake ``` Add GStreamer HEVC/H265 decoder plugin
```bitbake DESCRIPTION = "GStreamer plugin for ARM HEVC decoder" HOMEPAGE = "https://git.ti.com/processor-sdk/gst-plugin-hevc" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=2827f94fc0a1adeff4d9702e97ce2979" PACKAGE_ARCH = "${MACHINE_ARCH}" COMPATIBLE_MACHINE = "dra7xx" SRC_URI = "git://git.ti.com/processor-sdk/gst-plugin-hevc.git;protocol=git" SRCREV = "2f17d5c50f7376c0489ae1a2f571f1e749f5f72e" S = "${WORKDIR}/git" DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad hevc-arm-decoder" inherit autotools pkgconfig gettext PR = "r3" do_configure() { cd ${S} chmod +x autogen.sh ./autogen.sh --host=arm-linux --with-libtool-sysroot=${STAGING_DIR_TARGET} --prefix=/usr } EXTRA_OECONF += "--enable-maintainer-mode" EXTRA_OEMAKE += "'ERROR_CFLAGS=-Wno-deprecated-declarations'" FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la" ```
13a90395-5b5c-42d2-880b-c45da651ccbe
{ "language": "BitBake" }
```bitbake ``` Add a bitbake recipe to build columnize
```bitbake SUMMARY = "Column formatted output library for Go" HOMEPAGE = "https://github.com/ryanuber/columnize" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=4b1989be3dc78e86f2c54cf3b03db7c9" PKG_NAME = "github.com/ryanuber/columnize" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "columnize_sysroot_preprocess" columnize_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" ```
7754da3b-10e2-42d2-a42d-bdd3b4171f2f
{ "language": "BitBake" }
```bitbake ``` Add dialog-lvgl recipe as demo example
```bitbake # SPDX-FileCopyrightText: Huawei Inc. # SPDX-License-Identifier: MIT SRC_URI = "gitsm://git.ostc-eu.org/rzr/dialog-lvgl;destsuffix=${S};protocol=https;nobranch=1" SRCREV = "5d2121457a6988c97cacb0790594440693fc3d29" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=8ce0a84e5276f01364119c873b712c4f" AUTHOR = "Philippe Coval <[email protected]>" DEPENDS += "lvgl" DEPENDS += "lv-drivers" SUMMARY = "Basic UI utility to be used in scripts" DESCRIPTION = "Inspired by ncurses' dialog, implemented using LVGL" HOMEPAGE = "https://git.ostc-eu.org/rzr/dialog-lvgl/-/wikis/" REQUIRED_DISTRO_FEATURES = "wayland" inherit pkgconfig inherit features_check EXTRA_OEMAKE += "sysroot=${RECIPE_SYSROOT}" EXTRA_OEMAKE += "DESTDIR=${D}" EXTRA_OEMAKE += "lvgl_driver=wayland" do_install() { oe_runmake install } ```
96aad5b2-f73a-4fab-8bc2-77303db14011
{ "language": "BitBake" }
```bitbake ``` Add recipe for mhash package
```bitbake SUMMARY = "Library for cryptographic hashing and message authentication" DESCRIPTION = "\ Library for cryptographic hashing and message authentication Mhash is \ a library that provides a uniform interface to a large number of hash \ algorithms. These algorithms can be used to compute checksums, message\ digests, and other signatures. The HMAC support implements the basics \ for message authentication, following RFC 2104. Mhash also provides \ several key-generation algorithms, including those of OpenPGP (RFC 2440)" HOMEPAGE = "http://mhash.sourceforge.net/" PR = "r0" inherit debian-package LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" inherit autotools-brokensep pkgconfig #config follow debian/rules EXTRA_OECONF += "--enable-pkgconfig" #install follow Debian jessie do_install_append() { rm ${D}${libdir}/libmhash.la LINKLIB=$(basename $(readlink ${D}${libdir}/libmhash.so)) chmod 0644 ${D}${libdir}/${LINKLIB} } ```
4603c40c-dfd2-4275-b3da-d538d4e0bea2
{ "language": "BitBake" }
```bitbake ``` Add recipe for Open Asset Import Library
```bitbake DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ various well-known 3D model formats in a uniform manner." HOMEPAGE = "http://www.assimp.org/" SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=bc4231a2268da8fc55525ad119638a87" DEPENDS = "boost" SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}-3.1/${BPN}-${PV}_no_test_models.zip" SRC_URI[md5sum] = "ccd4788204509da58a3a53c7aeda7a8b" SRC_URI[sha256sum] = "da9827876f10a8b447270368753392cfd502e70a2e9d1361554e5dfcb1fede9e" inherit cmake FILES_${PN}-dev += "${libdir}/cmake" ```
12a02107-29c1-44d2-8b3d-7f11502584c8
{ "language": "BitBake" }
```bitbake ``` Add a packagegroup for gstreamer
```bitbake SUMMARY = "Tizen multimedia packagegroups" LICENSE = "MIT" DESCRIPTION = "Tizen multimedia packages." inherit packagegroup PACKAGES = " \ packagegroup-tizen-gstreamer\ " # gstreamer packages RDEPENDS_packagegroup-tizen-gstreamer = " \ gstreamer1.0 \ gstreamer1.0-plugins-bad \ gstreamer1.0-plugins-base \ gstreamer1.0-plugins-good \ gstreamer1.0-plugins-ugly \ " ```
a80d705c-8f05-4cd5-a110-94dbb11c9961
{ "language": "BitBake" }
```bitbake ``` Add recipe for x11proto-dmx package
```bitbake SUMMARY = "X11 Distributed Multihead X extension wire protocol" DESCRIPTION = "\ This package provides development headers describing the wire protocol \ for the DMX extension, used to set up a distributed multi-head environment \ with a single server acting as a gateway to multiple X servers on multiple \ machines. \ " PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "\ file://COPYING;md5=a3c3499231a8035efd0e004cfbd3b72a" inherit autotools DEPENDS += "util-macros" # Debian's source code isn't contains patch file DEBIAN_PATCH_TYPE = "nopatch" #follow debian/x11proto-dmx-dev.install do_install_append() { install -d ${D}${datadir}/pkgconfig mv ${D}${libdir}/pkgconfig/* ${D}${datadir}/pkgconfig/ rm -r ${D}${libdir} } FILES_${PN}-dev += "${datadir}/pkgconfig" ```
b2807087-39a8-4563-a450-d20c967e91ff
{ "language": "BitBake" }
```bitbake ``` Add recipe for cereal, a header-only C++11 serialization library.
```bitbake 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" ```
a9c47049-9874-4e51-8102-730ef9feff80
{ "language": "BitBake" }
```bitbake ``` Add libcec for imx6 recipe
```bitbake DESCRIPTION = "libCEC allows you in combination with the right hardware to control your device with your TV remote control. Utilising your existing HDMI cabling" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=5e8e16396992369f73f3d28875f846da" PR = "r0" inherit autotools SRC_URI = "git://github.com/wolfgar/libcec.git " SRCREV = "90b994705ee2492afa00f914e0a070a0f0929f21" EXTRA_OECONF="--enable-imx6" S = "${WORKDIR}/git" ```
52a3ba0a-2bca-4482-b550-2c78dd8378cf
{ "language": "BitBake" }
```bitbake ``` Add a bitbake recipe to build memberlist
```bitbake SUMMARY = "Go library that manages cluster membership and member failure detection" HOMEPAGE = "https://github.com/hashicorp/memberlist" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=b278a92d2c1509760384428817710378" DEPENDS = "go-metrics go-msgpack" PKG_NAME = "github.com/hashicorp/memberlist" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "c0dd21a51b7f6af4ecb9e1c954bc83b2aa0fd2d8" S = "${WORKDIR}/git" #Empty do_compile to stop go from testing the package do_compile() { } do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "memberlist_sysroot_preprocess" memberlist_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" ```
6d322664-950e-4aab-9651-029ea465e4c1
{ "language": "BitBake" }
```bitbake ``` Add recipe to build uio pruss test firmware
```bitbake DESCRIPTION = "Provides test pruss firmware for uio based tests" LICENSE = "BSD-3-Clause" PV = "1.0.0.0" require recipes-ti/includes/ti-paths.inc S = "${WORKDIR}/git" DEPENDS = "ti-cgt-pru-native" BRANCH = "master" SRC_URI = "git://git.ti.com/processor-sdk/uio-test-pruss.git;protocol=git;branch=${BRANCH}" LIC_FILES_CHKSUM = "file://Makefile;startline=1;endline=31;md5=0ee4f2c42eb6b04e37859bb55a18b144" # Corresponds to version 01.00.00.00 SRCREV = "f04b91b84331c9a12c897e4eb2836a0a3e3a5fae" COMPATIBLE_MACHINE = "am57xx" EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR}" do_install() { install -d ${D}${bindir}/ cp -r *.bin ${D}${bindir}/ } ```
16482a28-5e3c-419e-a9f6-de5acdb4c92a
{ "language": "BitBake" }
```bitbake ``` Add AUFS Utils for ver 3> kernels.
```bitbake DESCRIPTION = "Userspace utilites for aufs3" DEPENDS = "virtual/kernel" PR = "r2" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" PACKAGE_ARCH = "${MACHINE_ARCH}" SRCREV = "a953b0218667e06b722f4c41df29edacd8dc8e1f" SRC_URI = "git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util.git;branch=aufs3.0;protocol=http" S = "${WORKDIR}/git" CFLAGS_prepend = "-I${WORKDIR}/user_headers/include " EXTRA_OEMAKE = "KDIR=${WORKDIR}/user_headers DESTDIR=${D} HOSTCC=${BUILD_CC}" do_prepheaders() { # START MASSIVE 'MAYBE' HACK: # Stage the userspace headers from our kernel WITH AUFS3 so we can use the tweaked userspace headers. cd ${STAGING_KERNEL_DIR} make headers_install INSTALL_HDR_PATH=${WORKDIR}/user_headers # STOP MASSIVE 'MAYBE' HACK: } addtask prepheaders after do_configure before do_compile do_install () { install -d ${D}/${base_sbindir} install -m 0755 mount.aufs umount.aufs auplink ${D}/${base_sbindir} install -d ${D}/${base_bindir} install -m 0755 auchk aubrsync ${D}/${base_bindir} install -d ${D}/${sysconfdir}/default install -m 0644 -T etc_default_aufs ${D}/${sysconfdir}/default/aufs } ```
c005a997-1cc8-4530-a8c1-14bc80c4363f
{ "language": "BitBake" }
```bitbake ``` Add a bitbake recipe to build bolt
```bitbake SUMMARY = "Go package providing a key/value store" HOMEPAGE = "https://github.com/boltdb/bolt" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=13b2a308eefa10d841e3bf2467dbe07a" DEPENDS += "golang-cross" PKG_NAME = "github.com/boltdb/bolt" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "be4e606bc48012421bc90eda58a8aad7a95aaf83" 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 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 github.com/boltdb/bolt/cmd/bolt ls $GOPATH } 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 += "bolt_sysroot_preprocess" bolt_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/*" ```
ce016d8e-7809-4664-aa40-d790d7fbee11
{ "language": "BitBake" }
```bitbake SUMMARY = "SysV init scripts for Amlogic framebuffer set-up" DESCRIPTION = "Provides basic set-up for the amlogic framebuffer" SECTION = "base" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" PR = "r1" INHIBIT_DEFAULT_DEPS = "1" RDEPENDS_${PN} = "initscripts" SRC_URI = " \ file://amlsetfb.sh \ file://aaa.sh \ file://GPLv2.patch \ " COMPATIBLE_MACHINE = "(odroidc1|wetekplay)" RDEPENDS_${PN}_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'fb', 'fbset fbset-modes', '', d)}" do_install() { if ${@bb.utils.contains('MACHINE_FEATURES','fb','true','false',d)}; then install -m 0755 ${WORKDIR}/amlsetfb.sh ${D}${sysconfdir}/init.d/amlsetfb.sh install -m 0755 ${WORKDIR}/aaa.sh ${D}${sysconfdir}/init.d/aaa.sh update-rc.d -r ${D} amlsetfb.sh start 03 S . update-rc.d -r ${D} aaa.sh start 0 S . fi } ``` Create directory before installation of files
```bitbake SUMMARY = "SysV init scripts for Amlogic framebuffer set-up" DESCRIPTION = "Provides basic set-up for the amlogic framebuffer" SECTION = "base" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" PR = "r1" INHIBIT_DEFAULT_DEPS = "1" RDEPENDS_${PN} = "initscripts" SRC_URI = " \ file://amlsetfb.sh \ file://aaa.sh \ file://GPLv2.patch \ " COMPATIBLE_MACHINE = "(odroidc1|wetekplay)" RDEPENDS_${PN}_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'fb', 'fbset fbset-modes', '', d)}" do_install() { if ${@bb.utils.contains('MACHINE_FEATURES','fb','true','false',d)}; then install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/amlsetfb.sh ${D}${sysconfdir}/init.d/amlsetfb.sh install -m 0755 ${WORKDIR}/aaa.sh ${D}${sysconfdir}/init.d/aaa.sh update-rc.d -r ${D} amlsetfb.sh start 03 S . update-rc.d -r ${D} aaa.sh start 0 S . fi } ```
dfb62bca-f455-4bfb-ad3f-6c30faddf5a5
{ "language": "BitBake" }
```bitbake ``` Add bitbake recipe to build scada-client
```bitbake SUMMARY = "Golang client for the HashiCorp SCADA service" HOMEPAGE = "https://github.com/hashicorp/scada-client" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=65d26fcc2f35ea6a181ac777e42db1ea" DEPENDS = "net-rpc-msgpackrpc yamux go-metrics" PKG_NAME = "github.com/hashicorp/scada-client" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "c26580cfe35393f6f4bf1b9ba55e6afe33176bae" 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 += "scada_client_sysroot_preprocess" scada_client_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}/*" ```
5a37c650-eca0-4eb3-9dfe-fdd15c7c5f39
{ "language": "BitBake" }
```bitbake ``` Add BLE applications for WILC
```bitbake SUMMARY = "Bluetooth Connectivity Application" DESCRIPTION = "The example is to demonstrate BLE provisioning and BLE \ Transparent Services. \ the application is written using the BlueZ GATT service and it \ enables the WILC to host two GATT services, \ 1) transparent service 2) WiFi provisioning service \ The Microchip MBD application can be used to connect to WILC \ and transact BLE data through these BLE applications" AUTHOR = "Microchip Technology Inc" SECTION = "examples" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=2aadfbb30f3dc663d0c881ccb240fc4c" DEPENDS = "bluez5 wilc-demo-fs-overlay" SRC_URI = "git://github.com/MicrochipTech/wilcbtapps-buildroot-external-microchip.git;protocol=git" SRCREV = "ef37a75f4105289c12c83849e2b85112a78f81a2" S = "${WORKDIR}/git" do_compile () { ${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} -Wall \ -std=gnu11 -g -D_REENTRANT -static -I${STAGING_INCDIR}/bluez5_utils \ -L ${STAGING_LIBDIR}/bluez5_utils/lib transparent_service.c \ -o transparent_service -lshared-mainloop -lbluetooth-internal \ -lgdbus-internal -lc ${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} -Wall \ -std=gnu11 -g -D_REENTRANT -static -I${STAGING_INCDIR}/bluez5_utils \ -L ${STAGING_LIBDIR}/bluez5_utils/lib wifi_prov_service.c \ -o wifi_prov_service -lshared-mainloop -lbluetooth-internal \ -lgdbus-internal -lc } do_install () { install -d ${D}${bindir} install -m 0755 transparent_service ${D}${bindir} install -m 0755 wifi_prov_service ${D}${bindir} } PACKAGE_ARCH = "${MACHINE_ARCH}" FILES_${PN} += "${bindir}/transparent_service" FILES_${PN} += "${bindir}/wifi_prov_service" COMPATIBLE_MACHINE = "(at91sam9|sama5)" ```
73dcbc59-4d79-4b40-8c3b-3913197806b7
{ "language": "BitBake" }
```bitbake DESCRIPTION = "H.264 encoder" LICENSE = "GPL" PR = "r2" X264PV = "snapshot-20090127-2245" SRC_URI = "http://download.videolan.org/pub/videolan/x264/snapshots/x264-${X264PV}.tar.bz2" S = "${WORKDIR}/${PN}-${X264PV}" inherit autotools lib_package # default --extra-cflags X264_ECFLAGS = "" # disable use of assembler written functions X264_DISABLE_ASM = "--disable-asm" # use assembler written functions for those archs supporting this #X264_DISABLE_ASM_x86 = "" EXTRA_OECONF = '--enable-shared ${X264_DISABLE_ASM} --extra-cflags="${X264_ECFLAGS}"' do_stage() { autotools_stage_all } do_configure() { ${S}/configure ${EXTRA_OECONF} } ``` Enable using yasm-native for x86 machine.
```bitbake DESCRIPTION = "H.264 encoder" LICENSE = "GPL" PR = "r2" X264PV = "snapshot-20090127-2245" SRC_URI = "http://download.videolan.org/pub/videolan/x264/snapshots/x264-${X264PV}.tar.bz2" S = "${WORKDIR}/${PN}-${X264PV}" inherit autotools lib_package # default --extra-cflags X264_ECFLAGS = "" # disable use of assembler written functions X264_DISABLE_ASM = "--disable-asm" # use assembler written functions for those archs supporting this X264_DISABLE_ASM_x86 = "" DEPENDS_x86 = "yasm-native" EXTRA_OECONF = '--enable-shared ${X264_DISABLE_ASM} --extra-cflags="${X264_ECFLAGS}"' do_stage() { autotools_stage_all } do_configure() { ${S}/configure ${EXTRA_OECONF} } ```
17e5a6aa-6a4c-4555-901a-77338fa47cf9
{ "language": "BitBake" }
```bitbake ``` Add recipe for libnet-telnet-perl package
```bitbake SUMMARY = "Perl module to script telnetable connections" DESCRIPTION = "\ Net::Telnet allows you to make client connections to a TCP port and \ do network I/O, especially to a port using the TELNET protocol. \ Simple I/O methods such as print, get, and getline are provided. \ More sophisticated interactive features are provided because \ connecting to a TELNET port ultimately means communicating with a \ program designed for human interaction. These interactive features \ include the ability to specify a timeout and to wait for patterns to \ appear in the input stream, such as the prompt from a shell. \ " HOMEPAGE = "https://metacpan.org/release/Net-Telnet/" PR = "r0" inherit debian-package LICENSE = "Artistic-1.0 | GPL-1+" LIC_FILES_CHKSUM = "\ file://lib/Net/Telnet.pm;beginline=3;endline=5;md5=595feda9e8536d0a35f71ad7c693e4f2" inherit cpan ```
a0a04511-d89a-4ab8-84fa-c842f9ec00cd
{ "language": "BitBake" }
```bitbake ``` Add new release if gpe-dm.
```bitbake LICENSE = "GPL" inherit gpe DESCRIPTION = "GPE user login screen" SECTION = "gpe" PRIORITY = "optional" MAINTAINER = "Philip Blundell <[email protected]>" DEPENDS = "gtk+ libgpewidget gpe-ownerinfo xkbd" RDEPENDS = "xkbd" RPROVIDES = "gpe-session-starter" PR = "r0" ```
7de92b98-4a0f-41a6-b07e-b82f35bc21fb
{ "language": "BitBake" }
```bitbake ``` Add new recipe Create recipe to buils libtext-iconv-perl from Debian's source code
```bitbake # base recipe: http://cgit.openembedded.org/cgit.cgi/meta-openembedded/\ #tree/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb?h=master # base branch: master SUMMARY = "Perl interface to iconv() codeset conversion function" DESCRIPTION = "\ The Text::Iconv module provides a Perl interface to the iconv() \ function as defined by the Single UNIX Specification. The convert() \ method converts the encoding of characters in the input string from \ the fromcode codeset to the tocode codeset, and returns the result. \ Settings of fromcode and tocode and their permitted combinations are \ implementation-dependent. Valid values are specified in the system \ documentation." PR = "r0" inherit debian-package LICENSE = "Artistic-1.0 | GPL-1.0+" LIC_FILES_CHKSUM = "file://README;beginline=3;endline=6;md5=fadf2919c7128e887d26b4d905f90649" inherit cpan FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Text/Iconv/.debug/" ```
0258ada5-3570-4629-b6c5-ae8d0137d50b
{ "language": "BitBake" }
```bitbake ``` Add new libisi recipe (libisi can talk to the nokia900 modem)
```bitbake DESCRIPTION = "libisi is a library implementing the PhoNet protocol" SECTION = "libs/network" AUTHOR = "Sebastian Reichel <[email protected]>" LICENSE = "GPLv2" DEPENDS = "glib-2.0" SRC_URI = "${FREESMARTPHONE_GIT}/libisi.git;protocol=git;branch=master" SRCREV = "49809e4107fac3c8cf5f1e3ffce37030213e7e99" PV = "0.0.0+gitr${SRCPV}" inherit pkgconfig vala autotools EXTRA_OECONF = "--enable-tests" S = "${WORKDIR}/git" PACKAGES =+ "${PN}-tests" FILES_${PN}-tests = "${sbindir}/*" DESCRIPTION_${PN}-tests = "${PN} runtime tests" ```