vim: update to 9.1.0984
[oi-userland.git] / components / library / clutter / Makefile
blob949bf6c87faae192c182b778e55d3eee1ac99381
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 2014 Alexander Pyhalov. All rights reserved.
14 # Copyright 2023 Friedrich Kink. All rights reserved.
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= clutter
20 COMPONENT_VERSION= 1.26.4
21 COMPONENT_SUMMARY= clutter - a library for creating fast, visually rich and animated graphical user interfaces
22 COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Clutter
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
25 COMPONENT_ARCHIVE_HASH= sha256:8b48fac159843f556d0a6be3dbfc6b083fc6d9c58a20a49a6b4919ab4263c4e6
26 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/1.26/$(COMPONENT_ARCHIVE)
28 TEST_TARGET= $(NO_TESTS)
29 include $(WS_MAKE_RULES)/common.mk
31 PATH= $(PATH.gnu)
33 CFLAGS+= -I$(@D)/mesa
34 CXXFLAGS+= -I$(@D)/mesa
35 LDFLAGS.64 = -L/usr/lib/mesa/$(MACH64) -L/usr/X11/lib/$(MACH64) -R/usr/X11/lib/$(MACH64) -lX11
37 CONFIGURE_OPTIONS += --sysconfdir=/etc
38 CONFIGURE_OPTIONS += --disable-static
39 CONFIGURE_OPTIONS += --enable-egl-backend=no
40 CONFIGURE_OPTIONS += --enable-gtk-doc
42 # Tell g-ir-scanner about compiler
43 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
44 COMPONENT_BUILD_ENV += CC="$(CC)"
46 # Manually added dependencies
47 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES += library/desktop/atk
51 REQUIRED_PACKAGES += library/desktop/cairo
52 REQUIRED_PACKAGES += library/desktop/cogl
53 REQUIRED_PACKAGES += library/desktop/gtk3
54 REQUIRED_PACKAGES += library/desktop/json-glib
55 REQUIRED_PACKAGES += library/desktop/pango
56 REQUIRED_PACKAGES += library/glib2
57 REQUIRED_PACKAGES += system/library
58 REQUIRED_PACKAGES += system/library/fontconfig
59 REQUIRED_PACKAGES += system/library/math
60 REQUIRED_PACKAGES += x11/library/libx11
61 REQUIRED_PACKAGES += x11/library/libxcomposite
62 REQUIRED_PACKAGES += x11/library/libxdamage
63 REQUIRED_PACKAGES += x11/library/libxi