New package: xf86-video-fbturbo-sunxi-0.4.0.

This is for Allwinner A10/A13/A20 SoCs (cubieboard, cubietruck, etc).
This commit is contained in:
Juan RP 2015-04-07 11:41:37 +02:00
parent 6b153be487
commit 079521777e

View file

@ -0,0 +1,25 @@
# Template build file for 'xf86-video-fbturbo-sunxi'.
pkgname=xf86-video-fbturbo-sunxi
version=0.4.0
revision=1
wrksrc="${pkgname%-sunxi}-${version}"
build_style=gnu-configure
short_desc="Xorg DDX driver for Allwinner SoC (A10/A13/A20)"
homepage="http://github.com/ssvb/xf86-video-fbturbo"
license="MIT, GPL"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="https://github.com/ssvb/xf86-video-fbturbo/archive/${version}.tar.gz"
checksum=10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f
only_for_archs="armv7l"
hostmakedepends="pkg-config xorg-server-devel"
makedepends="libXrandr-devel libump-devel-git xorg-server-devel"
depends="virtual?xserver-abi-video-19_1 sunxi-mali"
conflicts="xf86-video-fbturbo>=0"
pre_configure() {
cp /usr/include/xorg/dri2.h src
}
post_install() {
vinstall xorg.conf 644 etc/X11/xorg.conf.d 99-fbturbo.conf
}