mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
52 lines
1.4 KiB
Bash
52 lines
1.4 KiB
Bash
# Maintainer: Erik Andersson <erik.h.andersson@gmail.com>
|
|
|
|
# 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
|
|
|
|
buildarch=4
|
|
|
|
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
|
|
pkgrel=1
|
|
arch=('armv7h')
|
|
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
|
|
license=('GPL2')
|
|
_gitname='xf86-video-armsoc-git'
|
|
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
|
|
options=('!libtool')
|
|
conflicts=(xf86-video-armsoc)
|
|
replaces=(xf86-video-armsoc)
|
|
provides=(xf86-video-armsoc)
|
|
|
|
source=('compat_post_X_1.13.patch'
|
|
"$pkgname::git+http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git#commit=47a3271")
|
|
|
|
md5sums=('12ccb37f9bdfe2e920d95a2cca832295'
|
|
'SKIP')
|
|
|
|
prepare() {
|
|
cd "$srcdir/$pkgname"
|
|
msg "Patching source..."
|
|
# X 1.13 compatibility from the Linaro upstream
|
|
git apply ${srcdir}/compat_post_X_1.13.patch
|
|
}
|
|
build() {
|
|
cd "$srcdir/$_gitname"
|
|
msg "Starting build..."
|
|
./autogen.sh --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
pkgdesc="armsoc framebuffer driver for X from chromium os git"
|
|
|
|
|
|
make -C "$srcdir/$pkgname" DESTDIR="${pkgdir}" install
|
|
}
|
|
|