sunxi-mali: Update, fixed conflict with libump recipe

This commit is contained in:
Sergey Lapin 2014-07-02 00:30:42 +04:00
parent 05a803caac
commit 4e2383470e

View File

@ -1,7 +1,7 @@
DESCRIPTION = "libGLES for the A10/A13 Allwinner processor with Mali 400 (X11)"
LICENSE = "proprietary-binary"
LIC_FILES_CHKSUM = "file://README;md5=a103ac69c166fcd98a67a9917dd7affd"
LIC_FILES_CHKSUM = "file://README;md5=1b81a178e80ee888ee4571772699ab2c"
COMPATIBLE_MACHINE = "(mele|meleg|cubieboard|cubieboard2|cubietruck|olinuxino-a10|olinuxino-a13|olinuxino-a20)"
@ -13,7 +13,7 @@ PROVIDES = "virtual/libgles1 virtual/libgles2 virtual/egl"
inherit distro_features_check
REQUIRED_DISTRO_FEATURES = "opengl"
SRCREV_pn-${PN} = "997139453d869b4dc2e7507b6a78f27d7f191e28"
SRCREV_pn-${PN} = "d343311efc8db166d8371b28494f0f27b6a58724"
SRC_URI = "gitsm://github.com/linux-sunxi/sunxi-mali.git"
S = "${WORKDIR}/git"
@ -24,6 +24,7 @@ PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} ${@
PACKAGECONFIG[wayland] = "EGL_TYPE=framebuffer,,,"
PACKAGECONFIG[x11] = "EGL_TYPE=x11,,virtual/libx11 libxau libxdmcp libdri2,"
INHIBIT_PACKAGE_STRIP = "1"
do_configure() {
DESTDIR=${D}/ VERSION=r3p0 ABI=armhf ${EXTRA_OECONF} make config
@ -41,7 +42,6 @@ do_install() {
mv ${D}${libdir}/libMali.so ${D}${libdir}/libMali.so.3
ln -sf libMali.so.3 ${D}${libdir}/libMali.so
ln -sf libUMP.so.3 ${D}${libdir}/libUMP.so
for flib in libEGL.so.1.4 libGLESv1_CM.so.1.1 libGLESv2.so.2.0 ; do
rm ${D}${libdir}/$flib