diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-plugins-package.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc index c24493e1e8..3fdb10e404 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | |||
@@ -3,8 +3,8 @@ PACKAGESPLITFUNCS_append = " set_metapkg_rdepends " | |||
3 | 3 | ||
4 | python split_gstreamer10_packages () { | 4 | python split_gstreamer10_packages () { |
5 | gst_libdir = d.expand('${libdir}/gstreamer-${LIBV}') | 5 | gst_libdir = d.expand('${libdir}/gstreamer-${LIBV}') |
6 | postinst = d.getVar('plugin_postinst', True) | 6 | postinst = d.getVar('plugin_postinst') |
7 | glibdir = d.getVar('libdir', True) | 7 | glibdir = d.getVar('libdir') |
8 | 8 | ||
9 | do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) | 9 | do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) |
10 | do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', d.expand('${PN}-%s'), 'GStreamer plugin for %s', postinst=postinst, extra_depends='') | 10 | do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', d.expand('${PN}-%s'), 'GStreamer plugin for %s', postinst=postinst, extra_depends='') |
@@ -16,14 +16,14 @@ python split_gstreamer10_packages () { | |||
16 | python set_metapkg_rdepends () { | 16 | python set_metapkg_rdepends () { |
17 | import os | 17 | import os |
18 | 18 | ||
19 | pn = d.getVar('PN', True) | 19 | pn = d.getVar('PN') |
20 | metapkg = pn + '-meta' | 20 | metapkg = pn + '-meta' |
21 | d.setVar('ALLOW_EMPTY_' + metapkg, "1") | 21 | d.setVar('ALLOW_EMPTY_' + metapkg, "1") |
22 | d.setVar('FILES_' + metapkg, "") | 22 | d.setVar('FILES_' + metapkg, "") |
23 | blacklist = [ pn, pn + '-locale', pn + '-dev', pn + '-dbg', pn + '-doc', pn + '-meta' ] | 23 | blacklist = [ pn, pn + '-locale', pn + '-dev', pn + '-dbg', pn + '-doc', pn + '-meta' ] |
24 | metapkg_rdepends = [] | 24 | metapkg_rdepends = [] |
25 | packages = d.getVar('PACKAGES', True).split() | 25 | packages = d.getVar('PACKAGES').split() |
26 | pkgdest = d.getVar('PKGDEST', True) | 26 | pkgdest = d.getVar('PKGDEST') |
27 | for pkg in packages[1:]: | 27 | for pkg in packages[1:]: |
28 | if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.count('locale') and not pkg.count('-staticdev'): | 28 | if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.count('locale') and not pkg.count('-staticdev'): |
29 | # See if the package is empty by looking at the contents of its PKGDEST subdirectory. | 29 | # See if the package is empty by looking at the contents of its PKGDEST subdirectory. |