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) 2017 Dariusz Sendkowski
13 # Copyright (c) 2023 Niklas Poslovski
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= GraphicsMagick
20 COMPONENT_MAJOR_VERSION
= 1.3
21 COMPONENT_MINOR_VERSION
= 45
22 COMPONENT_SUMMARY
= A collection of utilities to support file format conversion
,image processing
, and
2D vector rendering.
23 COMPONENT_VERSION
= $(COMPONENT_MAJOR_VERSION
).
$(COMPONENT_MINOR_VERSION
)
24 COMPONENT_PROJECT_URL
= http
://www.graphicsmagick.org
/
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:dcea5167414f7c805557de2d7a47a9b3147bcbf617b91f5f0f4afe5e6543026b
28 COMPONENT_ARCHIVE_URL
= https
://sourceforge.net
/projects
/graphicsmagick
/files
/graphicsmagick
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)/download
29 COMPONENT_FMRI
= image
/graphicsmagick
30 COMPONENT_CLASSIFICATION
=Applications
/Graphics and Imaging
31 COMPONENT_LICENSE
= MIT
32 COMPONENT_LICENSE_FILE
= Copyright.txt
34 include $(WS_MAKE_RULES
)/common.mk
36 CONFIGURE_OPTIONS
+= --disable-static
37 CONFIGURE_OPTIONS
+= --enable-shared
39 COMPONENT_TEST_TRANSFORMS
+= \
40 '-e "/=========/p" ' \
41 '-e "/Testsuite summary for/p" '
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
45 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
46 REQUIRED_PACKAGES
+= $(JPEG_IMPLEM_PKG
)
47 REQUIRED_PACKAGES
+= codec
/jasper
48 REQUIRED_PACKAGES
+= compress
/bzip2
49 REQUIRED_PACKAGES
+= compress
/zstd
50 REQUIRED_PACKAGES
+= image
/library
/libjpeg-turbo
51 REQUIRED_PACKAGES
+= image
/library
/libpng16
52 REQUIRED_PACKAGES
+= image
/library
/libtiff
53 REQUIRED_PACKAGES
+= library
/lcms2
54 REQUIRED_PACKAGES
+= library
/libwebp
55 REQUIRED_PACKAGES
+= library
/libxml2
56 REQUIRED_PACKAGES
+= library
/libzip
57 REQUIRED_PACKAGES
+= library
/zlib
58 REQUIRED_PACKAGES
+= shell/ksh93
59 REQUIRED_PACKAGES
+= system
/library
60 REQUIRED_PACKAGES
+= system
/library
/freetype-2
61 REQUIRED_PACKAGES
+= system
/library
/math
62 REQUIRED_PACKAGES
+= x11
/library
/libx11
63 REQUIRED_PACKAGES
+= x11
/library
/libxext