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.
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.
12 # Copyright (c) 2024 Till Wegmueller
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= SDL2_image
18 COMPONENT_VERSION
= 2.8.2
19 COMPONENT_SUMMARY
= Simple DirectMedia Layer
- Sample Image Loading Library
20 COMPONENT_PROJECT_URL
= https
://libsdl.org
/
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= sha256
:8f486bbfbcf8464dd58c9e5d93394ab0255ce68b51c5a966a918244820a76ddc
24 COMPONENT_ARCHIVE_URL
= https
://github.com
/libsdl-org
/SDL_image
/releases
/download
/release-
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
25 COMPONENT_FMRI
= image
/library
/sdl2-image
26 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
27 COMPONENT_LICENSE
= zlib
28 COMPONENT_LICENSE_FILE
= LICENSE.txt
30 TEST_TARGET
= $(NO_TESTS
)
31 include $(WS_MAKE_RULES
)/common.mk
35 CONFIGURE_OPTIONS
+= --disable-png-shared
37 # Auto-generated dependencies
38 REQUIRED_PACKAGES
+= library
/sdl2
39 REQUIRED_PACKAGES
+= system
/library