mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
40 lines
1,012 B
Bash
40 lines
1,012 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
|
|
_commit=f16b5c842ffd6f80a3091fc893bc2de8162bc49b
|
|
pkgver=219.f16b5c8
|
|
pkgrel=1
|
|
epoch=1
|
|
arch=('armv7h')
|
|
url="http://cgit.freedesktop.org/xorg/driver/xf86-video-armsoc"
|
|
license=('GPL2')
|
|
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
|
|
options=('!libtool')
|
|
conflicts=(xf86-video-armsoc)
|
|
provides=(xf86-video-armsoc)
|
|
source=("$pkgname::git://anongit.freedesktop.org/xorg/driver/xf86-video-armsoc#commit=${_commit}")
|
|
md5sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
|
|
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
|
|
./autogen.sh --prefix=/usr --with-drmmode=exynos
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|