rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / desktop / lightdm / Makefile
blob0940147f08265cbcd26ec07367fdbe57eeec6bb9
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 2016 Alexander Pyhalov
14 # Copyright 2019 Michal Nowak
17 BUILD_BITS= 64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= lightdm
21 COMPONENT_VERSION= 1.30.0
22 COMPONENT_REVISION= 4
23 COMPONENT_SUMMARY= Light display manager
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
26 COMPONENT_ARCHIVE_HASH= sha256:a118779650a3a5b20f05d53c4f9e377b484fbc1810a6b0914a60840d9a581f95
27 COMPONENT_ARCHIVE_URL= https://github.com/CanonicalLtd/lightdm/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL= https://www.freedesktop.org/wiki/Software/LightDM/
29 COMPONENT_FMRI= system/display-manager/lightdm
30 COMPONENT_CLASSIFICATION= Desktop (GNOME)/Sessions
31 COMPONENT_LICENSE= GPLv3
32 COMPONENT_LICENSE_FILE= COPYING.GPL3
34 TEST_TARGET= $(NO_TESTS)
35 include $(WS_MAKE_RULES)/common.mk
37 PATH= $(PATH.gnu)
39 COMPONENT_PREP_ACTION= ( cd $(@D) && PATH="$(PATH)" autoreconf -f -i )
41 CPPFLAGS += $(CPP_XPG7MODE)
43 CONFIGURE_OPTIONS += --sysconfdir=/etc
44 CONFIGURE_OPTIONS += --localstatedir=/var
45 CONFIGURE_OPTIONS += --libexecdir=$(USRLIBEXECDIR)
46 CONFIGURE_OPTIONS += --disable-tests
47 CONFIGURE_OPTIONS += --with-greeter-session=lightdm-gtk-greeter
48 CONFIGURE_OPTIONS += --with-user-session=mate
50 CONFIGURE_ENV += XGETTEXT=/usr/gnu/bin/xgettext
52 # gobject-introspection
53 COMPONENT_BUILD_ENV += CC="$(CC)"
54 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
56 # Manually added build dependencies
57 REQUIRED_PACKAGES += library/gnome/yelp-tools
58 REQUIRED_PACKAGES += library/gnome/yelp-xsl
59 # libxml2 is required for xmllint
60 REQUIRED_PACKAGES += library/libxml2
61 REQUIRED_PACKAGES += text/itstool
62 # Required by include of sys/soundcard.h in 13-save-audio-settings.patch
63 REQUIRED_PACKAGES += system/header/header-audio
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES += SUNWcs
67 REQUIRED_PACKAGES += library/desktop/libxklavier
68 REQUIRED_PACKAGES += library/glib2
69 REQUIRED_PACKAGES += shell/ksh93
70 REQUIRED_PACKAGES += system/library
71 REQUIRED_PACKAGES += system/library/security/libgcrypt
72 REQUIRED_PACKAGES += x11/library/libx11
73 REQUIRED_PACKAGES += x11/library/libxcb
74 REQUIRED_PACKAGES += x11/library/libxdmcp