mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
21f956598d
* Drop SRCPV similarly like oe-core did in: https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872 * SRCPV is deferred now from PV to PKGV since: https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0 Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
36 lines
1.1 KiB
BlitzBasic
36 lines
1.1 KiB
BlitzBasic
DESCRIPTION = "Devilspie2 is a window matching utility, allowing the user to perform scripted actions on windows as they are created"
|
|
HOMEPAGE = "http://www.gusnan.se/devilspie2"
|
|
LICENSE = "GPL-3.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=00aefaa50aad75c21367df66102d542c \
|
|
file://GPL3.txt;md5=d32239bcb673463ab874e80d47fae504"
|
|
|
|
DEPENDS = "gtk+ glib-2.0 libwnck libxinerama lua virtual/libx11"
|
|
|
|
PV .= "+git"
|
|
|
|
SRCREV = "b9d7ad9c09a5fb17a1562ee1d892798c646e9ec9"
|
|
|
|
SRC_URI = "git://github.com/dsalt/devilspie2;branch=master;protocol=https \
|
|
file://default.lua \
|
|
file://devilspie2.desktop \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit features_check pkgconfig gettext
|
|
|
|
REQUIRED_DISTRO_FEATURES = "x11"
|
|
|
|
do_compile() {
|
|
export GTK2=1
|
|
oe_runmake CC="${CC}" CPPFLAGS="${CPPFLAGS}" LDFLAGS=" -ldl -lm ${LDFLAGS}"
|
|
}
|
|
|
|
do_install() {
|
|
oe_runmake DESTDIR="${D}" PREFIX="${prefix}" install
|
|
install -d ${D}/${sysconfdir}/devilspie2
|
|
install -m 644 ${WORKDIR}/default.lua ${D}/${sysconfdir}/devilspie2
|
|
install -d ${D}/${sysconfdir}/xdg/autostart
|
|
install -m 644 ${WORKDIR}/devilspie2.desktop ${D}/${sysconfdir}/xdg/autostart
|
|
}
|