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-gst
22 COMPONENT_VERSION
= 3.0.27
23 COMPONENT_FMRI
= library
/desktop
/clutter
/clutter-gst
24 COMPONENT_SUMMARY
= gstreamer integration library for clutter
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:fe69bd6c659d24ab30da3f091eb91cd1970026d431179b0724f13791e8ad9f9d
29 COMPONENT_ARCHIVE_URL
= \
30 https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/3.0/$(COMPONENT_ARCHIVE
)
31 COMPONENT_PROJECT_URL
= http
://www.clutter-project.org
/
33 TEST_TARGET
=$(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/common.mk
38 CFLAGS
+= -I
/usr
/X11
/include
39 LDFLAGS
+= -lgdk_pixbuf-2.0
41 COMPONENT_PREP_ACTION
= (cd
$(@D
) && autoreconf
-fi
)
43 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
44 CONFIGURE_OPTIONS
.32 += --libexecdir
=/usr
/lib
45 CONFIGURE_OPTIONS
.64 += --libexecdir
=/usr
/lib
/$(MACH64
)
47 # Tell g-ir-scanner about compiler
48 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
49 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
52 REQUIRED_PACKAGES
+= library
/desktop
/json-glib
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
56 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/base
57 REQUIRED_PACKAGES
+= library
/desktop
/clutter
58 REQUIRED_PACKAGES
+= library
/desktop
/cogl
59 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
60 REQUIRED_PACKAGES
+= library
/glib2
61 REQUIRED_PACKAGES
+= system
/library
62 REQUIRED_PACKAGES
+= system
/library
/math
63 REQUIRED_PACKAGES
+= x11
/library
/libx11