diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-01-19 23:10:57 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-24 11:54:19 +0000 |
commit | 9ed7ac6ffaa45a068ac107beb2a8089ed038fa9c (patch) | |
tree | 14dbf8852c04f40e4769f6754c4b769d4964310a /meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | |
parent | 14953b7c51212709037e11a80625627207da54ba (diff) | |
download | poky-9ed7ac6ffaa45a068ac107beb2a8089ed038fa9c.tar.gz |
gstreamer: refactor packages for staticdev
(From OE-Core rev: 66c348403d2289ad9a4d95ee3f3aaf8088593e82)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-plugins-package.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc index 8ff9f82fb4..a71d8962af 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | |||
@@ -7,7 +7,8 @@ python populate_packages_prepend () { | |||
7 | 7 | ||
8 | do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) | 8 | do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) |
9 | do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', bb.data.expand('${PN}-%s', d), 'GStreamer plugin for %s', postinst=postinst, extra_depends=bb.data.expand('${PN}',d)) | 9 | do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', bb.data.expand('${PN}-%s', d), 'GStreamer plugin for %s', postinst=postinst, extra_depends=bb.data.expand('${PN}',d)) |
10 | do_split_packages(d, gst_libdir, 'libgst(.*)\.l?a$', bb.data.expand('${PN}-%s-dev', d), 'GStreamer plugin for %s (development files)', extra_depends=bb.data.expand('${PN}-dev',d)) | 10 | do_split_packages(d, gst_libdir, 'libgst(.*)\.la$', bb.data.expand('${PN}-%s-dev', d), 'GStreamer plugin for %s (development files)', extra_depends=bb.data.expand('${PN}-dev',d)) |
11 | do_split_packages(d, gst_libdir, 'libgst(.*)\.a$', bb.data.expand('${PN}-%s-staticdev', d), 'GStreamer plugin for %s (static development files)', extra_depends=bb.data.expand('${PN}-staticdev',d)) | ||
11 | 12 | ||
12 | pn = d.getVar('PN', 1) | 13 | pn = d.getVar('PN', 1) |
13 | metapkg = pn + '-meta' | 14 | metapkg = pn + '-meta' |
@@ -17,7 +18,7 @@ python populate_packages_prepend () { | |||
17 | metapkg_rdepends = [] | 18 | metapkg_rdepends = [] |
18 | packages = d.getVar('PACKAGES', 1).split() | 19 | packages = d.getVar('PACKAGES', 1).split() |
19 | for pkg in packages[1:]: | 20 | for pkg in packages[1:]: |
20 | 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('-static'): | 21 | 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'): |
21 | metapkg_rdepends.append(pkg) | 22 | metapkg_rdepends.append(pkg) |
22 | d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends)) | 23 | d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends)) |
23 | d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package') | 24 | d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package') |
@@ -25,10 +26,10 @@ python populate_packages_prepend () { | |||
25 | 26 | ||
26 | ALLOW_EMPTY = "1" | 27 | ALLOW_EMPTY = "1" |
27 | 28 | ||
28 | PACKAGES += "${PN}-apps ${PN}-meta" | 29 | PACKAGES += "${PN}-apps ${PN}-meta ${PN}-glib" |
29 | FILES_${PN}-apps = "${bindir}" | 30 | FILES_${PN}-apps = "${bindir}" |
30 | 31 | ||
31 | FILES_${PN} = "${datadir}/gstreamer-${LIBV}" | 32 | FILES_${PN} = "${datadir}/gstreamer-${LIBV}" |
32 | FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug" | 33 | FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug" |
33 | 34 | FILES_${PN}-glib = "${datadir}/glib-2.0" | |
34 | 35 | ||