2014-12-31 06:14:53 +00:00
|
|
|
# ODROID-C1 Mali Xorg Driver
|
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname=xf86-video-odroid-c1
|
|
|
|
pkgver=0.5
|
2017-01-12 13:54:51 +00:00
|
|
|
pkgrel=7
|
2014-12-31 06:14:53 +00:00
|
|
|
pkgdesc="X.org Mali video driver for ODROID-C1"
|
|
|
|
arch=(armv7h)
|
|
|
|
license=('custom')
|
|
|
|
url="http://www.hardkernel.com/"
|
2015-01-14 03:29:44 +00:00
|
|
|
depends=('odroid-c1-libgl-x11')
|
2015-11-22 15:21:10 +00:00
|
|
|
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20' 'git' 'odroid-c1-libgl-headers')
|
|
|
|
conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21')
|
2015-01-14 03:29:44 +00:00
|
|
|
source=("git+https://github.com/mdrjr/c1_mali_ddx.git")
|
|
|
|
sha256sums=('SKIP')
|
2014-12-31 06:14:53 +00:00
|
|
|
|
|
|
|
build() {
|
2015-01-14 03:29:44 +00:00
|
|
|
cd c1_mali_ddx
|
2014-12-31 06:14:53 +00:00
|
|
|
LDFLAGS+=" -L/usr/lib/mali-egl"
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-01-14 03:29:44 +00:00
|
|
|
cd c1_mali_ddx
|
|
|
|
install -Dm755 src/.libs/mali_drv.so "${pkgdir}/usr/lib/xorg/modules/drivers/mali_drv.so"
|
2015-01-14 03:39:27 +00:00
|
|
|
install -Dm644 src/xorg.conf "${pkgdir}/etc/X11/xorg.conf.d/99-mali-c1.conf"
|
2014-12-31 06:14:53 +00:00
|
|
|
}
|