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
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= gst-python
18 COMPONENT_VERSION
= 0.10.22
20 COMPONENT_PROJECT_URL
= http
://freedesktop.org
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178
25 COMPONENT_ARCHIVE_URL
= http
://gstreamer.freedesktop.org
/src
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
29 include $(WS_TOP
)/make-rules
/prep.mk
30 include $(WS_TOP
)/make-rules
/configure.mk
31 include $(WS_TOP
)/make-rules
/ips.mk
33 PATH
=/usr
/gnu
/bin
:/usr
/bin
35 VARIANT_PYTHON27
= $(BUILD_DIR
)/python-27
37 VARIANTS
= $(VARIANT_PYTHON27
)
39 BUILD_32
= $(VARIANTS
:%=%/$(MACH32
)/.built
)
41 INSTALL_32
= $(VARIANTS
:%=%/$(MACH32
)/.installed
)
43 $(VARIANT_PYTHON27
)/$(MACH32
)/.configured
: PYTHON
=$(PYTHON
.2.7.32)
44 $(VARIANT_PYTHON27
)/$(MACH32
)/.configured
: am_cv_python_pyexecdir
=$(PYTHON
.2.7.VENDOR_PACKAGES
.32)
45 $(VARIANT_PYTHON27
)/$(MACH32
)/.configured
: am_cv_python_pythondir
=$(PYTHON
.2.7.VENDOR_PACKAGES
.32)
47 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
48 CONFIGURE_ENV
+= am_cv_python_pythondir
="$(am_cv_python_pythondir)"
49 CONFIGURE_ENV
+= am_cv_python_pyexecdir
="$(am_cv_python_pyexecdir)"
54 install: $(INSTALL_32
)
58 REQUIRED_PACKAGES
+= library
/audio
/gstreamer
59 REQUIRED_PACKAGES
+= library
/audio
/gstreamer
/plugin
/base
60 REQUIRED_PACKAGES
+= library
/glib2
61 REQUIRED_PACKAGES
+= library
/python
/pygobject-27
62 REQUIRED_PACKAGES
+= runtime
/python-27
63 REQUIRED_PACKAGES
+= system
/library