mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
parent
3770f2bbee
commit
5cb8258d15
|
|
@ -12,14 +12,14 @@ INC_PR = "r0"
|
|||
FILESPATHPKG =. "${BPN}-${PV}:${BPN}:"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
for plugin_type in "engines loaders savers".split():
|
||||
bb.note( "splitting packages for evas %s..." % plugin_type )
|
||||
basedir = bb.data.expand( '${libdir}/evas/modules/%s' % plugin_type, d )
|
||||
for plugin_type in "engines loaders savers".split():
|
||||
bb.note( "splitting packages for evas %s..." % plugin_type )
|
||||
basedir = bb.data.expand( '${libdir}/evas/modules/%s' % plugin_type, d )
|
||||
|
||||
do_split_packages(d, basedir, '^(.*)',
|
||||
output_pattern = 'evas-' + plugin_type[:-1] + "-%s",
|
||||
description = 'Evas module %s',
|
||||
allow_dirs=True, recursive=False, extra_depends="" )
|
||||
do_split_packages(d, basedir, '^(.*)',
|
||||
output_pattern = 'evas-' + plugin_type[:-1] + "-%s",
|
||||
description = 'Evas module %s',
|
||||
allow_dirs=True, recursive=False, extra_depends="" )
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
|
|
|
|||
|
|
@ -102,21 +102,21 @@ FILES_${PN}-templates += "${datadir}/${PN}-${SHRT_VER}/templates"
|
|||
PACKAGES_DYNAMIC = "${PN}-meta ${PN}-plugin-*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
abiword_libdir = bb.data.expand('${libdir}/abiword-2.8/plugins', d)
|
||||
do_split_packages(d, abiword_libdir, '(.*)\.so$', 'abiword-plugin-%s', 'Abiword plugin for %s', extra_depends='')
|
||||
abiword_libdir = bb.data.expand('${libdir}/abiword-2.8/plugins', d)
|
||||
do_split_packages(d, abiword_libdir, '(.*)\.so$', 'abiword-plugin-%s', 'Abiword plugin for %s', extra_depends='')
|
||||
|
||||
metapkg = "abiword-meta"
|
||||
bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d)
|
||||
bb.data.setVar('FILES_' + metapkg, "", d)
|
||||
blacklist = [ 'abiword-plugins-dbg', 'abiword-plugins', 'abiword-plugins-doc', 'abiword-plugins-dev', 'abiword-plugins-locale' ]
|
||||
metapkg_rdepends = []
|
||||
packages = bb.data.getVar('PACKAGES', d, 1).split()
|
||||
for pkg in packages[1:]:
|
||||
if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not pkg.count("locale") and not pkg.count("abiword-doc"):
|
||||
print "Modifying ", pkg
|
||||
metapkg_rdepends.append(pkg)
|
||||
bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d)
|
||||
bb.data.setVar('DESCRIPTION_' + metapkg, 'abiword-plugin meta package', d)
|
||||
packages.append(metapkg)
|
||||
bb.data.setVar('PACKAGES', ' '.join(packages), d)
|
||||
metapkg = "abiword-meta"
|
||||
bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d)
|
||||
bb.data.setVar('FILES_' + metapkg, "", d)
|
||||
blacklist = [ 'abiword-plugins-dbg', 'abiword-plugins', 'abiword-plugins-doc', 'abiword-plugins-dev', 'abiword-plugins-locale' ]
|
||||
metapkg_rdepends = []
|
||||
packages = bb.data.getVar('PACKAGES', d, 1).split()
|
||||
for pkg in packages[1:]:
|
||||
if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not pkg.count("locale") and not pkg.count("abiword-doc"):
|
||||
print "Modifying ", pkg
|
||||
metapkg_rdepends.append(pkg)
|
||||
bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d)
|
||||
bb.data.setVar('DESCRIPTION_' + metapkg, 'abiword-plugin meta package', d)
|
||||
packages.append(metapkg)
|
||||
bb.data.setVar('PACKAGES', ' '.join(packages), d)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,8 +43,8 @@ FILES_${PN}-doc += " ${datadir}/gtk-doc"
|
|||
PACKAGES_DYNAMIC = "gnome-vfs-plugin-*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
print bb.data.getVar('FILES_gnome-vfs', d, 1)
|
||||
print bb.data.getVar('FILES_gnome-vfs', d, 1)
|
||||
|
||||
plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d)
|
||||
do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', 'GNOME VFS plugin for %s')
|
||||
plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d)
|
||||
do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', 'GNOME VFS plugin for %s')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,19 +75,19 @@ FILES_${PN}-dbg += " \
|
|||
PACKAGES_DYNAMIC += "gtk3-immodule-* gtk3-printbackend-*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
import os.path
|
||||
import os.path
|
||||
|
||||
prologue = bb.data.getVar("postinst_prologue", d, 1)
|
||||
prologue = bb.data.getVar("postinst_prologue", d, 1)
|
||||
|
||||
gtk_libdir = bb.data.expand('${libdir}/gtk-3.0/${LIBV}', d)
|
||||
immodules_root = os.path.join(gtk_libdir, 'immodules')
|
||||
printmodules_root = os.path.join(gtk_libdir, 'printbackends');
|
||||
gtk_libdir = bb.data.expand('${libdir}/gtk-3.0/${LIBV}', d)
|
||||
immodules_root = os.path.join(gtk_libdir, 'immodules')
|
||||
printmodules_root = os.path.join(gtk_libdir, 'printbackends');
|
||||
|
||||
do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-3.0 > /etc/gtk-3.0/gtk.immodules')
|
||||
do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s')
|
||||
do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-3.0 > /etc/gtk-3.0/gtk.immodules')
|
||||
do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s')
|
||||
|
||||
if (bb.data.getVar('DEBIAN_NAMES', d, 1)):
|
||||
bb.data.setVar('PKG_${PN}', 'libgtk-3.0', d)
|
||||
if (bb.data.getVar('DEBIAN_NAMES', d, 1)):
|
||||
bb.data.setVar('PKG_${PN}', 'libgtk-3.0', d)
|
||||
}
|
||||
|
||||
postinst_prologue() {
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@ FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS}
|
|||
PACKAGES_DYNAMIC = "goffice-plugin-*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
goffice_libdir = bb.data.expand('${libdir}/goffice/${PV}/plugins/', d)
|
||||
goffice_libdir = bb.data.expand('${libdir}/goffice/${PV}/plugins/', d)
|
||||
|
||||
do_split_packages(d, goffice_libdir, '(.*)', 'goffice-plugin-%s', 'Goffice plugin for %s', allow_dirs=True)
|
||||
do_split_packages(d, goffice_libdir, '(.*)', 'goffice-plugin-%s', 'Goffice plugin for %s', allow_dirs=True)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -62,9 +62,9 @@ PACKAGES_DYNAMIC = "${KLIBC_UTILS_PKGNAME}-*"
|
|||
|
||||
python populate_packages_prepend () {
|
||||
|
||||
base_bin_dir = bb.data.expand('${base_bindir}', d)
|
||||
do_split_packages(d, base_bin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', allow_links=True, allow_dirs=True)
|
||||
base_bin_dir = bb.data.expand('${base_bindir}', d)
|
||||
do_split_packages(d, base_bin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', allow_links=True, allow_dirs=True)
|
||||
|
||||
base_sbin_dir = bb.data.expand('${base_sbindir}', d)
|
||||
do_split_packages(d, base_sbin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', allow_dirs=True)
|
||||
base_sbin_dir = bb.data.expand('${base_sbindir}', d)
|
||||
do_split_packages(d, base_sbin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', allow_dirs=True)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ EXTRA_OECONF = "\
|
|||
# enable pulse again when pulseaudio >= 0.9.11 is the default in OE
|
||||
|
||||
python populate_packages_prepend() {
|
||||
plugindir = bb.data.expand('${libdir}/${P}/', d)
|
||||
do_split_packages(d, plugindir, '^libcanberra-(.*)\.so$', 'libcanberra-%s', '%s support library', extra_depends='' )
|
||||
plugindir = bb.data.expand('${libdir}/${P}/', d)
|
||||
do_split_packages(d, plugindir, '^libcanberra-(.*)\.so$', 'libcanberra-%s', '%s support library', extra_depends='' )
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-gtk"
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ FILES_orc-examples = "${libdir}/orc/*"
|
|||
FILES_${PN} = "${bindir}/*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
libdir = bb.data.expand('${libdir}', d)
|
||||
do_split_packages(d, libdir, '^lib(.*)\.so\.*', 'lib%s', 'ORC %s library', extra_depends='', allow_links=True)
|
||||
libdir = bb.data.expand('${libdir}', d)
|
||||
do_split_packages(d, libdir, '^lib(.*)\.so\.*', 'lib%s', 'ORC %s library', extra_depends='', allow_links=True)
|
||||
}
|
||||
|
||||
do_compile_prepend_virtclass-native () {
|
||||
|
|
|
|||
|
|
@ -23,9 +23,9 @@ PACKAGES =+ "${PN}-core ${PN}-lxde ${PN}-gnome"
|
|||
PACKAGES_DYNAMIC += "${PN}-theme-*"
|
||||
|
||||
python populate_packages_prepend() {
|
||||
theme_dir = bb.data.expand('${datadir}/themes/', d)
|
||||
theme_name = bb.data.expand('${PN}-theme-%s', d)
|
||||
do_split_packages(d, theme_dir, '(.*)', theme_name, '${PN} theme for %s', extra_depends='', allow_dirs=True)
|
||||
theme_dir = bb.data.expand('${datadir}/themes/', d)
|
||||
theme_name = bb.data.expand('${PN}-theme-%s', d)
|
||||
do_split_packages(d, theme_dir, '(.*)', theme_name, '${PN} theme for %s', extra_depends='', allow_dirs=True)
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} += "${PN}-core"
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ SRC_URI = "http://osdn.dl.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}
|
|||
S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}"
|
||||
|
||||
python populate_packages_prepend() {
|
||||
plugindir = bb.data.expand('${datadir}/fonts/ttf-mplus/', d)
|
||||
do_split_packages(d, plugindir, '^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s', extra_depends = "ttf-common")
|
||||
plugindir = bb.data.expand('${datadir}/fonts/ttf-mplus/', d)
|
||||
do_split_packages(d, plugindir, '^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s', extra_depends = "ttf-common")
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
DESCRIPTION = "The GNU Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access."
|
||||
ESCRIPTION = "The GNU Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access."
|
||||
HOMEPAGE = "http://www.gnu.org/software/libcdio/"
|
||||
SECTION = "libs"
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ FILES_${PN} = "${libdir}/${PN}${SOLIB}"
|
|||
FILES_${PN}-utils = "${bindir}/*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
glibdir = bb.data.expand('${libdir}', d)
|
||||
do_split_packages(d, glibdir, '^lib(.*)\.so\..*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True)
|
||||
glibdir = bb.data.expand('${libdir}', d)
|
||||
do_split_packages(d, glibdir, '^lib(.*)\.so\..*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,25 +26,25 @@ FILES_libfreerdp = "${libdir}/lib*${SOLIBS}"
|
|||
PACKAGES_DYNAMIC = "libfreerdp-plugin-*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
freerdp_root = bb.data.expand('${libdir}/freerdp', d)
|
||||
freerdp_root = bb.data.expand('${libdir}/freerdp', d)
|
||||
|
||||
do_split_packages(d, freerdp_root, '^(audin_.*)\.so$',
|
||||
output_pattern='libfreerdp-plugin-%s',
|
||||
description='FreeRDP plugin %s',
|
||||
prepend=True, extra_depends='libfreerdp-plugin-audin')
|
||||
do_split_packages(d, freerdp_root, '^(audin_.*)\.so$',
|
||||
output_pattern='libfreerdp-plugin-%s',
|
||||
description='FreeRDP plugin %s',
|
||||
prepend=True, extra_depends='libfreerdp-plugin-audin')
|
||||
|
||||
do_split_packages(d, freerdp_root, '^(rdpsnd_.*)\.so$',
|
||||
output_pattern='libfreerdp-plugin-%s',
|
||||
description='FreeRDP plugin %s',
|
||||
prepend=True, extra_depends='libfreerdp-plugin-rdpsnd')
|
||||
do_split_packages(d, freerdp_root, '^(rdpsnd_.*)\.so$',
|
||||
output_pattern='libfreerdp-plugin-%s',
|
||||
description='FreeRDP plugin %s',
|
||||
prepend=True, extra_depends='libfreerdp-plugin-rdpsnd')
|
||||
|
||||
do_split_packages(d, freerdp_root, '^(tsmf_.*)\.so$',
|
||||
output_pattern='libfreerdp-plugin-%s',
|
||||
description='FreeRDP plugin %s',
|
||||
prepend=True, extra_depends='libfreerdp-plugin-tsmf')
|
||||
do_split_packages(d, freerdp_root, '^(tsmf_.*)\.so$',
|
||||
output_pattern='libfreerdp-plugin-%s',
|
||||
description='FreeRDP plugin %s',
|
||||
prepend=True, extra_depends='libfreerdp-plugin-tsmf')
|
||||
|
||||
do_split_packages(d, freerdp_root, '^([^-]*)\.so$',
|
||||
output_pattern='libfreerdp-plugin-%s',
|
||||
description='FreeRDP plugin %s',
|
||||
prepend=True, extra_depends='')
|
||||
do_split_packages(d, freerdp_root, '^([^-]*)\.so$',
|
||||
output_pattern='libfreerdp-plugin-%s',
|
||||
description='FreeRDP plugin %s',
|
||||
prepend=True, extra_depends='')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,23 +39,23 @@ TARGET_CC_ARCH += "-I${S}/include "
|
|||
PACKAGES += "${PN}-apps python-opencv"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
cv_libdir = bb.data.expand('${libdir}', d)
|
||||
cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
|
||||
do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev', allow_links=True)
|
||||
do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
|
||||
do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
|
||||
do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'OpenCV %s library', extra_depends='', allow_links=True)
|
||||
cv_libdir = bb.data.expand('${libdir}', d)
|
||||
cv_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
|
||||
do_split_packages(d, cv_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev', allow_links=True)
|
||||
do_split_packages(d, cv_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
|
||||
do_split_packages(d, cv_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'OpenCV %s development package', extra_depends='${PN}-dev')
|
||||
do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'OpenCV %s library', extra_depends='', allow_links=True)
|
||||
|
||||
pn = bb.data.getVar('PN', d, 1)
|
||||
metapkg = pn + '-dev'
|
||||
bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d)
|
||||
blacklist = [ metapkg ]
|
||||
metapkg_rdepends = [ ]
|
||||
packages = bb.data.getVar('PACKAGES', d, 1).split()
|
||||
for pkg in packages[1:]:
|
||||
if not pkg in blacklist and not pkg in metapkg_rdepends and pkg.endswith('-dev'):
|
||||
metapkg_rdepends.append(pkg)
|
||||
bb.data.setVar('RRECOMMENDS_' + metapkg, ' '.join(metapkg_rdepends), d)
|
||||
pn = bb.data.getVar('PN', d, 1)
|
||||
metapkg = pn + '-dev'
|
||||
bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d)
|
||||
blacklist = [ metapkg ]
|
||||
metapkg_rdepends = [ ]
|
||||
packages = bb.data.getVar('PACKAGES', d, 1).split()
|
||||
for pkg in packages[1:]:
|
||||
if not pkg in blacklist and not pkg in metapkg_rdepends and pkg.endswith('-dev'):
|
||||
metapkg_rdepends.append(pkg)
|
||||
bb.data.setVar('RRECOMMENDS_' + metapkg, ' '.join(metapkg_rdepends), d)
|
||||
}
|
||||
|
||||
FILES_${PN} = ""
|
||||
|
|
|
|||
|
|
@ -59,32 +59,32 @@ FILES_${PN}-dev += "${libdir}/${PN}/*.la"
|
|||
PACKAGES_DYNAMIC = "libpurple-protocol-* libpurple-plugin-* pidgin-plugin-* finch-plugin-*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
pidgroot = bb.data.expand('${libdir}/pidgin', d)
|
||||
purple = bb.data.expand('${libdir}/purple-2', d)
|
||||
finch = bb.data.expand('${libdir}/finch', d)
|
||||
pidgroot = bb.data.expand('${libdir}/pidgin', d)
|
||||
purple = bb.data.expand('${libdir}/purple-2', d)
|
||||
finch = bb.data.expand('${libdir}/finch', d)
|
||||
|
||||
do_split_packages(d, pidgroot, '^([^l][^i][^b].*)\.so$',
|
||||
output_pattern='pidgin-plugin-%s',
|
||||
description='Pidgin plugin %s',
|
||||
prepend=True, extra_depends='')
|
||||
do_split_packages(d, pidgroot, '^([^l][^i][^b].*)\.so$',
|
||||
output_pattern='pidgin-plugin-%s',
|
||||
description='Pidgin plugin %s',
|
||||
prepend=True, extra_depends='')
|
||||
|
||||
do_split_packages(d, purple, '^lib(.*)\.so$',
|
||||
output_pattern='libpurple-protocol-%s',
|
||||
description='Libpurple protocol plugin for %s',
|
||||
prepend=True, extra_depends='')
|
||||
do_split_packages(d, purple, '^lib(.*)\.so$',
|
||||
output_pattern='libpurple-protocol-%s',
|
||||
description='Libpurple protocol plugin for %s',
|
||||
prepend=True, extra_depends='')
|
||||
|
||||
do_split_packages(d, purple, '^(ssl-.*)\.so$',
|
||||
output_pattern='libpurple-plugin-%s',
|
||||
description='libpurple plugin %s',
|
||||
prepend=True, extra_depends='libpurple-plugin-ssl')
|
||||
do_split_packages(d, purple, '^(ssl-.*)\.so$',
|
||||
output_pattern='libpurple-plugin-%s',
|
||||
description='libpurple plugin %s',
|
||||
prepend=True, extra_depends='libpurple-plugin-ssl')
|
||||
|
||||
do_split_packages(d, purple, '^([^l][^i][^b].*)\.so$',
|
||||
output_pattern='libpurple-plugin-%s',
|
||||
description='libpurple plugin %s',
|
||||
prepend=True, extra_depends='')
|
||||
do_split_packages(d, purple, '^([^l][^i][^b].*)\.so$',
|
||||
output_pattern='libpurple-plugin-%s',
|
||||
description='libpurple plugin %s',
|
||||
prepend=True, extra_depends='')
|
||||
|
||||
do_split_packages(d, finch, '^([^l][^i][^b].*)\.so$',
|
||||
output_pattern='finch-plugin-%s',
|
||||
description='Finch plugin %s',
|
||||
prepend=True, extra_depends='')
|
||||
do_split_packages(d, finch, '^([^l][^i][^b].*)\.so$',
|
||||
output_pattern='finch-plugin-%s',
|
||||
description='Finch plugin %s',
|
||||
prepend=True, extra_depends='')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,8 +85,8 @@ do_install() {
|
|||
}
|
||||
|
||||
python populate_packages_prepend (){
|
||||
systemdlibdir = d.getVar("base_libdir", True)
|
||||
do_split_packages(d, systemdlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True)
|
||||
systemdlibdir = d.getVar("base_libdir", True)
|
||||
do_split_packages(d, systemdlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True)
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup ${PN}-initramfs ${PN}-analyze"
|
||||
|
|
|
|||
|
|
@ -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-*"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user