diff options
author | Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | 2020-02-22 14:28:49 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-03-03 18:26:17 -0300 |
commit | 723deb35baae17006fc029e15ddf6ff55357b580 (patch) | |
tree | 6db1044c01139805560a908afed877b699dc7fb5 /recipes-multimedia/gstreamer | |
parent | f7608795ce9273090257f47015e367b7efc69989 (diff) | |
download | meta-freescale-723deb35baae17006fc029e15ddf6ff55357b580.tar.gz |
gstreamer1.0-plugins-good: Transition to meson based builds
This follows [41c498bded82d3c9216dd3c862e70890f67f2914] from upstream,
which transitions gstreamer1.0 plugins from autotools to meson build
system.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'recipes-multimedia/gstreamer')
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.imx.bb | 94 |
1 files changed, 45 insertions, 49 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.imx.bb index d09be8dd..4f750ca9 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.imx.bb | |||
@@ -1,81 +1,77 @@ | |||
1 | require recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc | 1 | require recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc |
2 | 2 | ||
3 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
5 | file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \ | ||
6 | file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" | ||
7 | 3 | ||
8 | GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-good.git;protocol=https" | 4 | GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-good.git;protocol=https" |
9 | SRCBRANCH = "MM_04.05.01_1909_L4.19.35" | 5 | SRCBRANCH = "MM_04.05.01_1909_L4.19.35" |
10 | 6 | ||
11 | SRC_URI = " \ | 7 | SRC_URI = " \ |
12 | ${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} \ | 8 | ${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} \ |
13 | file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ | ||
14 | " | 9 | " |
15 | SRCREV = "3bcc85705695ee629ac3fb687411bb196d231918" | 10 | SRCREV = "3bcc85705695ee629ac3fb687411bb196d231918" |
16 | 11 | ||
17 | DEFAULT_PREFERENCE = "-1" | 12 | DEFAULT_PREFERENCE = "-1" |
18 | 13 | ||
19 | EXTRA_AUTORECONF = "" | ||
20 | |||
21 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
22 | 15 | ||
23 | DEPENDS += "gstreamer1.0-plugins-base libcap zlib bzip2" | 16 | LICENSE = "GPLv2+ & LGPLv2.1+" |
24 | RPROVIDES_${PN}-soup += "${PN}-souphttpsrc" | 17 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ |
18 | file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \ | ||
19 | file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" | ||
25 | 20 | ||
26 | inherit gettext | 21 | DEPENDS += "gstreamer1.0-plugins-base libcap zlib" |
22 | RPROVIDES_${PN}-pulseaudio += "${PN}-pulse" | ||
23 | RPROVIDES_${PN}-soup += "${PN}-souphttpsrc" | ||
27 | 24 | ||
28 | PACKAGECONFIG ??= " \ | 25 | PACKAGECONFIG ??= " \ |
29 | ${GSTREAMER_ORC} \ | 26 | ${GSTREAMER_ORC} \ |
30 | ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ | 27 | ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ |
31 | cairo flac gdk-pixbuf gudev jpeg libpng soup speex taglib v4l2 \ | 28 | bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 \ |
32 | " | 29 | " |
33 | 30 | ||
34 | X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" | 31 | X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" |
32 | X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled -Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled" | ||
33 | X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled" | ||
35 | 34 | ||
36 | PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo" | 35 | PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" |
37 | PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libiec61883 libavc1394 libraw1394" | 36 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" |
38 | PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" | 37 | PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394" |
39 | PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf" | 38 | PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" |
40 | PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,libgudev" | 39 | PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf" |
41 | PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" | 40 | PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" |
42 | PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" | 41 | PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev" |
43 | PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng" | 42 | PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" |
44 | PACKAGECONFIG[libv4l2] = "--with-libv4l2,--without-libv4l2,v4l-utils" | 43 | PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" |
45 | PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio" | 44 | PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame" |
46 | PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4" | 45 | PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" |
47 | PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex" | 46 | PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils" |
48 | PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib" | 47 | PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123" |
49 | PACKAGECONFIG[v4l2] = "--enable-gst_v4l2 --enable-v4l2-probe,--disable-gst_v4l2,libdrm" | 48 | PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio" |
50 | PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx" | 49 | PACKAGECONFIG[soup] = "-Dsoup=enabled,-Dsoup=disabled,libsoup-2.4" |
51 | PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" | 50 | PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex" |
52 | PACKAGECONFIG[x11] = "--enable-x,--disable-x,${X11DEPENDS}" | 51 | PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib" |
53 | PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" | 52 | PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false,libdrm" |
54 | PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" | 53 | PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx" |
55 | PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame" | 54 | PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack" |
56 | PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" | 55 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" |
57 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" | ||
58 | 56 | ||
59 | # qt5 support is disabled, because it is not present in OE core, and requires more work than | 57 | # qt5 support is disabled, because it is not present in OE core, and requires more work than |
60 | # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake paths). | 58 | # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake paths). |
61 | # This is better done in a separate qt5 layer (which then should add a "qt5" packageconfig | 59 | # This is better done in a separate qt5 layer (which then should add a "qt5" packageconfig |
62 | # in a gstreamer1.0-plugins-good bbappend). | 60 | # in a gstreamer1.0-plugins-good bbappend). |
63 | EXTRA_OECONF += " \ | 61 | |
64 | --enable-bz2 \ | 62 | EXTRA_OEMESON += " \ |
65 | --enable-oss \ | 63 | -Daalib=disabled \ |
66 | --enable-zlib \ | 64 | -Ddirectsound=disabled \ |
67 | --disable-aalib \ | 65 | -Ddv=disabled \ |
68 | --disable-aalibtest \ | 66 | -Dlibcaca=disabled \ |
69 | --disable-directsound \ | 67 | -Doss=enabled \ |
70 | --disable-libcaca \ | 68 | -Doss4=disabled \ |
71 | --disable-libdv \ | 69 | -Dosxaudio=disabled \ |
72 | --disable-oss4 \ | 70 | -Dosxvideo=disabled \ |
73 | --disable-osx_audio \ | 71 | -Dqt5=disabled \ |
74 | --disable-osx_video \ | 72 | -Dshout2=disabled \ |
75 | --disable-shout2 \ | 73 | -Dtwolame=disabled \ |
76 | --disable-waveform \ | 74 | -Dwaveform=disabled \ |
77 | --disable-qt \ | ||
78 | --disable-twolame \ | ||
79 | " | 75 | " |
80 | 76 | ||
81 | FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" | 77 | FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" |