blob: 085a7308615bdf3b8b82680210755e3bc8d6704a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
SECTION = "x11/base"
DEPENDS = "libpthread-stubs"
LICENSE = "MIT"
SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2;name=archive"
PROVIDES = "drm"
PR = "r0"
SRC_URI[archive.md5sum] = "d2b5fbfd37742af7d2169f7d26ce3007"
SRC_URI[archive.sha256sum] = "f6c5b44fff5cb602096cc48a1bced426496bc8060463c577a7d86f2e56eeb604"
inherit autotools pkgconfig
EXTRA_OECONF_append = " ${@base_contains('MACHINE_FEATURES', 'x86', '', '--disable-intel',d)}"
do_stage() {
autotools_stage_all
}
PACKAGES =+ "${@base_contains('MACHINE_FEATURES', 'x86', '${PN}-intel', '',d)}"
FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*"
|