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.
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.
12 # Copyright 2023 Niklas Poslovski
13 # Copyright 2023 Andreas Wacknitz
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= libayatana-appindicator
21 COMPONENT_VERSION
= 0.5.93
23 COMPONENT_SUMMARY
= Ayatana Application Indicators shared library
24 COMPONENT_PROJECT_URL
= https
://github.com
/AyatanaIndicators
/libayatana-appindicator
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= sha256
:cbefed7a918a227bf71286246e237fcd3a9c8499b3eaac4897811a869409edf0
28 COMPONENT_ARCHIVE_URL
= https
://github.com
/AyatanaIndicators
/$(COMPONENT_NAME
)/archive
/refs
/tags/$(COMPONENT_VERSION
).
tar.gz
29 COMPONENT_FMRI
= desktop
/library
/libayatana-appindicator
30 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
31 COMPONENT_LICENSE
= LGPLv3
, LGPLv2.1
, GPLv3
33 include $(WS_MAKE_RULES
)/common.mk
35 # Building tests expects the headers to be installed already. This is a crude workaround which uses an already installed version.
36 CFLAGS
+= -I
/usr
/include/libayatana-appindicator3-0.1
38 CMAKE_OPTIONS
+= -DENABLE_TESTS
=ON
39 CMAKE_OPTIONS
+= -DENABLE_BINDINGS_MONO
=Off
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES
+= desktop
/library
/libayatana-indicator
43 REQUIRED_PACKAGES
+= desktop
/library
/libdbusmenu
44 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
45 REQUIRED_PACKAGES
+= library
/glib2
46 REQUIRED_PACKAGES
+= system
/library