freeipmi: update to 1.6.15
[oi-userland.git] / components / library / gegl / Makefile
blobe5a16377c9470fb3a3d5b35293886e74a3d3eda4
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
5 # 1.0 of the CDDL.
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
17 BUILD_STYLE= meson
18 USE_PARALLEL_BUILD= yes
19 USE_DEFAULT_TEST_TRANSFORMS= yes
20 include ../../../make-rules/shared-macros.mk
22 COMPONENT_NAME= gegl
23 COMPONENT_MJR_VERSION= 0.4
24 COMPONENT_VERSION= $(COMPONENT_MJR_VERSION).52
25 COMPONENT_SUMMARY= GEGL (Generic Graphics Library) is a graph based image processing framework
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
28 COMPONENT_ARCHIVE_HASH= sha256:ca212a0fc3e0448c5058c51ca6a0d30fdfb02971f21f28820da2b4901396000a
29 COMPONENT_ARCHIVE_URL= https://download.gimp.org/pub/gegl/$(COMPONENT_MJR_VERSION)/$(COMPONENT_ARCHIVE)
30 COMPONENT_PROJECT_URL= https://www.gegl.org/
31 COMPONENT_FMRI= image/library/$(COMPONENT_NAME)
32 COMPONENT_CLASSIFICATION= System/Multimedia Libraries
33 COMPONENT_LICENSE= GPLv3, LGPLv3
35 include $(WS_MAKE_RULES)/common.mk
37 PATH= $(PATH.gnu)
39 # strptime needs this:
40 CFLAGS += $(XPG6MODE)
42 CONFIGURE_OPTIONS += --datadir=$(USRSHAREDIR)
43 CONFIGURE_OPTIONS += -Ddocs=false
44 CONFIGURE_OPTIONS += -Dgi-docgen=disabled
45 CONFIGURE_OPTIONS += -Dvapigen=disabled
46 CONFIGURE_OPTIONS += -Dworkshop=true
47 # libav is from encumbered
48 CONFIGURE_OPTIONS += -Dlibav=disabled
50 # gobject-introspection requires this
51 COMPONENT_BUILD_ENV += CC="$(CC)"
52 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
54 COMPONENT_TEST_ENV += LD_LIBRARY_PATH=$(BUILD_DIR_64)/gegl
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
58 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
59 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
60 REQUIRED_PACKAGES += codec/jasper
61 REQUIRED_PACKAGES += image/library/babl
62 REQUIRED_PACKAGES += image/library/lensfun
63 REQUIRED_PACKAGES += image/library/libpng16
64 REQUIRED_PACKAGES += image/library/libraw
65 REQUIRED_PACKAGES += image/library/librsvg
66 REQUIRED_PACKAGES += image/library/libtiff
67 REQUIRED_PACKAGES += library/desktop/cairo
68 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
69 REQUIRED_PACKAGES += library/desktop/json-glib
70 REQUIRED_PACKAGES += library/desktop/pango
71 REQUIRED_PACKAGES += library/glib2
72 REQUIRED_PACKAGES += library/lcms2
73 REQUIRED_PACKAGES += library/libpoppler
74 REQUIRED_PACKAGES += library/libwebp
75 REQUIRED_PACKAGES += library/openexr
76 REQUIRED_PACKAGES += library/sdl2
77 REQUIRED_PACKAGES += system/library
78 REQUIRED_PACKAGES += system/library/math