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 2016-2017 Aurelien Larcher. All rights reserved.
14 # Copyright 2019 Michal Nowak
15 # Copyright 2021 Tim Mooney. All rights reserved.
16 # Copyright 2022-2023 Niklas Poslovski
20 USE_DEFAULT_TEST_TRANSFORMS
= yes
22 include ..
/..
/..
/make-rules
/shared-macros.mk
24 COMPONENT_NAME
= gst-plugins-bad
25 COMPONENT_VERSION
= 1.24.9
26 COMPONENT_SUMMARY
= GNOME streaming media framework plugins
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
29 COMPONENT_ARCHIVE_HASH
= sha256
:36fcf7a9af0a753b43bb03b9835246f74d72f7124369e66a1e2dc7b04f5a5cab
30 COMPONENT_PROJECT_URL
= https
://gstreamer.freedesktop.org
31 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/src
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
32 COMPONENT_FMRI
= library
/audio
/gstreamer1
/plugin
/bad
33 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
34 COMPONENT_LICENSE
= LGPL-2.1
-only
35 COMPONENT_LICENSE_FILE
= COPYING
37 include $(WS_MAKE_RULES
)/encumbered.mk
38 include $(WS_MAKE_RULES
)/common.mk
40 CONFIGURE_OPTIONS
+= -Dexamples
=disabled
41 CONFIGURE_OPTIONS
+= -Dopenexr
=enabled
42 CONFIGURE_OPTIONS
+= -Dintrospection
=enabled
43 CONFIGURE_OPTIONS
+= -Dgpl
=enabled
44 CONFIGURE_OPTIONS
+= -Dspandsp
=disabled
45 # if someone can weigh in on the fdk-aac license, adding fdk-aac might be
47 # Openh264 has no licensing issues but needs some porting
48 CONFIGURE_OPTIONS
+= -Dpackage-origin
="https://github.com/OpenIndiana/oi-userland"
50 # Dynamic library version number
51 SOVER
:= 0.
$(shell printf
'%02s%02s' $(wordlist
2,3,$(subst .
, ,$(COMPONENT_VERSION
)))).0
52 SOVER_RE
= $(subst .
,\.
,$(SOVER
))
54 # Replace library version number by SOVER
55 GENERATE_EXTRA_CMD
+= |
$(GSED
) -e
's/$(SOVER_RE)/$$(SOVER)/'
57 # SOVER is needed for manifest processing
58 PKG_MACROS
+= SOVER
=$(SOVER
)
61 REQUIRED_PACKAGES
+= system
/header
/header-drm
63 REQUIRED_PACKAGES
+= library
/desktop
/gobject
/gobject-introspection
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
67 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
68 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
69 REQUIRED_PACKAGES
+= audio
/faac
70 REQUIRED_PACKAGES
+= audio
/faad2
71 REQUIRED_PACKAGES
+= compress
/bzip2
72 REQUIRED_PACKAGES
+= image
/library
/librsvg
73 REQUIRED_PACKAGES
+= image
/library
/openjpeg
74 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
75 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/base
76 REQUIRED_PACKAGES
+= library
/audio
/libdca
77 REQUIRED_PACKAGES
+= library
/audio
/libgsm
78 REQUIRED_PACKAGES
+= library
/audio
/openal
79 REQUIRED_PACKAGES
+= library
/audio
/soundtouch
80 REQUIRED_PACKAGES
+= library
/desktop
/cairo
81 REQUIRED_PACKAGES
+= library
/desktop
/json-glib
82 REQUIRED_PACKAGES
+= library
/desktop
/pango
83 REQUIRED_PACKAGES
+= library
/glib2
84 REQUIRED_PACKAGES
+= library
/imath
85 REQUIRED_PACKAGES
+= library
/lcms2
86 REQUIRED_PACKAGES
+= library
/libqrencode
87 REQUIRED_PACKAGES
+= library
/libsndfile
88 REQUIRED_PACKAGES
+= library
/libwebp
89 REQUIRED_PACKAGES
+= library
/libxml2
90 REQUIRED_PACKAGES
+= library
/neon
91 REQUIRED_PACKAGES
+= library
/nettle
92 REQUIRED_PACKAGES
+= library
/openexr
93 REQUIRED_PACKAGES
+= library
/opus
94 REQUIRED_PACKAGES
+= library
/orc
95 REQUIRED_PACKAGES
+= library
/video
/libass
96 REQUIRED_PACKAGES
+= library
/video
/libdvdnav
97 REQUIRED_PACKAGES
+= library
/video
/libdvdread
98 REQUIRED_PACKAGES
+= library
/video
/x265
99 REQUIRED_PACKAGES
+= system
/library
100 REQUIRED_PACKAGES
+= system
/library
/math
101 REQUIRED_PACKAGES
+= video
/rtmpdump
102 REQUIRED_PACKAGES
+= web
/curl
103 REQUIRED_PACKAGES
+= x11
/library
/libx11