Andreas Wacknitz
2024-04-07 3cf25f94579fa0a760559cf424040af7cfa0dd44
commit | author | age
cede81 1 #
JK 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 (c) 2016 Jim Klimov
278603 13 # Copyright (c) 2020 Andreas Wacknitz
cede81 14 #
JK 15
439909 16 BUILD_BITS= 64
cede81 17 include ../../../make-rules/shared-macros.mk
JK 18
19 COMPONENT_NAME=        SDL2
3cf25f 20 COMPONENT_VERSION=    2.30.2
cede81 21 COMPONENT_SUMMARY=    libsdl2 - Simple DirectMedia Layer 2.0
2b154e 22 COMPONENT_PROJECT_URL=    https://www.libsdl.org
cede81 23 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
JK 24 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
3cf25f 25 COMPONENT_ARCHIVE_HASH=    sha256:891d66ac8cae51361d3229e3336ebec1c407a8a2a063b61df14f5fdf3ab5ac31
2b154e 26 COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/release/$(COMPONENT_ARCHIVE)
cede81 27 COMPONENT_FMRI =    library/sdl2
2b154e 28 COMPONENT_CLASSIFICATION =    System/Libraries
cede81 29 COMPONENT_LICENSE=    ZLIB
65ba05 30 COMPONENT_LICENSE_FILE=    LICENSE.txt
cede81 31
2b154e 32 TEST_TARGET= $(NO_TESTS)
278603 33 include $(WS_MAKE_RULES)/common.mk
cede81 34
6b8472 35 PATH= $(PATH.gnu)
cede81 36
439909 37 COMPONENT_PREP_ACTION= ( cd $(@D) && $(CONFIG_SHELL) autogen.sh )
cede81 38
96fff5 39 CONFIGURE_OPTIONS += --disable-rpath
439909 40 CONFIGURE_OPTIONS += --enable-year2038
96fff5 41
439909 42 # Manually added build dependencies
6b8472 43 REQUIRED_PACKAGES += library/libsamplerate
AW 44
278603 45 # Auto-generated dependencies
65ba05 46 REQUIRED_PACKAGES += shell/ksh93
96fff5 47 REQUIRED_PACKAGES += system/library
AP 48 REQUIRED_PACKAGES += system/library/math