# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"). You may # only use this file in accordance with the terms of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2020 Aurelien Larcher # BUILD_BITS=64 include ../../../make-rules/shared-macros.mk COMPONENT_NAME= libglvnd COMPONENT_VERSION= 1.4.0 COMPONENT_SUMMARY= The GL Vendor-Neutral Dispatch library COMPONENT_PROJECT_URL= https://github.com/NVIDIA/libglvnd COMPONENT_FMRI= x11/library/libglvnd COMPONENT_CLASSIFICATION=System/X11 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_URL= https://github.com/NVIDIA/libglvnd/archive/v$(COMPONENT_VERSION).tar.gz COMPONENT_ARCHIVE_HASH= sha256:1eb5c2be8d213ad5d31cfb4efbb331d42f3d9f5617c885ce7e89f572ec2bb4b8 COMPONENT_LICENSE= MIT include $(WS_MAKE_RULES)/common.mk COMPONENT_PREP_ACTION = ( cd $(@D) && \ libtoolize --automake --copy --force && \ aclocal && \ autoheader && \ automake -a -f -c && \ autoconf ) CONFIGURE_OPTIONS+= --enable-x11 CONFIGURE_OPTIONS+= --enable-glx CONFIGURE_OPTIONS+= --enable-gles1 CONFIGURE_OPTIONS+= --enable-gles2 CONFIGURE_OPTIONS+= --enable-headers CONFIGURE_OPTIONS+= --enable-asm CONFIGURE_OPTIONS+= --enable-tls unexport SHELLOPTS # Auto-generated dependencies REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += x11/library/libx11