commit | author | age
|
9fb6cc
|
1 |
# |
AP |
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. |
|
6 |
# |
|
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. |
|
10 |
# |
|
11 |
|
|
12 |
# |
|
13 |
# Copyright 2014 Alexander Pyhalov. All rights reserved. |
243c8a
|
14 |
# Copyright 2023 Friedrich Kink. All rights reserved. |
9fb6cc
|
15 |
# |
AP |
16 |
|
14c7f2
|
17 |
BUILD_STYLE=configure |
AW |
18 |
BUILD_BITS=64 |
108248
|
19 |
include ../../../make-rules/shared-macros.mk |
9fb6cc
|
20 |
|
14c7f2
|
21 |
COMPONENT_NAME= clutter-gtk |
243c8a
|
22 |
COMPONENT_VERSION= 1.8.4 |
14c7f2
|
23 |
COMPONENT_SUMMARY= GTK+ integration library for clutter |
243c8a
|
24 |
COMPONENT_FMRI= library/desktop/clutter/clutter-gtk |
14c7f2
|
25 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
243c8a
|
26 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
9fb6cc
|
27 |
COMPONENT_ARCHIVE_HASH= \ |
243c8a
|
28 |
sha256:521493ec038973c77edcb8bc5eac23eed41645117894aaee7300b2487cb42b06 |
14c7f2
|
29 |
COMPONENT_ARCHIVE_URL= \ |
243c8a
|
30 |
https://download.gnome.org/sources/$(COMPONENT_NAME)/1.8/$(COMPONENT_ARCHIVE) |
14c7f2
|
31 |
COMPONENT_PROJECT_URL= http://www.clutter-project.org/ |
9fb6cc
|
32 |
|
14c7f2
|
33 |
TEST_TARGET=$(NO_TESTS) |
AW |
34 |
include $(WS_MAKE_RULES)/common.mk |
9fb6cc
|
35 |
|
AP |
36 |
PATH = /usr/gnu/bin:/usr/bin |
|
37 |
|
|
38 |
COMPONENT_PREP_ACTION = ( cd $(@D) && \ |
|
39 |
aclocal -I./build/autotools && \ |
|
40 |
autoheader && \ |
|
41 |
libtoolize --automake --copy --force && \ |
|
42 |
automake -a -f -c &&\ |
|
43 |
autoconf ) |
|
44 |
|
|
45 |
LDFLAGS += -lm -lgthread-2.0 |
|
46 |
|
|
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) |
|
51 |
|
|
52 |
# Tell g-ir-scanner about compiler |
|
53 |
COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)" |
|
54 |
COMPONENT_BUILD_ENV += CC="$(CC)" |
108248
|
55 |
|
AL |
56 |
# Build dependencies |
|
57 |
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
|
58 |
|
|
59 |
# Auto-generated dependencies |
243c8a
|
60 |
REQUIRED_PACKAGES += library/desktop/cairo |
108248
|
61 |
REQUIRED_PACKAGES += library/desktop/clutter |
243c8a
|
62 |
REQUIRED_PACKAGES += library/desktop/cogl |
108248
|
63 |
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
243c8a
|
64 |
REQUIRED_PACKAGES += library/desktop/gtk3 |
108248
|
65 |
REQUIRED_PACKAGES += library/glib2 |
AL |
66 |
REQUIRED_PACKAGES += system/library |