gst1-plugins-bad.mk 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  1. ################################################################################
  2. #
  3. # gst1-plugins-bad
  4. #
  5. ################################################################################
  6. GST1_PLUGINS_BAD_VERSION = 1.18.1
  7. GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz
  8. GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad
  9. GST1_PLUGINS_BAD_INSTALL_STAGING = YES
  10. # Additional plugin licenses will be appended to GST1_PLUGINS_BAD_LICENSE and
  11. # GST1_PLUGINS_BAD_LICENSE_FILES if enabled.
  12. GST1_PLUGINS_BAD_LICENSE_FILES = COPYING
  13. GST1_PLUGINS_BAD_LICENSE = LGPL-2.0+
  14. GST1_PLUGINS_BAD_CFLAGS = $(TARGET_CFLAGS) -std=c99 -D_GNU_SOURCE
  15. GST1_PLUGINS_BAD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
  16. GST1_PLUGINS_BAD_CONF_OPTS = \
  17. -Dexamples=disabled \
  18. -Dtests=disabled \
  19. -Ddirectsound=disabled \
  20. -Dd3dvideosink=disabled \
  21. -Dwinks=disabled \
  22. -Dandroidmedia=disabled \
  23. -Dapplemedia=disabled \
  24. -Dgobject-cast-checks=disabled \
  25. -Dglib-asserts=disabled \
  26. -Dglib-checks=disabled \
  27. -Dextra-checks=disabled \
  28. -Ddoc=disabled
  29. # Options which require currently unpackaged libraries
  30. GST1_PLUGINS_BAD_CONF_OPTS += \
  31. -Davtp=disabled \
  32. -Dopensles=disabled \
  33. -Duvch264=disabled \
  34. -Dmsdk=disabled \
  35. -Dvoamrwbenc=disabled \
  36. -Dbs2b=disabled \
  37. -Dchromaprint=disabled \
  38. -Dd3d11=disabled \
  39. -Ddc1394=disabled \
  40. -Ddts=disabled \
  41. -Dresindvd=disabled \
  42. -Dfaac=disabled \
  43. -Dflite=disabled \
  44. -Dgsm=disabled \
  45. -Dkate=disabled \
  46. -Dladspa=disabled \
  47. -Dlv2=disabled \
  48. -Dmediafoundation=disabled \
  49. -Dmicrodns=disabled \
  50. -Dlibde265=disabled \
  51. -Dmodplug=disabled \
  52. -Dmplex=disabled \
  53. -Dofa=disabled \
  54. -Dopenexr=disabled \
  55. -Dopenni2=disabled \
  56. -Dteletextdec=disabled \
  57. -Dwildmidi=disabled \
  58. -Dsmoothstreaming=disabled \
  59. -Dsoundtouch=disabled \
  60. -Dgme=disabled \
  61. -Dvdpau=disabled \
  62. -Dspandsp=disabled \
  63. -Dsvthevcenc=disabled \
  64. -Dtranscode=disabled \
  65. -Dwasapi2=disabled \
  66. -Dzxing=disabled \
  67. -Dmagicleap=disabled \
  68. -Diqa=disabled \
  69. -Dopencv=disabled
  70. GST1_PLUGINS_BAD_DEPENDENCIES = gst1-plugins-base gstreamer1
  71. ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
  72. GST1_PLUGINS_BAD_CONF_OPTS += -Dintrospection=enabled
  73. GST1_PLUGINS_BAD_DEPENDENCIES += gobject-introspection
  74. else
  75. GST1_PLUGINS_BAD_CONF_OPTS += -Dintrospection=disabled
  76. endif
  77. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND),y)
  78. GST1_PLUGINS_BAD_CONF_OPTS += -Dwayland=enabled
  79. GST1_PLUGINS_BAD_DEPENDENCIES += libdrm wayland wayland-protocols
  80. else
  81. GST1_PLUGINS_BAD_CONF_OPTS += -Dwayland=disabled
  82. endif
  83. ifeq ($(BR2_PACKAGE_ORC),y)
  84. GST1_PLUGINS_BAD_DEPENDENCIES += orc
  85. GST1_PLUGINS_BAD_CONF_OPTS += -Dorc=enabled
  86. else
  87. GST1_PLUGINS_BAD_CONF_OPTS += -Dorc=disabled
  88. endif
  89. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BLUEZ),y)
  90. GST1_PLUGINS_BAD_DEPENDENCIES += bluez5_utils
  91. GST1_PLUGINS_BAD_CONF_OPTS += -Dbluez=enabled
  92. else
  93. GST1_PLUGINS_BAD_CONF_OPTS += -Dbluez=disabled
  94. endif
  95. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ACCURIP),y)
  96. GST1_PLUGINS_BAD_CONF_OPTS += -Daccurip=enabled
  97. else
  98. GST1_PLUGINS_BAD_CONF_OPTS += -Daccurip=disabled
  99. endif
  100. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMDEC),y)
  101. GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmdec=enabled
  102. else
  103. GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmdec=disabled
  104. endif
  105. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMENC),y)
  106. GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmenc=enabled
  107. else
  108. GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmenc=disabled
  109. endif
  110. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AIFF),y)
  111. GST1_PLUGINS_BAD_CONF_OPTS += -Daiff=enabled
  112. else
  113. GST1_PLUGINS_BAD_CONF_OPTS += -Daiff=disabled
  114. endif
  115. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASFMUX),y)
  116. GST1_PLUGINS_BAD_CONF_OPTS += -Dasfmux=enabled
  117. else
  118. GST1_PLUGINS_BAD_CONF_OPTS += -Dasfmux=disabled
  119. endif
  120. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOBUFFERSPLIT),y)
  121. GST1_PLUGINS_BAD_CONF_OPTS += -Daudiobuffersplit=enabled
  122. else
  123. GST1_PLUGINS_BAD_CONF_OPTS += -Daudiobuffersplit=disabled
  124. endif
  125. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOFXBAD),y)
  126. GST1_PLUGINS_BAD_CONF_OPTS += -Daudiofxbad=enabled
  127. else
  128. GST1_PLUGINS_BAD_CONF_OPTS += -Daudiofxbad=disabled
  129. endif
  130. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOLATENCY),y)
  131. GST1_PLUGINS_BAD_CONF_OPTS += -Daudiolatency=enabled
  132. else
  133. GST1_PLUGINS_BAD_CONF_OPTS += -Daudiolatency=disabled
  134. endif
  135. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXMATRIX),y)
  136. GST1_PLUGINS_BAD_CONF_OPTS += -Daudiomixmatrix=enabled
  137. else
  138. GST1_PLUGINS_BAD_CONF_OPTS += -Daudiomixmatrix=disabled
  139. endif
  140. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS),y)
  141. GST1_PLUGINS_BAD_CONF_OPTS += -Daudiovisualizers=enabled
  142. else
  143. GST1_PLUGINS_BAD_CONF_OPTS += -Daudiovisualizers=disabled
  144. endif
  145. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUTOCONVERT),y)
  146. GST1_PLUGINS_BAD_CONF_OPTS += -Dautoconvert=enabled
  147. else
  148. GST1_PLUGINS_BAD_CONF_OPTS += -Dautoconvert=disabled
  149. endif
  150. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BAYER),y)
  151. GST1_PLUGINS_BAD_CONF_OPTS += -Dbayer=enabled
  152. else
  153. GST1_PLUGINS_BAD_CONF_OPTS += -Dbayer=disabled
  154. endif
  155. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CAMERABIN2),y)
  156. GST1_PLUGINS_BAD_CONF_OPTS += -Dcamerabin2=enabled
  157. else
  158. GST1_PLUGINS_BAD_CONF_OPTS += -Dcamerabin2=disabled
  159. endif
  160. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS),y)
  161. GST1_PLUGINS_BAD_CONF_OPTS += -Dcoloreffects=enabled
  162. else
  163. GST1_PLUGINS_BAD_CONF_OPTS += -Dcoloreffects=disabled
  164. endif
  165. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS),y)
  166. GST1_PLUGINS_BAD_CONF_OPTS += -Ddebugutils=enabled
  167. else
  168. GST1_PLUGINS_BAD_CONF_OPTS += -Ddebugutils=disabled
  169. endif
  170. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBENC),y)
  171. GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsubenc=enabled
  172. else
  173. GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsubenc=disabled
  174. endif
  175. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY),y)
  176. GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsuboverlay=enabled
  177. else
  178. GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsuboverlay=disabled
  179. endif
  180. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVDSPU),y)
  181. GST1_PLUGINS_BAD_CONF_OPTS += -Ddvdspu=enabled
  182. else
  183. GST1_PLUGINS_BAD_CONF_OPTS += -Ddvdspu=disabled
  184. endif
  185. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FACEOVERLAY),y)
  186. GST1_PLUGINS_BAD_CONF_OPTS += -Dfaceoverlay=enabled
  187. else
  188. GST1_PLUGINS_BAD_CONF_OPTS += -Dfaceoverlay=disabled
  189. endif
  190. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FESTIVAL),y)
  191. GST1_PLUGINS_BAD_CONF_OPTS += -Dfestival=enabled
  192. else
  193. GST1_PLUGINS_BAD_CONF_OPTS += -Dfestival=disabled
  194. endif
  195. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FIELDANALYSIS),y)
  196. GST1_PLUGINS_BAD_CONF_OPTS += -Dfieldanalysis=enabled
  197. else
  198. GST1_PLUGINS_BAD_CONF_OPTS += -Dfieldanalysis=disabled
  199. endif
  200. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREEVERB),y)
  201. GST1_PLUGINS_BAD_CONF_OPTS += -Dfreeverb=enabled
  202. else
  203. GST1_PLUGINS_BAD_CONF_OPTS += -Dfreeverb=disabled
  204. endif
  205. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREI0R),y)
  206. GST1_PLUGINS_BAD_CONF_OPTS += -Dfrei0r=enabled
  207. else
  208. GST1_PLUGINS_BAD_CONF_OPTS += -Dfrei0r=disabled
  209. endif
  210. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS),y)
  211. GST1_PLUGINS_BAD_CONF_OPTS += -Dgaudieffects=enabled
  212. else
  213. GST1_PLUGINS_BAD_CONF_OPTS += -Dgaudieffects=disabled
  214. endif
  215. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM),y)
  216. GST1_PLUGINS_BAD_CONF_OPTS += -Dgeometrictransform=enabled
  217. else
  218. GST1_PLUGINS_BAD_CONF_OPTS += -Dgeometrictransform=disabled
  219. endif
  220. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GDP),y)
  221. GST1_PLUGINS_BAD_CONF_OPTS += -Dgdp=enabled
  222. else
  223. GST1_PLUGINS_BAD_CONF_OPTS += -Dgdp=disabled
  224. endif
  225. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ID3TAG),y)
  226. GST1_PLUGINS_BAD_CONF_OPTS += -Did3tag=enabled
  227. else
  228. GST1_PLUGINS_BAD_CONF_OPTS += -Did3tag=disabled
  229. endif
  230. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTER),y)
  231. GST1_PLUGINS_BAD_CONF_OPTS += -Dinter=enabled
  232. else
  233. GST1_PLUGINS_BAD_CONF_OPTS += -Dinter=disabled
  234. endif
  235. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTERLACE),y)
  236. GST1_PLUGINS_BAD_CONF_OPTS += -Dinterlace=enabled
  237. else
  238. GST1_PLUGINS_BAD_CONF_OPTS += -Dinterlace=disabled
  239. endif
  240. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVFPARSE),y)
  241. GST1_PLUGINS_BAD_CONF_OPTS += -Divfparse=enabled
  242. else
  243. GST1_PLUGINS_BAD_CONF_OPTS += -Divfparse=disabled
  244. endif
  245. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVTC),y)
  246. GST1_PLUGINS_BAD_CONF_OPTS += -Divtc=enabled
  247. else
  248. GST1_PLUGINS_BAD_CONF_OPTS += -Divtc=disabled
  249. endif
  250. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR),y)
  251. GST1_PLUGINS_BAD_CONF_OPTS += -Djp2kdecimator=enabled
  252. else
  253. GST1_PLUGINS_BAD_CONF_OPTS += -Djp2kdecimator=disabled
  254. endif
  255. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JPEGFORMAT),y)
  256. GST1_PLUGINS_BAD_CONF_OPTS += -Djpegformat=enabled
  257. else
  258. GST1_PLUGINS_BAD_CONF_OPTS += -Djpegformat=disabled
  259. endif
  260. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBRFB),y)
  261. GST1_PLUGINS_BAD_CONF_OPTS += -Dlibrfb=enabled
  262. else
  263. GST1_PLUGINS_BAD_CONF_OPTS += -Dlibrfb=disabled
  264. endif
  265. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MIDI),y)
  266. GST1_PLUGINS_BAD_CONF_OPTS += -Dmidi=enabled
  267. else
  268. GST1_PLUGINS_BAD_CONF_OPTS += -Dmidi=disabled
  269. endif
  270. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX),y)
  271. GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegdemux=enabled
  272. else
  273. GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegdemux=disabled
  274. endif
  275. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGPSMUX),y)
  276. GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegpsmux=enabled
  277. GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y
  278. else
  279. GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegpsmux=disabled
  280. endif
  281. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSMUX),y)
  282. GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsmux=enabled
  283. else
  284. GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsmux=disabled
  285. endif
  286. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX),y)
  287. GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsdemux=enabled
  288. GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y
  289. else
  290. GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsdemux=disabled
  291. endif
  292. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MXF),y)
  293. GST1_PLUGINS_BAD_CONF_OPTS += -Dmxf=enabled
  294. else
  295. GST1_PLUGINS_BAD_CONF_OPTS += -Dmxf=disabled
  296. endif
  297. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NETSIM),y)
  298. GST1_PLUGINS_BAD_CONF_OPTS += -Dnetsim=enabled
  299. else
  300. GST1_PLUGINS_BAD_CONF_OPTS += -Dnetsim=disabled
  301. endif
  302. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ONVIF),y)
  303. GST1_PLUGINS_BAD_CONF_OPTS += -Donvif=enabled
  304. else
  305. GST1_PLUGINS_BAD_CONF_OPTS += -Donvif=disabled
  306. endif
  307. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PCAPPARSE),y)
  308. GST1_PLUGINS_BAD_CONF_OPTS += -Dpcapparse=enabled
  309. else
  310. GST1_PLUGINS_BAD_CONF_OPTS += -Dpcapparse=disabled
  311. endif
  312. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PNM),y)
  313. GST1_PLUGINS_BAD_CONF_OPTS += -Dpnm=enabled
  314. else
  315. GST1_PLUGINS_BAD_CONF_OPTS += -Dpnm=disabled
  316. endif
  317. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PROXY),y)
  318. GST1_PLUGINS_BAD_CONF_OPTS += -Dproxy=enabled
  319. else
  320. GST1_PLUGINS_BAD_CONF_OPTS += -Dproxy=disabled
  321. endif
  322. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE),y)
  323. GST1_PLUGINS_BAD_CONF_OPTS += -Drawparse=enabled
  324. else
  325. GST1_PLUGINS_BAD_CONF_OPTS += -Drawparse=disabled
  326. endif
  327. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE),y)
  328. GST1_PLUGINS_BAD_CONF_OPTS += -Dremovesilence=enabled
  329. else
  330. GST1_PLUGINS_BAD_CONF_OPTS += -Dremovesilence=disabled
  331. endif
  332. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RIST),y)
  333. GST1_PLUGINS_BAD_CONF_OPTS += -Drist=enabled
  334. else
  335. GST1_PLUGINS_BAD_CONF_OPTS += -Drist=disabled
  336. endif
  337. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP2),y)
  338. GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp2=enabled
  339. else
  340. GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp2=disabled
  341. endif
  342. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP2),y)
  343. GST1_PLUGINS_BAD_CONF_OPTS += -Drtp=enabled
  344. else
  345. GST1_PLUGINS_BAD_CONF_OPTS += -Drtp=disabled
  346. endif
  347. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP),y)
  348. GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp=enabled
  349. GST1_PLUGINS_BAD_DEPENDENCIES += rtmpdump
  350. else
  351. GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp=disabled
  352. endif
  353. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDP),y)
  354. GST1_PLUGINS_BAD_CONF_OPTS += -Dsdp=enabled
  355. else
  356. GST1_PLUGINS_BAD_CONF_OPTS += -Dsdp=disabled
  357. endif
  358. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SEGMENTCLIP),y)
  359. GST1_PLUGINS_BAD_CONF_OPTS += -Dsegmentclip=enabled
  360. else
  361. GST1_PLUGINS_BAD_CONF_OPTS += -Dsegmentclip=disabled
  362. endif
  363. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SIREN),y)
  364. GST1_PLUGINS_BAD_CONF_OPTS += -Dsiren=enabled
  365. else
  366. GST1_PLUGINS_BAD_CONF_OPTS += -Dsiren=disabled
  367. endif
  368. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SMOOTH),y)
  369. GST1_PLUGINS_BAD_CONF_OPTS += -Dsmooth=enabled
  370. else
  371. GST1_PLUGINS_BAD_CONF_OPTS += -Dsmooth=disabled
  372. endif
  373. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SPEED),y)
  374. GST1_PLUGINS_BAD_CONF_OPTS += -Dspeed=enabled
  375. else
  376. GST1_PLUGINS_BAD_CONF_OPTS += -Dspeed=disabled
  377. endif
  378. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SUBENC),y)
  379. GST1_PLUGINS_BAD_CONF_OPTS += -Dsubenc=enabled
  380. else
  381. GST1_PLUGINS_BAD_CONF_OPTS += -Dsubenc=disabled
  382. endif
  383. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SWITCHBIN),y)
  384. GST1_PLUGINS_BAD_CONF_OPTS += -Dswitchbin=enabled
  385. else
  386. GST1_PLUGINS_BAD_CONF_OPTS += -Dswitchbin=disabled
  387. endif
  388. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TIMECODE),y)
  389. GST1_PLUGINS_BAD_CONF_OPTS += -Dtimecode=enabled
  390. else
  391. GST1_PLUGINS_BAD_CONF_OPTS += -Dtimecode=disabled
  392. endif
  393. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFILTERS),y)
  394. GST1_PLUGINS_BAD_CONF_OPTS += -Dvideofilters=enabled
  395. else
  396. GST1_PLUGINS_BAD_CONF_OPTS += -Dvideofilters=disabled
  397. endif
  398. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFRAME_AUDIOLEVEL),y)
  399. GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoframe_audiolevel=enabled
  400. else
  401. GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoframe_audiolevel=disabled
  402. endif
  403. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS),y)
  404. GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoparsers=enabled
  405. else
  406. GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoparsers=disabled
  407. endif
  408. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL),y)
  409. GST1_PLUGINS_BAD_CONF_OPTS += -Dvideosignal=enabled
  410. else
  411. GST1_PLUGINS_BAD_CONF_OPTS += -Dvideosignal=disabled
  412. endif
  413. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VMNC),y)
  414. GST1_PLUGINS_BAD_CONF_OPTS += -Dvmnc=enabled
  415. else
  416. GST1_PLUGINS_BAD_CONF_OPTS += -Dvmnc=disabled
  417. endif
  418. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_Y4M),y)
  419. GST1_PLUGINS_BAD_CONF_OPTS += -Dy4m=enabled
  420. else
  421. GST1_PLUGINS_BAD_CONF_OPTS += -Dy4m=disabled
  422. endif
  423. # Plugins with dependencies
  424. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER),y)
  425. GST1_PLUGINS_BAD_CONF_OPTS += -Dassrender=enabled
  426. GST1_PLUGINS_BAD_DEPENDENCIES += libass
  427. else
  428. GST1_PLUGINS_BAD_CONF_OPTS += -Dassrender=disabled
  429. endif
  430. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2),y)
  431. GST1_PLUGINS_BAD_CONF_OPTS += -Dbz2=enabled
  432. GST1_PLUGINS_BAD_DEPENDENCIES += bzip2
  433. else
  434. GST1_PLUGINS_BAD_CONF_OPTS += -Dbz2=disabled
  435. endif
  436. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CURL),y)
  437. GST1_PLUGINS_BAD_CONF_OPTS += -Dcurl=enabled
  438. GST1_PLUGINS_BAD_DEPENDENCIES += libcurl
  439. else
  440. GST1_PLUGINS_BAD_CONF_OPTS += -Dcurl=disabled
  441. endif
  442. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH),y)
  443. GST1_PLUGINS_BAD_CONF_OPTS += -Ddash=enabled
  444. GST1_PLUGINS_BAD_DEPENDENCIES += libxml2
  445. else
  446. GST1_PLUGINS_BAD_CONF_OPTS += -Ddash=disabled
  447. endif
  448. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK),y)
  449. GST1_PLUGINS_BAD_CONF_OPTS += -Ddecklink=enabled
  450. else
  451. GST1_PLUGINS_BAD_CONF_OPTS += -Ddecklink=disabled
  452. endif
  453. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB),y)
  454. GST1_PLUGINS_BAD_CONF_OPTS += -Ddirectfb=enabled
  455. GST1_PLUGINS_BAD_DEPENDENCIES += directfb
  456. else
  457. GST1_PLUGINS_BAD_CONF_OPTS += -Ddirectfb=disabled
  458. endif
  459. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB),y)
  460. GST1_PLUGINS_BAD_CONF_OPTS += -Ddvb=enabled
  461. GST1_PLUGINS_BAD_DEPENDENCIES += dtv-scan-tables
  462. else
  463. GST1_PLUGINS_BAD_CONF_OPTS += -Ddvb=disabled
  464. endif
  465. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FAAD),y)
  466. GST1_PLUGINS_BAD_CONF_OPTS += -Dfaad=enabled
  467. GST1_PLUGINS_BAD_DEPENDENCIES += faad2
  468. GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
  469. else
  470. GST1_PLUGINS_BAD_CONF_OPTS += -Dfaad=disabled
  471. endif
  472. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV),y)
  473. GST1_PLUGINS_BAD_CONF_OPTS += -Dfbdev=enabled
  474. else
  475. GST1_PLUGINS_BAD_CONF_OPTS += -Dfbdev=disabled
  476. endif
  477. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FDK_AAC),y)
  478. GST1_PLUGINS_BAD_CONF_OPTS += -Dfdkaac=enabled
  479. GST1_PLUGINS_BAD_DEPENDENCIES += fdk-aac
  480. else
  481. GST1_PLUGINS_BAD_CONF_OPTS += -Dfdkaac=disabled
  482. endif
  483. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FLUIDSYNTH),y)
  484. GST1_PLUGINS_BAD_CONF_OPTS += -Dfluidsynth=enabled
  485. GST1_PLUGINS_BAD_DEPENDENCIES += fluidsynth
  486. else
  487. GST1_PLUGINS_BAD_CONF_OPTS += -Dfluidsynth=disabled
  488. endif
  489. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL),y)
  490. GST1_PLUGINS_BAD_CONF_OPTS += -Dgl=enabled
  491. else
  492. GST1_PLUGINS_BAD_CONF_OPTS += -Dgl=disabled
  493. endif
  494. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS),y)
  495. GST1_PLUGINS_BAD_CONF_OPTS += -Dhls=enabled
  496. ifeq ($(BR2_PACKAGE_NETTLE),y)
  497. GST1_PLUGINS_BAD_DEPENDENCIES += nettle
  498. GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='nettle'
  499. else ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
  500. GST1_PLUGINS_BAD_DEPENDENCIES += libgcrypt
  501. GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='libgcrypt'
  502. else
  503. GST1_PLUGINS_BAD_DEPENDENCIES += openssl
  504. GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='openssl'
  505. endif
  506. else
  507. GST1_PLUGINS_BAD_CONF_OPTS += -Dhls=disabled
  508. endif
  509. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS),y)
  510. GST1_PLUGINS_BAD_CONF_OPTS += -Dkms=enabled
  511. GST1_PLUGINS_BAD_DEPENDENCIES += libdrm
  512. else
  513. GST1_PLUGINS_BAD_CONF_OPTS += -Dkms=disabled
  514. endif
  515. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS),y)
  516. GST1_PLUGINS_BAD_CONF_OPTS += -Dlibmms=enabled
  517. GST1_PLUGINS_BAD_DEPENDENCIES += libmms
  518. else
  519. GST1_PLUGINS_BAD_CONF_OPTS += -Dlibmms=disabled
  520. endif
  521. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DTLS),y)
  522. GST1_PLUGINS_BAD_CONF_OPTS += -Ddtls=enabled
  523. GST1_PLUGINS_BAD_DEPENDENCIES += openssl
  524. GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE = y
  525. else
  526. GST1_PLUGINS_BAD_CONF_OPTS += -Ddtls=disabled
  527. endif
  528. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTML),y)
  529. GST1_PLUGINS_BAD_CONF_OPTS += -Dttml=enabled
  530. GST1_PLUGINS_BAD_DEPENDENCIES += cairo libxml2 pango
  531. else
  532. GST1_PLUGINS_BAD_CONF_OPTS += -Dttml=disabled
  533. endif
  534. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEG2ENC),y)
  535. GST1_PLUGINS_BAD_CONF_OPTS += -Dmpeg2enc=enabled
  536. GST1_PLUGINS_BAD_DEPENDENCIES += libmpeg2 mjpegtools
  537. GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
  538. else
  539. GST1_PLUGINS_BAD_CONF_OPTS += -Dmpeg2enc=disabled
  540. endif
  541. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MUSEPACK),y)
  542. GST1_PLUGINS_BAD_CONF_OPTS += -Dmusepack=enabled
  543. GST1_PLUGINS_BAD_DEPENDENCIES += musepack
  544. else
  545. GST1_PLUGINS_BAD_CONF_OPTS += -Dmusepack=disabled
  546. endif
  547. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON),y)
  548. GST1_PLUGINS_BAD_CONF_OPTS += -Dneon=enabled
  549. GST1_PLUGINS_BAD_DEPENDENCIES += neon
  550. else
  551. GST1_PLUGINS_BAD_CONF_OPTS += -Dneon=disabled
  552. endif
  553. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENAL),y)
  554. GST1_PLUGINS_BAD_CONF_OPTS += -Dopenal=enabled
  555. GST1_PLUGINS_BAD_DEPENDENCIES += openal
  556. else
  557. GST1_PLUGINS_BAD_CONF_OPTS += -Dopenal=disabled
  558. endif
  559. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENH264),y)
  560. GST1_PLUGINS_BAD_CONF_OPTS += -Dopenh264=enabled
  561. GST1_PLUGINS_BAD_DEPENDENCIES += libopenh264
  562. GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE = y
  563. else
  564. GST1_PLUGINS_BAD_CONF_OPTS += -Dopenh264=disabled
  565. endif
  566. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENJPEG),y)
  567. GST1_PLUGINS_BAD_CONF_OPTS += -Dopenjpeg=enabled
  568. GST1_PLUGINS_BAD_DEPENDENCIES += openjpeg
  569. else
  570. GST1_PLUGINS_BAD_CONF_OPTS += -Dopenjpeg=disabled
  571. endif
  572. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS),y)
  573. GST1_PLUGINS_BAD_CONF_OPTS += -Dopus=enabled
  574. GST1_PLUGINS_BAD_DEPENDENCIES += opus
  575. else
  576. GST1_PLUGINS_BAD_CONF_OPTS += -Dopus=disabled
  577. endif
  578. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG),y)
  579. GST1_PLUGINS_BAD_CONF_OPTS += -Drsvg=enabled
  580. GST1_PLUGINS_BAD_DEPENDENCIES += librsvg
  581. else
  582. GST1_PLUGINS_BAD_CONF_OPTS += -Drsvg=disabled
  583. endif
  584. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SBC),y)
  585. GST1_PLUGINS_BAD_CONF_OPTS += -Dsbc=enabled
  586. GST1_PLUGINS_BAD_DEPENDENCIES += sbc
  587. else
  588. GST1_PLUGINS_BAD_CONF_OPTS += -Dsbc=disabled
  589. endif
  590. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SHM),y)
  591. GST1_PLUGINS_BAD_CONF_OPTS += -Dshm=enabled
  592. else
  593. GST1_PLUGINS_BAD_CONF_OPTS += -Dshm=disabled
  594. endif
  595. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE),y)
  596. GST1_PLUGINS_BAD_CONF_OPTS += -Dsndfile=enabled
  597. GST1_PLUGINS_BAD_DEPENDENCIES += libsndfile
  598. else
  599. GST1_PLUGINS_BAD_CONF_OPTS += -Dsndfile=disabled
  600. endif
  601. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP),y)
  602. GST1_PLUGINS_BAD_CONF_OPTS += -Dsrtp=enabled
  603. GST1_PLUGINS_BAD_DEPENDENCIES += libsrtp
  604. else
  605. GST1_PLUGINS_BAD_CONF_OPTS += -Dsrtp=disabled
  606. endif
  607. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y)
  608. GST1_PLUGINS_BAD_CONF_OPTS += -Dvoaacenc=enabled
  609. GST1_PLUGINS_BAD_DEPENDENCIES += vo-aacenc
  610. else
  611. GST1_PLUGINS_BAD_CONF_OPTS += -Dvoaacenc=disabled
  612. endif
  613. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP),y)
  614. GST1_PLUGINS_BAD_CONF_OPTS += -Dwebp=enabled
  615. GST1_PLUGINS_BAD_DEPENDENCIES += webp
  616. else
  617. GST1_PLUGINS_BAD_CONF_OPTS += -Dwebp=disabled
  618. endif
  619. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC),y)
  620. GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtc=enabled
  621. GST1_PLUGINS_BAD_DEPENDENCIES += gst1-plugins-base libnice
  622. else
  623. GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtc=disabled
  624. endif
  625. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP),y)
  626. GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtcdsp=enabled
  627. GST1_PLUGINS_BAD_DEPENDENCIES += webrtc-audio-processing
  628. else
  629. GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtcdsp=disabled
  630. endif
  631. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WPE),y)
  632. GST1_PLUGINS_BAD_CONF_OPTS += -Dwpe=enabled
  633. GST1_PLUGINS_BAD_DEPENDENCIES += libwpe wpewebkit wpebackend-fdo
  634. else
  635. GST1_PLUGINS_BAD_CONF_OPTS += -Dwpe=disabled
  636. endif
  637. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_V4L2CODECS),y)
  638. GST1_PLUGINS_BAD_CONF_OPTS += -Dv4l2codecs=enabled
  639. GST1_PLUGINS_BAD_DEPENDENCIES += libgudev
  640. else
  641. GST1_PLUGINS_BAD_CONF_OPTS += -Dv4l2codecs=disabled
  642. endif
  643. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265),y)
  644. GST1_PLUGINS_BAD_CONF_OPTS += -Dx265=enabled
  645. GST1_PLUGINS_BAD_DEPENDENCIES += x265
  646. GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
  647. else
  648. GST1_PLUGINS_BAD_CONF_OPTS += -Dx265=disabled
  649. endif
  650. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_ZBAR),y)
  651. GST1_PLUGINS_BAD_CONF_OPTS += -Dzbar=enabled
  652. GST1_PLUGINS_BAD_DEPENDENCIES += zbar
  653. else
  654. GST1_PLUGINS_BAD_CONF_OPTS += -Dzbar=disabled
  655. endif
  656. # Add GPL license if GPL licensed plugins enabled.
  657. ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE),y)
  658. GST1_PLUGINS_BAD_LICENSE += , GPL-2.0+
  659. GST1_PLUGINS_BAD_LICENSE_FILES += COPYING
  660. endif
  661. # Add BSD license if BSD licensed plugins enabled.
  662. ifeq ($(GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE),y)
  663. GST1_PLUGINS_BAD_LICENSE += , BSD-2-Clause
  664. endif
  665. # Add Unknown license if Unknown licensed plugins enabled.
  666. ifeq ($(GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE),y)
  667. GST1_PLUGINS_BAD_LICENSE += , UNKNOWN
  668. endif
  669. # Use the following command to extract license info for plugins.
  670. # # find . -name 'plugin-*.xml' | xargs grep license
  671. $(eval $(meson-package))