sunxi-mali: clean up, mark as nonfree.
This commit is contained in:
parent
c96dbebdca
commit
afd0ee0216
|
@ -1,29 +0,0 @@
|
||||||
--- 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
|
|
|
@ -1,34 +1,43 @@
|
||||||
# Template file for 'sunxi-mali'
|
# Template file for 'sunxi-mali'
|
||||||
pkgname=sunxi-mali
|
pkgname=sunxi-mali
|
||||||
version=20181122
|
version=20181122
|
||||||
revision=1
|
revision=2
|
||||||
|
_commit=d343311efc8db166d8371b28494f0f27b6a58724
|
||||||
|
_lib_commit=1c5063f43cdc9de341c0d63b2e3921cab86c7742
|
||||||
|
archs="armv7l"
|
||||||
|
create_wrksrc=yes
|
||||||
|
build_wrksrc=${pkgname}-${_commit}
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="git pkg-config perl"
|
hostmakedepends="pkg-config perl"
|
||||||
makedepends="libXfixes-devel libump-git-devel libdri2-devel-git libdrm-devel"
|
makedepends="libXfixes-devel libump-git-devel libdri2-devel-git libdrm-devel"
|
||||||
short_desc="Linux sunxi MALI userpace propietary libraries"
|
short_desc="Linux sunxi MALI userpace propietary libraries"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/linux-sunxi/sunxi-mali"
|
homepage="https://github.com/linux-sunxi/sunxi-mali"
|
||||||
nostrip=yes
|
distfiles="${homepage}/archive/${_commit}.tar.gz
|
||||||
archs="armv7l"
|
https://github.com/linux-sunxi/sunxi-mali-proprietary/archive/${_lib_commit}.tar.gz"
|
||||||
|
checksum="5ae27be532928667aa820a0aa9813dde545c224294b9402b27b6ca68f4d69ee4
|
||||||
|
f87d93629072dd0306ffe1200425188129e5f7f97750126dff38464ea707f673"
|
||||||
provides="libEGL-1.0_1 libGLES-1.0_1"
|
provides="libEGL-1.0_1 libGLES-1.0_1"
|
||||||
replaces="libEGL>=0 libGLES>=0"
|
replaces="libEGL>=0 libGLES>=0"
|
||||||
|
repository=nonfree
|
||||||
|
nostrip=yes
|
||||||
|
|
||||||
do_fetch() {
|
post_extract() {
|
||||||
git clone https://github.com/linux-sunxi/sunxi-mali.git ${wrksrc}
|
cp -r sunxi-mali-proprietary-${_lib_commit}/* ${pkgname}-${_commit}/lib/mali/
|
||||||
cd ${wrksrc}
|
|
||||||
git submodule init
|
|
||||||
git submodule update
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
VERSION=r3p0 ABI=armhf EGL_TYPE=x11 make config
|
VERSION=r3p0 ABI=armhf EGL_TYPE=x11 make config
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
|
||||||
|
sed -n '1,22p' version/version.c > LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/lib
|
vmkdir usr/lib
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
sunxi-mali-devel_package() {
|
sunxi-mali-devel_package() {
|
||||||
|
|
Loading…
Reference in New Issue