diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.5.imx.bb')
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.5.imx.bb | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.5.imx.bb new file mode 100644 index 00000000..de61be01 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.5.imx.bb | |||
@@ -0,0 +1,111 @@ | |||
1 | # This recipe is for the i.MX fork of gstreamer1.0-plugins-good. For ease of | ||
2 | # maintenance, the top section is a verbatim copy of an OE-core | ||
3 | # recipe. The second section customizes the recipe for i.MX. | ||
4 | |||
5 | ########### OE-core copy ################## | ||
6 | # Upstream hash: bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 | ||
7 | |||
8 | require recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc | ||
9 | |||
10 | DESCRIPTION = "'Good' GStreamer plugins" | ||
11 | HOMEPAGE = "https://gstreamer.freedesktop.org/" | ||
12 | BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues" | ||
13 | |||
14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ | ||
15 | file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ | ||
16 | file://0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch \ | ||
17 | file://0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch \ | ||
18 | " | ||
19 | |||
20 | SRC_URI[sha256sum] = "b6e50e3a9bbcd56ee6ec71c33aa8332cc9c926b0c1fae995aac8b3040ebe39b0" | ||
21 | |||
22 | S = "${WORKDIR}/gst-plugins-good-${PV}" | ||
23 | |||
24 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" | ||
25 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
26 | file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" | ||
27 | |||
28 | DEPENDS += "gstreamer1.0-plugins-base libcap zlib" | ||
29 | RPROVIDES:${PN}-pulseaudio += "${PN}-pulse" | ||
30 | RPROVIDES:${PN}-soup += "${PN}-souphttpsrc" | ||
31 | |||
32 | PACKAGECONFIG ??= " \ | ||
33 | ${GSTREAMER_ORC} \ | ||
34 | ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ | ||
35 | ${@bb.utils.contains('TUNE_FEATURES', 'm64', 'asm', '', d)} \ | ||
36 | bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 \ | ||
37 | " | ||
38 | |||
39 | X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" | ||
40 | X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled -Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled" | ||
41 | X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled" | ||
42 | |||
43 | QT5WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" | ||
44 | |||
45 | PACKAGECONFIG[asm] = "-Dasm=enabled,-Dasm=disabled,nasm-native" | ||
46 | PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" | ||
47 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" | ||
48 | PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394" | ||
49 | PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" | ||
50 | PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf" | ||
51 | PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" | ||
52 | PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev" | ||
53 | PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" | ||
54 | PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" | ||
55 | PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame" | ||
56 | PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" | ||
57 | PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils" | ||
58 | PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123" | ||
59 | PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio" | ||
60 | PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}" | ||
61 | PACKAGECONFIG[soup] = "-Dsoup=enabled,-Dsoup=disabled,libsoup-2.4" | ||
62 | PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex" | ||
63 | PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland" | ||
64 | PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib" | ||
65 | PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false" | ||
66 | PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx" | ||
67 | PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack" | ||
68 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" | ||
69 | |||
70 | EXTRA_OEMESON += " \ | ||
71 | -Ddoc=disabled \ | ||
72 | -Daalib=disabled \ | ||
73 | -Ddirectsound=disabled \ | ||
74 | -Ddv=disabled \ | ||
75 | -Dlibcaca=disabled \ | ||
76 | -Doss=enabled \ | ||
77 | -Doss4=disabled \ | ||
78 | -Dosxaudio=disabled \ | ||
79 | -Dosxvideo=disabled \ | ||
80 | -Dshout2=disabled \ | ||
81 | -Dtwolame=disabled \ | ||
82 | -Dwaveform=disabled \ | ||
83 | " | ||
84 | |||
85 | FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" | ||
86 | |||
87 | ########### End of OE-core copy ########### | ||
88 | |||
89 | ########### i.MX overrides ################ | ||
90 | |||
91 | DEFAULT_PREFERENCE = "-1" | ||
92 | |||
93 | # fb implementation of v4l2 uses libdrm | ||
94 | DEPENDS_V4L2 = "${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'libdrm', d)}" | ||
95 | DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'v4l2', '${DEPENDS_V4L2}', '', d)}" | ||
96 | |||
97 | SRC_URI:remove = " \ | ||
98 | https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ | ||
99 | file://0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch \ | ||
100 | file://0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch \ | ||
101 | " | ||
102 | GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-good.git;protocol=https" | ||
103 | SRCBRANCH = "MM_04.06.04_2112_L5.15.y" | ||
104 | SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " | ||
105 | SRCREV = "2438ae179ed4245fbeaa2ce36b1918ed7232d442" | ||
106 | |||
107 | S = "${WORKDIR}/git" | ||
108 | |||
109 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||
110 | |||
111 | ########### End of i.MX overrides ######### | ||