mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 07:39:49 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c1ea98126a
commit
c45ce26ee1
@@ -1,13 +1,12 @@
|
|||||||
require gstreamer1.0-plugins.inc
|
require gstreamer1.0-plugins.inc
|
||||||
|
|
||||||
LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+ "
|
LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+"
|
||||||
|
|
||||||
DEPENDS += "gstreamer1.0-plugins-base libpng jpeg"
|
DEPENDS += "gstreamer1.0-plugins-base libpng jpeg"
|
||||||
|
|
||||||
S = "${WORKDIR}/gst-plugins-bad-${PV}"
|
SRC_URI += "file://configure-allow-to-disable-libssh2.patch"
|
||||||
|
|
||||||
SRC_URI += "file://configure-allow-to-disable-libssh2.patch \
|
S = "${WORKDIR}/gst-plugins-bad-${PV}"
|
||||||
"
|
|
||||||
|
|
||||||
inherit gettext bluetooth
|
inherit gettext bluetooth
|
||||||
|
|
||||||
@@ -15,54 +14,52 @@ inherit gettext bluetooth
|
|||||||
# and BSP layers to pick either (desktop) opengl, gles2, or no GL
|
# and BSP layers to pick either (desktop) opengl, gles2, or no GL
|
||||||
PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
|
PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
|
||||||
|
|
||||||
PACKAGECONFIG ??= " \
|
|
||||||
${PACKAGECONFIG_GL} \
|
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
|
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
|
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
|
|
||||||
orc curl uvch264 neon sndfile hls sbc dash bz2 smoothstreaming rsvg dtls \
|
|
||||||
"
|
|
||||||
|
|
||||||
# gtk is not in the PACKAGECONFIG variable by default until
|
# gtk is not in the PACKAGECONFIG variable by default until
|
||||||
# the transition to gtk+3 is finished
|
# the transition to gtk+3 is finished
|
||||||
#
|
PACKAGECONFIG ??= " \
|
||||||
# dash = Dynamic Adaptive Streaming over HTTP
|
${PACKAGECONFIG_GL} \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
|
||||||
|
bz2 curl dash dtls hls neon orc rsvg sbc smoothstreaming sndfile uvch264 \
|
||||||
|
"
|
||||||
|
|
||||||
PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass"
|
PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass"
|
||||||
|
PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,${BLUEZ}"
|
||||||
|
PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2"
|
||||||
PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
|
PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
|
||||||
PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2"
|
PACKAGECONFIG[dash] = "--enable-dash,--disable-dash,libxml2"
|
||||||
PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,virtual/libgl libglu"
|
PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb"
|
||||||
|
PACKAGECONFIG[dtls] = "--enable-dtls,--disable-dtls,openssl"
|
||||||
PACKAGECONFIG[faac] = "--enable-faac,--disable-faac,faac"
|
PACKAGECONFIG[faac] = "--enable-faac,--disable-faac,faac"
|
||||||
PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2"
|
PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2"
|
||||||
|
PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa"
|
||||||
|
PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth"
|
||||||
|
PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2"
|
||||||
|
PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3"
|
||||||
|
PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls"
|
||||||
PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms"
|
PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms"
|
||||||
|
PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2"
|
||||||
PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug"
|
PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug"
|
||||||
PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123"
|
PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123"
|
||||||
PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus"
|
|
||||||
PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa"
|
|
||||||
PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv"
|
|
||||||
PACKAGECONFIG[wayland] = "--enable-wayland --enable-egl,--disable-wayland --disable-egl,wayland virtual/egl"
|
|
||||||
PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev"
|
|
||||||
PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb"
|
|
||||||
PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon"
|
PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon"
|
||||||
PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft"
|
PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft"
|
||||||
PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls"
|
PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv"
|
||||||
|
PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,virtual/libgl libglu"
|
||||||
|
PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus"
|
||||||
|
PACKAGECONFIG[resindvd] = "--enable-resindvd,--disable-resindvd,libdvdread libdvdnav"
|
||||||
|
PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg"
|
||||||
|
PACKAGECONFIG[rtmp] = "--enable-rtmp,--disable-rtmp,rtmpdump"
|
||||||
PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc"
|
PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc"
|
||||||
PACKAGECONFIG[dash] = "--enable-dash,--disable-dash,libxml2"
|
|
||||||
PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2"
|
|
||||||
PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth"
|
|
||||||
PACKAGECONFIG[schroedinger] = "--enable-schro,--disable-schro,schroedinger"
|
PACKAGECONFIG[schroedinger] = "--enable-schro,--disable-schro,schroedinger"
|
||||||
PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2"
|
PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2"
|
||||||
PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,${BLUEZ}"
|
|
||||||
PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg"
|
|
||||||
PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1"
|
PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1"
|
||||||
PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp"
|
|
||||||
PACKAGECONFIG[rtmp] = "--enable-rtmp,--disable-rtmp,rtmpdump"
|
|
||||||
PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2"
|
|
||||||
PACKAGECONFIG[dtls] = "--enable-dtls,--disable-dtls,openssl"
|
|
||||||
PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3"
|
|
||||||
PACKAGECONFIG[srtp] = "--enable-srtp,--disable-srtp,libsrtp"
|
PACKAGECONFIG[srtp] = "--enable-srtp,--disable-srtp,libsrtp"
|
||||||
|
PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev"
|
||||||
PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc"
|
PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc"
|
||||||
PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc"
|
PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc"
|
||||||
PACKAGECONFIG[resindvd] = "--enable-resindvd,--disable-resindvd,libdvdread libdvdnav"
|
PACKAGECONFIG[wayland] = "--enable-wayland --enable-egl,--disable-wayland --disable-egl,wayland virtual/egl"
|
||||||
|
PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp"
|
||||||
|
|
||||||
# these plugins have not been ported to 1.0 (yet):
|
# these plugins have not been ported to 1.0 (yet):
|
||||||
# apexsink dc1394 lv2 linsys musepack nas timidity teletextdec sdl xvid wininet
|
# apexsink dc1394 lv2 linsys musepack nas timidity teletextdec sdl xvid wininet
|
||||||
@@ -81,10 +78,10 @@ PACKAGECONFIG[resindvd] = "--enable-resindvd,--disable-resindvd,libdvdrea
|
|||||||
# in a gstreamer1.0-plugins-bad bbappend).
|
# in a gstreamer1.0-plugins-bad bbappend).
|
||||||
|
|
||||||
EXTRA_OECONF += " \
|
EXTRA_OECONF += " \
|
||||||
--enable-dvb \
|
|
||||||
--enable-shm \
|
|
||||||
--enable-fbdev \
|
|
||||||
--enable-decklink \
|
--enable-decklink \
|
||||||
|
--enable-dvb \
|
||||||
|
--enable-fbdev \
|
||||||
|
--enable-shm \
|
||||||
--enable-vcd \
|
--enable-vcd \
|
||||||
--disable-acm \
|
--disable-acm \
|
||||||
--disable-android_media \
|
--disable-android_media \
|
||||||
@@ -104,8 +101,8 @@ EXTRA_OECONF += " \
|
|||||||
--disable-gsm \
|
--disable-gsm \
|
||||||
--disable-kate \
|
--disable-kate \
|
||||||
--disable-ladspa \
|
--disable-ladspa \
|
||||||
--disable-libvisual \
|
|
||||||
--disable-libde265 \
|
--disable-libde265 \
|
||||||
|
--disable-libvisual \
|
||||||
--disable-linsys \
|
--disable-linsys \
|
||||||
--disable-lv2 \
|
--disable-lv2 \
|
||||||
--disable-mimic \
|
--disable-mimic \
|
||||||
@@ -139,14 +136,13 @@ EXTRA_OECONF += " \
|
|||||||
--disable-xvid \
|
--disable-xvid \
|
||||||
--disable-zbar \
|
--disable-zbar \
|
||||||
${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \
|
${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
OPENCV_PREFIX="${STAGING_DIR_TARGET}${prefix}"
|
export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}"
|
||||||
export OPENCV_PREFIX
|
|
||||||
|
|
||||||
ARM_INSTRUCTION_SET = "arm"
|
ARM_INSTRUCTION_SET = "arm"
|
||||||
|
|
||||||
FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*"
|
|
||||||
FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs"
|
|
||||||
FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs"
|
|
||||||
FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h"
|
FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h"
|
||||||
|
FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs"
|
||||||
|
FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*"
|
||||||
|
FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs"
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
include gstreamer1.0-plugins-bad.inc
|
include gstreamer1.0-plugins-bad.inc
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
|
||||||
file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a \
|
|
||||||
file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \
|
file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \
|
||||||
file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50"
|
file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50 \
|
||||||
|
file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a"
|
||||||
|
|
||||||
SRC_URI += "file://0001-glimagesink-Downrank-to-marginal.patch"
|
SRC_URI += "file://0001-glimagesink-Downrank-to-marginal.patch"
|
||||||
|
|
||||||
@@ -11,4 +11,3 @@ SRC_URI[md5sum] = "7c73bec1d389f0e184ebbbbb9e9f883d"
|
|||||||
SRC_URI[sha256sum] = "650855e39ff56a8bb6cb0c192109c5926ce12f536d06e19ebf829de71ef396fe"
|
SRC_URI[sha256sum] = "650855e39ff56a8bb6cb0c192109c5926ce12f536d06e19ebf829de71ef396fe"
|
||||||
|
|
||||||
S = "${WORKDIR}/gst-plugins-bad-${PV}"
|
S = "${WORKDIR}/gst-plugins-bad-${PV}"
|
||||||
|
|
||||||
|
|||||||
@@ -3,24 +3,23 @@ DEFAULT_PREFERENCE = "-1"
|
|||||||
include gstreamer1.0-plugins-bad.inc
|
include gstreamer1.0-plugins-bad.inc
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
|
||||||
file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a \
|
|
||||||
file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \
|
file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \
|
||||||
file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50"
|
file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50 \
|
||||||
|
file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a"
|
||||||
S = "${WORKDIR}/git"
|
|
||||||
|
|
||||||
SRCREV = "6e5db57d2446a753aaa76bee268e1f95600b14ce"
|
SRCREV = "6e5db57d2446a753aaa76bee268e1f95600b14ce"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc"
|
PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc"
|
||||||
PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls"
|
PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls"
|
||||||
|
|
||||||
EXTRA_OECONF += " \
|
EXTRA_OECONF += " \
|
||||||
-disable-openjpeg \
|
-disable-openjpeg \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
cd ${S}
|
cd ${S}
|
||||||
./autogen.sh --noconfigure
|
./autogen.sh --noconfigure
|
||||||
cd ${B}
|
cd ${B}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user