diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-01-18 17:29:34 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:23 +0000 |
commit | c45ce26ee1deb87fcc528db2ee2e03fa505e2ade (patch) | |
tree | 1b8bbc86b98f10b126c07f3f234db342e0032dc9 /meta | |
parent | c1ea98126a519e473b2452144b69c4364d0c9791 (diff) | |
download | poky-c45ce26ee1deb87fcc528db2ee2e03fa505e2ade.tar.gz |
gstreamer1.0-plugins-bad: minor formatting improvements
(From OE-Core rev: c18761a08605e42a5b9900c9de0c5ff0df24a9ce)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
3 files changed, 42 insertions, 48 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc index 9bdf9dacd4..4aa2f564cd 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | |||
@@ -1,13 +1,12 @@ | |||
1 | require gstreamer1.0-plugins.inc | 1 | require gstreamer1.0-plugins.inc |
2 | 2 | ||
3 | LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+ " | 3 | LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+" |
4 | 4 | ||
5 | DEPENDS += "gstreamer1.0-plugins-base libpng jpeg" | 5 | DEPENDS += "gstreamer1.0-plugins-base libpng jpeg" |
6 | 6 | ||
7 | S = "${WORKDIR}/gst-plugins-bad-${PV}" | 7 | SRC_URI += "file://configure-allow-to-disable-libssh2.patch" |
8 | 8 | ||
9 | SRC_URI += "file://configure-allow-to-disable-libssh2.patch \ | 9 | S = "${WORKDIR}/gst-plugins-bad-${PV}" |
10 | " | ||
11 | 10 | ||
12 | inherit gettext bluetooth | 11 | inherit gettext bluetooth |
13 | 12 | ||
@@ -15,54 +14,52 @@ inherit gettext bluetooth | |||
15 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL | 14 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL |
16 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}" | 15 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}" |
17 | 16 | ||
17 | # gtk is not in the PACKAGECONFIG variable by default until | ||
18 | # the transition to gtk+3 is finished | ||
18 | PACKAGECONFIG ??= " \ | 19 | PACKAGECONFIG ??= " \ |
19 | ${PACKAGECONFIG_GL} \ | 20 | ${PACKAGECONFIG_GL} \ |
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ | ||
21 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | 21 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ |
22 | ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ | 22 | ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ |
23 | orc curl uvch264 neon sndfile hls sbc dash bz2 smoothstreaming rsvg dtls \ | 23 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ |
24 | " | 24 | bz2 curl dash dtls hls neon orc rsvg sbc smoothstreaming sndfile uvch264 \ |
25 | " | ||
25 | 26 | ||
26 | # gtk is not in the PACKAGECONFIG variable by default until | ||
27 | # the transition to gtk+3 is finished | ||
28 | # | ||
29 | # dash = Dynamic Adaptive Streaming over HTTP | ||
30 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" | 27 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" |
28 | PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,${BLUEZ}" | ||
29 | PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" | ||
31 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" | 30 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" |
32 | PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2" | 31 | PACKAGECONFIG[dash] = "--enable-dash,--disable-dash,libxml2" |
33 | PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,virtual/libgl libglu" | 32 | PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb" |
33 | PACKAGECONFIG[dtls] = "--enable-dtls,--disable-dtls,openssl" | ||
34 | PACKAGECONFIG[faac] = "--enable-faac,--disable-faac,faac" | 34 | PACKAGECONFIG[faac] = "--enable-faac,--disable-faac,faac" |
35 | PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2" | 35 | PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2" |
36 | PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" | ||
37 | PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" | ||
38 | PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2" | ||
39 | PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" | ||
40 | PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls" | ||
36 | PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" | 41 | PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" |
42 | PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2" | ||
37 | PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" | 43 | PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" |
38 | PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" | 44 | PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" |
39 | PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus" | ||
40 | PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" | ||
41 | PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv" | ||
42 | PACKAGECONFIG[wayland] = "--enable-wayland --enable-egl,--disable-wayland --disable-egl,wayland virtual/egl" | ||
43 | PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev" | ||
44 | PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb" | ||
45 | PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon" | 45 | PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon" |
46 | PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" | 46 | PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" |
47 | PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls" | 47 | PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv" |
48 | PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,virtual/libgl libglu" | ||
49 | PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus" | ||
50 | PACKAGECONFIG[resindvd] = "--enable-resindvd,--disable-resindvd,libdvdread libdvdnav" | ||
51 | PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg" | ||
52 | PACKAGECONFIG[rtmp] = "--enable-rtmp,--disable-rtmp,rtmpdump" | ||
48 | PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" | 53 | PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" |
49 | PACKAGECONFIG[dash] = "--enable-dash,--disable-dash,libxml2" | ||
50 | PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" | ||
51 | PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" | ||
52 | PACKAGECONFIG[schroedinger] = "--enable-schro,--disable-schro,schroedinger" | 54 | PACKAGECONFIG[schroedinger] = "--enable-schro,--disable-schro,schroedinger" |
53 | PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2" | 55 | PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2" |
54 | PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,${BLUEZ}" | ||
55 | PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg" | ||
56 | PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" | 56 | PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" |
57 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | ||
58 | PACKAGECONFIG[rtmp] = "--enable-rtmp,--disable-rtmp,rtmpdump" | ||
59 | PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2" | ||
60 | PACKAGECONFIG[dtls] = "--enable-dtls,--disable-dtls,openssl" | ||
61 | PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" | ||
62 | PACKAGECONFIG[srtp] = "--enable-srtp,--disable-srtp,libsrtp" | 57 | PACKAGECONFIG[srtp] = "--enable-srtp,--disable-srtp,libsrtp" |
58 | PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev" | ||
63 | PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc" | 59 | PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc" |
64 | PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc" | 60 | PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc" |
65 | PACKAGECONFIG[resindvd] = "--enable-resindvd,--disable-resindvd,libdvdread libdvdnav" | 61 | PACKAGECONFIG[wayland] = "--enable-wayland --enable-egl,--disable-wayland --disable-egl,wayland virtual/egl" |
62 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | ||
66 | 63 | ||
67 | # these plugins have not been ported to 1.0 (yet): | 64 | # these plugins have not been ported to 1.0 (yet): |
68 | # apexsink dc1394 lv2 linsys musepack nas timidity teletextdec sdl xvid wininet | 65 | # apexsink dc1394 lv2 linsys musepack nas timidity teletextdec sdl xvid wininet |
@@ -81,10 +78,10 @@ PACKAGECONFIG[resindvd] = "--enable-resindvd,--disable-resindvd,libdvdrea | |||
81 | # in a gstreamer1.0-plugins-bad bbappend). | 78 | # in a gstreamer1.0-plugins-bad bbappend). |
82 | 79 | ||
83 | EXTRA_OECONF += " \ | 80 | EXTRA_OECONF += " \ |
81 | --enable-decklink \ | ||
84 | --enable-dvb \ | 82 | --enable-dvb \ |
85 | --enable-shm \ | ||
86 | --enable-fbdev \ | 83 | --enable-fbdev \ |
87 | --enable-decklink \ | 84 | --enable-shm \ |
88 | --enable-vcd \ | 85 | --enable-vcd \ |
89 | --disable-acm \ | 86 | --disable-acm \ |
90 | --disable-android_media \ | 87 | --disable-android_media \ |
@@ -104,8 +101,8 @@ EXTRA_OECONF += " \ | |||
104 | --disable-gsm \ | 101 | --disable-gsm \ |
105 | --disable-kate \ | 102 | --disable-kate \ |
106 | --disable-ladspa \ | 103 | --disable-ladspa \ |
107 | --disable-libvisual \ | ||
108 | --disable-libde265 \ | 104 | --disable-libde265 \ |
105 | --disable-libvisual \ | ||
109 | --disable-linsys \ | 106 | --disable-linsys \ |
110 | --disable-lv2 \ | 107 | --disable-lv2 \ |
111 | --disable-mimic \ | 108 | --disable-mimic \ |
@@ -139,14 +136,13 @@ EXTRA_OECONF += " \ | |||
139 | --disable-xvid \ | 136 | --disable-xvid \ |
140 | --disable-zbar \ | 137 | --disable-zbar \ |
141 | ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \ | 138 | ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \ |
142 | " | 139 | " |
143 | 140 | ||
144 | OPENCV_PREFIX="${STAGING_DIR_TARGET}${prefix}" | 141 | export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" |
145 | export OPENCV_PREFIX | ||
146 | 142 | ||
147 | ARM_INSTRUCTION_SET = "arm" | 143 | ARM_INSTRUCTION_SET = "arm" |
148 | 144 | ||
149 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*" | 145 | FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h" |
150 | FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs" | 146 | FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs" |
147 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*" | ||
151 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs" | 148 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs" |
152 | FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h" | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.2.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.2.bb index 284e1f26e2..c1c322b136 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.2.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.2.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | include gstreamer1.0-plugins-bad.inc | 1 | include gstreamer1.0-plugins-bad.inc |
2 | 2 | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \ | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \ |
4 | file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a \ | ||
5 | file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \ | 4 | file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \ |
6 | file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50" | 5 | file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50 \ |
6 | file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a" | ||
7 | 7 | ||
8 | SRC_URI += "file://0001-glimagesink-Downrank-to-marginal.patch" | 8 | SRC_URI += "file://0001-glimagesink-Downrank-to-marginal.patch" |
9 | 9 | ||
@@ -11,4 +11,3 @@ SRC_URI[md5sum] = "7c73bec1d389f0e184ebbbbb9e9f883d" | |||
11 | SRC_URI[sha256sum] = "650855e39ff56a8bb6cb0c192109c5926ce12f536d06e19ebf829de71ef396fe" | 11 | SRC_URI[sha256sum] = "650855e39ff56a8bb6cb0c192109c5926ce12f536d06e19ebf829de71ef396fe" |
12 | 12 | ||
13 | S = "${WORKDIR}/gst-plugins-bad-${PV}" | 13 | S = "${WORKDIR}/gst-plugins-bad-${PV}" |
14 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb index 309505f7db..79c17774e3 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb | |||
@@ -3,24 +3,23 @@ DEFAULT_PREFERENCE = "-1" | |||
3 | include gstreamer1.0-plugins-bad.inc | 3 | include gstreamer1.0-plugins-bad.inc |
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \ | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \ |
6 | file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a \ | ||
7 | file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \ | 6 | file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \ |
8 | file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50" | 7 | file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50 \ |
9 | 8 | file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a" | |
10 | S = "${WORKDIR}/git" | ||
11 | 9 | ||
12 | SRCREV = "6e5db57d2446a753aaa76bee268e1f95600b14ce" | 10 | SRCREV = "6e5db57d2446a753aaa76bee268e1f95600b14ce" |
13 | 11 | ||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" | 14 | PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" |
15 | PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls" | 15 | PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls" |
16 | 16 | ||
17 | EXTRA_OECONF += " \ | 17 | EXTRA_OECONF += " \ |
18 | -disable-openjpeg \ | 18 | -disable-openjpeg \ |
19 | " | 19 | " |
20 | 20 | ||
21 | do_configure_prepend() { | 21 | do_configure_prepend() { |
22 | cd ${S} | 22 | cd ${S} |
23 | ./autogen.sh --noconfigure | 23 | ./autogen.sh --noconfigure |
24 | cd ${B} | 24 | cd ${B} |
25 | } | 25 | } |
26 | |||