From 35f0992fc217a5bf247183a3402556bb87d052a5 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 6 Mar 2016 01:02:49 +0000 Subject: [PATCH] added alarm/odroid-c2-libgl --- alarm/odroid-c2-libgl/PKGBUILD | 30 ++++++++++++++++++++++++++++++ alarm/odroid-c2-libgl/mali-c2.conf | 1 + 2 files changed, 31 insertions(+) create mode 100644 alarm/odroid-c2-libgl/PKGBUILD create mode 100644 alarm/odroid-c2-libgl/mali-c2.conf diff --git a/alarm/odroid-c2-libgl/PKGBUILD b/alarm/odroid-c2-libgl/PKGBUILD new file mode 100644 index 000000000..1cdb5e623 --- /dev/null +++ b/alarm/odroid-c2-libgl/PKGBUILD @@ -0,0 +1,30 @@ +# ODROID-C2 Mali GL Driver +# Maintainer: Kevin Mihelich + +buildarch=8 + +pkgbase=odroid-c2-libgl +pkgname=("${pkgbase}-fb") +pkgver=r5p1 +pkgrel=1 +_commit=228b2e75bea3426661437d5642fbae3a376895fd +arch=('aarch64') +url="http://www.hardkernel.com/" +license=('Proprietary') +depends=('mesa-libgl') +makedepends=('git') +source=("git+https://github.com/mdrjr/c2_mali.git#commit=${_commit}" + 'mali-c2.conf') +md5sums=('SKIP' + '40f5104200cfceb12b4623d219646d4e') + +package_odroid-c2-libgl-fb() { + pkgdesc="ODROID-C2 Mali driver (framebuffer)" + conflicts=('odroid-c2-libgl') + provides=('odroid-c2-libgl') + + install -d "${pkgdir}"/usr/lib/mali-egl + install -d "${pkgdir}"/etc/ld.so.conf.d + cp -a c2_mali/fbdev/mali_libs/lib* "${pkgdir}"/usr/lib/mali-egl + cp "${srcdir}"/mali-c2.conf "${pkgdir}"/etc/ld.so.conf.d +} diff --git a/alarm/odroid-c2-libgl/mali-c2.conf b/alarm/odroid-c2-libgl/mali-c2.conf new file mode 100644 index 000000000..890da5e68 --- /dev/null +++ b/alarm/odroid-c2-libgl/mali-c2.conf @@ -0,0 +1 @@ +/usr/lib/mali-egl