mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
37 lines
922 B
Bash
37 lines
922 B
Bash
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
buildarch=4
|
|
|
|
pkgname=xf86-video-armsoc-rockchip
|
|
_commit=1b499f5ea1f19d514faeeb0ebb9d1056392844b9
|
|
pkgver=260.1b499f5
|
|
pkgrel=1
|
|
pkgdesc='X.org graphics driver for ARM graphics - Rockchip'
|
|
arch=('armv7h')
|
|
url="https://github.com/mmind/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://github.com/mmind/xf86-video-armsoc.git#commit=${_commit}")
|
|
md5sums=('SKIP')
|
|
|
|
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=rockchip
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|