-
Notifications
You must be signed in to change notification settings - Fork 27
/
mesa_%.bbappend
31 lines (21 loc) · 1.08 KB
/
mesa_%.bbappend
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
DEPENDS += "libvdpau"
PROVIDES += "libegl"
MESA_LLVM_RELEASE = "3.9.1"
PACKAGECONFIG_append = " gbm egl gles dri ${MESA_CRYPTO} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}\
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}\
"
PACKAGECONFIG_x86 = " egl gles gbm dri dri3 x11 xa r600 gallium gallium-llvm "
PACKAGECONFIG_x86-64 = " egl gles gbm dri dri3 x11 xa r600 gallium gallium-llvm "
GALLIUMDRIVERS_append_armv7a = ",freedreno"
GALLIUMDRIVERS_append_aarch64 = ",freedreno"
PACKAGECONFIG_append_armv7a = " gallium \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xa', '', d)} \
"
PACKAGECONFIG_append_aarch64 = " gallium \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xa', '', d)} \
"
EXTRA_OECONF += "ac_cv_path_ac_pt_LLVM_CONFIG=${STAGING_BINDIR_CROSS}/llvm-config"
FILES_${PN}-dbg += "${libdir}/vdpau/.debug"
FILES_${PN}-dev += "${libdir}/vdpau/*.so"
FILES_mesa-megadriver += "${libdir}/vdpau/*.so.*"