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-editing-services
22 COMPONENT_VERSION
= 1.24.9
23 COMPONENT_SUMMARY
= Multimedia graph framework
- editing services
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
26 COMPONENT_ARCHIVE_HASH
= sha256
:07506e53bec6c54ec1dfaa5033bad8df42d2f217451822b4c8bf783ef8a27012
27 COMPONENT_PROJECT_URL
= https
://gstreamer.freedesktop.org
28 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/src
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
30 COMPONENT_FMRI
= library
/audio
/gstreamer1
/editing-services
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 # We use python vendor-packages instead of site-packages
38 COMPONENT_POST_INSTALL_ACTION
+= \
39 cd
$(PROTOUSRLIBDIR
)/python
$(PYTHON_VERSION
) ; \
40 $(RM
) -r vendor-packages
; \
41 $(MV
) site-packages vendor-packages
;
43 # Dynamic library version number
44 SOVER
:= 0.
$(shell printf
'%02s%02s' $(wordlist
2,3,$(subst .
, ,$(COMPONENT_VERSION
)))).0
45 SOVER_RE
= $(subst .
,\.
,$(SOVER
))
47 # Replace library version number by SOVER
48 GENERATE_EXTRA_CMD
+= |
$(GSED
) -e
's/$(SOVER_RE)/$$(SOVER)/'
50 # SOVER is needed for manifest processing
51 PKG_MACROS
+= SOVER
=$(SOVER
)
53 # Dependencies not detected by REQUIRED_PACKAGES
54 REQUIRED_PACKAGES
+= system
/header
/header-audio
55 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/bad
56 REQUIRED_PACKAGES
+= utility
/bash-completion
58 # Auto-generated dependencies
59 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
60 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
61 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/devtools
62 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/base
63 REQUIRED_PACKAGES
+= library
/glib2
64 REQUIRED_PACKAGES
+= library
/libxml2
65 REQUIRED_PACKAGES
+= system
/library
66 REQUIRED_PACKAGES
+= system
/library
/math