summaryrefslogtreecommitdiffstats
path: root/common/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
blob: 0a0f5d9c5fee191a794da90c5520334238751cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PACKAGECONFIG ??= " \
    ${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
    ${@base_contains('DISTRO_FEATURES', 'opengl', 'eglgles', '', d)} \
    ${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
    ${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
    curl uvch264 neon \
    hls sbc dash bz2 smoothstreaming \
    "

DEPENDS += "directfb faad2 libxml2 libuiomux libshvio"

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

TARGET_CFLAGS += "-D_GNU_SOURCE"
PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb"

PACKAGECONFIG := "${@'${PACKAGECONFIG}'.replace('curl', '')}"
PACKAGECONFIG := "${@'${PACKAGECONFIG}'.replace('eglgles', '')}"
PACKAGECONFIG += "faad directfb"

EXTRA_OECONF += "--enable-directfb --enable-experimental --disable-nls"