summaryrefslogtreecommitdiff
path: root/package/xorg-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/xorg-server/Makefile')
-rw-r--r--package/xorg-server/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/package/xorg-server/Makefile b/package/xorg-server/Makefile
index 13775e48a..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
+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/
@@ -47,6 +47,9 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XORG_SERVER,xorg-server,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
TARGET_CPPFLAGS+= -D_GNU_SOURCE -D__gid_t=gid_t -D__uid_t=uid_t
+TARGET_LDFLAGS+= -latomic
+
+AUTOTOOL_STYLE:= autoreconf
ifeq (${ADK_PACKAGE_XORG_SERVER_WITH_OPENSSL},y)
CONFIGURE_ARGS+= --with-sha1=libcrypto
@@ -67,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 \
@@ -82,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 \
@@ -125,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 \