blob: 6cc11e19280b14103262477539fd3d57784764bc [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001SUMMARY = "Gstreamer1.0 package groups"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002LICENSE = "MIT"
3
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05004# Due to use of COMBINED_FEATURES
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007inherit packagegroup
8
9COMMERCIAL_PLUGINS = "${COMMERCIAL_AUDIO_PLUGINS} ${COMMERCIAL_VIDEO_PLUGINS}"
10DEPENDS_UGLY="${@'gstreamer1.0-plugins-ugly' if 'ugly' in COMMERCIAL_PLUGINS.split('-') else ''}"
11DEPENDS_BAD="${@'gstreamer1.0-plugins-bad' if 'bad' in COMMERCIAL_PLUGINS.split('-') else ''}"
12DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good ${DEPENDS_UGLY} ${DEPENDS_BAD}"
13
14PACKAGES = "\
15 gstreamer1.0-meta-base \
16 gstreamer1.0-meta-x11-base \
17 gstreamer1.0-meta-audio \
18 gstreamer1.0-meta-debug \
19 gstreamer1.0-meta-video"
20
Patrick Williams213cb262021-08-07 19:21:33 -050021ALLOW_EMPTY:gstreamer1.0-meta-base = "1"
22ALLOW_EMPTY:gstreamer1.0-meta-x11-base = "1"
23ALLOW_EMPTY:gstreamer1.0-meta-audio = "1"
24ALLOW_EMPTY:gstreamer1.0-meta-debug = "1"
25ALLOW_EMPTY:gstreamer1.0-meta-video = "1"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026
Patrick Williams213cb262021-08-07 19:21:33 -050027RDEPENDS:gstreamer1.0-meta-base = "\
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gstreamer1.0-meta-x11-base', '', d)} \
29 gstreamer1.0 \
30 gstreamer1.0-plugins-base-playback \
31 gstreamer1.0-plugins-base-gio \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050032 ${@bb.utils.contains('COMBINED_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '',d)} \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050033 gstreamer1.0-plugins-base-volume \
34 gstreamer1.0-plugins-base-audioconvert \
35 gstreamer1.0-plugins-base-audioresample \
36 gstreamer1.0-plugins-base-typefindfunctions \
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060037 gstreamer1.0-plugins-base-videoconvertscale \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050038 gstreamer1.0-plugins-good-autodetect \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050039 gstreamer1.0-plugins-good-soup"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050040
Patrick Williams213cb262021-08-07 19:21:33 -050041RRECOMMENDS:gstreamer1.0-meta-x11-base = "\
Patrick Williamsc124f4f2015-09-15 14:41:29 -050042 gstreamer1.0-plugins-base-ximagesink \
43 gstreamer1.0-plugins-base-xvimagesink"
44
Patrick Williams213cb262021-08-07 19:21:33 -050045RDEPENDS:gstreamer1.0-meta-audio = "\
Patrick Williamsc124f4f2015-09-15 14:41:29 -050046 gstreamer1.0-meta-base \
47 gstreamer1.0-plugins-base-vorbis \
48 gstreamer1.0-plugins-base-ogg \
49 gstreamer1.0-plugins-good-wavparse \
50 gstreamer1.0-plugins-good-flac \
51 ${COMMERCIAL_AUDIO_PLUGINS}"
52
Patrick Williams213cb262021-08-07 19:21:33 -050053RDEPENDS:gstreamer1.0-meta-debug = "\
Patrick Williamsc124f4f2015-09-15 14:41:29 -050054 gstreamer1.0-meta-base \
55 gstreamer1.0-plugins-good-debug \
56 gstreamer1.0-plugins-base-audiotestsrc \
57 gstreamer1.0-plugins-base-videotestsrc"
58
Patrick Williams213cb262021-08-07 19:21:33 -050059RDEPENDS:gstreamer1.0-meta-video = "\
Patrick Williamsc124f4f2015-09-15 14:41:29 -050060 gstreamer1.0-meta-base \
61 gstreamer1.0-plugins-good-avi \
62 gstreamer1.0-plugins-good-matroska \
63 gstreamer1.0-plugins-base-theora \
64 ${COMMERCIAL_VIDEO_PLUGINS}"
65
Patrick Williams213cb262021-08-07 19:21:33 -050066RRECOMMENDS:gstreamer1.0-meta-video = "\
Patrick Williamsc124f4f2015-09-15 14:41:29 -050067 gstreamer1.0-meta-audio"