ffmpeg: fix dependencies
[oi-userland.git] / components / encumbered / gst-rtsp-server1 / Makefile
blob7a009a77b4b9b660b56eb84fa7844c471a120316
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 2022-2023 Niklas Poslovski
16 BUILD_STYLE= meson
17 USE_DEFAULT_TEST_TRANSFORMS = yes
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= gst-rtsp-server
22 COMPONENT_VERSION= 1.24.10
23 COMPONENT_SUMMARY= Multimedia graph framework - rtsp server
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
26 COMPONENT_ARCHIVE_HASH= sha256:db21dfdd7bf2e718564d557378ada5358b411efe2a3e89e9f0f87a74537e2adc
27 COMPONENT_PROJECT_URL= https://gstreamer.freedesktop.org
28 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/src/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
29 COMPONENT_FMRI= library/audio/gstreamer1/rtsp-server
30 COMPONENT_CLASSIFICATION= System/Multimedia Libraries
31 COMPONENT_LICENSE= LGPL-2.1-only
32 COMPONENT_LICENSE_FILE= COPYING
34 include $(WS_MAKE_RULES)/encumbered.mk
35 include $(WS_MAKE_RULES)/common.mk
37 # Dynamic library version number
38 SOVER := 0.$(shell printf '%02s%02s' $(wordlist 2,3,$(subst ., ,$(COMPONENT_VERSION)))).0
39 SOVER_RE = $(subst .,\.,$(SOVER))
41 # Replace library version number by SOVER
42 GENERATE_EXTRA_CMD += | $(GSED) -e 's/$(SOVER_RE)/$$(SOVER)/'
44 # SOVER is needed for manifest processing
45 PKG_MACROS += SOVER=$(SOVER)
47 # build dependency not detected by REQUIRED_PACKAGES
48 REQUIRED_PACKAGES += system/header/header-audio
49 REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/bad
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += library/audio/gstreamer1
53 REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/base
54 REQUIRED_PACKAGES += library/glib2
55 REQUIRED_PACKAGES += system/library