2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Alexander Pyhalov
13 # Copyright 2022-2023 Niklas Poslovski
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= gst-python
22 COMPONENT_VERSION
= 1.24.9
23 COMPONENT_SUMMARY
= Python bindings for the GStreamer streaming media framework
24 COMPONENT_PROJECT_URL
= https
://gstreamer.freedesktop.org
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:80e61d587c34cbac79e46c927b71cf32c4bf9bb0868ce5aa4b7444bdad83f42e
28 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/src
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_SIG_URL
= $(COMPONENT_ARCHIVE_URL
).asc
30 COMPONENT_CLASSIFICATION
= Development
/Python
31 COMPONENT_FMRI
= library
/python
/python-gst
32 COMPONENT_LICENSE
= LGPL-2.1
-only
33 COMPONENT_LICENSE_FILE
= COPYING
35 include $(WS_MAKE_RULES
)/common.mk
37 # https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4023
38 CONFIGURE_OPTIONS
+= -Dpython.platlibdir
=$(PYTHON_VENDOR_PACKAGES
)
41 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pygobject
43 # Auto-generated dependencies
44 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
45 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
46 REQUIRED_PACKAGES
+= library
/glib2
47 REQUIRED_PACKAGES
+= system
/library