Marcel Telka
2022-01-31 b7ef23180b8258d99f0990e953e0eddbaaab32a5
commit | author | age
c5b2c2 1 #
AP 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
5 #
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
9 #
10
11 #
12 # Copyright (c) 2017 Alexander Pyhalov
13 # Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
2c2c1b 14 # Copyright (c) 2018 Michal Nowak
94dc27 15 # Copyright (c) 2021 Andreas Wacknitz
c5b2c2 16 #
94dc27 17 BUILD_BITS= 32_and_64
c5b2c2 18 include ../../../../make-rules/shared-macros.mk
AP 19
20 COMPONENT_NAME=        gnome-keyring
2c2c1b 21 COMPONENT_MJR_VERSION=    3.28
MN 22 COMPONENT_MNR_VERSION=    2
c5b2c2 23 COMPONENT_VERSION=    $(COMPONENT_MJR_VERSION).$(COMPONENT_MNR_VERSION)
94dc27 24 COMPONENT_REVISION=        1
AW 25 COMPONENT_PROJECT_URL=    https://www.gnome.org
c5b2c2 26 COMPONENT_SUMMARY=    GNOME Keyring
AP 27 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
28 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
94dc27 29 COMPONENT_ARCHIVE_HASH= sha256:81171b7d07211b216b4c9bb79bf2deb3deca18fe8d56d46dda1c4549b4a2646a
b7ef23 30 COMPONENT_ARCHIVE_URL=    https://download.gnome.org/sources/$(COMPONENT_NAME)/$(COMPONENT_MJR_VERSION)/$(COMPONENT_ARCHIVE)
c5b2c2 31 COMPONENT_CLASSIFICATION=    Desktop (GNOME)/Sessions
AP 32 COMPONENT_FMRI=        gnome/gnome-keyring
33 COMPONENT_LICENSE=    GPLv2,LGPLv2
34 COMPONENT_LICENSE_FILE= gnome-keyring.license
35
94dc27 36 include $(WS_MAKE_RULES)/common.mk
c5b2c2 37
AP 38 PATH=$(PATH.gnu)
39
2c2c1b 40 COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -fi )
c5b2c2 41
AP 42 PAM_MODULE_DIR.32 = $(USRLIBDIR)/security
43 PAM_MODULE_DIR.64 = $(PAM_MODULE_DIR.32)/$(MACH64)
44 PAM_MODULE_DIR = $(PAM_MODULE_DIR.$(BITS))
45
46 CONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
47
48 # Overwrite files in /usr/bin
49 $(INSTALL_64):    $(INSTALL_32)
50
51 CONFIGURE_OPTIONS += --sysconfdir=/etc
52 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
53 CONFIGURE_OPTIONS += --disable-selinux
54 CONFIGURE_OPTIONS += --disable-static
55 CONFIGURE_OPTIONS += --enable-gpg-agent
56 CONFIGURE_OPTIONS += --enable-pam
57 CONFIGURE_OPTIONS += --enable-shared
58 CONFIGURE_OPTIONS += --enable-ssh-agent
59 CONFIGURE_OPTIONS += --with-pam-dir=$(PAM_MODULE_DIR)
60 CONFIGURE_OPTIONS += --with-pic
61 # Linux-specific capabilities support.
62 CONFIGURE_OPTIONS += --without-libcap-ng
63
2c2c1b 64 # Auto-generated dependencies
c5b2c2 65 REQUIRED_PACKAGES += library/glib2
AP 66 REQUIRED_PACKAGES += library/gnome/gcr
67 REQUIRED_PACKAGES += system/library
68 REQUIRED_PACKAGES += system/library/security/libgcrypt