PKGBUILDs/alarm/xf86-video-armsoc-git/PKGBUILD

41 lines
1,012 B
Bash
Raw Normal View History

# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg from Linaro.
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Contributor: Erik Andersson <erik.h.andersson@gmail.com>
2013-02-19 17:43:17 +00:00
buildarch=4
pkgname=xf86-video-armsoc-git
_commit=85854e077dee26a67b1e84c236079b72439237ce
pkgver=241.85854e0
pkgrel=1
epoch=1
2013-02-19 17:43:17 +00:00
arch=('armv7h')
url="http://cgit.freedesktop.org/xorg/driver/xf86-video-armsoc"
2013-02-19 17:43:17 +00:00
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')
2013-02-19 17:43:17 +00:00
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
2013-02-19 17:43:17 +00:00
make
}
package() {
cd $pkgname
2013-02-19 17:43:17 +00:00
make DESTDIR="${pkgdir}" install
2013-02-19 17:43:17 +00:00
}