diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2015-09-08 17:42:56 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-09-23 15:37:15 +0200 |
commit | 4e9824a164b91389dc986be1c3242e8e9907742a (patch) | |
tree | 4af77629d35b1437bed7cc397b8c8f3b07bf83a0 /meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb | |
parent | 0e35e160ff4dbfc97d38717038503ee48c51150c (diff) | |
download | meta-openembedded-contrib-4e9824a164b91389dc986be1c3242e8e9907742a.tar.gz |
openbox: update to 3.6.1
run tested with lxqt on raspi2
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb')
-rw-r--r-- | meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb b/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb new file mode 100644 index 0000000000..de4d9f82cc --- /dev/null +++ b/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb @@ -0,0 +1,50 @@ +SUMMARY = "openbox Window Manager" +SECTION = "x11/wm" +DEPENDS = "glib-2.0 pango libxml2 virtual/libx11" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +SRC_URI = "http://icculus.org/openbox/releases/openbox-${PV}.tar.gz" + +SRC_URI[md5sum] = "b72794996c6a3ad94634727b95f9d204" +SRC_URI[sha256sum] = "8b4ac0760018c77c0044fab06a4f0c510ba87eae934d9983b10878483bde7ef7" + +inherit autotools gettext update-alternatives pkgconfig distro_features_check +# depends on virtual/libx11 +REQUIRED_DISTRO_FEATURES = "x11" + +ALTERNATIVE_${PN}-core = "x-window-manager" +ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/openbox" +ALTERNATIVE_PRIORITY[x-window-manager] = "10" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[imlib2] = "--enable-imlib2,--disable-imlib2,imlib2" +PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification" +PACKAGECONFIG[xrandr] = "--enable-xrandr,--disable-xrandr,libxrandr" +PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama" +PACKAGECONFIG[xcursor] = "--enable-xcursor,--disable-xcursor,libxcursor" + +PACKAGES =+ "${PN}-core ${PN}-lxde ${PN}-gnome ${PN}-config" + +PACKAGES_DYNAMIC += "^${PN}-theme-.*" + +python populate_packages_prepend() { + theme_dir = d.expand('${datadir}/themes/') + theme_name = d.expand('${PN}-theme-%s') + do_split_packages(d, theme_dir, '(.*)', theme_name, '${PN} theme for %s', extra_depends='', allow_dirs=True) +} + +RDEPENDS_${PN} += "${PN}-core ${PN}-config" +FILES_${PN}-core = "${bindir}/openbox ${libdir}/*${SOLIBS}" + +FILES_${PN}-lxde += "${datadir}/lxde/ \ + ${datadir}/lxpanel \ + ${datadir}/xsessions \ + ${datadir}/icons" + +FILES_${PN}-gnome += " \ + ${datadir}/gnome \ + ${datadir}/gnome-session \ +" + +FILES_${PN}-config += "${sysconfdir}" |