Add intel-gpu-tools 1.3 from x-S12
[unleashed-userland.git] / components / x11 / intel-gpu-tools / Makefile
blobeb5d3f7b854cc15aa38ac9f36671ca71a571a137
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 2016 Aurelien Larcher
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= intel-gpu-tools
19 COMPONENT_VERSION= 1.3
20 COMPONENT_FMRI= x11/diagnostics/intel-gpu-tools
21 COMPONENT_CLASSIFICATION= System/X11
22 COMPONENT_SUMMARY= Intel Graphics driver debug tools
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:51d22fdb3d415a1b3b7d0a172c1bb24dec6f16116e80a9ce49873f44527f20a0
27 COMPONENT_ARCHIVE_URL= \
28 http://www.x.org/releases/individual/app/$(COMPONENT_ARCHIVE)
29 COMPONENT_PROJECT_URL = http://www.x.org/
30 COMPONENT_LICENSE= MIT License
31 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
33 include $(WS_TOP)/make-rules/prep.mk
34 include $(WS_TOP)/make-rules/configure.mk
35 include $(WS_TOP)/make-rules/ips.mk
37 PATH=/usr/gnu/bin:/usr/bin
39 # For Gen 4 code
40 CFLAGS+= -Wno-array-bounds
42 CONFIGURATION_ENV+= PYTHON="$(PYTHON.3.4.$(BITS))"
44 CONFIGURE_OPTIONS+= --disable-nouveau
45 CONFIGURE_OPTIONS.32+= --disable-largefile
47 build: $(BUILD_32_and_64)
49 install: $(INSTALL_32_and_64)
51 test: $(NO_TESTS)
54 REQUIRED_PACKAGES += diagnostic/scanpci
55 REQUIRED_PACKAGES += library/desktop/cairo
56 REQUIRED_PACKAGES += SUNWcs
57 REQUIRED_PACKAGES += system/library
58 REQUIRED_PACKAGES += x11/library/libdrm