gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / x11 / xf86-video-intel / Makefile
blob085122ddaeb9d525c1830b2a75a1d88011c97a28
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
14 # Copyright 2016 Ken Mays
17 X11_CATEGORY=DRIVER
18 include ../../../make-rules/shared-macros.mk
19 include $(WS_MAKE_RULES)/x11.mk
21 COMPONENT_NAME= xf86-video-intel
22 COMPONENT_VERSION= 2.99.917
23 COMPONENT_REVISION= 11
24 COMPONENT_FMRI= x11/server/xorg/driver/xorg-video-intel
25 COMPONENT_SUMMARY= xf86-video-intel - Intel integrated graphics chipset driver for the Xorg X server
26 COMPONENT_GIT_DATE= 20171018
27 COMPONENT_GIT_HASH= 4798e18b2b2c8b0a05dc967e6140fd9962bc1a73
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_GIT_HASH)
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC)-$(COMPONENT_VERSION)-$(COMPONENT_GIT_DATE).tar.bz2
30 COMPONENT_ARCHIVE_HASH= \
31 sha256:71afc36afaa9893c29ce937d09b464a54f0f56a6f13db9a8feb414e744b45fd7
32 COMPONENT_ARCHIVE_URL= \
33 https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/archive/$(COMPONENT_GIT_HASH)/$(COMPONENT_SRC).tar.bz2
35 CONFIGURE_DEFAULT_DIRS = no
36 include $(WS_MAKE_RULES)/common.mk
38 LDFLAGS += -lm -lsocket
40 LD_OPTIONS+= \
41 -L$(X11_SERVERMODS_DIR) -R$(X11_SERVERMODS_DIR) \
42 -L$(MESA_XSERVERMODS_EXTENSIONS_DIR) -R$(MESA_XSERVERMODS_EXTENSIONS_DIR) \
43 -L$(X11_SERVERMODS_EXTENSIONS_DIR) -R$(X11_SERVERMODS_EXTENSIONS_DIR) \
44 -L$(X11_SERVERLIBS_DIR) -R$(X11_SERVERLIBS_DIR) \
45 -Wl,-M$(COMPONENT_DIR)/mapfile.externs
47 # Need to override install path for all the modules
48 DRIVER_DIR=$(X11_SERVERMODS_DRIVERS_DIR)
49 COMPONENT_COMMON_ARGS = \
50 intel_drv_ladir='$(DRIVER_DIR)' \
51 ch7017_ladir='$(DRIVER_DIR)' \
52 ch7xxx_ladir='$(DRIVER_DIR)' \
53 ivch_ladir='$(DRIVER_DIR)' \
54 sil164_ladir='$(DRIVER_DIR)' \
55 tfp410_ladir='$(DRIVER_DIR)'
57 CPPFLAGS += -DXF86DRI
59 CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
60 CONFIGURE_OPTIONS += --enable-dri
61 CONFIGURE_OPTIONS += --enable-dri2
62 CONFIGURE_OPTIONS += --disable-dri3
63 CONFIGURE_OPTIONS += --enable-xvmc
64 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
65 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
66 CONFIGURE_OPTIONS += --enable-kms
67 CONFIGURE_OPTIONS += --enable-sna
68 CONFIGURE_OPTIONS += --enable-uxa
69 CONFIGURE_OPTIONS += --enable-xaa
70 CONFIGURE_OPTIONS += --with-default-accel=uxa
71 CONFIGURE_OPTIONS += --enable-rendernode
72 CONFIGURE_OPTIONS += --enable-create2
73 CONFIGURE_OPTIONS += --disable-tear-free
74 CONFIGURE_OPTIONS += --disable-async-swap
75 CONFIGURE_OPTIONS += --enable-backlight
76 CONFIGURE_OPTIONS += --enable-backlight-helper
77 CONFIGURE_OPTIONS += --disable-selective-werror
78 CONFIGURE_OPTIONS += --disable-silent-rules
80 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
82 COMPONENT_BUILD_ARGS += $(COMPONENT_COMMON_ARGS)
83 COMPONENT_INSTALL_ARGS += $(COMPONENT_COMMON_ARGS)
85 # Build dependencies
86 REQUIRED_PACKAGES += x11/header/x11-protocols
87 REQUIRED_PACKAGES += x11/library/libpthread-stubs
88 REQUIRED_PACKAGES += system/header/header-drm
90 # Auto-generated dependencies
91 REQUIRED_PACKAGES += diagnostic/scanpci
92 REQUIRED_PACKAGES += library/graphics/pixman
93 REQUIRED_PACKAGES += system/library
94 REQUIRED_PACKAGES += system/library/math
95 REQUIRED_PACKAGES += x11/library/libdrm
96 REQUIRED_PACKAGES += x11/library/libx11
97 REQUIRED_PACKAGES += x11/library/libxcb
98 REQUIRED_PACKAGES += x11/library/libxcursor
99 REQUIRED_PACKAGES += x11/library/libxdamage
100 REQUIRED_PACKAGES += x11/library/libxext
101 REQUIRED_PACKAGES += x11/library/libxfixes
102 REQUIRED_PACKAGES += x11/library/libxfont
103 REQUIRED_PACKAGES += x11/library/libxinerama
104 REQUIRED_PACKAGES += x11/library/libxrandr
105 REQUIRED_PACKAGES += x11/library/libxrender
106 REQUIRED_PACKAGES += x11/library/libxscrnsaver
107 REQUIRED_PACKAGES += x11/library/libxshmfence
108 REQUIRED_PACKAGES += x11/library/libxtst
109 REQUIRED_PACKAGES += x11/library/libxv
110 REQUIRED_PACKAGES += x11/library/libxvmc
111 REQUIRED_PACKAGES += x11/library/xcb-util
112 REQUIRED_PACKAGES += x11/server/xorg