summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.5.bb')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.5.bb81
1 files changed, 81 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.5.bb
new file mode 100644
index 0000000000..80aed01973
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.5.bb
@@ -0,0 +1,81 @@
1require gstreamer1.0-plugins-common.inc
2
3DESCRIPTION = "'Good' GStreamer plugins"
4HOMEPAGE = "https://gstreamer.freedesktop.org/"
5BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues"
6
7SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \
8 file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \
9 "
10
11SRC_URI[sha256sum] = "e83ab4d12ca24959489bbb0ec4fac9b90e32f741d49cda357cb554b2cb8b97f9"
12
13S = "${WORKDIR}/gst-plugins-good-${PV}"
14
15LICENSE = "LGPL-2.1-or-later"
16LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
17 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe"
18
19DEPENDS += "gstreamer1.0-plugins-base libcap zlib"
20RPROVIDES:${PN}-pulseaudio += "${PN}-pulse"
21RPROVIDES:${PN}-soup += "${PN}-souphttpsrc"
22
23PACKAGECONFIG ??= " \
24 ${GSTREAMER_ORC} \
25 ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \
26 ${@bb.utils.contains('TUNE_FEATURES', 'm64', 'asm', '', d)} \
27 bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 \
28"
29
30X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage"
31X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled -Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled"
32X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled"
33
34QT5WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}"
35
36PACKAGECONFIG[asm] = "-Dasm=enabled,-Dasm=disabled,nasm-native"
37PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2"
38PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo"
39PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394"
40PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac"
41PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf"
42PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3"
43PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev"
44PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack"
45PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
46PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame"
47PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng"
48PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils"
49PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123"
50PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio"
51PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}"
52# Starting with version 1.20, the GStreamer soup plugin loads libsoup with dlopen()
53# instead of linking to it. And instead of using the default libsoup C headers, it
54# uses its own stub header. Consequently, objdump will not show the libsoup .so as
55# a dependency, and libsoup won't be added to an image. Fix this by setting libsoup
56# as RDEPEND instead of DEPEND.
57PACKAGECONFIG[soup] = "-Dsoup=enabled,-Dsoup=disabled,,libsoup-2.4"
58PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex"
59PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland"
60PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib"
61PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false"
62PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx"
63PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack"
64PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
65
66EXTRA_OEMESON += " \
67 -Ddoc=disabled \
68 -Daalib=disabled \
69 -Ddirectsound=disabled \
70 -Ddv=disabled \
71 -Dlibcaca=disabled \
72 -Doss=enabled \
73 -Doss4=disabled \
74 -Dosxaudio=disabled \
75 -Dosxvideo=disabled \
76 -Dshout2=disabled \
77 -Dtwolame=disabled \
78 -Dwaveform=disabled \
79"
80
81FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"