diff options
Diffstat (limited to 'meta-oe/recipes-graphics/openbox/openbox_3.4.11.2.bb')
-rw-r--r-- | meta-oe/recipes-graphics/openbox/openbox_3.4.11.2.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/openbox/openbox_3.4.11.2.bb b/meta-oe/recipes-graphics/openbox/openbox_3.4.11.2.bb new file mode 100644 index 000000000..65349a1df --- /dev/null +++ b/meta-oe/recipes-graphics/openbox/openbox_3.4.11.2.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | DESCRIPTION = "openbox Window Manager" | ||
2 | SECTION = "x11/wm" | ||
3 | LICENSE = "GPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
5 | |||
6 | SRC_URI = "http://icculus.org/openbox/releases/openbox-${PV}.tar.gz \ | ||
7 | file://fix-dialog-buttons.patch;patch=1 \ | ||
8 | file://fix-decorations.patch;patch=1" | ||
9 | |||
10 | SRC_URI[md5sum] = "30e669134fa81df810fe7d1dc59cd931" | ||
11 | SRC_URI[sha256sum] = "2e7579389c30e6bb08cc721a2c1af512e049fec2670e71715aa1c4e129ec349d" | ||
12 | |||
13 | inherit autotools gettext update-alternatives | ||
14 | |||
15 | ALTERNATIVE_PATH = "${bindir}/openbox" | ||
16 | ALTERNATIVE_NAME = "x-window-manager" | ||
17 | ALTERNATIVE_LINK = "${bindir}/x-window-manager" | ||
18 | ALTERNATIVE_PRIORITY = "10" | ||
19 | |||
20 | EXTRA_OECONF += "--with-plugins=none" | ||
21 | |||
22 | PACKAGES =+ "${PN}-core ${PN}-lxde ${PN}-gnome" | ||
23 | |||
24 | PACKAGES_DYNAMIC += "${PN}-theme-*" | ||
25 | |||
26 | python populate_packages_prepend() { | ||
27 | theme_dir = bb.data.expand('${datadir}/themes/', d) | ||
28 | theme_name = bb.data.expand('${PN}-theme-%s', d) | ||
29 | do_split_packages(d, theme_dir, '(.*)', theme_name, '${PN} theme for %s', extra_depends='', allow_dirs=True) | ||
30 | } | ||
31 | |||
32 | RDEPENDS_${PN} += "${PN}-core" | ||
33 | FILES_${PN}-core = "${bindir}/openbox ${libdir}/*${SOLIBS}" | ||
34 | |||
35 | FILES_${PN}-lxde += "${datadir}/lxde/ \ | ||
36 | ${datadir}/lxpanel \ | ||
37 | ${datadir}/xsessions \ | ||
38 | ${datadir}/icons" | ||
39 | |||
40 | FILES_${PN}-gnome += "${datadir}/gnome/" | ||