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 2014 Alexander Pyhalov. All rights reserved.
14 # Copyright 2023 Friedrich Kink. All rights reserved.
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= clutter-gtk
22 COMPONENT_VERSION
= 1.8.4
23 COMPONENT_SUMMARY
= GTK
+ integration library for clutter
24 COMPONENT_FMRI
= library
/desktop
/clutter
/clutter-gtk
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:521493ec038973c77edcb8bc5eac23eed41645117894aaee7300b2487cb42b06
29 COMPONENT_ARCHIVE_URL
= \
30 https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/1.8/$(COMPONENT_ARCHIVE
)
31 COMPONENT_PROJECT_URL
= http
://www.clutter-project.org
/
33 TEST_TARGET
=$(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/common.mk
36 PATH
= /usr
/gnu
/bin
:/usr
/bin
38 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
39 aclocal
-I.
/build
/autotools
&& \
41 libtoolize
--automake
--copy
--force && \
45 LDFLAGS
+= -lm
-lgthread-2.0
47 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
48 CONFIGURE_OPTIONS
+= --disable-static
49 CONFIGURE_OPTIONS
.32 += --libexecdir
=/usr
/lib
50 CONFIGURE_OPTIONS
.64 += --libexecdir
=/usr
/lib
/$(MACH64
)
52 # Tell g-ir-scanner about compiler
53 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
54 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
57 REQUIRED_PACKAGES
+= library
/desktop
/gobject
/gobject-introspection
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES
+= library
/desktop
/cairo
61 REQUIRED_PACKAGES
+= library
/desktop
/clutter
62 REQUIRED_PACKAGES
+= library
/desktop
/cogl
63 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
64 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
65 REQUIRED_PACKAGES
+= library
/glib2
66 REQUIRED_PACKAGES
+= system
/library