Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [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" |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 7 | SRC_URI[sha256sum] = "a66e3d8f2b7e65178d786a01ef61f2a0a0b4d0b8370de7ce134ba73da4af18f0" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | |
| 9 | inherit meson pkgconfig gtk-doc |
| 10 | |
| 11 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 12 | GTKDOC_MESON_ENABLE_FLAG = "enabled" |
| 13 | GTKDOC_MESON_DISABLE_FLAG = "disabled" |
| 14 | |
| 15 | BBCLASSEXTEND = "native nativesdk" |
| 16 | |
| 17 | PACKAGES =+ "orc-examples" |
| 18 | PACKAGES_DYNAMIC += "^liborc-.*" |
| 19 | FILES_orc-examples = "${libdir}/orc/*" |
| 20 | FILES_${PN} = "${bindir}/*" |
| 21 | |
| 22 | python populate_packages_prepend () { |
| 23 | libdir = d.expand('${libdir}') |
| 24 | do_split_packages(d, libdir, r'^lib(.*)\.so\.*', 'lib%s', 'ORC %s library', extra_depends='', allow_links=True) |
| 25 | } |
| 26 | |
| 27 | do_compile_prepend_class-native () { |
| 28 | sed -i -e 's#/tmp#.#g' ${S}/orc/orccodemem.c |
| 29 | } |