gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / x11 / xf86-video-openchrome / Makefile
blob54dc473576807da57b8d3dd8ad0adfaac188900e
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 Ken Mays
16 X11_CATEGORY=DRIVER
17 include ../../../make-rules/shared-macros.mk
18 include $(WS_MAKE_RULES)/x11.mk
20 COMPONENT_NAME= xf86-video-openchrome
21 COMPONENT_VERSION= 0.6.0
22 COMPONENT_REVISION= 6
23 COMPONENT_FMRI= x11/server/xorg/driver/xorg-video-openchrome
24 COMPONENT_SUMMARY= xf86-video-openchrome - OpenChrome driver for the Xorg X server
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
28 include $(WS_MAKE_RULES)/common.mk
30 CFLAGS+= -std=gnu99
32 # Instead of allowing the default MODTYPE_LD_SHARED_OPTIONS to link all
33 # the libraries against the Xorg server binary, ldflags.patch adds
34 # $(openchrome_drv_la_LDFLAGS_add) to the link of just openchrome_drv.so,
35 # but not to the client side XvMC libs.
36 openchrome_drv_la_LDFLAGS_add = \
37 -L$(X11_SERVERMODS_DIR) -R$(X11_SERVERMODS_DIR) \
38 -L$(X11_SERVERLIBS_DIR) -R$(X11_SERVERLIBS_DIR) \
39 -Wl,-M$(COMPONENT_DIR)/mapfile.externs \
40 -lfb -lint10 -lpciaccess -lpixman-1 -lvbe \
41 -lexa -lvgahw -lm -ldrm -lshadow
43 COMPONENT_BUILD_ENV += \
44 openchrome_drv_la_LDFLAGS_add='$(openchrome_drv_la_LDFLAGS_add)'
45 CONFIGURE_ENV += with_xorg_module_dir=/usr/lib/xorg/modules/drivers/$(MACH64)
47 # Build dependencies
48 REQUIRED_PACKAGES += x11/header/x11-protocols
49 REQUIRED_PACKAGES += system/header/header-drm
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += diagnostic/scanpci
53 REQUIRED_PACKAGES += library/graphics/pixman
54 REQUIRED_PACKAGES += system/library
55 REQUIRED_PACKAGES += system/library/math
56 REQUIRED_PACKAGES += x11/library/libdrm
57 REQUIRED_PACKAGES += x11/server/xorg