rebuild ffmpeg for libvpx-1.15.0; fix gcc-14 problem; add patch for new
[oi-userland.git] / components / developer / blueprint-compiler / Makefile
blob3b5372986563d08b8c9334373ba2046b90033ab5
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
5 # 1.0 of the CDDL.
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 Geoff Weiss
16 include ../../../make-rules/shared-macros.mk
17 ENV= /usr/bin/env
19 COMPONENT_NAME= blueprint-compiler
20 COMPONENT_VERSION= 0.14.0
21 COMPONENT_SUMMARY= A markup language for GTK user interface files.
22 COMPONENT_SRC= $(COMPONENT_NAME)-v$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH= sha256:2be7682be51b6cbd64ab6775ee6d5806bf18c599d503056eaa4e58f1705be22b
25 COMPONENT_ARCHIVE_URL= https://gitlab.gnome.org/jwestman/$(COMPONENT_NAME)/-/archive/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
26 COMPONENT_PROJECT_URL= https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/
27 COMPONENT_LICENSE= LGPLv3
28 COMPONENT_LICENSE_FILE= COPYING
29 COMPONENT_CLASSIFICATION= Development/GNOME and GTK+
30 COMPONENT_FMRI= developer/$(COMPONENT_NAME)
32 BUILD_STYLE= meson
34 include $(WS_MAKE_RULES)/common.mk
36 PATH=$(PATH.gnu)
38 PYTHON_VENDOR_PACKAGES = /usr/lib/python$(PYVER)/vendor-packages
40 COMPONENT_POST_INSTALL_ACTION += \
41 $(GSED) -i 's/env\ python3/python$(PYTHON_VERSION)/' $(PROTOUSRBINDIR)/blueprint-compiler ;
43 # Marcel wants files in vendor-packages instead of where python wants to put them by default
44 COMPONENT_POST_INSTALL_ACTION += \
45 $(GSED) -i 's/site-packages/vendor-packages/' $(PROTOUSRBINDIR)/blueprint-compiler ; \
46 $(MV) $(PROTOUSRLIBDIR)/python$(PYTHON_VERSION)/site-packages $(PROTOUSRLIBDIR)/python$(PYTHON_VERSION)/vendor-packages ;
48 # Auto-generated dependencies
49 PYTHON_REQUIRED_PACKAGES += runtime/python