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

43 lines
1.1 KiB
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
# Official upstream is at
# http://git.linaro.org/gitweb?p=arm/xorg/driver/xf86-video-armsoc.git;a=summary
2013-02-19 17:43:17 +00:00
buildarch=4
pkgname=xf86-video-armsoc-git
pkgver=183.e762b12
2013-04-17 23:39:22 +00:00
pkgrel=1
epoch=1
2013-02-19 17:43:17 +00:00
arch=('armv7h')
url="http://git.linaro.org/gitweb?p=arm/xorg/driver/xf86-video-armsoc.git"
2013-02-19 17:43:17 +00:00
license=('GPL2')
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
options=('!libtool')
conflicts=(xf86-video-armsoc)
replaces=(xf86-video-armsoc)
provides=(xf86-video-armsoc)
source=("$pkgname::git+http://git.linaro.org/git-ro/arm/xorg/driver/xf86-video-armsoc.git#commit=e762b12")
md5sums=('SKIP')
2013-02-19 17:43:17 +00:00
pkgver() {
cd "$srcdir/$pkgname"
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
}
build() {
cd "$srcdir/$pkgname"
./autogen.sh --prefix=/usr --with-drmmode=exynos
2013-02-19 17:43:17 +00:00
make
}
package() {
pkgdesc="armsoc framebuffer driver for X from chromium os git"
2013-02-19 17:43:17 +00:00
make -C "$srcdir/$pkgname" DESTDIR="${pkgdir}" install
2013-02-19 17:43:17 +00:00
}