summaryrefslogtreecommitdiff
path: root/package/xorg-server
diff options
context:
space:
mode:
Diffstat (limited to 'package/xorg-server')
-rw-r--r--package/xorg-server/Makefile13
-rw-r--r--package/xorg-server/files/xorg.conf.raspberry-pi56
2 files changed, 16 insertions, 3 deletions
diff --git a/package/xorg-server/Makefile b/package/xorg-server/Makefile
index dd1e01e98..7de6a3c6d 100644
--- a/package/xorg-server/Makefile
+++ b/package/xorg-server/Makefile
@@ -14,13 +14,13 @@ PKG_DEPENDS+= libfontenc xkeyboard-config xkbcomp libxau libxaw
PKG_DEPENDS+= libxmu libxpm libxrender libxt libxxf86dga libxext
PKG_DEPENDS+= libxdmcp libxv libsm libice libx11 libxcb libdrm
PKG_DEPENDS+= libxshmfence libfreetype libfontenc libpciaccess
-PKG_DEPENDS+= libepoxy
+PKG_DEPENDS+= libepoxy libdbus
PKG_BUILDDEP:= libX11 randrproto renderproto fixesproto damageproto
PKG_BUILDDEP+= scrnsaverproto resourceproto fontsproto videoproto
PKG_BUILDDEP+= compositeproto evieext libxkbfile libXfont2 pixman
PKG_BUILDDEP+= libpciaccess xf86dgaproto recordproto dri3proto
PKG_BUILDDEP+= xineramaproto presentproto xf86driproto glproto mesa
-PKG_BUILDDEP+= xorgproto libxcvt libdrm libepoxy font-util-host
+PKG_BUILDDEP+= xorgproto libxcvt libdrm libepoxy font-util-host dbus
PKG_NEEDS:= threads c++
PKG_URL:= http://www.x.org/
PKG_SITES:= http://www.x.org/releases/individual/xserver/
@@ -70,10 +70,11 @@ CONFIGURE_ARGS+= --enable-dga \
--enable-vgahw \
--enable-dpms \
--enable-xinerama \
+ --disable-config-udev \
+ --enable-debug \
--disable-docs \
--disable-glamor \
--disable-config-hal \
- --disable-config-udev \
--disable-xace \
--disable-xephyr \
--disable-xf86bigfont \
@@ -85,6 +86,8 @@ CONFIGURE_ARGS+= --enable-dga \
--disable-xvmc \
--disable-selective-werror \
--disable-strict-compilation \
+ --disable-systemd-logind \
+ --without-systemd-daemon \
--enable-dri \
--enable-dri2 \
--enable-dri3 \
@@ -128,6 +131,10 @@ ifeq (${ADK_TARGET_SYSTEM_SHARP_ZAURUS},y)
${CP} ./files/xorg.conf.sharp-zaurus \
$(IDIR_XORG_SERVER)/etc/X11/xorg.conf
endif
+ifeq (${ADK_TARGET_SYSTEM_RASPBERRY_PI5},y)
+ ${CP} ./files/xorg.conf.raspberry-pi5 \
+ $(IDIR_XORG_SERVER)/etc/X11/xorg.conf
+endif
# add m4 file to host directory
$(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/share/aclocal
$(CP) ${WRKINST}/usr/share/aclocal/xorg-server.m4 \
diff --git a/package/xorg-server/files/xorg.conf.raspberry-pi5 b/package/xorg-server/files/xorg.conf.raspberry-pi5
new file mode 100644
index 000000000..f23cd1328
--- /dev/null
+++ b/package/xorg-server/files/xorg.conf.raspberry-pi5
@@ -0,0 +1,6 @@
+Section "OutputClass"
+ Identifier "vc4"
+ MatchDriver "vc4"
+ Driver "modesetting"
+ Option "PrimaryGPU" "true"
+EndSection