Bump opal to 3.10.10
[unleashed-userland.git] / components / clutter / Makefile
blobfa685d4013f60ead12e4a09b86a8a8bd9de10674
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.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= clutter
19 COMPONENT_VERSION= 1.6.20
20 COMPONENT_SUMMARY= clutter - a library for creating fast, visually rich and animated graphical user interfaces
21 COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Clutter
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:c5508856e51343ef0f5cf5a8526e4372ac96d31b740d6b09d37e890c653b4273
26 COMPONENT_ARCHIVE_URL= \
27 http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/1.6/$(COMPONENT_ARCHIVE)
29 include ../../make-rules/prep.mk
30 include ../../make-rules/configure.mk
31 include ../../make-rules/ips.mk
33 COMPONENT_PRE_CONFIGURE_ACTION += ( $(CLONEY) $(SOURCE_DIR) $(@D) && \
34 mkdir -p $(@D)/mesa/GL && \
35 ln -s /usr/include/mesa/*.h $(@D)/mesa/GL )
37 PATH=/usr/gnu/bin:/usr/bin
39 CONFIGURE_SCRIPT= $(@D)/configure
41 CFLAGS+= -I$(@D)/mesa
42 CXXFLAGS+= -I$(@D)/mesa
43 LDFLAGS.32 = -L/usr/lib/mesa -L/usr/X11/lib -R/usr/X11/lib -lX11
44 LDFLAGS.64 = -L/usr/lib/mesa/$(MACH64) -L/usr/X11/lib/$(MACH64) -R/usr/X11/lib/$(MACH64) -lX11
46 CONFIGURE_OPTIONS+= --sysconfdir=/etc
47 CONFIGURE_OPTIONS+= --disable-static
48 CONFIGURE_OPTIONS+= --enable-gtk-doc
50 # Tell g-ir-scanner about compiler
51 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
52 COMPONENT_BUILD_ENV += CC="$(CC)"
54 # common targets
55 build: $(BUILD_32_and_64)
57 install: $(INSTALL_32_and_64)
59 test: $(NO_TESTS)