Skip to content

Commit

Permalink
added xorg metaport
Browse files Browse the repository at this point in the history
this meta-port modifies the normal metapackage to include the 99-vc4.conf file to enable x11 to use the rpi5 GPU.
  • Loading branch information
mac-a-r0ni committed Feb 5, 2024
1 parent 7eac4bb commit 76f8c3e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions xorg/.footprint
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/X11/
drwxr-xr-x root/root etc/X11/xorg.conf.d/
drwxr-xr-x root/root etc/X11/xorg.conf.d/99-vc4.conf/
-rw-r--r-- root/root etc/X11/xorg.conf.d/99-vc4.conf/99-vc4.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/etc/
-rw-r--r-- root/root usr/etc/xorg
1 change: 1 addition & 0 deletions xorg/.md5sum
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cb341af4428c3087f2f199ad6d1bfe7c 99-vc4.conf
6 changes: 6 additions & 0 deletions xorg/99-vc4.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Section "OutputClass"
Identifier "vc4"
MatchDriver "vc4"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection
17 changes: 17 additions & 0 deletions xorg/Pkgfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Description: x.org's implementation of X11
# URL: https://www.x.org
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
# Depends on: xorg-xf86-input-libinput xorg-xf86-video-vesa xorg-xinit xorg-xauth xorg-rgb xkeyboard-config

name=xorg
version=7.7
release=2
source=(99-vc4.conf)

build() {
# this file enables X11 to use rpi5 gpu
install -Dm0644 -t $PKG/etc/X11/xorg.conf.d/99-vc4.conf $source

install -d $PKG/usr/etc
echo "$name version $version" > $PKG/usr/etc/$name
}

0 comments on commit 76f8c3e

Please sign in to comment.