meta-digi: rework gstreamer support for yocto dylan
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
93d275a43d
commit
0d7e90319a
|
|
@ -1,40 +0,0 @@
|
||||||
# Copyright (C) 2013 Digi International.
|
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 1}"
|
|
||||||
PR_append = "+${DISTRO}"
|
|
||||||
|
|
||||||
# Overwrite DEPENDS to avoid livrsvg dependency
|
|
||||||
# which brings in gtk+
|
|
||||||
DEPENDS = "gst-plugins-base libmusicbrainz tremor curl"
|
|
||||||
|
|
||||||
PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
|
|
||||||
PACKAGECONFIG[x11] = ",--without-x,"
|
|
||||||
|
|
||||||
EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb \
|
|
||||||
--with-plugins=musicbrainz,wavpack,ivorbis,mpegvideoparse,freeze --disable-vdpau --disable-apexsink \
|
|
||||||
--disable-orc"
|
|
||||||
|
|
||||||
EXTRA_OECONF += "\
|
|
||||||
--disable-rsvg \
|
|
||||||
--disable-bayer \
|
|
||||||
--disable-camerabin \
|
|
||||||
--disable-cdxaparse \
|
|
||||||
--disable-dccp \
|
|
||||||
--disable-debugutils \
|
|
||||||
--disable-dtmf \
|
|
||||||
--disable-dvb \
|
|
||||||
--disable-dvdnav \
|
|
||||||
--disable-dvdspu \
|
|
||||||
--disable-festival \
|
|
||||||
--disable-frei0r \
|
|
||||||
--disable-librfb \
|
|
||||||
--disable-mve \
|
|
||||||
--disable-mxf \
|
|
||||||
--disable-neon \
|
|
||||||
--disable-nsf \
|
|
||||||
--disable-pcapparse \
|
|
||||||
--disable-rtpmux \
|
|
||||||
--disable-siren \
|
|
||||||
--disable-vcd \
|
|
||||||
--disable-videosignal \
|
|
||||||
"
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
# Copyright (C) 2013 Digi International.
|
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 1}"
|
|
||||||
PR_append = "+${DISTRO}"
|
|
||||||
|
|
||||||
PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11 flac', '', d)}"
|
|
||||||
PACKAGECONFIG[x11] = ",--disable-gconf --disable-x --disable-xshm --disable-xvideo,"
|
|
||||||
PACKAGECONFIG[flac] = ",--disable-flac,"
|
|
||||||
|
|
||||||
DEPENDS_no_X := "${@oe_filter_out('gconf', '${DEPENDS}', d)}"
|
|
||||||
DEPENDS := "${@base_contains('DISTRO_FEATURES', 'x11', '${DEPENDS}', '${DEPENDS_no_X}', d)}"
|
|
||||||
|
|
||||||
EXTRA_OECONF += "\
|
|
||||||
--disable-aalibtest \
|
|
||||||
--disable-audiofx \
|
|
||||||
--disable-cairo \
|
|
||||||
--disable-cutter \
|
|
||||||
--disable-debug \
|
|
||||||
--disable-debugutils \
|
|
||||||
--disable-directsound \
|
|
||||||
--disable-dv1394 \
|
|
||||||
--disable-effectv \
|
|
||||||
--disable-esdtest \
|
|
||||||
--disable-examples \
|
|
||||||
--disable-goom \
|
|
||||||
--disable-goom2k1 \
|
|
||||||
--disable-gtk-doc \
|
|
||||||
--disable-libdv \
|
|
||||||
--disable-libpng \
|
|
||||||
--disable-osx_audio \
|
|
||||||
--disable-osx_video \
|
|
||||||
--disable-rpath \
|
|
||||||
--disable-shout2test \
|
|
||||||
--disable-spectrum \
|
|
||||||
--disable-speex \
|
|
||||||
--disable-sunaudio \
|
|
||||||
--disable-valgrind \
|
|
||||||
"
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
# Copyright (C) 2013 Digi International.
|
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 1}"
|
|
||||||
PR_append = "+${DISTRO}"
|
|
||||||
|
|
||||||
EXTRA_OECONF += "\
|
|
||||||
--disable-dvdlpcmdec \
|
|
||||||
--disable-dvdsub \
|
|
||||||
--disable-iec958 \
|
|
||||||
--disable-rpath \
|
|
||||||
"
|
|
||||||
|
|
@ -3,14 +3,13 @@
|
||||||
PRINC := "${@int(PRINC) + 1}"
|
PRINC := "${@int(PRINC) + 1}"
|
||||||
PR_append = "+${DISTRO}"
|
PR_append = "+${DISTRO}"
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11 gio', '', d)}"
|
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
|
||||||
PACKAGECONFIG[x11] = ",--disable-x --disable-xshm --disable-xvideo --disable-libvisual,"
|
PACKAGECONFIG[x11] = ",--disable-x --disable-xshm --disable-xvideo --disable-libvisual,"
|
||||||
PACKAGECONFIG[gio] = ",--disable-gio,"
|
|
||||||
|
|
||||||
EXTRA_OECONF += "\
|
EXTRA_OECONF += " \
|
||||||
--disable-cdparanoia \
|
--disable-cdparanoia \
|
||||||
--disable-examples \
|
--disable-examples \
|
||||||
--disable-gtk-doc \
|
--disable-gtk-doc \
|
||||||
--disable-ivorbis \
|
--disable-ivorbis \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
"
|
"
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Copyright (C) 2013 Digi International.
|
||||||
|
|
||||||
|
PRINC := "${@int(PRINC) + 1}"
|
||||||
|
PR_append = "+${DISTRO}"
|
||||||
|
|
||||||
|
PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
|
||||||
|
PACKAGECONFIG[x11] = ",--disable-gconf --disable-x --disable-xshm --disable-xvideo,"
|
||||||
|
|
||||||
|
DEPENDS_no_X := "${@oe_filter_out('gconf', '${DEPENDS}', d)}"
|
||||||
|
DEPENDS := "${@base_contains('DISTRO_FEATURES', 'x11', '${DEPENDS}', '${DEPENDS_no_X}', d)}"
|
||||||
|
|
||||||
|
EXTRA_OECONF += " \
|
||||||
|
--disable-aalibtest \
|
||||||
|
--disable-audiofx \
|
||||||
|
--disable-cairo \
|
||||||
|
--disable-cutter \
|
||||||
|
--disable-debug \
|
||||||
|
--disable-debugutils \
|
||||||
|
--disable-directsound \
|
||||||
|
--disable-dv1394 \
|
||||||
|
--disable-effectv \
|
||||||
|
--disable-esdtest \
|
||||||
|
--disable-examples \
|
||||||
|
--disable-goom \
|
||||||
|
--disable-goom2k1 \
|
||||||
|
--disable-gtk-doc \
|
||||||
|
--disable-libdv \
|
||||||
|
--disable-libpng \
|
||||||
|
--disable-osx_audio \
|
||||||
|
--disable-osx_video \
|
||||||
|
--disable-rpath \
|
||||||
|
--disable-shout2test \
|
||||||
|
--disable-spectrum \
|
||||||
|
--disable-speex \
|
||||||
|
--disable-sunaudio \
|
||||||
|
--disable-valgrind \
|
||||||
|
"
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
# Copyright (C) 2013 Digi International.
|
||||||
|
|
||||||
|
PRINC := "${@int(PRINC) + 1}"
|
||||||
|
PR_append = "+${DISTRO}"
|
||||||
|
|
||||||
|
EXTRA_OECONF += " \
|
||||||
|
--disable-dvdlpcmdec \
|
||||||
|
--disable-dvdsub \
|
||||||
|
--disable-iec958 \
|
||||||
|
--disable-rpath \
|
||||||
|
"
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
# Copyright (C) 2013 Digi International.
|
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 1}"
|
|
||||||
PR_append = "+${DISTRO}"
|
|
||||||
|
|
||||||
EXTRA_OECONF += "\
|
|
||||||
--disable-check \
|
|
||||||
--disable-debug \
|
|
||||||
--disable-failing-tests \
|
|
||||||
--disable-rpath \
|
|
||||||
--disable-shave \
|
|
||||||
"
|
|
||||||
|
|
@ -4,213 +4,21 @@
|
||||||
SUMMARY = "Gstreamer framework packagegroup for DEY image"
|
SUMMARY = "Gstreamer framework packagegroup for DEY image"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
||||||
ALLOW_EMPTY_${PN} = "1"
|
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
inherit packagegroup
|
inherit packagegroup
|
||||||
|
|
||||||
VIRTUAL_RUNTIME_gst-fsl-plugin ?= ""
|
MACHINE_GSTREAMER_PLUGIN ?= ""
|
||||||
VIRTUAL_RUNTIME_gst-fsl-plugin_append_mx5 = " \
|
|
||||||
gst-fsl-plugin \
|
|
||||||
gst-fsl-plugin-gplay \
|
|
||||||
"
|
|
||||||
|
|
||||||
# See http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/
|
RDEPENDS_${PN} = " \
|
||||||
|
gst-meta-audio \
|
||||||
PACKAGE_gst-plugins-base-core = "\
|
gst-meta-video \
|
||||||
gst-plugins-base \
|
|
||||||
gst-plugins-base-adder \
|
|
||||||
gst-plugins-base-app \
|
|
||||||
gst-plugins-base-tcp \
|
|
||||||
gst-plugins-base-gdp \
|
|
||||||
gst-plugins-base-videotestsrc \
|
|
||||||
gst-plugins-base-meta \
|
|
||||||
gst-plugins-base-glib \
|
|
||||||
gst-plugins-base-typefindfunctions \
|
|
||||||
"
|
|
||||||
PACKAGE_gst-plugins-base-audio = "\
|
|
||||||
gst-plugins-base-audiorate \
|
|
||||||
gst-plugins-base-audioconvert \
|
|
||||||
gst-plugins-base-audioresample \
|
|
||||||
gst-plugins-base-alsa \
|
|
||||||
gst-plugins-base-audiotestsrc \
|
|
||||||
gst-plugins-base-volume \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-base-ogg-framework = "\
|
|
||||||
gst-plugins-base-ogg \
|
|
||||||
gst-plugins-base-theora \
|
|
||||||
gst-plugins-base-vorbis \
|
|
||||||
"
|
|
||||||
PACKAGE_gst-plugins-base-conversion = "\
|
|
||||||
gst-plugins-base-ffmpegcolorspace \
|
|
||||||
gst-plugins-base-videorate \
|
|
||||||
gst-plugins-base-videoscale \
|
|
||||||
"
|
|
||||||
PACKAGE_gst-plugins-base-subtitles = "\
|
|
||||||
gst-plugins-base-subparse \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-base-auto = "\
|
|
||||||
gst-plugins-base-playbin \
|
|
||||||
gst-plugins-base-encodebin \
|
|
||||||
gst-plugins-base-decodebin \
|
|
||||||
gst-plugins-base-decodebin2 \
|
|
||||||
"
|
|
||||||
|
|
||||||
VIRTUAL_RUNTIME_gst-plugins-base = "\
|
|
||||||
${PACKAGE_gst-plugins-base-core} \
|
|
||||||
${PACKAGE_gst-plugins-base-auto} \
|
|
||||||
${PACKAGE_gst-plugins-base-conversion} \
|
|
||||||
${@base_contains('DISTRO_FEATURES', 'dey-audio', '${PACKAGE_gst-plugins-base-audio}', '', d)} \
|
|
||||||
"
|
|
||||||
|
|
||||||
# See http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/
|
|
||||||
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-good-core = "\
|
|
||||||
gst-plugins-good \
|
|
||||||
gst-plugins-good-alpha \
|
|
||||||
gst-plugins-good-alphacolor \
|
|
||||||
gst-plugins-good-apps \
|
|
||||||
gst-plugins-good-autodetect \
|
|
||||||
gst-plugins-good-glib \
|
|
||||||
gst-plugins-good-meta \
|
|
||||||
gst-plugins-good-multifile \
|
|
||||||
gst-plugins-good-multipart \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-good-audio = "\
|
|
||||||
gst-plugins-good-alaw \
|
|
||||||
gst-plugins-good-mulaw \
|
|
||||||
gst-plugins-good-audioparsers \
|
|
||||||
gst-plugins-good-auparse \
|
|
||||||
gst-plugins-good-equalizer \
|
|
||||||
gst-plugins-good-interleave \
|
|
||||||
gst-plugins-good-level \
|
|
||||||
gst-plugins-good-replaygain \
|
|
||||||
gst-plugins-good-wavenc \
|
|
||||||
gst-plugins-good-wavparse \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-good-oss = "\
|
|
||||||
gst-plugins-good-oss4audio \
|
|
||||||
gst-plugins-good-ossaudio \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-good-graphics = "\
|
|
||||||
gst-plugins-good-imagefreeze \
|
|
||||||
gst-plugins-good-jpeg \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-good-video = "\
|
|
||||||
gst-plugins-good-avi \
|
|
||||||
gst-plugins-good-flv \
|
|
||||||
gst-plugins-good-flxdec \
|
|
||||||
gst-plugins-good-deinterlace \
|
|
||||||
gst-plugins-good-isomp4 \
|
|
||||||
gst-plugins-good-matroska \
|
|
||||||
gst-plugins-good-smpte \
|
|
||||||
gst-plugins-good-video4linux2 \
|
|
||||||
gst-plugins-good-videobox \
|
|
||||||
gst-plugins-good-videocrop \
|
|
||||||
gst-plugins-good-videofilter \
|
|
||||||
gst-plugins-good-videomixer \
|
|
||||||
gst-plugins-good-y4menc \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-good-misc = "\
|
|
||||||
gst-plugins-good-annodex \
|
|
||||||
gst-plugins-good-apetag \
|
|
||||||
gst-plugins-good-icydemux \
|
|
||||||
gst-plugins-good-id3demux \
|
|
||||||
gst-plugins-good-pulse \
|
|
||||||
gst-plugins-good-shapewipe \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-good-streaming = "\
|
|
||||||
gst-plugins-good-rtp \
|
|
||||||
gst-plugins-good-rtsp \
|
|
||||||
gst-plugins-good-souphttpsrc \
|
|
||||||
gst-plugins-good-udp \
|
|
||||||
gst-plugins-good-rtpmanager \
|
|
||||||
"
|
|
||||||
|
|
||||||
VIRTUAL_RUNTIME_gst-plugins-good = "\
|
|
||||||
${PACKAGE_gst-plugins-good-core} \
|
|
||||||
${@base_contains('DISTRO_FEATURES', 'dey-audio', '${PACKAGE_gst-plugins-good-audio}', '', d)} \
|
|
||||||
${PACKAGE_gst-plugins-good-graphics} \
|
|
||||||
${PACKAGE_gst-plugins-good-video} \
|
|
||||||
${PACKAGE_gst-plugins-good-streaming} \
|
|
||||||
"
|
|
||||||
|
|
||||||
# See http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-bad-core = "\
|
|
||||||
gst-plugins-bad \
|
|
||||||
gst-plugins-bad-apps \
|
|
||||||
gst-plugins-bad-glib \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-bad-misc = "\
|
|
||||||
gst-plugins-bad-cog \
|
|
||||||
gst-plugins-bad-curl \
|
|
||||||
gst-plugins-bad-decklink \
|
|
||||||
gst-plugins-bad-fbdevsink \
|
|
||||||
gst-plugins-bad-linsys \
|
|
||||||
gst-plugins-bad-mpegvideoparse \
|
|
||||||
gst-plugins-bad-shm \
|
|
||||||
gst-plugins-bad-sndfile \
|
|
||||||
"
|
|
||||||
|
|
||||||
VIRTUAL_RUNTIME_gst-plugins-bad = "\
|
|
||||||
"
|
|
||||||
|
|
||||||
# See http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-ugly-plugins/html/
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-ugly-core = "\
|
|
||||||
gst-plugins-ugly \
|
|
||||||
gst-plugins-ugly-apps \
|
|
||||||
gst-plugins-ugly-glib \
|
|
||||||
gst-plugins-ugly-meta \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGE_gst-plugins-ugly-audio = "\
|
|
||||||
gst-plugins-ugly-a52dec \
|
|
||||||
gst-plugins-ugly-lame \
|
|
||||||
gst-plugins-ugly-mad \
|
|
||||||
gst-plugins-ugly-mpegaudioparse \
|
|
||||||
"
|
|
||||||
PACKAGE_gst-plugins-ugly-video = "\
|
|
||||||
gst-plugins-ugly-asf \
|
|
||||||
gst-plugins-ugly-mpeg2dec \
|
|
||||||
gst-plugins-ugly-rmdemux \
|
|
||||||
"
|
|
||||||
PACKAGE_gst-plugins-ugly-streaming = "\
|
|
||||||
gst-plugins-ugly-mpegstream \
|
|
||||||
"
|
|
||||||
VIRTUAL_RUNTIME_gst-plugins-ugly = "\
|
|
||||||
${PACKAGE_gst-plugins-ugly-core} \
|
|
||||||
${PACKAGE_gst-plugins-ugly-video} \
|
|
||||||
"
|
|
||||||
|
|
||||||
VIRTUAL_RUNTIME_gst-plugins-ugly_append_ccardimx28js = " \
|
|
||||||
${@base_contains('DISTRO_FEATURES', 'dey-audio', '${PACKAGE_gst-plugins-ugly-audio}', '', d)} \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS_${PN} = "\
|
|
||||||
${VIRTUAL_RUNTIME_gst-fsl-plugin} \
|
|
||||||
${MACHINE_FIRMWARE} \
|
${MACHINE_FIRMWARE} \
|
||||||
gstreamer \
|
${MACHINE_GSTREAMER_PLUGIN} \
|
||||||
${VIRTUAL_RUNTIME_gst-plugins-base} \
|
gst-fsl-plugin-gplay \
|
||||||
${VIRTUAL_RUNTIME_gst-plugins-good} \
|
"
|
||||||
${VIRTUAL_RUNTIME_gst-plugins-bad} \
|
|
||||||
${VIRTUAL_RUNTIME_gst-plugins-ugly} \
|
|
||||||
gst-ffmpeg \
|
|
||||||
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
|
|
||||||
|
|
||||||
RDEPENDS_${PN}_append_mx5 = " imx-lib"
|
ALLOW_EMPTY_${PN} = "1"
|
||||||
|
|
||||||
RRECOMMENDS_${PN} = "\
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue