From fd661b7964379359497f0c3345b6a6f677914f35 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 19 Feb 2022 02:17:47 +0000 Subject: added xorg drivers --- auto/generate-xorg-fonts.sh | 44 +++++++++++++++++++++++++++++++ repo/font/encodings.xibuild | 20 ++++++++++++++ repo/font/font-adobe-utopia-type1.xibuild | 20 ++++++++++++++ repo/font/font-alias.xibuild | 20 ++++++++++++++ repo/font/font-bh-ttf.xibuild | 20 ++++++++++++++ repo/font/font-bh-type1.xibuild | 20 ++++++++++++++ repo/font/font-ibm-type1.xibuild | 20 ++++++++++++++ repo/font/font-misc-ethiopic.xibuild | 20 ++++++++++++++ repo/font/font-xfree86-type1.xibuild | 20 ++++++++++++++ repo/x11/intel-vaapi-driver.xibuild | 18 +++++++++++++ repo/x11/libevdev.xibuild | 18 +++++++++++++ repo/x11/libinput.xibuild | 27 +++++++++++++++++++ repo/x11/libva.xibuild | 18 +++++++++++++ repo/x11/libvdpau-va-gl.xibuild | 23 ++++++++++++++++ repo/x11/libvdpau.xibuild | 21 +++++++++++++++ repo/x11/xf86-input-evdev.xibuild | 18 +++++++++++++ repo/x11/xf86-input-libinput.xibuild | 18 +++++++++++++ repo/x11/xf86-input-synaptics.xibuild | 18 +++++++++++++ repo/x11/xf86-input-wacom.xibuild | 18 +++++++++++++ repo/x11/xf86-video-amdgpu.xibuild | 18 +++++++++++++ repo/x11/xf86-video-ati.xibuild | 26 ++++++++++++++++++ repo/x11/xf86-video-fbdev.xibuild | 18 +++++++++++++ repo/x11/xf86-video-intel.xibuild | 37 ++++++++++++++++++++++++++ repo/x11/xf86-video-nouveau.xibuild | 23 ++++++++++++++++ repo/x11/xf86-video-vmware.xibuild | 18 +++++++++++++ 25 files changed, 541 insertions(+) create mode 100755 auto/generate-xorg-fonts.sh create mode 100644 repo/font/encodings.xibuild create mode 100644 repo/font/font-adobe-utopia-type1.xibuild create mode 100644 repo/font/font-alias.xibuild create mode 100644 repo/font/font-bh-ttf.xibuild create mode 100644 repo/font/font-bh-type1.xibuild create mode 100644 repo/font/font-ibm-type1.xibuild create mode 100644 repo/font/font-misc-ethiopic.xibuild create mode 100644 repo/font/font-xfree86-type1.xibuild create mode 100644 repo/x11/intel-vaapi-driver.xibuild create mode 100644 repo/x11/libevdev.xibuild create mode 100644 repo/x11/libinput.xibuild create mode 100644 repo/x11/libva.xibuild create mode 100644 repo/x11/libvdpau-va-gl.xibuild create mode 100644 repo/x11/libvdpau.xibuild create mode 100644 repo/x11/xf86-input-evdev.xibuild create mode 100644 repo/x11/xf86-input-libinput.xibuild create mode 100644 repo/x11/xf86-input-synaptics.xibuild create mode 100644 repo/x11/xf86-input-wacom.xibuild create mode 100644 repo/x11/xf86-video-amdgpu.xibuild create mode 100644 repo/x11/xf86-video-ati.xibuild create mode 100644 repo/x11/xf86-video-fbdev.xibuild create mode 100644 repo/x11/xf86-video-intel.xibuild create mode 100644 repo/x11/xf86-video-nouveau.xibuild create mode 100644 repo/x11/xf86-video-vmware.xibuild diff --git a/auto/generate-xorg-fonts.sh b/auto/generate-xorg-fonts.sh new file mode 100755 index 0000000..7011aba --- /dev/null +++ b/auto/generate-xorg-fonts.sh @@ -0,0 +1,44 @@ +#!/bin/sh + +make_xibuild () { + local lib=$1 + local ver=$2 + local xibuild="repo/font/${lib,,}.xibuild" + + cat > $xibuild << "EOF" +#!/bin/bash + +MAKEDEPS=(make asciidoc xmlto lynx) +DEPS=(fontconfig libxcb elogind) + +EOF + echo "PKG_VER=$ver" >> $xibuild + printf 'SOURCE=https://www.x.org/pub/individual/font/%s-$PKG_VER.tar.bz2\n' $lib >> $xibuild + + echo "" >> $xibuild + echo "build () {" >> $xibuild + printf ' ./configure $XORG_CONFIG\n' >> $xibuild + echo " make" >> $xibuild + echo "}" >> $xibuild + echo "" >> $xibuild + + echo "package () {" >> $xibuild + printf ' make DESTDIR=$PKG_DEST install\n\n' >> $xibuild + printf 'install -v -d -m755 $PKG_DEST/usr/share/fonts &&\nln -svfn $XORG_PREFIX/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF &&\nln -svfn $XORG_PREFIX/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF\n}' >> $xibuild + printf "${lib,,} " +} + +cat > /tmp/fonts.versions << "EOF" +encodings 1.0.5 +font-alias 1.0.4 +font-adobe-utopia-type1 1.0.4 +font-bh-ttf 1.0.3 +font-bh-type1 1.0.3 +font-ibm-type1 1.0.3 +font-misc-ethiopic 1.0.4 +font-xfree86-type1 1.0.4 +EOF + +while IFS= read -r line; do + make_xibuild $line +done < /tmp/fonts.versions diff --git a/repo/font/encodings.xibuild b/repo/font/encodings.xibuild new file mode 100644 index 0000000..f93faba --- /dev/null +++ b/repo/font/encodings.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +MAKEDEPS=(make asciidoc xmlto lynx) +DEPS=(fontconfig libxcb elogind) + +PKG_VER=1.0.5 +SOURCE=https://www.x.org/pub/individual/font/encodings-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install + +install -v -d -m755 $PKG_DEST/usr/share/fonts && +ln -svfn $XORG_PREFIX/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF && +ln -svfn $XORG_PREFIX/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF +} \ No newline at end of file diff --git a/repo/font/font-adobe-utopia-type1.xibuild b/repo/font/font-adobe-utopia-type1.xibuild new file mode 100644 index 0000000..2e14819 --- /dev/null +++ b/repo/font/font-adobe-utopia-type1.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +MAKEDEPS=(make asciidoc xmlto lynx) +DEPS=(fontconfig libxcb elogind) + +PKG_VER=1.0.4 +SOURCE=https://www.x.org/pub/individual/font/font-adobe-utopia-type1-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install + +install -v -d -m755 $PKG_DEST/usr/share/fonts && +ln -svfn $XORG_PREFIX/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF && +ln -svfn $XORG_PREFIX/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF +} \ No newline at end of file diff --git a/repo/font/font-alias.xibuild b/repo/font/font-alias.xibuild new file mode 100644 index 0000000..c0f66f1 --- /dev/null +++ b/repo/font/font-alias.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +MAKEDEPS=(make asciidoc xmlto lynx) +DEPS=(fontconfig libxcb elogind) + +PKG_VER=1.0.4 +SOURCE=https://www.x.org/pub/individual/font/font-alias-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install + +install -v -d -m755 $PKG_DEST/usr/share/fonts && +ln -svfn $XORG_PREFIX/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF && +ln -svfn $XORG_PREFIX/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF +} \ No newline at end of file diff --git a/repo/font/font-bh-ttf.xibuild b/repo/font/font-bh-ttf.xibuild new file mode 100644 index 0000000..2ba3a33 --- /dev/null +++ b/repo/font/font-bh-ttf.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +MAKEDEPS=(make asciidoc xmlto lynx) +DEPS=(fontconfig libxcb elogind) + +PKG_VER=1.0.3 +SOURCE=https://www.x.org/pub/individual/font/font-bh-ttf-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install + +install -v -d -m755 $PKG_DEST/usr/share/fonts && +ln -svfn $XORG_PREFIX/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF && +ln -svfn $XORG_PREFIX/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF +} \ No newline at end of file diff --git a/repo/font/font-bh-type1.xibuild b/repo/font/font-bh-type1.xibuild new file mode 100644 index 0000000..347ce5e --- /dev/null +++ b/repo/font/font-bh-type1.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +MAKEDEPS=(make asciidoc xmlto lynx) +DEPS=(fontconfig libxcb elogind) + +PKG_VER=1.0.3 +SOURCE=https://www.x.org/pub/individual/font/font-bh-type1-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install + +install -v -d -m755 $PKG_DEST/usr/share/fonts && +ln -svfn $XORG_PREFIX/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF && +ln -svfn $XORG_PREFIX/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF +} \ No newline at end of file diff --git a/repo/font/font-ibm-type1.xibuild b/repo/font/font-ibm-type1.xibuild new file mode 100644 index 0000000..4385b72 --- /dev/null +++ b/repo/font/font-ibm-type1.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +MAKEDEPS=(make asciidoc xmlto lynx) +DEPS=(fontconfig libxcb elogind) + +PKG_VER=1.0.3 +SOURCE=https://www.x.org/pub/individual/font/font-ibm-type1-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install + +install -v -d -m755 $PKG_DEST/usr/share/fonts && +ln -svfn $XORG_PREFIX/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF && +ln -svfn $XORG_PREFIX/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF +} \ No newline at end of file diff --git a/repo/font/font-misc-ethiopic.xibuild b/repo/font/font-misc-ethiopic.xibuild new file mode 100644 index 0000000..92e0abf --- /dev/null +++ b/repo/font/font-misc-ethiopic.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +MAKEDEPS=(make asciidoc xmlto lynx) +DEPS=(fontconfig libxcb elogind) + +PKG_VER=1.0.4 +SOURCE=https://www.x.org/pub/individual/font/font-misc-ethiopic-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install + +install -v -d -m755 $PKG_DEST/usr/share/fonts && +ln -svfn $XORG_PREFIX/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF && +ln -svfn $XORG_PREFIX/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF +} \ No newline at end of file diff --git a/repo/font/font-xfree86-type1.xibuild b/repo/font/font-xfree86-type1.xibuild new file mode 100644 index 0000000..0ae1ef0 --- /dev/null +++ b/repo/font/font-xfree86-type1.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +MAKEDEPS=(make asciidoc xmlto lynx) +DEPS=(fontconfig libxcb elogind) + +PKG_VER=1.0.4 +SOURCE=https://www.x.org/pub/individual/font/font-xfree86-type1-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install + +install -v -d -m755 $PKG_DEST/usr/share/fonts && +ln -svfn $XORG_PREFIX/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF && +ln -svfn $XORG_PREFIX/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF +} \ No newline at end of file diff --git a/repo/x11/intel-vaapi-driver.xibuild b/repo/x11/intel-vaapi-driver.xibuild new file mode 100644 index 0000000..52c9c8c --- /dev/null +++ b/repo/x11/intel-vaapi-driver.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(xorg-server mesa libva) + +DESC="intel's VA api driver" + +PKG_VER=2.4.1 +SOURCE=https://github.com/intel/intel-vaapi-driver/releases/download/$PKG_VER/intel-vaapi-driver-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/libevdev.xibuild b/repo/x11/libevdev.xibuild new file mode 100644 index 0000000..00f06b2 --- /dev/null +++ b/repo/x11/libevdev.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make doxygen) +DEPS=(glibc) + +DESC="Wrapper library for evdev devices" + +PKG_VER=1.12.0 +SOURCE=https://www.freedesktop.org/software/libevdev/libevdev-$PKG_VER.tar.xz + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/libinput.xibuild b/repo/x11/libinput.xibuild new file mode 100644 index 0000000..a845ffe --- /dev/null +++ b/repo/x11/libinput.xibuild @@ -0,0 +1,27 @@ +#!/bin/bash + +MAKEDEPS=(meson ninja) +DEPS=(libevdev mtdev libwacom) + +DESC="Input device management and event handling library" + +PKG_VER=1.19.3 +SOURCE=https://www.freedesktop.org/software/libinput/libinput-$PKG_VER.tar.xz + +build () { + mkdir build && + cd build && + + meson --prefix=$XORG_PREFIX \ + --buildtype=release \ + -Ddebug-gui=false \ + -Dtests=false \ + -Dlibwacom=true \ + .. && + ninja + +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/x11/libva.xibuild b/repo/x11/libva.xibuild new file mode 100644 index 0000000..26c59fc --- /dev/null +++ b/repo/x11/libva.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libdrm libgl libx11 libxext libxfixes wayland mesa) + +DESC="Video Acceleration API" + +PKG_VER=2.13.0 +SOURCE=https://github.com/intel/libva/releases/download/$PKG_VER/libva-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/libvdpau-va-gl.xibuild b/repo/x11/libvdpau-va-gl.xibuild new file mode 100644 index 0000000..e326d68 --- /dev/null +++ b/repo/x11/libvdpau-va-gl.xibuild @@ -0,0 +1,23 @@ +#!/bin/bash + +MAKEDEPS=(cmake) +DEPS=(glibc libgl libvdpau libx11 libva) + +DESC="VPAU driver with OpenGL backend" + +PKG_VER=0.4.0 +SOURCE=https://github.com/i-rinat/libvdpau-va-gl/archive/v$PKG_VER/libvdpau-va-gl-$PKG_VER.tar.gz + +build () { + mkdir build && + cd build && + + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. && + make + +} + +package () { + make DESTDIR=$PKG_DEST install + +} diff --git a/repo/x11/libvdpau.xibuild b/repo/x11/libvdpau.xibuild new file mode 100644 index 0000000..bcb525a --- /dev/null +++ b/repo/x11/libvdpau.xibuild @@ -0,0 +1,21 @@ +#!/bin/bash + +MAKEDEPS=(meson doxygen texlive) +DEPS=(libxext mesa graphviz) + +DESC="X.org amdgpu video driver" + +PKG_VER=1.4 +SOURCE=https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$PKG_VER/libvdpau-$PKG_VER.tar.bz2 + +build () { + mkdir build && + cd build && + + meson --prefix=$XORG_PREFIX .. && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/x11/xf86-input-evdev.xibuild b/repo/x11/xf86-input-evdev.xibuild new file mode 100644 index 0000000..6d8c5aa --- /dev/null +++ b/repo/x11/xf86-input-evdev.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libevdev mtdev xorg-server) + +DESC="X.Org Evdev Drivers for generic linux inputs" + +PKG_VER=2.10.6 +SOURCE=https://www.x.org/pub/individual/driver/xf86-input-evdev-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/xf86-input-libinput.xibuild b/repo/x11/xf86-input-libinput.xibuild new file mode 100644 index 0000000..a530635 --- /dev/null +++ b/repo/x11/xf86-input-libinput.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libinput) + +DESC="Generic input driver for the X.Org server based on libinput" + +PKG_VER=1.2.1 +SOURCE=https://www.x.org/pub/individual/driver/xf86-input-libinput-$PKG_VER.tar.xz + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/xf86-input-synaptics.xibuild b/repo/x11/xf86-input-synaptics.xibuild new file mode 100644 index 0000000..0573ab6 --- /dev/null +++ b/repo/x11/xf86-input-synaptics.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libevdev xorg-server) + +DESC="Synaptics driver for notebook touchpads" + +PKG_VER=1.9.1 +SOURCE=https://www.x.org/pub/individual/driver/xf86-input-synaptics-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/xf86-input-wacom.xibuild b/repo/x11/xf86-input-wacom.xibuild new file mode 100644 index 0000000..538df01 --- /dev/null +++ b/repo/x11/xf86-input-wacom.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libxi libxinerama libxrandr) + +DESC="X.Org Wacom tablet driver" + +PKG_VER=0.40.0 +SOURCE=https://github.com/linuxwacom/xf86-input-wacom/releases/download/xf86-input-wacom-$PKG_VER/xf86-input-wacom-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG --with-systemd-unit-dir=no + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/xf86-video-amdgpu.xibuild b/repo/x11/xf86-video-amdgpu.xibuild new file mode 100644 index 0000000..1f69a92 --- /dev/null +++ b/repo/x11/xf86-video-amdgpu.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(xorg-server mesa) + +DESC="X.org amdgpu video driver" + +PKG_VER=21.0.0 +SOURCE=https://www.x.org/pub/individual/driver/xf86-video-amdgpu-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/xf86-video-ati.xibuild b/repo/x11/xf86-video-ati.xibuild new file mode 100644 index 0000000..146fd85 --- /dev/null +++ b/repo/x11/xf86-video-ati.xibuild @@ -0,0 +1,26 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(xorg-server mesa) + +DESC="X.org ATI video driver" + +PKG_VER=19.1.0 +SOURCE=https://www.x.org/pub/individual/driver/xf86-video-ati-$PKG_VER.tar.bz2 + +ADDITIONAL=( + https://www.linuxfromscratch.org/patches/blfs/svn/xf86-video-ati-$PKG_VER-upstream_fixes-1.patch + ) + +prepare () { + patch -Np1 -i xf86-video-ati-$PKG_VER-upstream_fixes-1.patch +} + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/xf86-video-fbdev.xibuild b/repo/x11/xf86-video-fbdev.xibuild new file mode 100644 index 0000000..110bcf6 --- /dev/null +++ b/repo/x11/xf86-video-fbdev.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(xorg-server) + +DESC="X.org framebuffer video driver" + +PKG_VER=0.5.0 +SOURCE=https://www.x.org/pub/individual/driver/xf86-video-fbdev-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} 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 + + +} diff --git a/repo/x11/xf86-video-nouveau.xibuild b/repo/x11/xf86-video-nouveau.xibuild new file mode 100644 index 0000000..956a213 --- /dev/null +++ b/repo/x11/xf86-video-nouveau.xibuild @@ -0,0 +1,23 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(xorg-server mesa) + +DESC="X.org nouveau video driver" + +PKG_VER=1.0.17 +SOURCE=https://www.x.org/pub/individual/driver/xf86-video-nouveau-$PKG_VER.tar.bz2 + +prepare () { + grep -rl slave | xargs sed -i s/slave/secondary/ + +} + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/xf86-video-vmware.xibuild b/repo/x11/xf86-video-vmware.xibuild new file mode 100644 index 0000000..d391c67 --- /dev/null +++ b/repo/x11/xf86-video-vmware.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(xorg-server mesa) + +DESC="X.org vmware video driver" + +PKG_VER=13.3.0 +SOURCE=https://www.x.org/pub/individual/driver/xf86-video-vmware-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1