2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2020 Alexander Pyhalov
14 # Copyright 2019 Tim Mooney
18 USE_PARALLEL_BUILD
= yes
19 USE_DEFAULT_TEST_TRANSFORMS
= yes
20 include ..
/..
/..
/make-rules
/shared-macros.mk
23 COMPONENT_MJR_VERSION
= 0.4
24 COMPONENT_VERSION
= $(COMPONENT_MJR_VERSION
).50
26 COMPONENT_SUMMARY
= GEGL
(Generic Graphics Library
) is a graph based image processing framework
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
29 COMPONENT_ARCHIVE_HASH
= sha256
:6084969b06ee86ca71142133773f27e13f02e5a6a22c2cfce452ecaaddb790c1
30 COMPONENT_ARCHIVE_URL
= https
://download.gimp.org
/pub
/gegl
/$(COMPONENT_MJR_VERSION
)/$(COMPONENT_ARCHIVE
)
31 COMPONENT_PROJECT_URL
= https
://www.gegl.org
/
32 COMPONENT_FMRI
= image
/library
/$(COMPONENT_NAME
)
33 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
34 COMPONENT_LICENSE
= GPLv3
, LGPLv3
36 include $(WS_MAKE_RULES
)/common.mk
40 # strptime needs this:
43 CONFIGURE_OPTIONS
+= --datadir=$(USRSHAREDIR
)
44 CONFIGURE_OPTIONS
+= -Ddocs
=false
45 CONFIGURE_OPTIONS
+= -Dgi-docgen
=disabled
46 CONFIGURE_OPTIONS
+= -Dvapigen
=disabled
47 CONFIGURE_OPTIONS
+= -Dworkshop
=true
48 # libav is from encumbered
49 CONFIGURE_OPTIONS
+= -Dlibav
=disabled
51 # gobject-introspection requires this
52 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
53 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
55 COMPONENT_TEST_ENV
+= LD_LIBRARY_PATH
=$(BUILD_DIR_64
)/gegl
57 # Auto-generated dependencies
58 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
59 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
60 REQUIRED_PACKAGES
+= $(JPEG_IMPLEM_PKG
)
61 REQUIRED_PACKAGES
+= codec
/jasper
62 REQUIRED_PACKAGES
+= image
/library
/babl
63 REQUIRED_PACKAGES
+= image
/library
/lensfun
64 REQUIRED_PACKAGES
+= image
/library
/libpng16
65 REQUIRED_PACKAGES
+= image
/library
/libraw
66 REQUIRED_PACKAGES
+= image
/library
/librsvg
67 REQUIRED_PACKAGES
+= image
/library
/libtiff
68 REQUIRED_PACKAGES
+= library
/desktop
/cairo
69 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
70 REQUIRED_PACKAGES
+= library
/desktop
/json-glib
71 REQUIRED_PACKAGES
+= library
/desktop
/pango
72 REQUIRED_PACKAGES
+= library
/glib2
73 REQUIRED_PACKAGES
+= library
/lcms2
74 REQUIRED_PACKAGES
+= library
/libpoppler
75 REQUIRED_PACKAGES
+= library
/libwebp
76 REQUIRED_PACKAGES
+= library
/openexr
77 REQUIRED_PACKAGES
+= library
/sdl2
78 REQUIRED_PACKAGES
+= system
/library
79 REQUIRED_PACKAGES
+= system
/library
/math