vlc.mk 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585
  1. ################################################################################
  2. #
  3. # vlc
  4. #
  5. ################################################################################
  6. VLC_VERSION = 3.0.12
  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_NAME = vlc_media_player
  13. VLC_DEPENDENCIES = 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. # avahi support needs avahi-client, which needs avahi-daemon and dbus
  109. ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yyy)
  110. VLC_CONF_OPTS += --enable-avahi
  111. VLC_DEPENDENCIES += avahi
  112. else
  113. VLC_CONF_OPTS += --disable-avahi
  114. endif
  115. ifeq ($(BR2_PACKAGE_DAV1D),y)
  116. VLC_CONF_OPTS += --enable-dav1d
  117. VLC_DEPENDENCIES += dav1d
  118. else
  119. VLC_CONF_OPTS += --disable-dav1d
  120. endif
  121. ifeq ($(BR2_PACKAGE_DBUS),y)
  122. VLC_CONF_OPTS += --enable-dbus
  123. VLC_DEPENDENCIES += dbus
  124. else
  125. VLC_CONF_OPTS += --disable-dbus
  126. endif
  127. ifeq ($(BR2_PACKAGE_FAAD2),y)
  128. VLC_CONF_OPTS += --enable-faad
  129. VLC_DEPENDENCIES += faad2
  130. else
  131. VLC_CONF_OPTS += --disable-faad
  132. endif
  133. ifeq ($(BR2_PACKAGE_FFMPEG),y)
  134. VLC_CONF_OPTS += --enable-avcodec
  135. VLC_DEPENDENCIES += ffmpeg
  136. else
  137. VLC_CONF_OPTS += --disable-avcodec
  138. endif
  139. ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y)
  140. VLC_CONF_OPTS += --enable-postproc
  141. else
  142. VLC_CONF_OPTS += --disable-postproc
  143. endif
  144. ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y)
  145. VLC_CONF_OPTS += --enable-swscale
  146. else
  147. VLC_CONF_OPTS += --disable-swscale
  148. endif
  149. ifeq ($(BR2_PACKAGE_FLAC),y)
  150. VLC_CONF_OPTS += --enable-flac
  151. VLC_DEPENDENCIES += flac
  152. else
  153. VLC_CONF_OPTS += --disable-flac
  154. endif
  155. ifeq ($(BR2_PACKAGE_FLUIDSYNTH),y)
  156. VLC_CONF_OPTS += --enable-fluidsynth
  157. VLC_DEPENDENCIES += fluidsynth
  158. else
  159. VLC_CONF_OPTS += --disable-fluidsynth
  160. endif
  161. ifeq ($(BR2_PACKAGE_FREERDP),y)
  162. VLC_CONF_OPTS += --enable-freerdp
  163. VLC_DEPENDENCIES += freerdp
  164. else
  165. VLC_CONF_OPTS += --disable-freerdp
  166. endif
  167. ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
  168. VLC_CONF_OPTS += --enable-gst-decode
  169. VLC_DEPENDENCIES += gst1-plugins-base
  170. else
  171. VLC_CONF_OPTS += --disable-gst-decode
  172. endif
  173. ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
  174. VLC_DEPENDENCIES += libgl
  175. endif
  176. ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
  177. VLC_CONF_OPTS += --enable-harfbuzz
  178. VLC_DEPENDENCIES += harfbuzz
  179. else
  180. VLC_CONF_OPTS += --disable-harfbuzz
  181. endif
  182. ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
  183. VLC_CONF_OPTS += --enable-gles2
  184. VLC_DEPENDENCIES += libgles
  185. else
  186. VLC_CONF_OPTS += --disable-gles2
  187. endif
  188. ifeq ($(BR2_PACKAGE_OPENCV3),y)
  189. VLC_CONF_OPTS += --enable-opencv
  190. VLC_DEPENDENCIES += opencv3
  191. else
  192. VLC_CONF_OPTS += --disable-opencv
  193. endif
  194. ifeq ($(BR2_PACKAGE_OPUS),y)
  195. VLC_CONF_OPTS += --enable-opus
  196. VLC_DEPENDENCIES += libvorbis opus
  197. else
  198. VLC_CONF_OPTS += --disable-opus
  199. endif
  200. ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
  201. VLC_CONF_OPTS += --enable-archive
  202. VLC_DEPENDENCIES += libarchive
  203. else
  204. VLC_CONF_OPTS += --disable-archive
  205. endif
  206. ifeq ($(BR2_PACKAGE_LIBASS),y)
  207. VLC_CONF_OPTS += --enable-libass
  208. VLC_DEPENDENCIES += libass
  209. else
  210. VLC_CONF_OPTS += --disable-libass
  211. endif
  212. ifeq ($(BR2_PACKAGE_LIBBLURAY),y)
  213. VLC_CONF_OPTS += --enable-bluray
  214. VLC_DEPENDENCIES += libbluray
  215. else
  216. VLC_CONF_OPTS += --disable-bluray
  217. endif
  218. ifeq ($(BR2_PACKAGE_LIBCDDB),y)
  219. VLC_CONF_OPTS += --enable-libcddb
  220. VLC_DEPENDENCIES += libcddb
  221. else
  222. VLC_CONF_OPTS += --disable-libcddb
  223. endif
  224. ifeq ($(BR2_PACKAGE_LIBDVBPSI),y)
  225. VLC_CONF_OPTS += --enable-dvbpsi
  226. VLC_DEPENDENCIES += libdvbpsi
  227. else
  228. VLC_CONF_OPTS += --disable-dvbpsi
  229. endif
  230. ifeq ($(BR2_PACKAGE_LIBDVDNAV),y)
  231. VLC_CONF_OPTS += --enable-dvdnav
  232. VLC_DEPENDENCIES += libdvdnav
  233. else
  234. VLC_CONF_OPTS += --disable-dvdnav
  235. endif
  236. ifeq ($(BR2_PACKAGE_LIBDVDREAD),y)
  237. VLC_CONF_OPTS += --enable-dvdread
  238. VLC_DEPENDENCIES += libdvdread
  239. else
  240. VLC_CONF_OPTS += --disable-dvdread
  241. endif
  242. ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
  243. VLC_CONF_OPTS += --enable-libgcrypt
  244. VLC_DEPENDENCIES += libgcrypt
  245. VLC_CONF_ENV += \
  246. GCRYPT_CONFIG="$(STAGING_DIR)/usr/bin/libgcrypt-config"
  247. else
  248. VLC_CONF_OPTS += --disable-libgcrypt
  249. endif
  250. ifeq ($(BR2_PACKAGE_LIBIDN),y)
  251. VLC_DEPENDENCIES += libidn
  252. endif
  253. ifeq ($(BR2_PACKAGE_LIBMAD),y)
  254. VLC_CONF_OPTS += --enable-mad
  255. VLC_DEPENDENCIES += libmad
  256. else
  257. VLC_CONF_OPTS += --disable-mad
  258. endif
  259. ifeq ($(BR2_PACKAGE_LIBMATROSKA),y)
  260. VLC_CONF_OPTS += --enable-matroska
  261. VLC_DEPENDENCIES += libmatroska
  262. else
  263. VLC_CONF_OPTS += --disable-matroska
  264. endif
  265. ifeq ($(BR2_PACKAGE_LIBMODPLUG),y)
  266. VLC_CONF_OPTS += --enable-mod
  267. VLC_DEPENDENCIES += libmodplug
  268. else
  269. VLC_CONF_OPTS += --disable-mod
  270. endif
  271. ifeq ($(BR2_PACKAGE_LIBMPEG2),y)
  272. VLC_CONF_OPTS += --enable-libmpeg2
  273. VLC_DEPENDENCIES += libmpeg2
  274. else
  275. VLC_CONF_OPTS += --disable-libmpeg2
  276. endif
  277. ifeq ($(BR2_PACKAGE_LIBNFS),y)
  278. VLC_CONF_OPTS += --enable-nfs
  279. VLC_DEPENDENCIES += libnfs
  280. else
  281. VLC_CONF_OPTS += --disable-nfs
  282. endif
  283. ifeq ($(BR2_PACKAGE_LIBPNG),y)
  284. VLC_CONF_OPTS += --enable-png
  285. VLC_DEPENDENCIES += libpng
  286. else
  287. VLC_CONF_OPTS += --disable-png
  288. endif
  289. ifeq ($(BR2_PACKAGE_LIBRSVG),y)
  290. VLC_CONF_OPTS += --enable-svg --enable-svgdec
  291. VLC_DEPENDENCIES += librsvg
  292. else
  293. VLC_CONF_OPTS += --disable-svg --disable-svgdec
  294. endif
  295. ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
  296. VLC_CONF_OPTS += --enable-samplerate
  297. VLC_DEPENDENCIES += libsamplerate
  298. else
  299. VLC_CONF_OPTS += --disable-samplerate
  300. endif
  301. ifeq ($(BR2_PACKAGE_LIBSECRET),y)
  302. VLC_CONF_OPTS += --enable-secret
  303. VLC_DEPENDENCIES += libsecret
  304. else
  305. VLC_CONF_OPTS += --disable-secret
  306. endif
  307. ifeq ($(BR2_PACKAGE_LIBSOXR),y)
  308. VLC_CONF_OPTS += --enable-soxr
  309. VLC_DEPENDENCIES += libsoxr
  310. else
  311. VLC_CONF_OPTS += --disable-soxr
  312. endif
  313. ifeq ($(BR2_PACKAGE_LIBSSH2),y)
  314. VLC_CONF_OPTS += --enable-sftp
  315. VLC_DEPENDENCIES += libssh2
  316. else
  317. VLC_CONF_OPTS += --disable-sftp
  318. endif
  319. ifeq ($(BR2_PACKAGE_LIBSIDPLAY2),y)
  320. VLC_CONF_OPTS += --enable-sid
  321. VLC_DEPENDENCIES += libsidplay2
  322. else
  323. VLC_CONF_OPTS += --disable-sid
  324. endif
  325. ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
  326. VLC_CONF_OPTS += --enable-theora
  327. VLC_DEPENDENCIES += libtheora
  328. else
  329. VLC_CONF_OPTS += --disable-theora
  330. endif
  331. ifeq ($(BR2_PACKAGE_LIBUPNP),y)
  332. VLC_CONF_OPTS += --enable-upnp
  333. VLC_DEPENDENCIES += libupnp
  334. else
  335. VLC_CONF_OPTS += --disable-upnp
  336. endif
  337. # libva support depends on ffmpeg
  338. ifeq ($(BR2_PACKAGE_FFMPEG)$(BR2_PACKAGE_LIBVA),yy)
  339. VLC_CONF_OPTS += --enable-libva
  340. VLC_DEPENDENCIES += libva
  341. else
  342. VLC_CONF_OPTS += --disable-libva
  343. endif
  344. ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y)
  345. VLC_CONF_OPTS += --enable-vnc
  346. VLC_DEPENDENCIES += libvncserver
  347. else
  348. VLC_CONF_OPTS += --disable-vnc
  349. endif
  350. ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
  351. VLC_CONF_OPTS += --enable-vorbis
  352. VLC_DEPENDENCIES += libvorbis
  353. else
  354. VLC_CONF_OPTS += --disable-vorbis
  355. endif
  356. ifeq ($(BR2_PACKAGE_LIBV4L),y)
  357. VLC_CONF_OPTS += --enable-v4l2
  358. VLC_DEPENDENCIES += libv4l
  359. else
  360. VLC_CONF_OPTS += --disable-v4l2
  361. endif
  362. ifeq ($(BR2_PACKAGE_LIBVPX),y)
  363. VLC_CONF_OPTS += --enable-vpx
  364. VLC_DEPENDENCIES += libvpx
  365. else
  366. VLC_CONF_OPTS += --disable-vpx
  367. endif
  368. ifeq ($(BR2_PACKAGE_LIBXCB),y)
  369. VLC_CONF_OPTS += --enable-xcb
  370. VLC_DEPENDENCIES += libxcb
  371. else
  372. VLC_CONF_OPTS += --disable-xcb
  373. endif
  374. ifeq ($(BR2_PACKAGE_LIBXML2),y)
  375. VLC_CONF_OPTS += --enable-libxml2
  376. VLC_DEPENDENCIES += libxml2
  377. else
  378. VLC_CONF_OPTS += --disable-libxml2
  379. endif
  380. ifeq ($(BR2_PACKAGE_LIVE555),y)
  381. VLC_CONF_OPTS += --enable-live555
  382. VLC_DEPENDENCIES += live555
  383. ifneq ($(BR2_PACKAGE_OPENSSL),y)
  384. VLC_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -DNO_OPENSSL"
  385. endif
  386. else
  387. VLC_CONF_OPTS += --disable-live555
  388. endif
  389. ifeq ($(BR2_PACKAGE_LUA),y)
  390. VLC_CONF_OPTS += --enable-lua
  391. VLC_DEPENDENCIES += lua host-lua
  392. else
  393. VLC_CONF_OPTS += --disable-lua
  394. endif
  395. ifeq ($(BR2_PACKAGE_MINIZIP),y)
  396. VLC_DEPENDENCIES += minizip
  397. endif
  398. ifeq ($(BR2_PACKAGE_MPG123),y)
  399. VLC_CONF_OPTS += --enable-mpg123
  400. VLC_DEPENDENCIES += mpg123
  401. else
  402. VLC_CONF_OPTS += --disable-mpg123
  403. endif
  404. ifeq ($(BR2_PACKAGE_MUSEPACK),y)
  405. VLC_CONF_OPTS += --enable-mpc
  406. VLC_DEPENDENCIES += musepack
  407. else
  408. VLC_CONF_OPTS += --disable-mpc
  409. endif
  410. ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
  411. VLC_CONF_OPTS += --enable-ncurses
  412. VLC_DEPENDENCIES += ncurses
  413. else
  414. VLC_CONF_OPTS += --disable-ncurses
  415. endif
  416. ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
  417. VLC_CONF_OPTS += --enable-pulse
  418. VLC_DEPENDENCIES += pulseaudio
  419. else
  420. VLC_CONF_OPTS += --disable-pulse
  421. endif
  422. ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS)$(BR2_PACKAGE_QT5SVG),yy)
  423. VLC_CONF_OPTS += --enable-qt
  424. VLC_DEPENDENCIES += qt5base qt5svg
  425. ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT)$(BR2_PACKAGE_XLIB_LIBXINERAMA)$(BR2_PACKAGE_XLIB_LIBXPM),yyy)
  426. VLC_CONF_OPTS += --enable-skins2
  427. VLC_DEPENDENCIES += xlib_libXext xlib_libXinerama xlib_libXpm
  428. else
  429. VLC_CONF_OPTS += --disable-skins2
  430. endif
  431. else
  432. VLC_CONF_OPTS += --disable-qt --disable-skins2
  433. endif
  434. ifeq ($(BR2_PACKAGE_SDL_IMAGE),y)
  435. VLC_CONF_OPTS += --enable-sdl-image
  436. VLC_DEPENDENCIES += sdl_image
  437. else
  438. VLC_CONF_OPTS += --disable-sdl-image
  439. endif
  440. ifeq ($(BR2_PACKAGE_SAMBA4),y)
  441. VLC_CONF_OPTS += --enable-smbclient
  442. VLC_DEPENDENCIES += samba4
  443. else
  444. VLC_CONF_OPTS += --disable-smbclient
  445. endif
  446. ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy)
  447. VLC_CONF_OPTS += --enable-speex
  448. VLC_DEPENDENCIES += speex speexdsp
  449. else
  450. VLC_CONF_OPTS += --disable-speex
  451. endif
  452. ifeq ($(BR2_PACKAGE_TAGLIB),y)
  453. VLC_CONF_OPTS += --enable-taglib
  454. VLC_DEPENDENCIES += taglib
  455. else
  456. VLC_CONF_OPTS += --disable-taglib
  457. endif
  458. ifeq ($(BR2_PACKAGE_TREMOR),y)
  459. VLC_CONF_OPTS += --enable-tremor
  460. VLC_DEPENDENCIES += tremor
  461. else
  462. VLC_CONF_OPTS += --disable-tremor
  463. endif
  464. ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
  465. VLC_CONF_OPTS += --enable-udev
  466. VLC_DEPENDENCIES += udev
  467. else
  468. VLC_CONF_OPTS += --disable-udev
  469. endif
  470. ifeq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_WAYLAND_PROTOCOLS),yy)
  471. VLC_CONF_OPTS += --enable-wayland
  472. VLC_DEPENDENCIES += wayland wayland-protocols
  473. else
  474. VLC_CONF_OPTS += --disable-wayland
  475. endif
  476. ifeq ($(BR2_PACKAGE_X264),y)
  477. VLC_CONF_OPTS += --enable-x264
  478. VLC_DEPENDENCIES += x264
  479. else
  480. VLC_CONF_OPTS += --disable-x264
  481. endif
  482. ifeq ($(BR2_PACKAGE_X265),y)
  483. VLC_CONF_OPTS += --enable-x265
  484. VLC_DEPENDENCIES += x265
  485. else
  486. VLC_CONF_OPTS += --disable-x265
  487. endif
  488. ifeq ($(BR2_PACKAGE_XCB_UTIL_KEYSYMS),y)
  489. VLC_DEPENDENCIES += xcb-util-keysyms
  490. endif
  491. ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
  492. VLC_CONF_OPTS += --with-x
  493. VLC_DEPENDENCIES += xlib_libX11
  494. else
  495. VLC_CONF_OPTS += --without-x
  496. endif
  497. ifeq ($(BR2_PACKAGE_ZLIB),y)
  498. VLC_DEPENDENCIES += zlib
  499. endif
  500. ifeq ($(BR2_PACKAGE_GNUTLS),y)
  501. VLC_CONF_OPTS += --enable-gnutls
  502. VLC_DEPENDENCIES += gnutls
  503. else
  504. VLC_CONF_OPTS += --disable-gnutls
  505. endif
  506. $(eval $(autotools-package))