summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/openbox/openbox_3.4.11.2.bb
diff options
context:
space:
mode:
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.bb40
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 @@
1DESCRIPTION = "openbox Window Manager"
2SECTION = "x11/wm"
3LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5
6SRC_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
10SRC_URI[md5sum] = "30e669134fa81df810fe7d1dc59cd931"
11SRC_URI[sha256sum] = "2e7579389c30e6bb08cc721a2c1af512e049fec2670e71715aa1c4e129ec349d"
12
13inherit autotools gettext update-alternatives
14
15ALTERNATIVE_PATH = "${bindir}/openbox"
16ALTERNATIVE_NAME = "x-window-manager"
17ALTERNATIVE_LINK = "${bindir}/x-window-manager"
18ALTERNATIVE_PRIORITY = "10"
19
20EXTRA_OECONF += "--with-plugins=none"
21
22PACKAGES =+ "${PN}-core ${PN}-lxde ${PN}-gnome"
23
24PACKAGES_DYNAMIC += "${PN}-theme-*"
25
26python 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
32RDEPENDS_${PN} += "${PN}-core"
33FILES_${PN}-core = "${bindir}/openbox ${libdir}/*${SOLIBS}"
34
35FILES_${PN}-lxde += "${datadir}/lxde/ \
36 ${datadir}/lxpanel \
37 ${datadir}/xsessions \
38 ${datadir}/icons"
39
40FILES_${PN}-gnome += "${datadir}/gnome/"