summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
blob: 73a4d1d3e40eb2df02488dbe3ca431f3db3beb0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
HOMEPAGE = "http://www.x.org"
BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"

SECTION = "x11/libs"
LICENSE = "MIT-X"
DEPENDS = "util-macros"

XORG_PN = "${BPN}"

SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.bz2"

S = "${WORKDIR}/${XORG_PN}-${PV}"

inherit autotools pkgconfig

EXTRA_OECONF = "--enable-malloc0returnsnull --with-fop=no --without-xmlto"

python () {
        whitelist = [ "pixman" ]
        if not d.getVar('BPN', True) in whitelist and not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d):
                raise bb.parse.SkipPackage("'x11' not in DISTRO_FEATURES")
}