PKGBUILDs/alarm/xf86-video-armsoc-meson/PKGBUILD
2018-05-17 13:54:22 +00:00

31 lines
958 B
Bash

# Meson Mali Xorg Driver
# Maintainer: Joseph Kogut <joseph.kogut@gmail.com>
buildarch=8
pkgname=xf86-video-armsoc-meson
pkgver=0.5
pkgrel=2
pkgdesc="X.org Mali video driver for Meson platforms"
arch=('aarch64')
license=('MIT')
url="https://github.com/jakogut/xf86-video-armsoc.git"
depends=('mali-utgard-meson-libgl-x11')
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=24.0' 'git')
conflicts=('xorg-server<1.20' 'X-ABI-VIDEODRV_VERSION<24' 'X-ABI-VIDEODRV_VERSION>=25')
source=($pkgname::"git+${url}"
99-mali-meson.conf)
sha256sums=('SKIP'
'eca6ed5e20457d41a0fc9ac07034ee2682d5623cf6e566bf9df017d217540952')
build() {
cd $pkgname
LDFLAGS+=" -L/usr/lib/mali-egl"
./autogen.sh --prefix=/usr
make
}
package() {
install -Dm755 ${srcdir}/$pkgname/src/.libs/armsoc_drv.so "${pkgdir}/usr/lib/xorg/modules/drivers/armsoc_drv.so"
install -Dm644 ${srcdir}/99-mali-meson.conf "${pkgdir}/etc/X11/xorg.conf.d/99-mali-meson.conf"
}