mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-15 06:10:02 +00:00
recipes: convert tabs to 4 spaces in populate_packages
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -9,14 +9,14 @@ PR = "r3"
|
||||
inherit xfce
|
||||
|
||||
python populate_packages_prepend() {
|
||||
plugin_dir = bb.data.expand('${libdir}/xfce4/panel/plugins/', d)
|
||||
plugin_name = bb.data.expand('${PN}-plugin-%s', d)
|
||||
do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name,
|
||||
'${PN} plugin for %s', extra_depends='', prepend=True,
|
||||
aux_files_pattern=['${datadir}/xfce4/panel/plugins/%s.desktop',
|
||||
'${sysconfdir}/xdg/xfce/panel/%s-*',
|
||||
'${datadir}/icons/hicolor/48x48/apps/*-%s.png',
|
||||
'${bindir}/*%s*'])
|
||||
plugin_dir = bb.data.expand('${libdir}/xfce4/panel/plugins/', d)
|
||||
plugin_name = bb.data.expand('${PN}-plugin-%s', d)
|
||||
do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name,
|
||||
'${PN} plugin for %s', extra_depends='', prepend=True,
|
||||
aux_files_pattern=['${datadir}/xfce4/panel/plugins/%s.desktop',
|
||||
'${sysconfdir}/xdg/xfce/panel/%s-*',
|
||||
'${datadir}/icons/hicolor/48x48/apps/*-%s.png',
|
||||
'${bindir}/*%s*'])
|
||||
}
|
||||
do_install_append () {
|
||||
find "${D}/${libdir}/xfce4/panel/plugins" -name '*.a' -exec rm -f {} +
|
||||
|
||||
@@ -12,8 +12,8 @@ SRC_URI[sha256sum] = "0b0e8bea0b257958ad416ab5678cf0cdd7e909943d4d5ab32afc35295a
|
||||
EXTRA_OECONF += " --enable-startup-notification"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
themedir = bb.data.expand('${datadir}/themes', d)
|
||||
do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True)
|
||||
themedir = bb.data.expand('${datadir}/themes', d)
|
||||
do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True)
|
||||
}
|
||||
|
||||
PACKAGES_DYNAMIC += "xfwm4-theme-*"
|
||||
|
||||
Reference in New Issue
Block a user