mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
|
||
|
buildarch=4
|
||
|
|
||
|
pkgname=xf86-video-armsoc-rockchip
|
||
|
_commit=a095d0437af074701fb5ff02b3b986f8986dd128
|
||
|
pkgver=258.a095d04
|
||
|
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}"
|
||
|
'0001-drmmode_display-include-sys-stat.h.patch')
|
||
|
md5sums=('SKIP'
|
||
|
'89c59460f599996b0ac5669c0762567e')
|
||
|
|
||
|
pkgver() {
|
||
|
cd $pkgname
|
||
|
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
|
||
|
}
|
||
|
|
||
|
prepare() {
|
||
|
cd $pkgname
|
||
|
git apply ../0001-drmmode_display-include-sys-stat.h.patch
|
||
|
}
|
||
|
|
||
|
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
|
||
|
}
|