summaryrefslogtreecommitdiff
path: root/recipes-lxde/lxappearance-obconf/lxappearance-obconf_0.2.3.bb
blob: 762d0bf2600cc254f557de7ec92038600291fe8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
SUMMARY = "LXDE Appearance Obconfig"
HOMEPAGE = "http://lxde.org/"
SECTION = "x11"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS = "glib-2.0-native intltool-native libcroco librsvg lxappearance menu-cache openbox"

# patch only needed for gtk3, applied unconditionally though
SRC_URI  = " \
    ${SOURCEFORGE_MIRROR}/lxde/lxappearance-obconf-${PV}.tar.xz \
    file://window_border_broken_with_gtk3.patch \
"
SRC_URI[md5sum] = "ae0076d489aa786f5d573f7ff592a4ab"
SRC_URI[sha256sum] = "3150b33b4b7beb71c1803aee2be21c94767d73b70dfc8d2bcaafe2650ea83149"

PACKAGECONFIG ?= "gtk3"
PACKAGECONFIG[gtk3] = "--enable-gtk3,,gtk+3"
python __anonymous () {
    depends = d.getVar("DEPENDS", d, 1)
    if 'gtk3' not in d.getVar('PACKAGECONFIG', True):
        d.setVar("DEPENDS", "%s gtk+" % depends)
}

inherit autotools gettext pkgconfig

FILES_${PN} += "${datadir}/lxappearance/obconf/obconf.glade \
	${libdir}/lxappearance/plugins/obconf.so"
FILES_${PN}-dbg += "${libdir}/lxappearance/plugins/.debug/obconf.so"
FILES_${PN}-dev += "${libdir}/lxappearance/plugins/obconf.la "
FILES_${PN}-staticdev += "${libdir}/lxappearance/plugins/obconf.a "

do_install_append () {
    find ${D} -exec ls -l {} \;
}