mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
39 lines
1,006 B
Bash
39 lines
1,006 B
Bash
# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg from Linaro.
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# Contributor: Erik Andersson <erik.h.andersson@gmail.com>
|
|
|
|
buildarch=4
|
|
|
|
pkgname=xf86-video-armsoc-git
|
|
pkgver=258.8bbdb2a
|
|
pkgrel=1
|
|
epoch=1
|
|
pkgdesc='X.org graphics driver for ARM graphics'
|
|
arch=('armv7h')
|
|
url="http://cgit.freedesktop.org/xorg/driver/xf86-video-armsoc"
|
|
license=('GPL2')
|
|
makedepends=('git' 'xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=23')
|
|
conflicts=('xf86-video-armsoc' 'xorg-server<1.19' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=24')
|
|
provides=(xf86-video-armsoc)
|
|
source=("$pkgname::git://anongit.freedesktop.org/xorg/driver/xf86-video-armsoc")
|
|
md5sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
|
|
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
|
|
./autogen.sh --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|