summaryrefslogtreecommitdiff
path: root/repo/x11/xf86-video-intel.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-19 02:17:47 +0000
committerdavidovski <david@davidovski.xyz>2022-02-19 02:17:47 +0000
commitfd661b7964379359497f0c3345b6a6f677914f35 (patch)
tree409769eb4859baebeb19d160b73bb21dd3e4aa69 /repo/x11/xf86-video-intel.xibuild
parent9c2240141d0ec0ccd66591790b57984918aaa23e (diff)
added xorg drivers
Diffstat (limited to 'repo/x11/xf86-video-intel.xibuild')
-rw-r--r--repo/x11/xf86-video-intel.xibuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/repo/x11/xf86-video-intel.xibuild b/repo/x11/xf86-video-intel.xibuild
new file mode 100644
index 0000000..90852d3
--- /dev/null
+++ b/repo/x11/xf86-video-intel.xibuild
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+MAKEDEPS=(make)
+DEPS=(xorg-server mesa libxvmc pixman xcb-util)
+
+DESC="X.org intel video driver"
+
+PKG_VER=2.99.917
+SOURCE=https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git
+BRANCH=$PKG_VER
+
+build () {
+ ./autogen.sh $XORG_CONFIG \
+ --enable-kms-only \
+ --enable-uxa \
+ --mandir=/usr/share/man &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+ mv -v $PKG_DEST/usr/share/man/man4/intel-virtual-output.4 \
+ $PKG_DEST/usr/share/man/man1/intel-virtual-output.1 &&
+
+ sed -i '/\.TH/s/4/1/' $PKG_DEST/usr/share/man/man1/intel-virtual-output.1
+ cat >> $PKG_DEST/etc/X11/xorg.conf.d/20-intel.conf << "EOF"
+Section "Device"
+ Identifier "Intel Graphics"
+ Driver "intel"
+ #Option "DRI" "2" # DRI3 is default
+ #Option "AccelMethod" "sna" # default
+ #Option "AccelMethod" "uxa" # fallback
+EndSection
+EOF
+
+
+}