rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / desktop / libdbusmenu / Makefile
blob77086e820f8672f9c0962a41240721c6cce9c3dc
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
15 USE_DEFAULT_TEST_TRANSFORMS= yes
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libdbusmenu
19 COMPONENT_VERSION= 16.0.4.0
20 HUMAN_VERSION= 16.04.0
21 COMPONENT_REVISION= 3
22 COMPONENT_SUMMARY= Library for passing menus over DBus
23 COMPONENT_PROJECT_URL= https://launchpad.net/libdbusmenu
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_HASH= sha256:b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a
27 COMPONENT_ARCHIVE_URL= https://launchpad.net/$(COMPONENT_NAME)/16.04/$(HUMAN_VERSION)/+download/$(COMPONENT_ARCHIVE)
28 COMPONENT_FMRI= desktop/library/libdbusmenu
29 COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
30 COMPONENT_LICENSE= GPLv3, LGPLv2.1, LGPLv3
32 include $(WS_MAKE_RULES)/common.mk
34 PATH= $(PATH.gnu)
36 CONFIGURE_OPTIONS += --disable-static
37 CONFIGURE_OPTIONS += --with-gtk=3
39 # pkgdepend doesn't like the first line of a Python script to be '#!/usr/bin/env python'
40 # so turn it into '#!/usr/bin/python$(PYTHON_VERSION)'
41 COMPONENT_POST_INSTALL_ACTION += \
42 $(GSED) -i -e 's?\/usr\/bin\/env\ python?\/usr\/bin\/python$(PYTHON_VERSION)?' \
43 $(PROTO_DIR)/usr/libexec/dbusmenu-bench ;
45 unexport SHELLOPTS
47 # Manually added dependencies
48 TEST_REQUIRED_PACKAGES += developer/dbus-test-runner
50 # Auto-generated dependencies
51 PYTHON_REQUIRED_PACKAGES += library/python/python-dbus
52 PYTHON_REQUIRED_PACKAGES += runtime/python
53 REQUIRED_PACKAGES += library/desktop/atk
54 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
55 REQUIRED_PACKAGES += library/desktop/gtk2
56 REQUIRED_PACKAGES += library/desktop/gtk3
57 REQUIRED_PACKAGES += library/desktop/json-glib
58 REQUIRED_PACKAGES += library/desktop/pango
59 REQUIRED_PACKAGES += library/glib2
60 REQUIRED_PACKAGES += system/library
61 REQUIRED_PACKAGES += x11/library/libx11