diff --git a/xorg/.footprint b/xorg/.footprint new file mode 100644 index 0000000..a0416ba --- /dev/null +++ b/xorg/.footprint @@ -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 diff --git a/xorg/.md5sum b/xorg/.md5sum new file mode 100644 index 0000000..6395f6e --- /dev/null +++ b/xorg/.md5sum @@ -0,0 +1 @@ +cb341af4428c3087f2f199ad6d1bfe7c 99-vc4.conf diff --git a/xorg/99-vc4.conf b/xorg/99-vc4.conf new file mode 100644 index 0000000..f23cd13 --- /dev/null +++ b/xorg/99-vc4.conf @@ -0,0 +1,6 @@ +Section "OutputClass" + Identifier "vc4" + MatchDriver "vc4" + Driver "modesetting" + Option "PrimaryGPU" "true" +EndSection diff --git a/xorg/Pkgfile b/xorg/Pkgfile new file mode 100644 index 0000000..a1ad15b --- /dev/null +++ b/xorg/Pkgfile @@ -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 +}