diff options
Diffstat (limited to 'meta-oe/recipes-extended/icewm/icewm_3.7.5.bb')
| -rw-r--r-- | meta-oe/recipes-extended/icewm/icewm_3.7.5.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/icewm/icewm_3.7.5.bb b/meta-oe/recipes-extended/icewm/icewm_3.7.5.bb new file mode 100644 index 0000000000..cb792dad4b --- /dev/null +++ b/meta-oe/recipes-extended/icewm/icewm_3.7.5.bb | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | DESCRIPTION = "Ice Window Manager (IceWM)" | ||
| 2 | LICENSE = "GPL-2.0-only" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4a26952467ef79a7efca4a9cf52d417b" | ||
| 4 | |||
| 5 | SRC_URI = "https://github.com/ice-wm/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.lz \ | ||
| 6 | file://0001-configure.ac-skip-running-test-program-when-cross-co.patch \ | ||
| 7 | " | ||
| 8 | SRC_URI[sha256sum] = "7457ec08fa74a101b077f391d60f901a77919dcc83a2940992f1f88cd7ec840a" | ||
| 9 | |||
| 10 | UPSTREAM_CHECK_URI = "https://github.com/ice-wm/${BPN}/releases" | ||
| 11 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" | ||
| 12 | |||
| 13 | inherit autotools pkgconfig gettext perlnative features_check qemu update-alternatives | ||
| 14 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 15 | |||
| 16 | EXTRA_OECONF += "--with-libdir=${datadir}/icewm \ | ||
| 17 | --with-cfgdir=${sysconfdir}/icewm \ | ||
| 18 | --with-docdir=${docdir}/icewm \ | ||
| 19 | --enable-fribidi \ | ||
| 20 | --enable-xinerama \ | ||
| 21 | --enable-shape" | ||
| 22 | |||
| 23 | DEPENDS = "asciidoc-native fontconfig fribidi gdk-pixbuf imlib2 libxft libxpm libxrandr \ | ||
| 24 | libxinerama libice libsm libx11 libxext libxrender libxcomposite libxdamage \ | ||
| 25 | libxfixes" | ||
| 26 | DEPENDS:append = " qemu-native" | ||
| 27 | RDEPENDS:${PN} = "perl fribidi imlib2 imlib2-loaders" | ||
| 28 | |||
| 29 | do_compile:prepend:class-target() { | ||
| 30 | |||
| 31 | cd ${B} | ||
| 32 | oe_runmake -C src genpref | ||
| 33 | |||
| 34 | qemu_binary="${@qemu_wrapper_cmdline(d, '${STAGING_DIR_TARGET}',['${B}/src/.libs','${STAGING_DIR_TARGET}/${libdir}','${STAGING_DIR_TARGET}/${base_libdir}'])}" | ||
| 35 | cat >qemuwrapper <<EOF | ||
| 36 | #!/bin/sh | ||
| 37 | ${qemu_binary} src/genpref "\$@" | ||
| 38 | EOF | ||
| 39 | chmod +x qemuwrapper | ||
| 40 | ./qemuwrapper > src/preferences | ||
| 41 | } | ||
| 42 | |||
| 43 | ALTERNATIVE:${PN} = "x-session-manager" | ||
| 44 | ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/icewm-session" | ||
| 45 | ALTERNATIVE_PRIORITY_${PN} = "100" | ||
| 46 | |||
| 47 | FILES:${PN} += "${datadir}/xsessions" | ||
