Andreas Wacknitz
2024-03-31 783118944874d559e30eea1600352e3feb5263a7
commit | author | age
1f91d0 1 #
AL 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
5 #
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
9 #
10
11 #
12 # Copyright 2020 Aurelien Larcher
13 #
14
15 BUILD_BITS=64
16 include ../../../make-rules/shared-macros.mk
17
18 COMPONENT_NAME=        libglvnd
c1999a 19 COMPONENT_VERSION=    1.4.0
1f91d0 20 COMPONENT_SUMMARY=    The GL Vendor-Neutral Dispatch library
AL 21 COMPONENT_PROJECT_URL=    https://github.com/NVIDIA/libglvnd
22 COMPONENT_FMRI=        x11/library/libglvnd    
23 COMPONENT_CLASSIFICATION=System/X11
24 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
fdf959 26 COMPONENT_ARCHIVE_URL=    https://github.com/NVIDIA/libglvnd/archive/v$(COMPONENT_VERSION).tar.gz
c1999a 27 COMPONENT_ARCHIVE_HASH=    sha256:1eb5c2be8d213ad5d31cfb4efbb331d42f3d9f5617c885ce7e89f572ec2bb4b8
1f91d0 28 COMPONENT_LICENSE=    MIT
AL 29
30 include $(WS_MAKE_RULES)/common.mk
31
32 COMPONENT_PREP_ACTION = ( cd $(@D) && \
33                           libtoolize --automake --copy --force && \
34                           aclocal && \
35                           autoheader && \
36                           automake -a -f -c && \
37                           autoconf )
38
39 CONFIGURE_OPTIONS+= --enable-x11
40 CONFIGURE_OPTIONS+= --enable-glx
41 CONFIGURE_OPTIONS+= --enable-gles1
42 CONFIGURE_OPTIONS+= --enable-gles2
43 CONFIGURE_OPTIONS+= --enable-headers
44 CONFIGURE_OPTIONS+= --enable-asm
45 CONFIGURE_OPTIONS+= --enable-tls
46
c1999a 47 unexport SHELLOPTS
AW 48
1f91d0 49 # Auto-generated dependencies
AL 50 REQUIRED_PACKAGES += system/library
51 REQUIRED_PACKAGES += x11/library/libx11