anchor.diff:  PACKAGES_DYNAMIC += "^libopencv-.*"
   
   FILES_${PN} = ""
  +FILES_${PN}-dbg += "${datadir}/OpenCV/java/.debug/* ${datadir}/OpenCV/samples/bin/.debug/*"
  +FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig ${datadir}/OpenCV/*.cmake"
  +FILES_${PN}-staticdev += "${datadir}/OpenCV/3rdparty/lib/*.a"
   FILES_${PN}-apps = "${bindir}/* ${datadir}/OpenCV"
  -FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig ${datadir}/OpenCV/*.cmake ${datadir}/OpenCV/3rdparty/${baselib}/*.a"
  -FILES_${PN}-doc = "${datadir}/OpenCV/doc"
   FILES_${PN}-java = "${datadir}/OpenCV/java"
  -FILES_${PN}-java-dbg = "${datadir}/OpenCV/java/.debug/"
   FILES_${PN}-samples = "${datadir}/OpenCV/samples/"
  -FILES_${PN}-samples-dbg = "${datadir}/OpenCV/samples/bin/.debug"
   
  -INSANE_SKIP_${PN}-dev = "staticdev"
   INSANE_SKIP_${PN}-java = "libdir"
  -INSANE_SKIP_${PN}-java-dbg = "libdir"
  +INSANE_SKIP_${PN}-dbg = "libdir"
   
   ALLOW_EMPTY_${PN} = "1"
   
  
positive.code: 
  TARGET_CC_ARCH += "-I${S}/include "
  
  PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'oracle-java', '${PN}-java-dbg ${PN}-java', '', d)} \
      ${@bb.utils.contains('PACKAGECONFIG', 'java', '${PN}-java-dbg ${PN}-java', '', d)} \
      ${@bb.utils.contains('PACKAGECONFIG', 'python2', 'python-${PN}', '', d)} \
      ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-${PN}', '', d)} \
      ${PN}-samples-dbg ${PN}-samples ${PN}-apps"
  
  python populate_packages_prepend () {
      cv_libdir = d.expand('${libdir}')
      cv_libdir_dbg = d.expand('${libdir}/.debug')
      do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev', allow_links=True)
      do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
      do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
  
negative.code:     d.setVar('RRECOMMENDS_' + metapkg, ' '.join(metapkg_rdepends))
  
      metapkg =  pn
      d.setVar('ALLOW_EMPTY_' + metapkg, "1")
      blacklist = [ metapkg ]
      metapkg_rdepends = [ ]
      for pkg in packages[1:]:
  