blob: ca59ea3b3cd9247ab13f62a001a1519ea72fb9e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
PACKAGESPLITFUNCS_prepend += " add_private_libs_packages "
python add_private_libs_packages () {
import os
import re
pn = d.getVar('PN', True)
gst_libdir = d.expand('${libdir}/gstreamer-${LIBV}')
dvar = d.getVar('PKGD', True)
for dirpath, dirnames, filenames in os.walk(dvar + gst_libdir):
for f in filenames:
m = re.match('libgst(.*)\.so$', f)
if m:
plugins = m.group(1)
d.setVar('PRIVATE_LIBS_' + pn + '-' + plugins , 'libgst' + plugins + '.so')
}
|