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 2017 Alexander Pyhalov
16 BUILD_BITS
= 32_and_64
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= gstreamer
21 COMPONENT_VERSION
= 0.10.36
23 COMPONENT_SUMMARY
= GNOME streaming media framework
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
26 COMPONENT_ARCHIVE_HASH
= sha256
:e556a529e0a8cf1cd0afd0cab2af5488c9524e7c3f409de29b5d82bb41ae7a30
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
/gstreamer
30 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
31 COMPONENT_LICENSE
= LGPLv2.0
32 COMPONENT_LICENSE_FILE
= COPYING
34 include $(WS_MAKE_RULES
)/common.mk
40 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
41 CONFIGURE_OPTIONS
.32 += --libexecdir
=/usr
/lib
42 CONFIGURE_OPTIONS
.64 += --libexecdir
=/usr
/lib
/$(MACH64
)
43 CONFIGURE_OPTIONS
+= --disable-examples
44 CONFIGURE_OPTIONS
.32 += --enable-introspection
=no
45 CONFIGURE_OPTIONS
+= --program-suffix
=""
47 # CFLAGS are not passed to compiler when g-ir-scanner is used
48 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
49 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
50 COMPONENT_INSTALL_ENV
+= CFLAGS
="$(CFLAGS)"
51 COMPONENT_INSTALL_ENV
+= CC
="$(CC)"
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES
+= library
/glib2
55 REQUIRED_PACKAGES
+= library
/libxml2
56 REQUIRED_PACKAGES
+= shell/ksh93
57 REQUIRED_PACKAGES
+= system
/library
58 REQUIRED_PACKAGES
+= system
/library
/math