diff options
Diffstat (limited to 'meta-oe/recipes-support')
| -rw-r--r-- | meta-oe/recipes-support/freerdp/freerdp.inc | 42 | ||||
| -rw-r--r-- | meta-oe/recipes-support/opencv/opencv_2.4.bb | 34 | ||||
| -rw-r--r-- | meta-oe/recipes-support/pidgin/pidgin.inc | 46 |
3 files changed, 61 insertions, 61 deletions
diff --git a/meta-oe/recipes-support/freerdp/freerdp.inc b/meta-oe/recipes-support/freerdp/freerdp.inc index ec7d360594..46aecf6130 100644 --- a/meta-oe/recipes-support/freerdp/freerdp.inc +++ b/meta-oe/recipes-support/freerdp/freerdp.inc | |||
| @@ -26,25 +26,25 @@ FILES_libfreerdp = "${libdir}/lib*${SOLIBS}" | |||
| 26 | PACKAGES_DYNAMIC = "libfreerdp-plugin-*" | 26 | PACKAGES_DYNAMIC = "libfreerdp-plugin-*" |
| 27 | 27 | ||
| 28 | python populate_packages_prepend () { | 28 | python populate_packages_prepend () { |
| 29 | freerdp_root = bb.data.expand('${libdir}/freerdp', d) | 29 | freerdp_root = bb.data.expand('${libdir}/freerdp', d) |
| 30 | 30 | ||
| 31 | do_split_packages(d, freerdp_root, '^(audin_.*)\.so$', | 31 | do_split_packages(d, freerdp_root, '^(audin_.*)\.so$', |
| 32 | output_pattern='libfreerdp-plugin-%s', | 32 | output_pattern='libfreerdp-plugin-%s', |
| 33 | description='FreeRDP plugin %s', | 33 | description='FreeRDP plugin %s', |
| 34 | prepend=True, extra_depends='libfreerdp-plugin-audin') | 34 | prepend=True, extra_depends='libfreerdp-plugin-audin') |
| 35 | 35 | ||
| 36 | do_split_packages(d, freerdp_root, '^(rdpsnd_.*)\.so$', | 36 | do_split_packages(d, freerdp_root, '^(rdpsnd_.*)\.so$', |
| 37 | output_pattern='libfreerdp-plugin-%s', | 37 | output_pattern='libfreerdp-plugin-%s', |
| 38 | description='FreeRDP plugin %s', | 38 | description='FreeRDP plugin %s', |
| 39 | prepend=True, extra_depends='libfreerdp-plugin-rdpsnd') | 39 | prepend=True, extra_depends='libfreerdp-plugin-rdpsnd') |
| 40 | 40 | ||
| 41 | do_split_packages(d, freerdp_root, '^(tsmf_.*)\.so$', | 41 | do_split_packages(d, freerdp_root, '^(tsmf_.*)\.so$', |
| 42 | output_pattern='libfreerdp-plugin-%s', | 42 | output_pattern='libfreerdp-plugin-%s', |
| 43 | description='FreeRDP plugin %s', | 43 | description='FreeRDP plugin %s', |
| 44 | prepend=True, extra_depends='libfreerdp-plugin-tsmf') | 44 | prepend=True, extra_depends='libfreerdp-plugin-tsmf') |
| 45 | 45 | ||
| 46 | do_split_packages(d, freerdp_root, '^([^-]*)\.so$', | 46 | do_split_packages(d, freerdp_root, '^([^-]*)\.so$', |
| 47 | output_pattern='libfreerdp-plugin-%s', | 47 | output_pattern='libfreerdp-plugin-%s', |
| 48 | description='FreeRDP plugin %s', | 48 | description='FreeRDP plugin %s', |
| 49 | prepend=True, extra_depends='') | 49 | prepend=True, extra_depends='') |
| 50 | } | 50 | } |
diff --git a/meta-oe/recipes-support/opencv/opencv_2.4.bb b/meta-oe/recipes-support/opencv/opencv_2.4.bb index 942e89a663..9cd454109e 100644 --- a/meta-oe/recipes-support/opencv/opencv_2.4.bb +++ b/meta-oe/recipes-support/opencv/opencv_2.4.bb | |||
| @@ -39,23 +39,23 @@ TARGET_CC_ARCH += "-I${S}/include " | |||
| 39 | PACKAGES += "${PN}-apps python-opencv" | 39 | PACKAGES += "${PN}-apps python-opencv" |
| 40 | 40 | ||
| 41 | python populate_packages_prepend () { | 41 | python populate_packages_prepend () { |
| 42 | cv_libdir = bb.data.expand('${libdir}', d) | 42 | cv_libdir = bb.data.expand('${libdir}', d) |
| 43 | cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d) | 43 | cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d) |
| 44 | do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev', allow_links=True) | 44 | do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev', allow_links=True) |
| 45 | do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev') | 45 | do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev') |
| 46 | do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev') | 46 | do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev') |
| 47 | do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'OpenCV %s library', extra_depends='', allow_links=True) | 47 | do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'OpenCV %s library', extra_depends='', allow_links=True) |
| 48 | 48 | ||
| 49 | pn = bb.data.getVar('PN', d, 1) | 49 | pn = bb.data.getVar('PN', d, 1) |
| 50 | metapkg = pn + '-dev' | 50 | metapkg = pn + '-dev' |
| 51 | bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d) | 51 | bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d) |
| 52 | blacklist = [ metapkg ] | 52 | blacklist = [ metapkg ] |
| 53 | metapkg_rdepends = [ ] | 53 | metapkg_rdepends = [ ] |
| 54 | packages = bb.data.getVar('PACKAGES', d, 1).split() | 54 | packages = bb.data.getVar('PACKAGES', d, 1).split() |
| 55 | for pkg in packages[1:]: | 55 | for pkg in packages[1:]: |
| 56 | if not pkg in blacklist and not pkg in metapkg_rdepends and pkg.endswith('-dev'): | 56 | if not pkg in blacklist and not pkg in metapkg_rdepends and pkg.endswith('-dev'): |
| 57 | metapkg_rdepends.append(pkg) | 57 | metapkg_rdepends.append(pkg) |
| 58 | bb.data.setVar('RRECOMMENDS_' + metapkg, ' '.join(metapkg_rdepends), d) | 58 | bb.data.setVar('RRECOMMENDS_' + metapkg, ' '.join(metapkg_rdepends), d) |
| 59 | } | 59 | } |
| 60 | 60 | ||
| 61 | FILES_${PN} = "" | 61 | FILES_${PN} = "" |
diff --git a/meta-oe/recipes-support/pidgin/pidgin.inc b/meta-oe/recipes-support/pidgin/pidgin.inc index db4753ed3d..90e2fd4b66 100644 --- a/meta-oe/recipes-support/pidgin/pidgin.inc +++ b/meta-oe/recipes-support/pidgin/pidgin.inc | |||
| @@ -59,32 +59,32 @@ FILES_${PN}-dev += "${libdir}/${PN}/*.la" | |||
| 59 | PACKAGES_DYNAMIC = "libpurple-protocol-* libpurple-plugin-* pidgin-plugin-* finch-plugin-*" | 59 | PACKAGES_DYNAMIC = "libpurple-protocol-* libpurple-plugin-* pidgin-plugin-* finch-plugin-*" |
| 60 | 60 | ||
| 61 | python populate_packages_prepend () { | 61 | python populate_packages_prepend () { |
| 62 | pidgroot = bb.data.expand('${libdir}/pidgin', d) | 62 | pidgroot = bb.data.expand('${libdir}/pidgin', d) |
| 63 | purple = bb.data.expand('${libdir}/purple-2', d) | 63 | purple = bb.data.expand('${libdir}/purple-2', d) |
| 64 | finch = bb.data.expand('${libdir}/finch', d) | 64 | finch = bb.data.expand('${libdir}/finch', d) |
| 65 | 65 | ||
| 66 | do_split_packages(d, pidgroot, '^([^l][^i][^b].*)\.so$', | 66 | do_split_packages(d, pidgroot, '^([^l][^i][^b].*)\.so$', |
| 67 | output_pattern='pidgin-plugin-%s', | 67 | output_pattern='pidgin-plugin-%s', |
| 68 | description='Pidgin plugin %s', | 68 | description='Pidgin plugin %s', |
| 69 | prepend=True, extra_depends='') | 69 | prepend=True, extra_depends='') |
| 70 | 70 | ||
| 71 | do_split_packages(d, purple, '^lib(.*)\.so$', | 71 | do_split_packages(d, purple, '^lib(.*)\.so$', |
| 72 | output_pattern='libpurple-protocol-%s', | 72 | output_pattern='libpurple-protocol-%s', |
| 73 | description='Libpurple protocol plugin for %s', | 73 | description='Libpurple protocol plugin for %s', |
| 74 | prepend=True, extra_depends='') | 74 | prepend=True, extra_depends='') |
| 75 | 75 | ||
| 76 | do_split_packages(d, purple, '^(ssl-.*)\.so$', | 76 | do_split_packages(d, purple, '^(ssl-.*)\.so$', |
| 77 | output_pattern='libpurple-plugin-%s', | 77 | output_pattern='libpurple-plugin-%s', |
| 78 | description='libpurple plugin %s', | 78 | description='libpurple plugin %s', |
| 79 | prepend=True, extra_depends='libpurple-plugin-ssl') | 79 | prepend=True, extra_depends='libpurple-plugin-ssl') |
| 80 | 80 | ||
| 81 | do_split_packages(d, purple, '^([^l][^i][^b].*)\.so$', | 81 | do_split_packages(d, purple, '^([^l][^i][^b].*)\.so$', |
| 82 | output_pattern='libpurple-plugin-%s', | 82 | output_pattern='libpurple-plugin-%s', |
| 83 | description='libpurple plugin %s', | 83 | description='libpurple plugin %s', |
| 84 | prepend=True, extra_depends='') | 84 | prepend=True, extra_depends='') |
| 85 | 85 | ||
| 86 | do_split_packages(d, finch, '^([^l][^i][^b].*)\.so$', | 86 | do_split_packages(d, finch, '^([^l][^i][^b].*)\.so$', |
| 87 | output_pattern='finch-plugin-%s', | 87 | output_pattern='finch-plugin-%s', |
| 88 | description='Finch plugin %s', | 88 | description='Finch plugin %s', |
| 89 | prepend=True, extra_depends='') | 89 | prepend=True, extra_depends='') |
| 90 | } | 90 | } |
