1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# gst1-plugins-good 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunGST1_PLUGINS_GOOD_VERSION = 1.22.0 8*4882a593SmuzhiyunGST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz 9*4882a593SmuzhiyunGST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good 10*4882a593SmuzhiyunGST1_PLUGINS_GOOD_LICENSE_FILES = COPYING 11*4882a593SmuzhiyunGST1_PLUGINS_GOOD_LICENSE = LGPL-2.1+ 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 14*4882a593SmuzhiyunGST1_PLUGINS_GOOD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS = \ 17*4882a593Smuzhiyun -Dexamples=disabled \ 18*4882a593Smuzhiyun -Dtests=disabled \ 19*4882a593Smuzhiyun -Dgobject-cast-checks=disabled \ 20*4882a593Smuzhiyun -Dglib-asserts=disabled \ 21*4882a593Smuzhiyun -Dglib-checks=disabled \ 22*4882a593Smuzhiyun -Dasm=disabled \ 23*4882a593Smuzhiyun -Ddirectsound=disabled \ 24*4882a593Smuzhiyun -Dwaveform=disabled \ 25*4882a593Smuzhiyun -Drpicamsrc=disabled \ 26*4882a593Smuzhiyun -Dosxaudio=disabled \ 27*4882a593Smuzhiyun -Dosxvideo=disabled \ 28*4882a593Smuzhiyun -Daalib=disabled \ 29*4882a593Smuzhiyun -Dlibcaca=disabled \ 30*4882a593Smuzhiyun -Ddoc=disabled 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun# Options which require currently unpackaged libraries 33*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += \ 34*4882a593Smuzhiyun -Ddv=disabled \ 35*4882a593Smuzhiyun -Ddv1394=disabled 36*4882a593Smuzhiyun 37*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES = \ 38*4882a593Smuzhiyun gstreamer1 \ 39*4882a593Smuzhiyun gst1-plugins-base \ 40*4882a593Smuzhiyun $(TARGET_NLS_DEPENDENCIES) 41*4882a593Smuzhiyun 42*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_ROCKCHIP_RGA),y) 43*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += rockchip-rga 44*4882a593Smuzhiyunendif 45*4882a593Smuzhiyun 46*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_JACK),y) 47*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Djack=enabled 48*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += jack2 49*4882a593Smuzhiyunelse 50*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Djack=disabled 51*4882a593Smuzhiyunendif 52*4882a593Smuzhiyun 53*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBV4L),y) 54*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-libv4l2=enabled 55*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += libv4l 56*4882a593Smuzhiyunelse 57*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-libv4l2=disabled 58*4882a593Smuzhiyunendif 59*4882a593Smuzhiyun 60*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_ORC),y) 61*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dorc=enabled 62*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += orc 63*4882a593Smuzhiyunendif 64*4882a593Smuzhiyun 65*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ALPHA),y) 66*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dalpha=enabled 67*4882a593Smuzhiyunelse 68*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dalpha=disabled 69*4882a593Smuzhiyunendif 70*4882a593Smuzhiyun 71*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_APETAG),y) 72*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dapetag=enabled 73*4882a593Smuzhiyunelse 74*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dapetag=disabled 75*4882a593Smuzhiyunendif 76*4882a593Smuzhiyun 77*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX),y) 78*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Daudiofx=enabled 79*4882a593Smuzhiyunelse 80*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Daudiofx=disabled 81*4882a593Smuzhiyunendif 82*4882a593Smuzhiyun 83*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS),y) 84*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Daudioparsers=enabled 85*4882a593Smuzhiyunelse 86*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Daudioparsers=disabled 87*4882a593Smuzhiyunendif 88*4882a593Smuzhiyun 89*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUPARSE),y) 90*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dauparse=enabled 91*4882a593Smuzhiyunelse 92*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dauparse=disabled 93*4882a593Smuzhiyunendif 94*4882a593Smuzhiyun 95*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT),y) 96*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dautodetect=enabled 97*4882a593Smuzhiyunelse 98*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dautodetect=disabled 99*4882a593Smuzhiyunendif 100*4882a593Smuzhiyun 101*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AVI),y) 102*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Davi=enabled 103*4882a593Smuzhiyunelse 104*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Davi=disabled 105*4882a593Smuzhiyunendif 106*4882a593Smuzhiyun 107*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CUTTER),y) 108*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dcutter=enabled 109*4882a593Smuzhiyunelse 110*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dcutter=disabled 111*4882a593Smuzhiyunendif 112*4882a593Smuzhiyun 113*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEBUGUTILS),y) 114*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Ddebugutils=enabled 115*4882a593Smuzhiyunelse 116*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Ddebugutils=disabled 117*4882a593Smuzhiyunendif 118*4882a593Smuzhiyun 119*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEINTERLACE),y) 120*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Ddeinterlace=enabled 121*4882a593Smuzhiyunelse 122*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Ddeinterlace=disabled 123*4882a593Smuzhiyunendif 124*4882a593Smuzhiyun 125*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DTMF),y) 126*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Ddtmf=enabled 127*4882a593Smuzhiyunelse 128*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Ddtmf=disabled 129*4882a593Smuzhiyunendif 130*4882a593Smuzhiyun 131*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EFFECTV),y) 132*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Deffectv=enabled 133*4882a593Smuzhiyunelse 134*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Deffectv=disabled 135*4882a593Smuzhiyunendif 136*4882a593Smuzhiyun 137*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EQUALIZER),y) 138*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dequalizer=enabled 139*4882a593Smuzhiyunelse 140*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dequalizer=disabled 141*4882a593Smuzhiyunendif 142*4882a593Smuzhiyun 143*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLV),y) 144*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dflv=enabled 145*4882a593Smuzhiyunelse 146*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dflv=disabled 147*4882a593Smuzhiyunendif 148*4882a593Smuzhiyun 149*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLX),y) 150*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dflx=enabled 151*4882a593Smuzhiyunelse 152*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dflx=disabled 153*4882a593Smuzhiyunendif 154*4882a593Smuzhiyun 155*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM),y) 156*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom=enabled 157*4882a593Smuzhiyunelse 158*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom=disabled 159*4882a593Smuzhiyunendif 160*4882a593Smuzhiyun 161*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM2K1),y) 162*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom2k1=enabled 163*4882a593Smuzhiyunelse 164*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom2k1=disabled 165*4882a593Smuzhiyunendif 166*4882a593Smuzhiyun 167*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ICYDEMUX),y) 168*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dicydemux=enabled 169*4882a593Smuzhiyunelse 170*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dicydemux=disabled 171*4882a593Smuzhiyunendif 172*4882a593Smuzhiyun 173*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX),y) 174*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Did3demux=enabled 175*4882a593Smuzhiyunelse 176*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Did3demux=disabled 177*4882a593Smuzhiyunendif 178*4882a593Smuzhiyun 179*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE),y) 180*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dimagefreeze=enabled 181*4882a593Smuzhiyunelse 182*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dimagefreeze=disabled 183*4882a593Smuzhiyunendif 184*4882a593Smuzhiyun 185*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_INTERLEAVE),y) 186*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dinterleave=enabled 187*4882a593Smuzhiyunelse 188*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dinterleave=disabled 189*4882a593Smuzhiyunendif 190*4882a593Smuzhiyun 191*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4),y) 192*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Disomp4=enabled 193*4882a593Smuzhiyunelse 194*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Disomp4=disabled 195*4882a593Smuzhiyunendif 196*4882a593Smuzhiyun 197*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAME),y) 198*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dlame=enabled 199*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += lame 200*4882a593Smuzhiyunelse 201*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dlame=disabled 202*4882a593Smuzhiyunendif 203*4882a593Smuzhiyun 204*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MPG123),y) 205*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dmpg123=enabled 206*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += mpg123 207*4882a593Smuzhiyunelse 208*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dmpg123=disabled 209*4882a593Smuzhiyunendif 210*4882a593Smuzhiyun 211*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAW),y) 212*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dlaw=enabled 213*4882a593Smuzhiyunelse 214*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dlaw=disabled 215*4882a593Smuzhiyunendif 216*4882a593Smuzhiyun 217*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LEVEL),y) 218*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dlevel=enabled 219*4882a593Smuzhiyunelse 220*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dlevel=disabled 221*4882a593Smuzhiyunendif 222*4882a593Smuzhiyun 223*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA),y) 224*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dmatroska=enabled 225*4882a593Smuzhiyunelse 226*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dmatroska=disabled 227*4882a593Smuzhiyunendif 228*4882a593Smuzhiyun 229*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MONOSCOPE),y) 230*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dmonoscope=enabled 231*4882a593Smuzhiyunelse 232*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dmonoscope=disabled 233*4882a593Smuzhiyunendif 234*4882a593Smuzhiyun 235*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIFILE),y) 236*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dmultifile=enabled 237*4882a593Smuzhiyunelse 238*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dmultifile=disabled 239*4882a593Smuzhiyunendif 240*4882a593Smuzhiyun 241*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIPART),y) 242*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dmultipart=enabled 243*4882a593Smuzhiyunelse 244*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dmultipart=disabled 245*4882a593Smuzhiyunendif 246*4882a593Smuzhiyun 247*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_REPLAYGAIN),y) 248*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dreplaygain=enabled 249*4882a593Smuzhiyunelse 250*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dreplaygain=disabled 251*4882a593Smuzhiyunendif 252*4882a593Smuzhiyun 253*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP),y) 254*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Drtp=enabled 255*4882a593Smuzhiyunelse 256*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Drtp=disabled 257*4882a593Smuzhiyunendif 258*4882a593Smuzhiyun 259*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER),y) 260*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Drtpmanager=enabled 261*4882a593Smuzhiyunelse 262*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Drtpmanager=disabled 263*4882a593Smuzhiyunendif 264*4882a593Smuzhiyun 265*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP),y) 266*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Drtsp=enabled 267*4882a593Smuzhiyunelse 268*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Drtsp=disabled 269*4882a593Smuzhiyunendif 270*4882a593Smuzhiyun 271*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHAPEWIPE),y) 272*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dshapewipe=enabled 273*4882a593Smuzhiyunelse 274*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dshapewipe=disabled 275*4882a593Smuzhiyunendif 276*4882a593Smuzhiyun 277*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SMPTE),y) 278*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dsmpte=enabled 279*4882a593Smuzhiyunelse 280*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dsmpte=disabled 281*4882a593Smuzhiyunendif 282*4882a593Smuzhiyun 283*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPECTRUM),y) 284*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dspectrum=enabled 285*4882a593Smuzhiyunelse 286*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dspectrum=disabled 287*4882a593Smuzhiyunendif 288*4882a593Smuzhiyun 289*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_UDP),y) 290*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dudp=enabled 291*4882a593Smuzhiyunelse 292*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dudp=disabled 293*4882a593Smuzhiyunendif 294*4882a593Smuzhiyun 295*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOBOX),y) 296*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dvideobox=enabled 297*4882a593Smuzhiyunelse 298*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dvideobox=disabled 299*4882a593Smuzhiyunendif 300*4882a593Smuzhiyun 301*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOCROP),y) 302*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dvideocrop=enabled 303*4882a593Smuzhiyunelse 304*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dvideocrop=disabled 305*4882a593Smuzhiyunendif 306*4882a593Smuzhiyun 307*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOFILTER),y) 308*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dvideofilter=enabled 309*4882a593Smuzhiyunelse 310*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dvideofilter=disabled 311*4882a593Smuzhiyunendif 312*4882a593Smuzhiyun 313*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOMIXER),y) 314*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dvideomixer=enabled 315*4882a593Smuzhiyunelse 316*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dvideomixer=disabled 317*4882a593Smuzhiyunendif 318*4882a593Smuzhiyun 319*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVENC),y) 320*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dwavenc=enabled 321*4882a593Smuzhiyunelse 322*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dwavenc=disabled 323*4882a593Smuzhiyunendif 324*4882a593Smuzhiyun 325*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPARSE),y) 326*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dwavparse=enabled 327*4882a593Smuzhiyunelse 328*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dwavparse=disabled 329*4882a593Smuzhiyunendif 330*4882a593Smuzhiyun 331*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_XINGMUX),y) 332*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dxingmux=enabled 333*4882a593Smuzhiyunelse 334*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dxingmux=disabled 335*4882a593Smuzhiyunendif 336*4882a593Smuzhiyun 337*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_Y4M),y) 338*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dy4m=enabled 339*4882a593Smuzhiyunelse 340*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dy4m=disabled 341*4882a593Smuzhiyunendif 342*4882a593Smuzhiyun 343*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS),y) 344*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Doss=enabled 345*4882a593Smuzhiyunelse 346*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Doss=disabled 347*4882a593Smuzhiyunendif 348*4882a593Smuzhiyun 349*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS4),y) 350*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Doss4=enabled 351*4882a593Smuzhiyunelse 352*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Doss4=disabled 353*4882a593Smuzhiyunendif 354*4882a593Smuzhiyun 355*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_QMLGL),y) 356*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dqt5=enabled 357*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += qt5declarative 358*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) 359*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += qt5x11extras 360*4882a593Smuzhiyunendif 361*4882a593Smuzhiyunelse 362*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dqt5=disabled 363*4882a593Smuzhiyunendif 364*4882a593Smuzhiyun 365*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHOUT2),y) 366*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dshout2=enabled 367*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += libshout 368*4882a593Smuzhiyunelse 369*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dshout2=disabled 370*4882a593Smuzhiyunendif 371*4882a593Smuzhiyun 372*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2),y) 373*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2=enabled 374*4882a593Smuzhiyun# Enable use of gudev if available, for device probing and monitoring. 375*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBGUDEV),y) 376*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += libgudev 377*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-gudev=enabled 378*4882a593Smuzhiyunelse 379*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-gudev=disabled 380*4882a593Smuzhiyunendif 381*4882a593Smuzhiyunelse 382*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2=disabled 383*4882a593Smuzhiyunendif 384*4882a593Smuzhiyun 385*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE),y) 386*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-probe=true 387*4882a593Smuzhiyunelse 388*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-probe=false 389*4882a593Smuzhiyunendif 390*4882a593Smuzhiyun 391*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_XORG7),y) 392*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv 393*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc=enabled 394*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) 395*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libXfixes 396*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc-xfixes=enabled 397*4882a593Smuzhiyunendif 398*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y) 399*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libXdamage 400*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc-xdamage=enabled 401*4882a593Smuzhiyunendif 402*4882a593Smuzhiyunelse 403*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += \ 404*4882a593Smuzhiyun -Dximagesrc=disabled \ 405*4882a593Smuzhiyun -Dximagesrc-xfixes=disabled \ 406*4882a593Smuzhiyun -Dximagesrc-xdamage=disabled 407*4882a593Smuzhiyunendif 408*4882a593Smuzhiyun 409*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CAIRO),y) 410*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dcairo=enabled 411*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += cairo 412*4882a593Smuzhiyunelse 413*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dcairo=disabled 414*4882a593Smuzhiyunendif 415*4882a593Smuzhiyun 416*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLAC),y) 417*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dflac=enabled 418*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += flac 419*4882a593Smuzhiyunelse 420*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dflac=disabled 421*4882a593Smuzhiyunendif 422*4882a593Smuzhiyun 423*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GDKPIXBUF),y) 424*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dgdk-pixbuf=enabled 425*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += gdk-pixbuf 426*4882a593Smuzhiyunelse 427*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dgdk-pixbuf=disabled 428*4882a593Smuzhiyunendif 429*4882a593Smuzhiyun 430*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_JPEG),y) 431*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Djpeg=enabled 432*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += jpeg 433*4882a593Smuzhiyunelse 434*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Djpeg=disabled 435*4882a593Smuzhiyunendif 436*4882a593Smuzhiyun 437*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PNG),y) 438*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dpng=enabled 439*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += libpng 440*4882a593Smuzhiyunelse 441*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dpng=disabled 442*4882a593Smuzhiyunendif 443*4882a593Smuzhiyun 444*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE),y) 445*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dpulse=enabled 446*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += pulseaudio 447*4882a593Smuzhiyunelse 448*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dpulse=disabled 449*4882a593Smuzhiyunendif 450*4882a593Smuzhiyun 451*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC),y) 452*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dsoup=enabled 453*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += libsoup 454*4882a593Smuzhiyunelse 455*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dsoup=disabled 456*4882a593Smuzhiyunendif 457*4882a593Smuzhiyun 458*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPEEX),y) 459*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dspeex=enabled 460*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += speex 461*4882a593Smuzhiyunelse 462*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dspeex=disabled 463*4882a593Smuzhiyunendif 464*4882a593Smuzhiyun 465*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TAGLIB),y) 466*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dtaglib=enabled 467*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += taglib 468*4882a593Smuzhiyunelse 469*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dtaglib=disabled 470*4882a593Smuzhiyunendif 471*4882a593Smuzhiyun 472*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TWOLAME),y) 473*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dtwolame=enabled 474*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += twolame 475*4882a593Smuzhiyunelse 476*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dtwolame=disabled 477*4882a593Smuzhiyunendif 478*4882a593Smuzhiyun 479*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX),y) 480*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dvpx=enabled 481*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += libvpx 482*4882a593Smuzhiyunelse 483*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dvpx=disabled 484*4882a593Smuzhiyunendif 485*4882a593Smuzhiyun 486*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK),y) 487*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dwavpack=enabled 488*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += wavpack 489*4882a593Smuzhiyunelse 490*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dwavpack=disabled 491*4882a593Smuzhiyunendif 492*4882a593Smuzhiyun 493*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_BZ2),y) 494*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dbz2=enabled 495*4882a593SmuzhiyunGST1_PLUGINS_GOOD_DEPENDENCIES += bzip2 496*4882a593Smuzhiyunelse 497*4882a593SmuzhiyunGST1_PLUGINS_GOOD_CONF_OPTS += -Dbz2=disabled 498*4882a593Smuzhiyunendif 499*4882a593Smuzhiyun 500*4882a593Smuzhiyun$(eval $(meson-package)) 501