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-devtools
22 COMPONENT_VERSION
= 1.24.9
23 COMPONENT_SUMMARY
= Multimedia graph framework
- devtools
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
26 COMPONENT_ARCHIVE_HASH
= sha256
:cf1de1aafa6eb4fd0365932b251528e2340b88697541e021628c5f7259970fb8
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
/devtools
30 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
31 COMPONENT_LICENSE
= LGPL-2.1
-only
32 COMPONENT_LICENSE_FILE
= validate
/COPYING
34 include $(WS_MAKE_RULES
)/encumbered.mk
35 include $(WS_MAKE_RULES
)/common.mk
37 PYTHON_SCRIPTS
+= usr
/bin
/gst-validate-launcher
39 # Python modules are installed in non-default location so make sure pkgdepend
40 # is able to find them
41 PKGDEPEND_RUNPATH
+= $(PROTOUSRLIBDIR64
)/gst-validate-launcher
/python
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 # build dependency not detected by REQUIRED_PACKAGES
54 REQUIRED_PACKAGES
+= system
/header
/header-audio
56 # Auto-generated dependencies
57 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
58 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
59 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/bad
60 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/base
61 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/rtsp-server
62 REQUIRED_PACKAGES
+= library
/desktop
/cairo
63 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
64 REQUIRED_PACKAGES
+= library
/desktop
/json-glib
65 REQUIRED_PACKAGES
+= library
/glib2
66 REQUIRED_PACKAGES
+= system
/library
67 REQUIRED_PACKAGES
+= system
/library
/math