diff options
Diffstat (limited to 'import-layers/meta-openembedded/meta-oe/recipes-support/opencv/opencv_2.4.bb')
-rw-r--r-- | import-layers/meta-openembedded/meta-oe/recipes-support/opencv/opencv_2.4.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/import-layers/meta-openembedded/meta-oe/recipes-support/opencv/opencv_2.4.bb b/import-layers/meta-openembedded/meta-oe/recipes-support/opencv/opencv_2.4.bb index ced066f56..d17c640ac 100644 --- a/import-layers/meta-openembedded/meta-oe/recipes-support/opencv/opencv_2.4.bb +++ b/import-layers/meta-openembedded/meta-oe/recipes-support/opencv/opencv_2.4.bb @@ -65,12 +65,12 @@ python populate_packages_prepend () { do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev') do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'OpenCV %s library', extra_depends='', allow_links=True) - pn = d.getVar('PN', 1) + pn = d.getVar('PN') metapkg = pn + '-dev' d.setVar('ALLOW_EMPTY_' + metapkg, "1") blacklist = [ metapkg ] metapkg_rdepends = [ ] - packages = d.getVar('PACKAGES', 1).split() + packages = d.getVar('PACKAGES').split() for pkg in packages[1:]: if not pkg in blacklist and not pkg in metapkg_rdepends and pkg.endswith('-dev'): metapkg_rdepends.append(pkg) @@ -103,4 +103,4 @@ do_install_append() { } # http://errors.yoctoproject.org/Errors/Details/40660/ -PNBLACKLIST[opencv] ?= "Not compatible with currently used ffmpeg 3" +PNBLACKLIST[opencv] ?= "Not compatible with currently used ffmpeg 3 - the recipe will be removed on 2017-09-01 unless the issue is fixed" |