gst1-plugins-good.mk 14 KB

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