diff options
author | davidovski <david@davidovski.xyz> | 2022-02-19 02:17:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-19 02:17:47 +0000 |
commit | fd661b7964379359497f0c3345b6a6f677914f35 (patch) | |
tree | 409769eb4859baebeb19d160b73bb21dd3e4aa69 /repo | |
parent | 9c2240141d0ec0ccd66591790b57984918aaa23e (diff) |
added xorg drivers
Diffstat (limited to 'repo')
24 files changed, 497 insertions, 0 deletions
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 +} |