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
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 2024 Marcel Telka
16 BUILD_BITS
= 64_and_32
18 USE_DEFAULT_TEST_TRANSFORMS
= yes
20 include ..
/..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_NAME
= at-spi2-core
24 COMPONENT_SUMMARY
= DBus interface definitions for AT-SPI
(Assistive Technology Service Provider Interface
)
25 COMPONENT_ARCHIVE_HASH
= sha256
:f0729e5c8765feb1969bb6c1fba18afa2582126b0359aa75a173fda1acf93c4c
26 COMPONENT_FMRI
= gnome
/accessibility
/at-spi2-core
27 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
28 COMPONENT_LICENSE
= LGPL-2.1
-only
29 COMPONENT_LICENSE_FILE
= COPYING
31 COMPONENT_FMRI.
$(COMPONENT_NAME
)-32 = $(COMPONENT_FMRI
)/32
32 COMPONENT_SUMMARY.
$(COMPONENT_NAME
)-32 = $(COMPONENT_SUMMARY
) (32-bit
)
34 include $(WS_MAKE_RULES
)/gnome.mk
35 include $(WS_MAKE_RULES
)/common.mk
37 # There is no 32-bit introspection
38 CONFIGURE_OPTIONS
.32 += -Dintrospection
=disabled
40 # We do not need the systemd service file (obviously)
41 COMPONENT_POST_INSTALL_ACTION
+= $(RM
) $(PROTOUSRLIBDIR
)/systemd
/user
/at-spi-dbus-bus.service
;
43 # Drop etc files installed for 32-bit build
44 COMPONENT_POST_INSTALL_ACTION
.32 += $(RM
) -r
$(PROTOETCDIR
) ;
45 # Drop include files installed for 32-bit build
46 COMPONENT_POST_INSTALL_ACTION
.32 += $(RM
) -r
$(PROTOUSRINCDIR
) ;
47 # Drop share files installed for 32-bit build
48 COMPONENT_POST_INSTALL_ACTION
.32 += $(RM
) -r
$(PROTOUSRSHAREDIR
) ;
50 # Testing needs dbus up and running
51 TEST_REQUIRED_PACKAGES
+= system
/library
/dbus
/dbus-x11
52 COMPONENT_PRE_TEST_ACTION
+= /usr
/bin
/dbus-launch
> $(BUILD_DIR_
$(BITS
))/.dbus-env
;
53 COMPONENT_TEST_ENV
+= $$($(CAT
) $(BUILD_DIR_
$(BITS
))/.dbus-env
)
54 COMPONENT_POST_TEST_ACTION
+= .
$(BUILD_DIR_
$(BITS
))/.dbus-env
; kill
$$DBUS_SESSION_BUS_PID ; $(RM
) $(BUILD_DIR_
$(BITS
))/.dbus-env
;
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES
+= library
/glib2
58 REQUIRED_PACKAGES
+= library
/glib2
/32
59 REQUIRED_PACKAGES
+= system
/library
60 REQUIRED_PACKAGES
+= system
/library
/libdbus
61 REQUIRED_PACKAGES
+= x11
/library
/libx11
62 REQUIRED_PACKAGES
+= x11
/library
/libxi
63 REQUIRED_PACKAGES
+= x11
/library
/libxtst