Add gstreamer 1.10.3 (#2384)
[unleashed-userland.git] / components / multimedia / gstreamer1 / Makefile
bloba89ca60f473ef3f6ae35c4c028d3139f53ca5f9c
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
5 # 1.0 of the CDDL.
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 2016 Aurelien Larcher. All rights reserved.
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= gstreamer1
19 COMPONENT_VERSION= 1.10.3
20 COMPONENT_SUMMARY= GNOME streaming media framework
21 COMPONENT_PROJECT_URL = http://gstreamer.freedesktop.org/
22 COMPONENT_FMRI= library/audio/gstreamer1
23 COMPONENT_CLASSIFICATION= System/Multimedia Libraries
24 COMPONENT_SRC_NAME= gstreamer
25 COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
27 COMPONENT_ARCHIVE_HASH= \
28 sha256:85b9dc1b2991f224fa90d534ec57014896c479e061dc9fa1bc16ae17cbebb63d
29 COMPONENT_ARCHIVE_URL= \
30 http://gstreamer.freedesktop.org/src/$(COMPONENT_SRC_NAME)/$(COMPONENT_ARCHIVE)
31 COMPONENT_LICENSE= LGPLv2
32 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
34 include $(WS_MAKE_RULES)/prep.mk
35 include $(WS_MAKE_RULES)/configure.mk
36 include $(WS_MAKE_RULES)/ips.mk
38 gcc_OPT = -O2
40 PATH = /usr/gnu/bin:/usr/bin
42 CFLAGS += -I/usr/sfw/include -I/usr/X11/include
44 CONFIGURE_OPTIONS += --sysconfdir=/etc
45 CONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR.$(BITS))
46 CONFIGURE_OPTIONS += --disable-examples
47 CONFIGURE_OPTIONS += --enable-introspection
48 CONFIGURE_OPTIONS += --program-suffix=""
49 CONFIGURE_OPTIONS += --with-package-origin="https://github.com/OpenIndiana/oi-userland"
51 # CFLAGS are not passed to compiler when g-ir-scanner is used
52 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
53 COMPONENT_BUILD_ENV += CC="$(CC)"
54 COMPONENT_INSTALL_ENV += CFLAGS="$(CFLAGS)"
55 COMPONENT_INSTALL_ENV += CC="$(CC)"
57 build: $(BUILD_32_and_64)
59 install: $(INSTALL_32_and_64)
61 test: $(TEST_32_and_64)
63 REQUIRED_PACKAGES += library/glib2
64 REQUIRED_PACKAGES += system/library
65 REQUIRED_PACKAGES += system/library/math