From 1e8b910fdaa9cc25f3269adccb9dad731d3fe4e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sat, 6 Aug 2016 19:19:01 -0300 Subject: xf86-video-fbturbo-199.f9a6ed7-2: enable some explicit options in 99-fbturbo.conf --- pcr/xf86-video-fbturbo-git/99-fbturbo.conf | 23 +++++++++++++++++++++++ pcr/xf86-video-fbturbo-git/PKGBUILD | 13 ++++++++----- 2 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 pcr/xf86-video-fbturbo-git/99-fbturbo.conf (limited to 'pcr/xf86-video-fbturbo-git') diff --git a/pcr/xf86-video-fbturbo-git/99-fbturbo.conf b/pcr/xf86-video-fbturbo-git/99-fbturbo.conf new file mode 100644 index 000000000..7c3af1959 --- /dev/null +++ b/pcr/xf86-video-fbturbo-git/99-fbturbo.conf @@ -0,0 +1,23 @@ +# This is a minimal sample config file, which can be copied to +# /etc/X11/xorg.conf in order to make the Xorg server pick up +# and load xf86-video-fbturbo driver installed in the system. +# +# When troubleshooting, check /var/log/Xorg.0.log for the debugging +# output and error messages. +# +# Run "man fbturbo" to get additional information about the extra +# configuration options for tuning the driver. + +Section "Device" + Identifier "Allwinner A20 FBDEV" + Driver "fbturbo" + Option "fbdev" "/dev/fb0" + + Option "AccelMethod" "G2D" + Option "DRI2HWOverlay" "true" + Option "DRI2" "true" + Option "DRI2_PAGE_FLIP" "true" + Option "SwapbuffersWait" "false" +EndSection + + diff --git a/pcr/xf86-video-fbturbo-git/PKGBUILD b/pcr/xf86-video-fbturbo-git/PKGBUILD index ada55efd5..47fc292f6 100644 --- a/pcr/xf86-video-fbturbo-git/PKGBUILD +++ b/pcr/xf86-video-fbturbo-git/PKGBUILD @@ -5,17 +5,20 @@ pkgname=xf86-video-fbturbo-git _gitname=xf86-video-fbturbo pkgver=199.f9a6ed7 -pkgrel=1 +pkgrel=2 pkgdesc="X.org MALI video driver" arch=('armv7h') url="https://github.com/ssvb/xf86-video-fbturbo" license=('MIT') makedepends=('git' 'xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20') +backup=('etc/X11/xorg.conf.d/99-fbturbo.conf') conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21') options=('!libtool') provides=('xf86-video-fbturbo') -source=('git+https://github.com/ssvb/xf86-video-fbturbo') -md5sums=('SKIP') +source=('git+https://github.com/ssvb/xf86-video-fbturbo' + '99-fbturbo.conf') +md5sums=('SKIP' + '61f1c9f7cf878ebc19a09fbe70d24ab3') pkgver() { cd "${SRCDEST}/${_gitname}" @@ -31,8 +34,8 @@ build() { package() { cd "${srcdir}/${_gitname}" - mkdir -p "${pkgdir}/etc/X11/xorg.conf.d/" - cp "xorg.conf" "${pkgdir}/etc/X11/xorg.conf.d/99-fbturbo.conf" + install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d" + install -m644 "${srcdir}/99-fbturbo.conf" "${pkgdir}/etc/X11/xorg.conf.d" make DESTDIR="${pkgdir}/" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" -- cgit v1.2.3