2013-02-20 17:26:53 +00:00
|
|
|
# Maintainer: Erik Andersson <erik.h.andersson@gmail.com>
|
2013-02-19 17:43:17 +00:00
|
|
|
|
2013-02-20 17:26:53 +00:00
|
|
|
# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg from the Chromium OS git.
|
|
|
|
# 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
|
|
|
|
|
2013-04-08 17:54:51 +00:00
|
|
|
pkgname=xf86-video-armsoc-git
|
|
|
|
pkgver=145.47a3271
|
|
|
|
pkgver() {
|
|
|
|
cd "$srcdir/xf86-video-armsoc"
|
|
|
|
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
|
|
|
|
}
|
|
|
|
epoch=1
|
2013-04-09 17:56:30 +00:00
|
|
|
pkgrel=2
|
2013-02-19 17:43:17 +00:00
|
|
|
arch=('armv7h')
|
|
|
|
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
|
|
|
|
license=('GPL2')
|
|
|
|
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
|
|
|
|
options=('!libtool')
|
2013-04-08 17:54:51 +00:00
|
|
|
conflicts=(xf86-video-armsoc)
|
|
|
|
replaces=(xf86-video-armsoc)
|
|
|
|
provides=(xf86-video-armsoc)
|
2013-02-19 17:43:17 +00:00
|
|
|
|
2013-04-08 17:54:51 +00:00
|
|
|
source=('compat_post_X_1.13.patch'
|
2013-04-09 17:56:30 +00:00
|
|
|
"$pkgname::git+http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git#commit=47a3271")
|
2013-04-08 17:54:51 +00:00
|
|
|
|
|
|
|
md5sums=('12ccb37f9bdfe2e920d95a2cca832295'
|
|
|
|
'SKIP')
|
2013-02-20 17:26:53 +00:00
|
|
|
|
2013-04-08 17:54:51 +00:00
|
|
|
prepare() {
|
2013-04-09 17:56:30 +00:00
|
|
|
cd "$srcdir/$pkgname"
|
2013-02-20 20:35:34 +00:00
|
|
|
msg "Patching source..."
|
|
|
|
# X 1.13 compatibility from the Linaro upstream
|
2013-03-19 21:27:24 +00:00
|
|
|
git apply ${srcdir}/compat_post_X_1.13.patch
|
2013-04-08 17:54:51 +00:00
|
|
|
}
|
|
|
|
build() {
|
|
|
|
cd "$_gitname"
|
2013-02-20 17:26:53 +00:00
|
|
|
msg "Starting build..."
|
2013-02-20 21:03:45 +00:00
|
|
|
./autogen.sh --prefix=/usr
|
2013-02-19 17:43:17 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-02-20 17:26:53 +00:00
|
|
|
pkgdesc="armsoc framebuffer driver for X from chromium os git"
|
2013-02-19 17:43:17 +00:00
|
|
|
|
|
|
|
|
2013-04-09 17:56:30 +00:00
|
|
|
make -C "$srcdir/$pkgname" DESTDIR="${pkgdir}" install
|
2013-02-19 17:43:17 +00:00
|
|
|
}
|
2013-04-08 17:54:51 +00:00
|
|
|
|