2014-01-27 12:54:47 +01:00
|
|
|
# Template build file for 'xf86-video-fbturbo'.
|
|
|
|
pkgname=xf86-video-fbturbo
|
|
|
|
version=0.4.0
|
2014-07-17 20:16:50 +02:00
|
|
|
revision=7
|
2014-01-27 12:54:47 +01:00
|
|
|
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 <xtraeme@gmail.com>"
|
|
|
|
distfiles="https://github.com/ssvb/xf86-video-fbturbo/archive/${version}.tar.gz"
|
|
|
|
checksum=10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f
|
|
|
|
|
|
|
|
only_for_archs="armv6l armv7l"
|
2014-07-17 20:16:50 +02:00
|
|
|
hostmakedepends="pkg-config xorg-server-devel>=1.16<1.17"
|
|
|
|
makedepends="libXrandr-devel xorg-server-devel>=1.16<1.17"
|
2014-08-17 19:27:54 +02:00
|
|
|
depends="virtual?xserver-abi-video-18_1"
|
2014-01-27 12:54:47 +01:00
|
|
|
replaces="xf86-video-fbturbo>=0"
|
|
|
|
|
2014-01-29 13:41:28 +01:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then
|
|
|
|
makedepends+=" sunxi-mali-devel>=20140127_2"
|
|
|
|
fi
|
|
|
|
|
2014-01-27 12:54:47 +01:00
|
|
|
pre_configure() {
|
|
|
|
cp /usr/include/xorg/dri2.h src
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall xorg.conf 644 etc/X11/xorg.conf.d 99-fbturbo.conf
|
|
|
|
}
|