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. |
|
14 |
# |
|
15 |
|
14c7f2
|
16 |
BUILD_STYLE=configure |
AW |
17 |
BUILD_BITS=64 |
6aaa26
|
18 |
include ../../../make-rules/shared-macros.mk |
9fb6cc
|
19 |
|
14c7f2
|
20 |
COMPONENT_NAME= clutter-gst |
AW |
21 |
COMPONENT_VERSION= 1.6.0 |
|
22 |
COMPONENT_REVISION= 3 |
|
23 |
COMPONENT_SUMMARY= gstreamer integration library for clutter |
|
24 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
25 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
9fb6cc
|
26 |
COMPONENT_ARCHIVE_HASH= \ |
14c7f2
|
27 |
sha256:abc879cdd562f1640a825131405f4327a427bfe65b805ebc25d0c78909c8c622 |
AW |
28 |
COMPONENT_ARCHIVE_URL= \ |
|
29 |
https://download.gnome.org/sources/$(COMPONENT_NAME)/1.6/$(COMPONENT_ARCHIVE) |
|
30 |
COMPONENT_PROJECT_URL= http://www.clutter-project.org/ |
9fb6cc
|
31 |
|
14c7f2
|
32 |
TEST_TARGET=$(NO_TESTS) |
AW |
33 |
include $(WS_MAKE_RULES)/common.mk |
9fb6cc
|
34 |
|
6aaa26
|
35 |
PATH=$(PATH.gnu) |
9fb6cc
|
36 |
|
AP |
37 |
CFLAGS += -I/usr/X11/include |
|
38 |
LDFLAGS += -lgdk_pixbuf-2.0 |
|
39 |
|
f7cd98
|
40 |
COMPONENT_PREP_ACTION = (cd $(@D) && autoreconf -fi) |
AP |
41 |
|
9fb6cc
|
42 |
CONFIGURE_OPTIONS += --sysconfdir=/etc |
AP |
43 |
CONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib |
|
44 |
CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64) |
|
45 |
|
|
46 |
# Tell g-ir-scanner about compiler |
|
47 |
COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)" |
|
48 |
COMPONENT_BUILD_ENV += CC="$(CC)" |
|
49 |
|
14c7f2
|
50 |
# Build dependencies |
AW |
51 |
REQUIRED_PACKAGES += library/desktop/json-glib |
6aaa26
|
52 |
|
AL |
53 |
# Auto-generated dependencies |
|
54 |
REQUIRED_PACKAGES += library/audio/gstreamer |
|
55 |
REQUIRED_PACKAGES += library/audio/gstreamer/plugin/base |
|
56 |
REQUIRED_PACKAGES += library/desktop/clutter |
|
57 |
REQUIRED_PACKAGES += library/glib2 |
|
58 |
REQUIRED_PACKAGES += system/library |
|
59 |
REQUIRED_PACKAGES += x11/library/libx11 |