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
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
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= gst-rtsp-server
22 COMPONENT_VERSION
= 1.24.11
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
:d147ff75bc445235fe0a4a4714c26d6b7bf9a485a1ae3a722bd530ab28f98bd3
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