openexr: make architecture independent
[oi-userland.git] / components / library / libgdl / Makefile
bloba0fb9f4036335d95d36d51c9b74bac436d07a2c6
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2018 Jason Martin
23 include ../../../make-rules/shared-macros.mk
25 COMPONENT_NAME= gdl
26 COMPONENT_VERSION= 3.28.0
27 COMPONENT_REVISION= 2
28 COMPONENT_SUMMARY= Gnome Docking library
29 COMPONENT_LICENSE = LGPLv2
30 COMPONENT_PROJECT_URL= https://developer.gnome.org/gdl/
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
33 COMPONENT_ARCHIVE_HASH= \
34 sha256:52cc98ecc105148467b3b2b4e0d27ae484b1b6710d53413f771ed07ef1b737b6
35 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/gdl/3.28/$(COMPONENT_ARCHIVE)
36 COMPONENT_CLASSIFICATION= Development/GNOME and GTK+
37 COMPONENT_FMRI= library/libgdl
39 include $(WS_MAKE_RULES)/prep.mk
40 include $(WS_MAKE_RULES)/configure.mk
41 include $(WS_MAKE_RULES)/ips.mk
43 PATH=$(PATH.gnu)
45 # gobject-introspection
46 COMPONENT_BUILD_ENV += CC="$(CC)"
47 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
49 build: $(BUILD_32_and_64)
51 install: $(INSTALL_32_and_64)
53 # creates test-dock in build arch/gdl
54 test: $(TEST_32_and_64)
56 REQUIRED_PACKAGES += library/desktop/cairo
57 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
58 REQUIRED_PACKAGES += library/desktop/gtk3
59 REQUIRED_PACKAGES += library/glib2
60 REQUIRED_PACKAGES += library/libxml2
61 REQUIRED_PACKAGES += system/library