From a99a0952b89ff9afd12f2f3810725f5ba6bdf9d2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 27 Jan 2014 12:54:47 +0100 Subject: [PATCH] New package: xf86-video-fbturbo-0.4.0. --- srcpkgs/xf86-video-fbturbo/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/xf86-video-fbturbo/template diff --git a/srcpkgs/xf86-video-fbturbo/template b/srcpkgs/xf86-video-fbturbo/template new file mode 100644 index 00000000000..8420ede7b68 --- /dev/null +++ b/srcpkgs/xf86-video-fbturbo/template @@ -0,0 +1,26 @@ +# Template build file for 'xf86-video-fbturbo'. +pkgname=xf86-video-fbturbo +version=0.4.0 +revision=1 +build_style=gnu-configure +short_desc="Xorg DDX driver for Allwinner A10/A13 and other ARM devices" +homepage="http://github.com/ssvb/xf86-video-fbturbo" +license="MIT, GPL" +maintainer="Juan RP " +create_srcdir=yes +distfiles="https://github.com/ssvb/xf86-video-fbturbo/archive/${version}.tar.gz" +checksum=10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f + +only_for_archs="armv6l armv7l" +hostmakedepends="pkg-config xorg-server-devel>=1.14" +makedepends="libXrandr-devel xorg-server-devel>=1.14" +depends="xserver-abi-video-14_1" +replaces="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 +}