clang-19 - new package clang 19.1.5
[oi-userland.git] / make-rules / encumbered.mk
blob4c2cb365defa652b770c69b651355123bd946466
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 2015 Alexander Pyhalov
16 WS_REPO = $(WS_TOP)/$(MACH)/encumbered-repo
18 COMPONENT_PKGLINT_ENV += ENCUMBERED=true
20 PUBLISHER = hipster-encumbered
22 BASS_O_MATIC = $(WS_TOOLS)/bass-o-matic --subdir=components/encumbered
24 ENCUMBERED = encumbered/
26 # Support for building with the (non-default) ffmpeg version 6
27 ifeq ($(strip $(FFMPEG_VERSION)),6)
28 PKG_CONFIG_PATH.64 := /usr/lib/$(MACH64)/pkgconfig/ffmpeg-6:$(PKG_CONFIG_PATH.64)
29 endif
31 # If a component needs ffmpeg libraries then it also needs ffmpeg development
32 # files (the versioned developer/ffmpeg package) for building. To avoid the
33 # need to manually add the ffmpeg development package into the
34 # REQUIRED_PACKAGES list of all components that needs it we do so automatically
35 # here.
37 # Since both ffmpeg libraries package and ffmpeg development package are
38 # encumbered we do this here instead of ips.mk.
39 REQUIRED_PACKAGES_TRANSFORM += -e '/ library\/ffmpeg/{p;s/library/developer/}'