summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-fbturbo-git
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/xf86-video-fbturbo-git')
-rw-r--r--pcr/xf86-video-fbturbo-git/99-fbturbo.conf23
-rw-r--r--pcr/xf86-video-fbturbo-git/PKGBUILD13
2 files changed, 31 insertions, 5 deletions
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}/"