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]
23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2019, Michal Nowak
25 # Copyright (c) 2022, 2024, Andreas Wacknitz
29 USE_DEFAULT_TEST_TRANSFORMS
= yes
30 include ..
/..
/..
/make-rules
/shared-macros.mk
33 COMPONENT_MJR_VERSION
= 3.41
34 COMPONENT_VERSION
= $(COMPONENT_MJR_VERSION
).2
36 COMPONENT_SUMMARY
= A GNOME library for displaying certificates and crypto UI
37 COMPONENT_PROJECT_URL
= https
://gitlab.gnome.org
/GNOME
/gcr
/
38 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
39 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
40 COMPONENT_ARCHIVE_HASH
= sha256
:bad10f3c553a0e1854649ab59c5b2434da22ca1a54ae6138f1f53961567e1ab7
41 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/$(COMPONENT_MJR_VERSION
)/$(COMPONENT_ARCHIVE
)
42 COMPONENT_PROJECT_URL
= https
://github.com
/GNOME
/gcr
43 COMPONENT_FMRI
= library
/gnome
/$(COMPONENT_NAME
)
44 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
45 COMPONENT_LICENSE
= GPLv2
46 COMPONENT_LICENSE_FILE
= COPYING
48 include $(WS_MAKE_RULES
)/common.mk
52 CONFIGURE_OPTIONS
+= --libexecdir
="$(USRLIBEXECDIR)"
53 CONFIGURE_OPTIONS
+= --localstatedir
="$(VARDIR)"
54 CONFIGURE_OPTIONS
+= --sysconfdir
="$(ETCDIR)"
56 # Assumes GNU xgettext in PATH.
57 CONFIGURE_ENV
+= PATH
=$(PATH.gnu
)
58 CONFIGURE_ENV
+= GLIB_COMPILE_SCHEMAS
=/usr
/bin
/glib-compile-schemas
60 # Prevent a build error on the build server
61 COMPONENT_BUILD_ENV
+= HOME
="/tmp"
67 CC_PIC_MODE
= $(CC_PIC_DISABLE
)
68 LD_Z_PIE_MODE
= $(LD_Z_PIE_DISABLE
)
70 # gobject-introspection
71 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
72 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
74 # Manually added build dependencies
75 PYTHON_REQUIRED_PACKAGES
+= library
/python
/gi-docgen
76 REQUIRED_PACKAGES
+= crypto
/gnupg
77 REQUIRED_PACKAGES
+= developer
/documentation-tool
/doxygen
78 REQUIRED_PACKAGES
+= developer
/documentation-tool
/gtk-doc
79 REQUIRED_PACKAGES
+= developer
/vala
80 REQUIRED_PACKAGES
+= library
/desktop
/gobject
/gobject-introspection
81 REQUIRED_PACKAGES
+= library
/security
/libgpg-error
83 # Auto-generated dependencies
84 REQUIRED_PACKAGES
+= library
/desktop
/cairo
85 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
86 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
87 REQUIRED_PACKAGES
+= library
/desktop
/p11-kit
88 REQUIRED_PACKAGES
+= library
/desktop
/pango
89 REQUIRED_PACKAGES
+= library
/glib2
90 REQUIRED_PACKAGES
+= library
/libsecret
91 REQUIRED_PACKAGES
+= system
/library
92 REQUIRED_PACKAGES
+= system
/library
/security
/libgcrypt