devilspie2_0.44.bb 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. DESCRIPTION = "Devilspie2 is a window matching utility, allowing the user to perform scripted actions on windows as they are created"
  2. HOMEPAGE = "http://www.gusnan.se/devilspie2"
  3. LICENSE = "GPL-3.0-only"
  4. LIC_FILES_CHKSUM = "file://COPYING;md5=00aefaa50aad75c21367df66102d542c \
  5. file://GPL3.txt;md5=d32239bcb673463ab874e80d47fae504"
  6. DEPENDS = "gtk+ glib-2.0 libwnck libxinerama lua virtual/libx11"
  7. PV .= "+git"
  8. SRCREV = "b9d7ad9c09a5fb17a1562ee1d892798c646e9ec9"
  9. SRC_URI = "git://github.com/dsalt/devilspie2;branch=master;protocol=https \
  10. file://default.lua \
  11. file://devilspie2.desktop \
  12. "
  13. S = "${WORKDIR}/git"
  14. inherit features_check pkgconfig gettext
  15. REQUIRED_DISTRO_FEATURES = "x11"
  16. do_compile() {
  17. export GTK2=1
  18. oe_runmake CC="${CC}" CPPFLAGS="${CPPFLAGS}" LDFLAGS=" -ldl -lm ${LDFLAGS}"
  19. }
  20. do_install() {
  21. oe_runmake DESTDIR="${D}" PREFIX="${prefix}" install
  22. install -d ${D}/${sysconfdir}/devilspie2
  23. install -m 644 ${WORKDIR}/default.lua ${D}/${sysconfdir}/devilspie2
  24. install -d ${D}/${sysconfdir}/xdg/autostart
  25. install -m 644 ${WORKDIR}/devilspie2.desktop ${D}/${sysconfdir}/xdg/autostart
  26. }