sunxi-mali: use r3p2-01rel1 libs; use this libUMP and obsolete libump-git.

This commit is contained in:
Juan RP 2014-01-29 13:38:08 +01:00
parent c59dfe8fc4
commit acdfadd151
2 changed files with 34 additions and 6 deletions

View File

@ -0,0 +1,29 @@
--- lib/mali/Makefile.split.orig 2014-01-29 13:32:24.446817426 +0100
+++ lib/mali/Makefile.split 2014-01-29 13:33:03.822133629 +0100
@@ -1,16 +1,16 @@
# Makefile for when everything is split up nicely.
install: libMali.so libEGL.so.1.4 libGLESv1_CM.so.1.1 libGLESv2.so.2.0
- $(INSTALL_DATA) $^ $(libdir)
+ $(INSTALL_DATA) $^ $(libdir)
- $(RM) $(libdir)libEGL.so.1 $(libdir)libEGL.so
- $(LN) libEGL.so.1.4 $(libdir)libEGL.so.1
- $(LN) libEGL.so.1 $(libdir)libEGL.so
+ $(RM) $(libdir)libEGL.so.1 $(libdir)libEGL.so
+ $(LN) libEGL.so.1.4 $(libdir)libEGL.so.1
+ $(LN) libEGL.so.1 $(libdir)libEGL.so
- $(RM) $(libdir)libGLESv1_CM.so.1 $(libdir)libGLESv1_CM.so
- $(LN) libGLESv1_CM.so.1.1 $(libdir)libGLESv1_CM.so.1
- $(LN) libGLESv1_CM.so.1 $(libdir)libGLESv1_CM.so
+ $(RM) $(libdir)libGLESv1_CM.so.1 $(libdir)libGLESv1_CM.so
+ $(LN) libGLESv1_CM.so.1.1 $(libdir)libGLESv1_CM.so.1
+ $(LN) libGLESv1_CM.so.1 $(libdir)libGLESv1_CM.so
- $(RM) $(libdir)libGLESv2.so.2 $(libdir)libGLESv2.so
- $(LN) libGLESv2.so.2.0 $(libdir)libGLESv2.so.2
- $(LN) libGLESv2.so.2 $(libdir)libGLESv2.so
+ $(RM) $(libdir)libGLESv2.so.2 $(libdir)libGLESv2.so
+ $(LN) libGLESv2.so.2.0 $(libdir)libGLESv2.so.2
+ $(LN) libGLESv2.so.2 $(libdir)libGLESv2.so

View File

@ -16,25 +16,24 @@ checksum=9ec11a65f61980f542f7b079bb9975bba6939efca0647cc0f73a64df55e5a8a4
only_for_archs="armv7l"
hostmakedepends="pkg-config perl"
makedepends="libXfixes-devel libdri2-devel-git libdrm-devel"
provides="libEGL-1.0_1 libGLES-1.0_1"
replaces="libEGL>=0 libGLES>=0"
provides="libump-1.0_1 libEGL-1.0_1 libGLES-1.0_1"
replaces="libump>=0 libEGL>=0 libGLES>=0"
do_build() {
VERSION=r2p4 ABI=armhf EGL_TYPE=x11 make config
VERSION=r3p2-01rel1 ABI=armhf EGL_TYPE=x11 make config
make ${makejobs}
}
do_install() {
vmkdir usr/lib
make DESTDIR=${DESTDIR} install
# Remove libUMP, provided by libump.
rm ${DESTDIR}/usr/lib/libUMP*
rm -r ${DESTDIR}/usr/include/ump
}
sunxi-mali-devel_package() {
short_desc+=" - development files"
depends="libXfixes-devel libdri2-devel-git libdrm-devel ${sourcepkg}>=${version}_${revision}"
provides="libump-devel-1.0_1"
replaces="libump-devel>=0"
pkg_install() {
vmove usr/include
vmove "usr/lib/libEGL*.so"