diff options
author | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
commit | 739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch) | |
tree | 09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/x11/xf86-video-intel | |
parent | 4c585ad54388285500fd18a6aaa516894e0f2c16 (diff) |
moved everything to new file formatting
Diffstat (limited to 'repo/x11/xf86-video-intel')
-rw-r--r-- | repo/x11/xf86-video-intel/xf86-video-intel.xibuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/repo/x11/xf86-video-intel/xf86-video-intel.xibuild b/repo/x11/xf86-video-intel/xf86-video-intel.xibuild new file mode 100644 index 0000000..ac5fce2 --- /dev/null +++ b/repo/x11/xf86-video-intel/xf86-video-intel.xibuild @@ -0,0 +1,48 @@ +#!/bin/sh + +MAKEDEPS="make" +DEPS="xorg-server mesa libxvmc pixman xcb-util" + +DESC="X.org intel video driver" + +PKG_VER=2.99.917 +_pkgver=31486f40f8e8f8923ca0799aea84b58799754564 +SOURCE=https://github.com/freedesktop/xorg-xf86-video-intel/archive/$_pkgver.zip + +prepare () { + autoreconf -vif +} + +build () { + export LDFLAGS="$LDFLAGS -Wl,-z,lazy" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --enable-xvmc \ + --disable-selective-werror \ + --with-default-dri=3 + make +} + +package () { + make DESTDIR=$PKG_DEST install + mkdir -p $PKG_DEST/usr/share/man/man1 + mv $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 + + mkdir -p $PKG_DEST/etc/X11/xorg.conf.d + cat >> $PKG_DEST/etc/X11/xorg.conf.d/20-intel.conf << "EOF" +Section "Device" + Identifier "Intel Graphics" + Driver "intel" + #Option "DRI" "3" # DRI3 is default + #Option "AccelMethod" "sna" # default + #Option "AccelMethod" "uxa" # fallback +EndSection +EOF + + +} |