diff options
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 @@ | |||
| 1 | SUMMARY = "openbox Window Manager" | ||
| 2 | SECTION = "x11/wm" | ||
| 3 | DEPENDS = "glib-2.0 pango libxml2 virtual/libx11" | ||
| 4 | LICENSE = "GPLv2+" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
| 6 | |||
| 7 | SRC_URI = "http://icculus.org/openbox/releases/openbox-${PV}.tar.gz" | ||
| 8 | |||
| 9 | SRC_URI[md5sum] = "b72794996c6a3ad94634727b95f9d204" | ||
| 10 | SRC_URI[sha256sum] = "8b4ac0760018c77c0044fab06a4f0c510ba87eae934d9983b10878483bde7ef7" | ||
| 11 | |||
| 12 | inherit autotools gettext update-alternatives pkgconfig distro_features_check | ||
| 13 | # depends on virtual/libx11 | ||
| 14 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 15 | |||
| 16 | ALTERNATIVE_${PN}-core = "x-window-manager" | ||
| 17 | ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/openbox" | ||
| 18 | ALTERNATIVE_PRIORITY[x-window-manager] = "10" | ||
| 19 | |||
| 20 | PACKAGECONFIG ??= "" | ||
| 21 | PACKAGECONFIG[imlib2] = "--enable-imlib2,--disable-imlib2,imlib2" | ||
| 22 | PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification" | ||
| 23 | PACKAGECONFIG[xrandr] = "--enable-xrandr,--disable-xrandr,libxrandr" | ||
| 24 | PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama" | ||
| 25 | PACKAGECONFIG[xcursor] = "--enable-xcursor,--disable-xcursor,libxcursor" | ||
| 26 | |||
| 27 | PACKAGES =+ "${PN}-core ${PN}-lxde ${PN}-gnome ${PN}-config" | ||
| 28 | |||
| 29 | PACKAGES_DYNAMIC += "^${PN}-theme-.*" | ||
| 30 | |||
| 31 | python populate_packages_prepend() { | ||
| 32 | theme_dir = d.expand('${datadir}/themes/') | ||
| 33 | theme_name = d.expand('${PN}-theme-%s') | ||
| 34 | do_split_packages(d, theme_dir, '(.*)', theme_name, '${PN} theme for %s', extra_depends='', allow_dirs=True) | ||
| 35 | } | ||
| 36 | |||
| 37 | RDEPENDS_${PN} += "${PN}-core ${PN}-config" | ||
| 38 | FILES_${PN}-core = "${bindir}/openbox ${libdir}/*${SOLIBS}" | ||
| 39 | |||
| 40 | FILES_${PN}-lxde += "${datadir}/lxde/ \ | ||
| 41 | ${datadir}/lxpanel \ | ||
| 42 | ${datadir}/xsessions \ | ||
| 43 | ${datadir}/icons" | ||
| 44 | |||
| 45 | FILES_${PN}-gnome += " \ | ||
| 46 | ${datadir}/gnome \ | ||
| 47 | ${datadir}/gnome-session \ | ||
| 48 | " | ||
| 49 | |||
| 50 | FILES_${PN}-config += "${sysconfdir}" | ||
