blob: 07cacdc68accff3eab1007d0544cd2d25d3dacc3 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001require gstreamer1.0-plugins-common.inc
2
Andrew Geissler90fd73c2021-03-05 15:25:55 -06003DESCRIPTION = "'Good' GStreamer plugins"
4HOMEPAGE = "https://gstreamer.freedesktop.org/"
5BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues"
6
Andrew Geissler6ce62a22020-11-30 19:58:47 -06007SRC_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 \
Andrew Geissler95ac1b82021-03-31 14:34:31 -05009 file://0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch \
Andrew Geissler6ce62a22020-11-30 19:58:47 -060010 "
Andrew Geissler82c905d2020-04-13 13:39:40 -050011
Andrew Geissler95ac1b82021-03-31 14:34:31 -050012SRC_URI[sha256sum] = "b6e50e3a9bbcd56ee6ec71c33aa8332cc9c926b0c1fae995aac8b3040ebe39b0"
Andrew Geissler82c905d2020-04-13 13:39:40 -050013
14S = "${WORKDIR}/gst-plugins-good-${PV}"
15
16LICENSE = "GPLv2+ & LGPLv2.1+"
17LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
Andrew Geissler82c905d2020-04-13 13:39:40 -050018 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe"
19
20DEPENDS += "gstreamer1.0-plugins-base libcap zlib"
21RPROVIDES_${PN}-pulseaudio += "${PN}-pulse"
22RPROVIDES_${PN}-soup += "${PN}-souphttpsrc"
23
24PACKAGECONFIG ??= " \
25 ${GSTREAMER_ORC} \
26 ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \
Andrew Geissler6ce62a22020-11-30 19:58:47 -060027 ${@bb.utils.contains('TUNE_FEATURES', 'm64', 'asm', '', d)} \
Andrew Geissler82c905d2020-04-13 13:39:40 -050028 bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 \
29"
30
31X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage"
32X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled -Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled"
33X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled"
34
Andrew Geissler6ce62a22020-11-30 19:58:47 -060035QT5WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}"
36
37PACKAGECONFIG[asm] = "-Dasm=enabled,-Dasm=disabled,nasm-native"
Andrew Geissler82c905d2020-04-13 13:39:40 -050038PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2"
39PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo"
40PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394"
41PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac"
42PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf"
43PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3"
44PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev"
45PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack"
46PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
47PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame"
48PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng"
49PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils"
50PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123"
51PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio"
Andrew Geissler6ce62a22020-11-30 19:58:47 -060052PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}"
Andrew Geissler82c905d2020-04-13 13:39:40 -050053PACKAGECONFIG[soup] = "-Dsoup=enabled,-Dsoup=disabled,libsoup-2.4"
54PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex"
Andrew Geissler6ce62a22020-11-30 19:58:47 -060055PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland"
Andrew Geissler82c905d2020-04-13 13:39:40 -050056PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib"
57PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false"
58PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx"
59PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack"
60PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
61
62EXTRA_OEMESON += " \
Andrew Geissler6ce62a22020-11-30 19:58:47 -060063 -Ddoc=disabled \
Andrew Geissler82c905d2020-04-13 13:39:40 -050064 -Daalib=disabled \
65 -Ddirectsound=disabled \
66 -Ddv=disabled \
67 -Dlibcaca=disabled \
68 -Doss=enabled \
69 -Doss4=disabled \
70 -Dosxaudio=disabled \
71 -Dosxvideo=disabled \
72 -Dshout2=disabled \
73 -Dtwolame=disabled \
74 -Dwaveform=disabled \
75"
76
77FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"