Marcel Telka
2024-04-03 72d66ff28ec33bc2c05b355c6218d98d13b79450
commit | author | age
30b3bc 1 #
NP 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 2023 Niklas Poslovski
ef1695 13 # Copyright 2023 Andreas Wacknitz
30b3bc 14 #
NP 15
16 BUILD_STYLE= cmake
69feee 17 USE_DEFAULT_TEST_TRANSFORMS= yes
30b3bc 18 include ../../../make-rules/shared-macros.mk
NP 19
20 COMPONENT_NAME=         libayatana-appindicator
ef1695 21 COMPONENT_VERSION=      0.5.93
69feee 22 COMPONENT_REVISION=        1
30b3bc 23 COMPONENT_SUMMARY=      Ayatana Application Indicators shared library
ef1695 24 COMPONENT_PROJECT_URL=  https://github.com/AyatanaIndicators/libayatana-appindicator
30b3bc 25 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
NP 26 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
ef1695 27 COMPONENT_ARCHIVE_HASH= sha256:cbefed7a918a227bf71286246e237fcd3a9c8499b3eaac4897811a869409edf0
30b3bc 28 COMPONENT_ARCHIVE_URL=  https://github.com/AyatanaIndicators/$(COMPONENT_NAME)/archive/refs/tags/$(COMPONENT_VERSION).tar.gz
ef1695 29 COMPONENT_FMRI=         desktop/library/libayatana-appindicator
AW 30 COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
31 COMPONENT_LICENSE=      LGPLv3, LGPLv2.1, GPLv3
30b3bc 32
NP 33 include $(WS_MAKE_RULES)/common.mk
34
ef1695 35 # Building tests expects the headers to be installed already. This is a crude workaround which uses an already installed version.
AW 36 CFLAGS += -I/usr/include/libayatana-appindicator3-0.1
37
38 CMAKE_OPTIONS += -DENABLE_TESTS=ON
30b3bc 39 CMAKE_OPTIONS += -DENABLE_BINDINGS_MONO=Off
ef1695 40
30b3bc 41 # Auto-generated dependencies
NP 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