diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb')
-rw-r--r-- | meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb new file mode 100644 index 000000000..05311fd54 --- /dev/null +++ b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb | |||
@@ -0,0 +1,30 @@ | |||
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 = "GPLv3" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=00aefaa50aad75c21367df66102d542c \ | ||
5 | file://GPL3.txt;md5=d32239bcb673463ab874e80d47fae504" | ||
6 | |||
7 | DEPENDS = "gtk+ glib-2.0 libwnck lua5.1 virtual/libx11" | ||
8 | |||
9 | SRC_URI = " \ | ||
10 | http://www.gusnan.se/devilspie2/download/devilspie2_${PV}-src.tar.gz \ | ||
11 | file://default.lua \ | ||
12 | file://devilspie2.desktop \ | ||
13 | " | ||
14 | SRC_URI[md5sum] = "90b354662659e2922bd051fdde3b0971" | ||
15 | SRC_URI[sha256sum] = "9c94fa13ed8c0bf6914fdda513e21a4bd527821b97a53d8004168a8d465a646a" | ||
16 | |||
17 | inherit pkgconfig | ||
18 | |||
19 | do_compile() { | ||
20 | export GTK2=1 | ||
21 | oe_runmake CC="${CC}" CPPFLAGS="${CPPFLAGS}" LDFLAGS=" -ldl -lm ${LDFLAGS}" | ||
22 | } | ||
23 | |||
24 | do_install() { | ||
25 | oe_runmake DESTDIR="${D}" PREFIX="${prefix}" install | ||
26 | install -d ${D}/${sysconfdir}/devilspie2 | ||
27 | install -m 644 ${WORKDIR}/default.lua ${D}/${sysconfdir}/devilspie2 | ||
28 | install -d ${D}/${sysconfdir}/xdg/autostart | ||
29 | install -m 644 ${WORKDIR}/devilspie2.desktop ${D}/${sysconfdir}/xdg/autostart | ||
30 | } | ||