summaryrefslogtreecommitdiff
path: root/repo/x11
diff options
context:
space:
mode:
Diffstat (limited to 'repo/x11')
-rw-r--r--repo/x11/intel-vaapi-driver.xibuild18
-rw-r--r--repo/x11/libevdev.xibuild18
-rw-r--r--repo/x11/libinput.xibuild27
-rw-r--r--repo/x11/libva.xibuild18
-rw-r--r--repo/x11/libvdpau-va-gl.xibuild23
-rw-r--r--repo/x11/libvdpau.xibuild21
-rw-r--r--repo/x11/xf86-input-evdev.xibuild18
-rw-r--r--repo/x11/xf86-input-libinput.xibuild18
-rw-r--r--repo/x11/xf86-input-synaptics.xibuild18
-rw-r--r--repo/x11/xf86-input-wacom.xibuild18
-rw-r--r--repo/x11/xf86-video-amdgpu.xibuild18
-rw-r--r--repo/x11/xf86-video-ati.xibuild26
-rw-r--r--repo/x11/xf86-video-fbdev.xibuild18
-rw-r--r--repo/x11/xf86-video-intel.xibuild37
-rw-r--r--repo/x11/xf86-video-nouveau.xibuild23
-rw-r--r--repo/x11/xf86-video-vmware.xibuild18
16 files changed, 337 insertions, 0 deletions
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
+}