p7zip: assorted fixes
[oi-userland.git] / components / encumbered / gst-plugins-bad / Makefile
blob3c56ed3994cc3ca425154bd706c0c28fe50b9037
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 2015 Alexander Pyhalov
16 BUILD_STYLE=configure
17 BUILD_BITS=64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= gst-plugins-bad
21 COMPONENT_VERSION= 0.10.23
22 COMPONENT_REVISION= 6
23 COMPONENT_SUMMARY= GNOME streaming media framework plugins
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
26 COMPONENT_ARCHIVE_HASH= \
27 sha256:03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9
28 COMPONENT_ARCHIVE_URL= \
29 http://gstreamer.freedesktop.org/src/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
30 COMPONENT_PROJECT_URL= http://gstreamer.freedesktop.org/
31 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
32 COMPONENT_FMRI= library/audio/gstreamer/plugin/bad
33 COMPONENT_LICENSE= GPLv2
34 COMPONENT_LICENSE_FILE= COPYING
36 include $(WS_MAKE_RULES)/encumbered.mk
37 include $(WS_MAKE_RULES)/common.mk
39 gcc_OPT = -O2
41 PATH = $(PATH.gnu)
43 CFLAGS += -I/usr/X11/include
45 COMPONENT_PREP_ACTION=(cd $(@D) && aclocal -I ./m4 -I./common/m4 &&\
46 autoheader &&\
47 automake -a -f -c --gnu &&\
48 autoconf )
50 CONFIGURE_OPTIONS += --sysconfdir=/etc
51 CONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR64)
52 CONFIGURE_OPTIONS += --enable-external
53 CONFIGURE_OPTIONS += --with-default-audiosrc=autoaudiosrc
54 CONFIGURE_OPTIONS += --with-default-audiosink=autoaudiosink
55 CONFIGURE_OPTIONS += --with-default-videosink=autovideosink
57 # Don't imagine why the test fails
58 CONFIGURE_ENV += HAVE_CXX=yes
60 COMPONENT_INSTALL_ENV += GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
62 # Auto-generated dependencies
63 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
64 REQUIRED_PACKAGES += audio/faac
65 REQUIRED_PACKAGES += audio/faad2
66 REQUIRED_PACKAGES += codec/jasper
67 REQUIRED_PACKAGES += compress/bzip2
68 REQUIRED_PACKAGES += image/library/libpng16
69 REQUIRED_PACKAGES += image/library/librsvg
70 REQUIRED_PACKAGES += library/audio/gstreamer
71 REQUIRED_PACKAGES += library/audio/gstreamer/plugin/base
72 REQUIRED_PACKAGES += library/audio/libdca
73 REQUIRED_PACKAGES += library/audio/libgsm
74 REQUIRED_PACKAGES += library/audio/libmpcdec
75 REQUIRED_PACKAGES += library/audio/openal
76 REQUIRED_PACKAGES += library/audio/soundtouch
77 REQUIRED_PACKAGES += library/desktop/cairo
78 REQUIRED_PACKAGES += library/glib2
79 REQUIRED_PACKAGES += library/graphics/libvdpau
80 REQUIRED_PACKAGES += library/libofa
81 REQUIRED_PACKAGES += library/libsndfile
82 REQUIRED_PACKAGES += library/neon
83 REQUIRED_PACKAGES += library/opus
84 REQUIRED_PACKAGES += library/sdl
85 REQUIRED_PACKAGES += library/video/libass
86 REQUIRED_PACKAGES += library/video/libdvdnav
87 REQUIRED_PACKAGES += library/video/libdvdread
88 REQUIRED_PACKAGES += library/video/libmms
89 REQUIRED_PACKAGES += library/video/libschroedinger
90 REQUIRED_PACKAGES += library/video/libvpx
91 REQUIRED_PACKAGES += library/video/xvid
92 REQUIRED_PACKAGES += system/library
93 REQUIRED_PACKAGES += system/library/math
94 REQUIRED_PACKAGES += system/library/orc
95 REQUIRED_PACKAGES += video/rtmpdump
96 REQUIRED_PACKAGES += x11/library/libx11