perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / multimedia / gst-plugins-good / Makefile
blob423f431427133373fedc8bf37d332bbaf231f921
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 2014 Alexander Pyhalov. All rights reserved.
14 # Copyright 2019 Tim Mooney.
17 BUILD_BITS= 32_and_64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= gst-plugins-good
21 COMPONENT_VERSION= 0.10.31
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= sha256:77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64
27 COMPONENT_ARCHIVE_URL= https://gstreamer.freedesktop.org/src/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = https://gstreamer.freedesktop.org/
29 COMPONENT_FMRI = library/audio/gstreamer/plugin/good
30 COMPONENT_CLASSIFICATION = System/Multimedia Libraries
31 COMPONENT_LICENSE = LGPLv2
32 COMPONENT_LICENSE_FILE = COPYING
34 include $(WS_MAKE_RULES)/common.mk
36 COMPONENT_PREP_ACTION = ( cd $(SOURCE_DIR) && aclocal -I ./m4 -I./common/m4 && \
37 autoheader && \
38 automake -a -f -c --gnu && \
39 autoconf )
41 gcc_OPT = -O2
43 PATH = $(PATH.gnu)
45 # build with the distribution preferred libjpeg implementation
46 CFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CFLAGS)
47 CXXFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CXXFLAGS)
48 LDFLAGS += $(JPEG_LDFLAGS)
50 CFLAGS += -I/usr/X11/include
52 CONFIGURE_OPTIONS += --sysconfdir=/etc
53 CONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib
54 CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64)
55 CONFIGURE_OPTIONS += --enable-external
56 CONFIGURE_OPTIONS += --with-default-audiosrc=autoaudiosrc
57 CONFIGURE_OPTIONS += --with-default-audiosink=autoaudiosink
58 CONFIGURE_OPTIONS += --with-default-videosink=autovideosink
60 # CFLAGS are not passed to compiler when g-ir-scanner is used
61 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
62 COMPONENT_INSTALL_ENV += CFLAGS="$(CFLAGS)"
64 COMPONENT_INSTALL_ENV += GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
66 # Auto-generated dependencies
67 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
68 REQUIRED_PACKAGES += audio/wavpack
69 REQUIRED_PACKAGES += codec/flac
70 REQUIRED_PACKAGES += codec/speex
71 REQUIRED_PACKAGES += compress/bzip2
72 REQUIRED_PACKAGES += gnome/config/gconf
73 REQUIRED_PACKAGES += image/library/libpng16
74 REQUIRED_PACKAGES += library/aalib
75 REQUIRED_PACKAGES += library/audio/gstreamer
76 REQUIRED_PACKAGES += library/audio/gstreamer/plugin/base
77 REQUIRED_PACKAGES += library/audio/pulseaudio
78 REQUIRED_PACKAGES += library/desktop/cairo
79 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
80 REQUIRED_PACKAGES += library/glib2
81 REQUIRED_PACKAGES += library/libsoup
82 REQUIRED_PACKAGES += library/libxml2
83 REQUIRED_PACKAGES += library/zlib
84 REQUIRED_PACKAGES += service/hal
85 REQUIRED_PACKAGES += system/library
86 REQUIRED_PACKAGES += system/library/libdbus
87 REQUIRED_PACKAGES += system/library/math
88 REQUIRED_PACKAGES += system/library/orc
89 REQUIRED_PACKAGES += x11/library/libx11
90 REQUIRED_PACKAGES += x11/library/libxdamage
91 REQUIRED_PACKAGES += x11/library/libxext
92 REQUIRED_PACKAGES += x11/library/libxfixes
93 REQUIRED_PACKAGES += x11/library/libxv