summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/openbox
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-graphics/openbox
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/openbox')
-rw-r--r--meta-oe/recipes-graphics/openbox/obconf_git.bb4
-rw-r--r--meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb14
2 files changed, 9 insertions, 9 deletions
diff --git a/meta-oe/recipes-graphics/openbox/obconf_git.bb b/meta-oe/recipes-graphics/openbox/obconf_git.bb
index 53c5898211..bb1e7528ee 100644
--- a/meta-oe/recipes-graphics/openbox/obconf_git.bb
+++ b/meta-oe/recipes-graphics/openbox/obconf_git.bb
@@ -24,10 +24,10 @@ REQUIRED_DISTRO_FEATURES = "x11"
24 24
25EXTRA_AUTORECONF = "" 25EXTRA_AUTORECONF = ""
26 26
27FILES_${PN} += "\ 27FILES:${PN} += "\
28 ${datadir}/mime \ 28 ${datadir}/mime \
29" 29"
30 30
31do_install_append () { 31do_install:append () {
32 rm -rf ${D}${datadir}/mimelnk 32 rm -rf ${D}${datadir}/mimelnk
33} 33}
diff --git a/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb b/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb
index e269a264f8..6ada9b7d27 100644
--- a/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb
+++ b/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb
@@ -17,7 +17,7 @@ inherit autotools gettext update-alternatives pkgconfig features_check
17# depends on virtual/libx11 17# depends on virtual/libx11
18REQUIRED_DISTRO_FEATURES = "x11" 18REQUIRED_DISTRO_FEATURES = "x11"
19 19
20ALTERNATIVE_${PN}-core = "x-window-manager x-session-manager" 20ALTERNATIVE:${PN}-core = "x-window-manager x-session-manager"
21ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/openbox" 21ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/openbox"
22ALTERNATIVE_PRIORITY[x-window-manager] = "10" 22ALTERNATIVE_PRIORITY[x-window-manager] = "10"
23ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/openbox-session" 23ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/openbox-session"
@@ -34,25 +34,25 @@ PACKAGES =+ "${PN}-core ${PN}-lxde ${PN}-gnome ${PN}-config"
34 34
35PACKAGES_DYNAMIC += "^${PN}-theme-.*" 35PACKAGES_DYNAMIC += "^${PN}-theme-.*"
36 36
37python populate_packages_prepend() { 37python populate_packages:prepend() {
38 theme_dir = d.expand('${datadir}/themes/') 38 theme_dir = d.expand('${datadir}/themes/')
39 theme_name = d.expand('${PN}-theme-%s') 39 theme_name = d.expand('${PN}-theme-%s')
40 do_split_packages(d, theme_dir, '(.*)', theme_name, '${PN} theme for %s', extra_depends='', allow_dirs=True) 40 do_split_packages(d, theme_dir, '(.*)', theme_name, '${PN} theme for %s', extra_depends='', allow_dirs=True)
41} 41}
42 42
43FILES_${PN}-core = "${bindir}/openbox ${bindir}/openbox-session ${libdir}/*${SOLIBS}" 43FILES:${PN}-core = "${bindir}/openbox ${bindir}/openbox-session ${libdir}/*${SOLIBS}"
44 44
45FILES_${PN}-lxde += "${datadir}/lxde/ \ 45FILES:${PN}-lxde += "${datadir}/lxde/ \
46 ${datadir}/lxpanel \ 46 ${datadir}/lxpanel \
47 ${datadir}/xsessions \ 47 ${datadir}/xsessions \
48 ${datadir}/icons" 48 ${datadir}/icons"
49 49
50FILES_${PN}-gnome += " \ 50FILES:${PN}-gnome += " \
51 ${bindir}/openbox-gnome-session \ 51 ${bindir}/openbox-gnome-session \
52 ${datadir}/gnome \ 52 ${datadir}/gnome \
53 ${datadir}/gnome-session \ 53 ${datadir}/gnome-session \
54" 54"
55 55
56FILES_${PN}-config += "${sysconfdir}" 56FILES:${PN}-config += "${sysconfdir}"
57 57
58RDEPENDS_${PN} += "${PN}-core ${PN}-config ${PN}-theme-clearlooks python3 python3-shell pyxdg" 58RDEPENDS:${PN} += "${PN}-core ${PN}-config ${PN}-theme-clearlooks python3 python3-shell pyxdg"