Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 1 | SUMMARY = "Optimised Inner Loop Runtime Compiler" |
| 2 | HOMEPAGE = "http://gstreamer.freedesktop.org/modules/orc.html" |
| 3 | LICENSE = "BSD-2-Clause & BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e" |
| 5 | |
| 6 | SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz" |
| 7 | SRC_URI[md5sum] = "25799917c7d31a891d5e32b83ad08f6d" |
| 8 | SRC_URI[sha256sum] = "4f8901f9144b5ec17dffdb33548b5f4c7f8049b0d1023be3462cdd64ec5a3ab2" |
| 9 | |
| 10 | inherit autotools pkgconfig gtk-doc |
| 11 | |
| 12 | BBCLASSEXTEND = "native nativesdk" |
| 13 | |
| 14 | PACKAGES =+ "orc-examples" |
| 15 | PACKAGES_DYNAMIC += "^liborc-.*" |
| 16 | FILES_orc-examples = "${libdir}/orc/*" |
| 17 | FILES_${PN} = "${bindir}/*" |
| 18 | |
| 19 | python populate_packages_prepend () { |
| 20 | libdir = d.expand('${libdir}') |
| 21 | do_split_packages(d, libdir, r'^lib(.*)\.so\.*', 'lib%s', 'ORC %s library', extra_depends='', allow_links=True) |
| 22 | } |
| 23 | |
| 24 | do_compile_prepend_class-native () { |
| 25 | sed -i -e 's#/tmp#.#g' ${S}/orc/orccodemem.c |
| 26 | } |