Marcel Telka
2024-04-03 72d66ff28ec33bc2c05b355c6218d98d13b79450
commit | author | age
a08fc5 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
13 #
14
15 BUILD_STYLE= cmake
03f70b 16 USE_DEFAULT_TEST_TRANSFORMS= yes
a08fc5 17 include ../../../make-rules/shared-macros.mk
NP 18
19 COMPONENT_NAME=         libayatana-indicator
8491ec 20 COMPONENT_VERSION=      0.9.4
03f70b 21 COMPONENT_REVISION=        1
a08fc5 22 COMPONENT_SUMMARY=      Ayatana Indicators shared library
8491ec 23 COMPONENT_PROJECT_URL=  https://github.com/AyatanaIndicators/libayatana-indicator
a08fc5 24 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
NP 25 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
8491ec 26 COMPONENT_ARCHIVE_HASH= sha256:a18d3c682e29afd77db24366f8475b26bda22b0e16ff569a2ec71cd6eb4eac95
a08fc5 27 COMPONENT_ARCHIVE_URL=  https://github.com/AyatanaIndicators/$(COMPONENT_NAME)/archive/refs/tags/$(COMPONENT_VERSION).tar.gz
8491ec 28 COMPONENT_FMRI=         desktop/library/libayatana-indicator
a08fc5 29 COMPONENT_CLASSIFICATION=       Desktop (GNOME)/Libraries
NP 30 COMPONENT_LICENSE=      GPLv3
8491ec 31 COMPONENT_LICENSE_FILE= COPYING
a08fc5 32
NP 33 include $(WS_MAKE_RULES)/common.mk
34
03f70b 35 # /usr/lib/$(MACH64) needed to make dbus-daemon program available for tests
AW 36 PATH = $(PATH.illumos):/usr/lib:/usr/lib/$(MACH64)
a08fc5 37
03f70b 38 CMAKE_OPTIONS += -DENABLE_TESTS=On
a08fc5 39
NP 40 # Manually added test dependency
8491ec 41 TEST_REQUIRED_PACKAGES += developer/dbus-test-runner
a08fc5 42
NP 43 # Auto-generated dependencies
44 REQUIRED_PACKAGES += desktop/library/ayatana-ido
45 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
46 REQUIRED_PACKAGES += library/desktop/gtk3
47 REQUIRED_PACKAGES += library/glib2
48 REQUIRED_PACKAGES += system/library
49 REQUIRED_PACKAGES += system/library/math