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
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
17 include ..
/..
/..
/make-rules
/shared-macros.mk
18 include $(WS_MAKE_RULES
)/x11.mk
20 COMPONENT_NAME
= libXrandr
21 COMPONENT_VERSION
= 1.5.4
22 COMPONENT_SUMMARY
= libXrandr
- X Resize and Rotate extension library
23 COMPONENT_ARCHIVE_EXTENSION
= .
tar.xz
24 COMPONENT_ARCHIVE_HASH
= sha256
:1ad5b065375f4a85915aa60611cc6407c060492a214d7f9daf214be752c3b4d3
25 COMPONENT_FMRI
= x11
/library
/libxrandr
26 COMPONENT_LICENSE_FILE
= COPYING
28 include $(WS_MAKE_RULES
)/common.mk
30 CONFIGURE_OPTIONS
+= --disable-static
31 CONFIGURE_OPTIONS
+= --enable-shared
33 LD_OPTIONS
+= -M
$(COMPONENT_DIR
)/mapfile-vers
35 # Auto-generated dependencies
36 REQUIRED_PACKAGES
+= system
/library
37 REQUIRED_PACKAGES
+= x11
/library
/libx11
38 REQUIRED_PACKAGES
+= x11
/library
/libxext
39 REQUIRED_PACKAGES
+= x11
/library
/libxrender