vlc.mk 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  1. ################################################################################
  2. #
  3. # vlc
  4. #
  5. ################################################################################
  6. VLC_VERSION = 3.0.21
  7. VLC_SITE = https://get.videolan.org/vlc/$(VLC_VERSION)
  8. VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz
  9. VLC_LICENSE = GPL-2.0+, LGPL-2.1+
  10. VLC_LICENSE_FILES = COPYING COPYING.LIB
  11. VLC_CPE_ID_VENDOR = videolan
  12. VLC_CPE_ID_PRODUCT = vlc_media_player
  13. VLC_DEPENDENCIES = host-gettext host-pkgconf
  14. VLC_AUTORECONF = YES
  15. # Install vlc libraries in staging.
  16. VLC_INSTALL_STAGING = YES
  17. # gcc bug internal compiler error: in merge_overlapping_regs, at
  18. # regrename.c:304. This bug is fixed since gcc 6.
  19. ifeq ($(BR2_microblaze)$(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:)
  20. VLC_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0"
  21. VLC_CONF_OPTS += --disable-optimizations
  22. endif
  23. # configure check for -fstack-protector-strong is broken
  24. VLC_CONF_ENV += \
  25. ax_cv_check_cflags___fstack_protector_strong=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no)
  26. # VLC defines two autoconf functions which are also defined by our own pkg.m4
  27. # from pkgconf. Unfortunately, they are defined in a different way: VLC adds
  28. # --enable- options, but pkg.m4 adds --with- options. To make sure we use
  29. # VLC's definition, rename these two functions.
  30. define VLC_OVERRIDE_PKG_M4
  31. $(SED) 's/PKG_WITH_MODULES/VLC_PKG_WITH_MODULES/g' \
  32. -e 's/PKG_HAVE_WITH_MODULES/VLC_PKG_HAVE_WITH_MODULES/g' \
  33. $(@D)/configure.ac $(@D)/m4/with_pkg.m4
  34. endef
  35. VLC_POST_PATCH_HOOKS += VLC_OVERRIDE_PKG_M4
  36. VLC_CONF_OPTS += \
  37. --disable-a52 \
  38. --disable-addonmanagermodules \
  39. --disable-aom \
  40. --disable-aribb25 \
  41. --disable-aribsub \
  42. --disable-asdcp \
  43. --disable-bpg \
  44. --disable-caca \
  45. --disable-chromaprint \
  46. --disable-chromecast \
  47. --disable-crystalhd \
  48. --disable-dc1394 \
  49. --disable-dca \
  50. --disable-decklink \
  51. --disable-dsm \
  52. --disable-dv1394 \
  53. --disable-fluidlite \
  54. --disable-gme \
  55. --disable-goom \
  56. --disable-jack \
  57. --disable-jpeg \
  58. --disable-kai \
  59. --disable-kate \
  60. --disable-kva \
  61. --disable-libplacebo \
  62. --disable-linsys \
  63. --disable-mfx \
  64. --disable-microdns \
  65. --disable-mmal \
  66. --disable-mtp \
  67. --disable-notify \
  68. --disable-projectm \
  69. --disable-schroedinger \
  70. --disable-shine \
  71. --disable-shout \
  72. --disable-sndio \
  73. --disable-spatialaudio \
  74. --disable-srt \
  75. --disable-telx \
  76. --disable-tiger \
  77. --disable-twolame \
  78. --disable-vdpau \
  79. --disable-vsxu \
  80. --disable-wasapi \
  81. --disable-x262 \
  82. --disable-zvbi \
  83. --enable-run-as-root
  84. # Uses __atomic_fetch_add_4
  85. ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
  86. VLC_CONF_ENV += LIBS="-latomic"
  87. endif
  88. # Building static and shared doesn't work, so force static off.
  89. ifeq ($(BR2_STATIC_LIBS),)
  90. VLC_CONF_OPTS += --disable-static
  91. endif
  92. ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
  93. VLC_CONF_OPTS += --enable-altivec
  94. else
  95. VLC_CONF_OPTS += --disable-altivec
  96. endif
  97. ifeq ($(BR2_X86_CPU_HAS_SSE),y)
  98. VLC_CONF_OPTS += --enable-sse
  99. else
  100. VLC_CONF_OPTS += --disable-sse
  101. endif
  102. ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
  103. VLC_CONF_OPTS += --enable-alsa
  104. VLC_DEPENDENCIES += alsa-lib
  105. else
  106. VLC_CONF_OPTS += --disable-alsa
  107. endif
  108. ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y)
  109. VLC_CONF_OPTS += --enable-avahi
  110. VLC_DEPENDENCIES += avahi
  111. else
  112. VLC_CONF_OPTS += --disable-avahi
  113. endif
  114. ifeq ($(BR2_PACKAGE_DAV1D),y)
  115. VLC_CONF_OPTS += --enable-dav1d
  116. VLC_DEPENDENCIES += dav1d
  117. else
  118. VLC_CONF_OPTS += --disable-dav1d
  119. endif
  120. ifeq ($(BR2_PACKAGE_DBUS),y)
  121. VLC_CONF_OPTS += --enable-dbus
  122. VLC_DEPENDENCIES += dbus
  123. else
  124. VLC_CONF_OPTS += --disable-dbus
  125. endif
  126. ifeq ($(BR2_PACKAGE_FAAD2),y)
  127. VLC_CONF_OPTS += --enable-faad
  128. VLC_DEPENDENCIES += faad2
  129. else
  130. VLC_CONF_OPTS += --disable-faad
  131. endif
  132. ifeq ($(BR2_PACKAGE_FFMPEG),y)
  133. VLC_CONF_OPTS += --enable-avcodec
  134. VLC_DEPENDENCIES += ffmpeg
  135. else
  136. VLC_CONF_OPTS += --disable-avcodec
  137. endif
  138. ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y)
  139. VLC_CONF_OPTS += --enable-postproc
  140. else
  141. VLC_CONF_OPTS += --disable-postproc
  142. endif
  143. ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y)
  144. VLC_CONF_OPTS += --enable-swscale
  145. else
  146. VLC_CONF_OPTS += --disable-swscale
  147. endif
  148. ifeq ($(BR2_PACKAGE_FLAC),y)
  149. VLC_CONF_OPTS += --enable-flac
  150. VLC_DEPENDENCIES += flac
  151. else
  152. VLC_CONF_OPTS += --disable-flac
  153. endif
  154. ifeq ($(BR2_PACKAGE_FLUIDSYNTH),y)
  155. VLC_CONF_OPTS += --enable-fluidsynth
  156. VLC_DEPENDENCIES += fluidsynth
  157. else
  158. VLC_CONF_OPTS += --disable-fluidsynth
  159. endif
  160. ifeq ($(BR2_PACKAGE_FREERDP),y)
  161. VLC_CONF_OPTS += --enable-freerdp
  162. VLC_DEPENDENCIES += freerdp
  163. else
  164. VLC_CONF_OPTS += --disable-freerdp
  165. endif
  166. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
  167. VLC_CONF_OPTS += --enable-gst-decode
  168. VLC_DEPENDENCIES += gst1-plugins-base
  169. else
  170. VLC_CONF_OPTS += --disable-gst-decode
  171. endif
  172. ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
  173. VLC_DEPENDENCIES += libgl
  174. endif
  175. ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
  176. VLC_CONF_OPTS += --enable-harfbuzz
  177. VLC_DEPENDENCIES += harfbuzz
  178. else
  179. VLC_CONF_OPTS += --disable-harfbuzz
  180. endif
  181. ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
  182. VLC_CONF_OPTS += --enable-gles2
  183. VLC_DEPENDENCIES += libgles
  184. else
  185. VLC_CONF_OPTS += --disable-gles2
  186. endif
  187. ifeq ($(BR2_PACKAGE_OPENCV3),y)
  188. VLC_CONF_OPTS += --enable-opencv
  189. VLC_DEPENDENCIES += opencv3
  190. else
  191. VLC_CONF_OPTS += --disable-opencv
  192. endif
  193. ifeq ($(BR2_PACKAGE_OPUS),y)
  194. VLC_CONF_OPTS += --enable-opus
  195. VLC_DEPENDENCIES += libvorbis opus
  196. else
  197. VLC_CONF_OPTS += --disable-opus
  198. endif
  199. ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
  200. VLC_CONF_OPTS += --enable-archive
  201. VLC_DEPENDENCIES += libarchive
  202. else
  203. VLC_CONF_OPTS += --disable-archive
  204. endif
  205. ifeq ($(BR2_PACKAGE_LIBASS),y)
  206. VLC_CONF_OPTS += --enable-libass
  207. VLC_DEPENDENCIES += libass
  208. else
  209. VLC_CONF_OPTS += --disable-libass
  210. endif
  211. ifeq ($(BR2_PACKAGE_LIBBLURAY),y)
  212. VLC_CONF_OPTS += --enable-bluray
  213. VLC_DEPENDENCIES += libbluray
  214. else
  215. VLC_CONF_OPTS += --disable-bluray
  216. endif
  217. ifeq ($(BR2_PACKAGE_LIBCDDB),y)
  218. VLC_CONF_OPTS += --enable-libcddb
  219. VLC_DEPENDENCIES += libcddb
  220. else
  221. VLC_CONF_OPTS += --disable-libcddb
  222. endif
  223. ifeq ($(BR2_PACKAGE_LIBDVBPSI),y)
  224. VLC_CONF_OPTS += --enable-dvbpsi
  225. VLC_DEPENDENCIES += libdvbpsi
  226. else
  227. VLC_CONF_OPTS += --disable-dvbpsi
  228. endif
  229. ifeq ($(BR2_PACKAGE_LIBDVDNAV),y)
  230. VLC_CONF_OPTS += --enable-dvdnav
  231. VLC_DEPENDENCIES += libdvdnav
  232. else
  233. VLC_CONF_OPTS += --disable-dvdnav
  234. endif
  235. ifeq ($(BR2_PACKAGE_LIBDVDREAD),y)
  236. VLC_CONF_OPTS += --enable-dvdread
  237. VLC_DEPENDENCIES += libdvdread
  238. else
  239. VLC_CONF_OPTS += --disable-dvdread
  240. endif
  241. ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
  242. VLC_CONF_OPTS += --enable-libgcrypt
  243. VLC_DEPENDENCIES += libgcrypt
  244. VLC_CONF_ENV += \
  245. GCRYPT_CONFIG="$(STAGING_DIR)/usr/bin/libgcrypt-config"
  246. else
  247. VLC_CONF_OPTS += --disable-libgcrypt
  248. endif
  249. ifeq ($(BR2_PACKAGE_LIBIDN),y)
  250. VLC_DEPENDENCIES += libidn
  251. endif
  252. ifeq ($(BR2_PACKAGE_LIBMAD),y)
  253. VLC_CONF_OPTS += --enable-mad
  254. VLC_DEPENDENCIES += libmad
  255. else
  256. VLC_CONF_OPTS += --disable-mad
  257. endif
  258. ifeq ($(BR2_PACKAGE_LIBMATROSKA),y)
  259. VLC_CONF_OPTS += --enable-matroska
  260. VLC_DEPENDENCIES += libmatroska
  261. else
  262. VLC_CONF_OPTS += --disable-matroska
  263. endif
  264. ifeq ($(BR2_PACKAGE_LIBMODPLUG),y)
  265. VLC_CONF_OPTS += --enable-mod
  266. VLC_DEPENDENCIES += libmodplug
  267. else
  268. VLC_CONF_OPTS += --disable-mod
  269. endif
  270. ifeq ($(BR2_PACKAGE_LIBMPEG2),y)
  271. VLC_CONF_OPTS += --enable-libmpeg2
  272. VLC_DEPENDENCIES += libmpeg2
  273. else
  274. VLC_CONF_OPTS += --disable-libmpeg2
  275. endif
  276. ifeq ($(BR2_PACKAGE_LIBNFS),y)
  277. VLC_CONF_OPTS += --enable-nfs
  278. VLC_DEPENDENCIES += libnfs
  279. else
  280. VLC_CONF_OPTS += --disable-nfs
  281. endif
  282. ifeq ($(BR2_PACKAGE_LIBPNG),y)
  283. VLC_CONF_OPTS += --enable-png
  284. VLC_DEPENDENCIES += libpng
  285. else
  286. VLC_CONF_OPTS += --disable-png
  287. endif
  288. ifeq ($(BR2_PACKAGE_LIBRSVG),y)
  289. VLC_CONF_OPTS += --enable-svg --enable-svgdec
  290. VLC_DEPENDENCIES += librsvg
  291. else
  292. VLC_CONF_OPTS += --disable-svg --disable-svgdec
  293. endif
  294. ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
  295. VLC_CONF_OPTS += --enable-samplerate
  296. VLC_DEPENDENCIES += libsamplerate
  297. else
  298. VLC_CONF_OPTS += --disable-samplerate
  299. endif
  300. ifeq ($(BR2_PACKAGE_LIBSECRET),y)
  301. VLC_CONF_OPTS += --enable-secret
  302. VLC_DEPENDENCIES += libsecret
  303. else
  304. VLC_CONF_OPTS += --disable-secret
  305. endif
  306. ifeq ($(BR2_PACKAGE_LIBSOXR),y)
  307. VLC_CONF_OPTS += --enable-soxr
  308. VLC_DEPENDENCIES += libsoxr
  309. else
  310. VLC_CONF_OPTS += --disable-soxr
  311. endif
  312. ifeq ($(BR2_PACKAGE_LIBSSH2),y)
  313. VLC_CONF_OPTS += --enable-sftp
  314. VLC_DEPENDENCIES += libssh2
  315. else
  316. VLC_CONF_OPTS += --disable-sftp
  317. endif
  318. ifeq ($(BR2_PACKAGE_LIBSIDPLAY2),y)
  319. VLC_CONF_OPTS += --enable-sid
  320. VLC_DEPENDENCIES += libsidplay2
  321. else
  322. VLC_CONF_OPTS += --disable-sid
  323. endif
  324. ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
  325. VLC_CONF_OPTS += --enable-theora
  326. VLC_DEPENDENCIES += libtheora
  327. else
  328. VLC_CONF_OPTS += --disable-theora
  329. endif
  330. ifeq ($(BR2_PACKAGE_LIBUPNP),y)
  331. VLC_CONF_OPTS += --enable-upnp
  332. VLC_DEPENDENCIES += libupnp
  333. else
  334. VLC_CONF_OPTS += --disable-upnp
  335. endif
  336. # libva support depends on ffmpeg
  337. ifeq ($(BR2_PACKAGE_FFMPEG)$(BR2_PACKAGE_LIBVA),yy)
  338. VLC_CONF_OPTS += --enable-libva
  339. VLC_DEPENDENCIES += libva
  340. else
  341. VLC_CONF_OPTS += --disable-libva
  342. endif
  343. ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y)
  344. VLC_CONF_OPTS += --enable-vnc
  345. VLC_DEPENDENCIES += libvncserver
  346. else
  347. VLC_CONF_OPTS += --disable-vnc
  348. endif
  349. ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
  350. VLC_CONF_OPTS += --enable-vorbis
  351. VLC_DEPENDENCIES += libvorbis
  352. else
  353. VLC_CONF_OPTS += --disable-vorbis
  354. endif
  355. ifeq ($(BR2_PACKAGE_LIBV4L),y)
  356. VLC_CONF_OPTS += --enable-v4l2
  357. VLC_DEPENDENCIES += libv4l
  358. else
  359. VLC_CONF_OPTS += --disable-v4l2
  360. endif
  361. ifeq ($(BR2_PACKAGE_LIBVPX),y)
  362. VLC_CONF_OPTS += --enable-vpx
  363. VLC_DEPENDENCIES += libvpx
  364. else
  365. VLC_CONF_OPTS += --disable-vpx
  366. endif
  367. ifeq ($(BR2_PACKAGE_LIBXCB),y)
  368. VLC_CONF_OPTS += --enable-xcb
  369. VLC_DEPENDENCIES += libxcb
  370. else
  371. VLC_CONF_OPTS += --disable-xcb
  372. endif
  373. ifeq ($(BR2_PACKAGE_LIBXML2),y)
  374. VLC_CONF_OPTS += --enable-libxml2
  375. VLC_DEPENDENCIES += libxml2
  376. else
  377. VLC_CONF_OPTS += --disable-libxml2
  378. endif
  379. ifeq ($(BR2_PACKAGE_LIVE555),y)
  380. VLC_CONF_OPTS += --enable-live555
  381. VLC_DEPENDENCIES += live555
  382. ifneq ($(BR2_PACKAGE_OPENSSL),y)
  383. VLC_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -DNO_OPENSSL"
  384. endif
  385. else
  386. VLC_CONF_OPTS += --disable-live555
  387. endif
  388. ifeq ($(BR2_PACKAGE_LUA),y)
  389. VLC_CONF_OPTS += --enable-lua
  390. VLC_DEPENDENCIES += lua host-lua
  391. else
  392. VLC_CONF_OPTS += --disable-lua
  393. endif
  394. ifeq ($(BR2_PACKAGE_MINIZIP),y)
  395. VLC_DEPENDENCIES += minizip
  396. endif
  397. ifeq ($(BR2_PACKAGE_MPG123),y)
  398. VLC_CONF_OPTS += --enable-mpg123
  399. VLC_DEPENDENCIES += mpg123
  400. else
  401. VLC_CONF_OPTS += --disable-mpg123
  402. endif
  403. ifeq ($(BR2_PACKAGE_MUSEPACK),y)
  404. VLC_CONF_OPTS += --enable-mpc
  405. VLC_DEPENDENCIES += musepack
  406. else
  407. VLC_CONF_OPTS += --disable-mpc
  408. endif
  409. ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
  410. VLC_CONF_OPTS += --enable-ncurses
  411. VLC_DEPENDENCIES += ncurses
  412. else
  413. VLC_CONF_OPTS += --disable-ncurses
  414. endif
  415. ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
  416. VLC_CONF_OPTS += --enable-pulse
  417. VLC_DEPENDENCIES += pulseaudio
  418. else
  419. VLC_CONF_OPTS += --disable-pulse
  420. endif
  421. ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS)$(BR2_PACKAGE_QT5SVG),yy)
  422. VLC_CONF_OPTS += --enable-qt
  423. VLC_DEPENDENCIES += qt5base qt5svg
  424. ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT)$(BR2_PACKAGE_XLIB_LIBXINERAMA)$(BR2_PACKAGE_XLIB_LIBXPM),yyy)
  425. VLC_CONF_OPTS += --enable-skins2
  426. VLC_DEPENDENCIES += xlib_libXext xlib_libXinerama xlib_libXpm
  427. else
  428. VLC_CONF_OPTS += --disable-skins2
  429. endif
  430. else
  431. VLC_CONF_OPTS += --disable-qt --disable-skins2
  432. endif
  433. ifeq ($(BR2_PACKAGE_SDL_IMAGE),y)
  434. VLC_CONF_OPTS += --enable-sdl-image
  435. VLC_DEPENDENCIES += sdl_image
  436. else
  437. VLC_CONF_OPTS += --disable-sdl-image
  438. endif
  439. ifeq ($(BR2_PACKAGE_SAMBA4),y)
  440. VLC_CONF_OPTS += --enable-smbclient
  441. VLC_DEPENDENCIES += samba4
  442. else
  443. VLC_CONF_OPTS += --disable-smbclient
  444. endif
  445. ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy)
  446. VLC_CONF_OPTS += --enable-speex
  447. VLC_DEPENDENCIES += speex speexdsp
  448. else
  449. VLC_CONF_OPTS += --disable-speex
  450. endif
  451. ifeq ($(BR2_PACKAGE_TAGLIB),y)
  452. VLC_CONF_OPTS += --enable-taglib
  453. VLC_DEPENDENCIES += taglib
  454. else
  455. VLC_CONF_OPTS += --disable-taglib
  456. endif
  457. ifeq ($(BR2_PACKAGE_TREMOR),y)
  458. VLC_CONF_OPTS += --enable-tremor
  459. VLC_DEPENDENCIES += tremor
  460. else
  461. VLC_CONF_OPTS += --disable-tremor
  462. endif
  463. ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
  464. VLC_CONF_OPTS += --enable-udev
  465. VLC_DEPENDENCIES += udev
  466. else
  467. VLC_CONF_OPTS += --disable-udev
  468. endif
  469. ifeq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_WAYLAND_PROTOCOLS),yy)
  470. VLC_CONF_OPTS += --enable-wayland
  471. VLC_DEPENDENCIES += wayland wayland-protocols
  472. else
  473. VLC_CONF_OPTS += --disable-wayland
  474. endif
  475. ifeq ($(BR2_PACKAGE_X264),y)
  476. VLC_CONF_OPTS += --enable-x264
  477. VLC_DEPENDENCIES += x264
  478. else
  479. VLC_CONF_OPTS += --disable-x264
  480. endif
  481. ifeq ($(BR2_PACKAGE_X265),y)
  482. VLC_CONF_OPTS += --enable-x265
  483. VLC_DEPENDENCIES += x265
  484. else
  485. VLC_CONF_OPTS += --disable-x265
  486. endif
  487. ifeq ($(BR2_PACKAGE_XCB_UTIL_KEYSYMS),y)
  488. VLC_DEPENDENCIES += xcb-util-keysyms
  489. endif
  490. ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
  491. VLC_CONF_OPTS += --with-x
  492. VLC_DEPENDENCIES += xlib_libX11
  493. else
  494. VLC_CONF_OPTS += --without-x
  495. endif
  496. ifeq ($(BR2_PACKAGE_ZLIB),y)
  497. VLC_DEPENDENCIES += zlib
  498. endif
  499. ifeq ($(BR2_PACKAGE_GNUTLS),y)
  500. VLC_CONF_OPTS += --enable-gnutls
  501. VLC_DEPENDENCIES += gnutls
  502. else
  503. VLC_CONF_OPTS += --disable-gnutls
  504. endif
  505. $(eval $(autotools-package))