2014-01-05 20:53:55 +00:00
|
|
|
# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg from Chromium.
|
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# Contributor: Erik Andersson <erik.h.andersson@gmail.com>
|
|
|
|
# Contributor: Mauro Ribeiro <mauro.ribeiro@hardkernel.com>
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname=xf86-video-armsoc-chromium
|
2015-06-27 03:46:41 +00:00
|
|
|
pkgver=r243.30370e9
|
2014-05-24 03:05:37 +00:00
|
|
|
pkgrel=1
|
2014-01-05 20:53:55 +00:00
|
|
|
epoch=1
|
2015-06-27 03:46:41 +00:00
|
|
|
pkgdesc='X.org graphics driver for ARM graphics - ChromiumOS'
|
2014-01-05 20:53:55 +00:00
|
|
|
arch=('armv7h')
|
|
|
|
url="https://chromium.googlesource.com/chromiumos/third_party/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+https://chromium.googlesource.com/chromiumos/third_party/xf86-video-armsoc"
|
|
|
|
'0001-compat-for-newer-xorg.patch')
|
|
|
|
md5sums=('SKIP'
|
2015-02-15 18:13:02 +00:00
|
|
|
'06e739dc692095b1b50ad431f30e7f0b')
|
2014-01-05 20:53:55 +00:00
|
|
|
|
|
|
|
pkgver() {
|
2014-05-24 03:05:37 +00:00
|
|
|
cd $pkgname
|
2014-01-05 20:53:55 +00:00
|
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
2014-05-24 03:05:37 +00:00
|
|
|
cd $pkgname
|
|
|
|
git apply ../0001-compat-for-newer-xorg.patch
|
2014-01-05 20:53:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2014-05-24 03:05:37 +00:00
|
|
|
cd $pkgname
|
2014-01-05 20:53:55 +00:00
|
|
|
|
2014-05-24 03:05:37 +00:00
|
|
|
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
|
2014-07-29 12:31:17 +00:00
|
|
|
./autogen.sh --prefix=/usr --with-driver=exynos
|
2014-01-05 20:53:55 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-05-24 03:05:37 +00:00
|
|
|
cd $pkgname
|
2014-01-05 20:53:55 +00:00
|
|
|
|
2014-05-24 03:05:37 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2014-01-05 20:53:55 +00:00
|
|
|
}
|