summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/devilspie/devilspie2_0.42.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome/devilspie/devilspie2_0.42.bb')
-rw-r--r--meta-gnome/recipes-gnome/devilspie/devilspie2_0.42.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/devilspie/devilspie2_0.42.bb b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.42.bb
new file mode 100644
index 0000000000..ae2ec5a596
--- /dev/null
+++ b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.42.bb
@@ -0,0 +1,30 @@
1DESCRIPTION = "Devilspie2 is a window matching utility, allowing the user to perform scripted actions on windows as they are created"
2HOMEPAGE = "http://www.gusnan.se/devilspie2"
3LICENSE = "GPLv3"
4LIC_FILES_CHKSUM = "file://COPYING;md5=00aefaa50aad75c21367df66102d542c \
5 file://GPL3.txt;md5=d32239bcb673463ab874e80d47fae504"
6
7DEPENDS = "gtk+ glib-2.0 libwnck lua virtual/libx11"
8
9SRC_URI = " \
10 http://download.savannah.gnu.org/releases/${BPN}/${BPN}_${PV}-src.tar.gz \
11 file://default.lua \
12 file://devilspie2.desktop \
13"
14SRC_URI[md5sum] = "f205409e921aa2d86481f1b8d518da45"
15SRC_URI[sha256sum] = "11f5bc310fba4df404c057461ffb3fadac8ef51d211008c665c48f587a5a3f85"
16
17inherit pkgconfig gettext
18
19do_compile() {
20 export GTK2=1
21 oe_runmake CC="${CC}" CPPFLAGS="${CPPFLAGS}" LDFLAGS=" -ldl -lm ${LDFLAGS}"
22}
23
24do_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}