You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

644 lines
14 KiB

  1. #
  2. # Copyright (C) 2006-2016 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=ffmpeg
  9. PKG_VERSION:=2.8.8
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=http://ffmpeg.org/releases/
  13. PKG_MD5SUM:=5fae1ba5a5d37a2d0de750479b7270d4
  14. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
  15. PKG_LICENSE:=LGPL-2.1+ GPL-2+ LGPL-3
  16. PKG_LICENSE_FILES:=COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 COPYING.LGPLv3
  17. FFMPEG_CUSTOM_ENCODERS:= \
  18. ac3 \
  19. jpegls \
  20. mpeg1video \
  21. mpeg2video \
  22. mpeg4 \
  23. pcm_s16be \
  24. pcm_s16le \
  25. png \
  26. vorbis \
  27. zlib \
  28. FFMPEG_CUSTOM_DECODERS:= \
  29. aac \
  30. ac3 \
  31. alac \
  32. amrnb \
  33. amrwb \
  34. ape \
  35. atrac3 \
  36. flac \
  37. gif \
  38. h264 \
  39. hevc \
  40. jpegls \
  41. mp2 \
  42. mp3 \
  43. mpeg1video \
  44. mpeg2video \
  45. mpeg4 \
  46. mpegvideo \
  47. mpc7 \
  48. mpc8 \
  49. pcm_s16be \
  50. pcm_s16le \
  51. png \
  52. vc1 \
  53. vorbis \
  54. wavpack \
  55. wmav1 \
  56. wmav2 \
  57. zlib \
  58. FFMPEG_CUSTOM_MUXERS:= \
  59. ac3 \
  60. ffm \
  61. h264 \
  62. hevc \
  63. mp3 \
  64. mp4 \
  65. mpeg1video \
  66. mpeg2video \
  67. mpegts \
  68. ogg \
  69. rtp \
  70. FFMPEG_CUSTOM_DEMUXERS:= \
  71. aac \
  72. ac3 \
  73. amr \
  74. ape \
  75. avi \
  76. flac \
  77. ffm \
  78. h264 \
  79. hevc \
  80. matroska \
  81. mov \
  82. mp3 \
  83. mpegps \
  84. mpegts \
  85. mpegvideo \
  86. mpc \
  87. mpc8 \
  88. ogg \
  89. rm \
  90. rtsp \
  91. rtp \
  92. sdp \
  93. v4l2 \
  94. vc1 \
  95. wav \
  96. wv \
  97. FFMPEG_CUSTOM_PARSERS:= \
  98. aac \
  99. flac \
  100. ac3 \
  101. h264 \
  102. hevc \
  103. mpegaudio \
  104. mpeg4video \
  105. mpegvideo \
  106. vc1 \
  107. FFMPEG_CUSTOM_PROTOCOLS:= \
  108. file http icecast pipe rtp tcp udp
  109. FFMPEG_MINI_DECODERS:= \
  110. aac \
  111. ac3 \
  112. flac \
  113. h264 \
  114. hevc \
  115. jpegls \
  116. mp3 \
  117. mpeg1video \
  118. mpeg2video \
  119. mpeg4 \
  120. mpegvideo \
  121. opus \
  122. png \
  123. vc1 \
  124. vorbis \
  125. wmav1 \
  126. wmav2 \
  127. FFMPEG_MINI_DEMUXERS:= \
  128. avi \
  129. flac \
  130. matroska \
  131. mov \
  132. mp3 \
  133. mpegts \
  134. mpegvideo \
  135. ogg \
  136. FFMPEG_MINI_PROTOCOLS:= \
  137. file \
  138. FFMPEG_AUDIO_DECODERS:= \
  139. aac \
  140. aac_latm \
  141. ac3 \
  142. adpcm_* \
  143. alac \
  144. amrnb \
  145. amrwb \
  146. ape \
  147. atrac3 \
  148. flac \
  149. mp2 \
  150. mp3* \
  151. mpc7 \
  152. mpc8 \
  153. opus \
  154. pcm_* \
  155. vorbis \
  156. wavpack \
  157. wmav1 \
  158. wmav2 \
  159. wmalossless \
  160. wmapro \
  161. zlib \
  162. FFMPEG_AUDIO_DEMUXERS:= \
  163. aac \
  164. ac3 \
  165. aiff \
  166. amr \
  167. ape \
  168. avi \
  169. flac \
  170. ffm \
  171. matroska \
  172. mp3 \
  173. mov \
  174. mpc \
  175. mpc8 \
  176. mpegts \
  177. ogg \
  178. rm \
  179. rtsp \
  180. rtp \
  181. sdp \
  182. wav \
  183. wv \
  184. FFMPEG_AUDIO_PARSERS:= \
  185. aac \
  186. aac_latm \
  187. ac3 \
  188. flac \
  189. mpegaudio \
  190. opus \
  191. FFMPEG_AUDIO_PROTOCOLS:= \
  192. file http icecast rtp tcp udp
  193. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
  194. PKG_CONFIG_DEPENDS:= \
  195. $(patsubst %,CONFIG_FFMPEG_CUSTOM_ENCODER_%,$(FFMPEG_CUSTOM_ENCODERS)) \
  196. $(patsubst %,CONFIG_FFMPEG_CUSTOM_DECODER_%,$(FFMPEG_CUSTOM_DECODERS)) \
  197. $(patsubst %,CONFIG_FFMPEG_CUSTOM_MUXER_%,$(FFMPEG_CUSTOM_DEMUXERS)) \
  198. $(patsubst %,CONFIG_FFMPEG_CUSTOM_DEMUXER_%,$(FFMPEG_CUSTOM_DEMUXERS)) \
  199. $(patsubst %,CONFIG_FFMPEG_CUSTOM_PARSER_%,$(FFMPEG_CUSTOM_PARSERS)) \
  200. $(patsubst %,CONFIG_FFMPEG_CUSTOM_PROTOCOL_%,$(FFMPEG_CUSTOM_PROTOCOLS))
  201. include $(INCLUDE_DIR)/package.mk
  202. define Package/ffmpeg/Default
  203. TITLE:=FFmpeg
  204. URL:=http://ffmpeg.mplayerhq.hu/
  205. endef
  206. define Package/ffmpeg/Default/description
  207. FFmpeg is a a software package that can record, convert and stream digital
  208. audio and video in numerous formats.
  209. endef
  210. define Package/ffmpeg
  211. $(call Package/ffmpeg/Default)
  212. SECTION:=multimedia
  213. CATEGORY:=Multimedia
  214. TITLE+= program
  215. DEPENDS+= +libpthread +libffmpeg-full
  216. VARIANT:=full
  217. endef
  218. define Package/ffmpeg/description
  219. $(call Package/ffmpeg/Default/description)
  220. .
  221. This package contains the FFmpeg command line tool.
  222. endef
  223. define Package/ffprobe
  224. $(call Package/ffmpeg/Default)
  225. SECTION:=multimedia
  226. CATEGORY:=Multimedia
  227. TITLE+= CLI media identifier
  228. DEPENDS+= +libffmpeg-full
  229. VARIANT:=full
  230. endef
  231. define Package/ffprobe/description
  232. $(call Package/ffmpeg/Default/description)
  233. .
  234. This package contains the FFprobe command line tool.
  235. endef
  236. define Package/ffserver
  237. $(call Package/ffserver/Default)
  238. SECTION:=multimedia
  239. CATEGORY:=Multimedia
  240. TITLE+= streaming server
  241. DEPENDS+= +libpthread +libffmpeg-full
  242. VARIANT:=full
  243. endef
  244. define Package/ffserver/description
  245. $(call Package/ffmpeg/Default/description)
  246. .
  247. This package contains the FFmpeg streaming server.
  248. endef
  249. define Package/libffmpeg/Default
  250. $(call Package/ffmpeg/Default)
  251. SECTION:=libs
  252. CATEGORY:=Libraries
  253. TITLE+= libraries
  254. DEPENDS+= @BUILD_PATENTED +libpthread +zlib +libbz2
  255. PROVIDES:= libffmpeg
  256. endef
  257. define Package/libffmpeg-custom
  258. $(call Package/libffmpeg/Default)
  259. TITLE+= (custom)
  260. DEPENDS+= +FFMPEG_CUSTOM_SELECT_libopus:libopus +FFMPEG_CUSTOM_SELECT_speex:libspeex \
  261. +PACKAGE_libx264:libx264 +PACKAGE_lame-lib:lame-lib
  262. VARIANT:=custom
  263. MENU:=1
  264. endef
  265. define Package/libffmpeg-custom/config
  266. source "$(SOURCE)/Config.in"
  267. endef
  268. define Package/libffmpeg-custom/description
  269. $(call Package/ffmpeg/Default/description)
  270. .
  271. This package contains customized FFmpeg shared libraries.
  272. endef
  273. define Package/libffmpeg-audio-dec
  274. $(call Package/libffmpeg/Default)
  275. TITLE+= (audio)
  276. DEPENDS+= +libspeex
  277. VARIANT:=audio-dec
  278. endef
  279. define Package/libffmpeg-audio-dec/description
  280. $(call Package/ffmpeg/Default/description)
  281. .
  282. This package contains FFmpeg shared libraries for audio decoding
  283. endef
  284. define Package/libffmpeg-full
  285. $(call Package/libffmpeg/Default)
  286. TITLE+= (full)
  287. DEPENDS+= +alsa-lib +PACKAGE_libx264:libx264 +PACKAGE_lame-lib:lame-lib +libopus +libspeex
  288. VARIANT:=full
  289. endef
  290. define Package/libffmpeg-full/description
  291. $(call Package/ffmpeg/Default/description)
  292. .
  293. This package contains full-featured FFmpeg shared libraries.
  294. endef
  295. define Package/libffmpeg-mini
  296. $(call Package/libffmpeg/Default)
  297. TITLE+= (mini)
  298. VARIANT:=mini
  299. endef
  300. define Package/libffmpeg-mini/description
  301. $(call Package/ffmpeg/Default/description)
  302. .
  303. This package contains minimal-featured FFmpeg shared libraries.
  304. endef
  305. FFMPEG_CONFIGURE:= \
  306. CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \
  307. LDFLAGS="$(TARGET_LDFLAGS)" \
  308. ./configure \
  309. --enable-cross-compile \
  310. --cross-prefix="$(TARGET_CROSS)" \
  311. --arch="$(ARCH)" \
  312. --target-os=linux \
  313. --prefix="/usr" \
  314. --pkg-config="pkg-config" \
  315. --enable-shared \
  316. --enable-static \
  317. --enable-small \
  318. --enable-pthreads \
  319. --enable-zlib \
  320. --disable-doc \
  321. --disable-debug \
  322. \
  323. --enable-gpl \
  324. --enable-version3 \
  325. \
  326. --disable-dxva2 \
  327. --disable-lzma \
  328. --disable-vaapi \
  329. --disable-vda \
  330. --disable-vdpau \
  331. --disable-outdevs
  332. ifeq ($(CONFIG_SOFT_FLOAT),y)
  333. FFMPEG_CONFIGURE += \
  334. --disable-altivec \
  335. --disable-amd3dnow \
  336. --disable-amd3dnowext \
  337. --disable-mmx \
  338. --disable-mmxext \
  339. --disable-sse \
  340. --disable-sse2 \
  341. --disable-sse3 \
  342. --disable-ssse3 \
  343. --disable-sse4 \
  344. --disable-sse42 \
  345. --disable-avx \
  346. --disable-xop \
  347. --disable-fma3 \
  348. --disable-fma4 \
  349. --disable-avx2 \
  350. --disable-inline-asm \
  351. --disable-mips32r2 \
  352. --disable-mipsdspr1 \
  353. --disable-mipsdspr2 \
  354. --disable-mipsfpu \
  355. --disable-runtime-cpudetect
  356. else ifneq ($(findstring arm,$(CONFIG_ARCH)),)
  357. FFMPEG_CONFIGURE += \
  358. --disable-runtime-cpudetect
  359. else ifneq ($(findstring powerpc,$(CONFIG_ARCH)),)
  360. FFMPEG_CONFIGURE += \
  361. --disable-altivec
  362. endif
  363. ifneq ($(CONFIG_YASM),y)
  364. FFMPEG_CONFIGURE += \
  365. --disable-yasm
  366. endif
  367. #selectibly disable optimizations according to arch/cpu type
  368. ifneq ($(findstring arm,$(CONFIG_ARCH)),)
  369. ifeq (,$(findstring vfp,$(CONFIG_TARGET_OPTIMIZATION)))
  370. FFMPEG_CONFIGURE+= \
  371. --disable-vfp
  372. endif
  373. ifeq (,$(findstring neon,$(CONFIG_TARGET_OPTIMIZATION)))
  374. FFMPEG_CONFIGURE+= \
  375. --disable-neon
  376. endif
  377. endif
  378. ifeq ($(BUILD_VARIANT),full)
  379. FFMPEG_CONFIGURE+= \
  380. --enable-libopus --enable-decoder=libopus \
  381. --enable-libspeex --enable-decoder=libspeex \
  382. $(if $(CONFIG_PACKAGE_libx264),--enable-libx264) \
  383. $(if $(CONFIG_PACKAGE_lame-lib),--enable-libmp3lame)
  384. endif
  385. ifeq ($(BUILD_VARIANT),custom)
  386. FFMPEG_ENABLE= \
  387. $(foreach c, $(2), \
  388. $(if $($(3)_$(c)),--enable-$(1)="$(c)") \
  389. )
  390. FFMPEG_CONFIGURE+= \
  391. --disable-programs \
  392. --disable-avfilter \
  393. --disable-postproc \
  394. --disable-swresample \
  395. --disable-swscale \
  396. --disable-everything \
  397. $(call FFMPEG_ENABLE,encoder,$(FFMPEG_CUSTOM_ENCODERS),CONFIG_FFMPEG_CUSTOM_ENCODER) \
  398. $(call FFMPEG_ENABLE,decoder,$(FFMPEG_CUSTOM_DECODERS),CONFIG_FFMPEG_CUSTOM_DECODER) \
  399. $(call FFMPEG_ENABLE,muxer,$(FFMPEG_CUSTOM_MUXERS),CONFIG_FFMPEG_CUSTOM_MUXER) \
  400. $(call FFMPEG_ENABLE,demuxer,$(FFMPEG_CUSTOM_DEMUXERS),CONFIG_FFMPEG_CUSTOM_DEMUXER) \
  401. $(call FFMPEG_ENABLE,parser,$(FFMPEG_CUSTOM_PARSERS),CONFIG_FFMPEG_CUSTOM_PARSER) \
  402. $(call FFMPEG_ENABLE,protocol,$(FFMPEG_CUSTOM_PROTOCOLS),CONFIG_FFMPEG_CUSTOM_PROTOCOL) \
  403. ifeq ($(CONFIG_FFMPEG_CUSTOM_SELECT_adpcm),y)
  404. FFMPEG_CONFIGURE+= \
  405. --enable-decoder=adpcm_ima_wav \
  406. --enable-decoder=adpcm_ima_qt \
  407. --enable-decoder=adpcm_ms \
  408. endif
  409. ifeq ($(CONFIG_FFMPEG_CUSTOM_SELECT_libopus),y)
  410. FFMPEG_CONFIGURE+= \
  411. --enable-libopus --enable-decoder=libopus
  412. endif
  413. ifeq ($(CONFIG_FFMPEG_CUSTOM_SELECT_speex),y)
  414. FFMPEG_CONFIGURE+= \
  415. --enable-libspeex --enable-decoder=libspeex
  416. endif
  417. ifeq ($(CONFIG_FFMPEG_CUSTOM_SELECT_x264),y)
  418. FFMPEG_CONFIGURE+= \
  419. --enable-libx264
  420. endif
  421. ifeq ($(CONFIG_FFMPEG_CUSTOM_SELECT_mp3lame),y)
  422. FFMPEG_CONFIGURE+= \
  423. --enable-libmp3lame
  424. endif
  425. endif
  426. ifeq ($(BUILD_VARIANT),audio-dec)
  427. FFMPEG_ENABLE= \
  428. $(foreach c, $(2), \
  429. --enable-$(1)="$(c)" \
  430. )
  431. FFMPEG_CONFIGURE+= \
  432. --disable-programs \
  433. --disable-avfilter \
  434. --disable-postproc \
  435. --disable-swresample \
  436. --disable-swscale \
  437. --disable-everything \
  438. $(call FFMPEG_ENABLE,decoder,$(FFMPEG_AUDIO_DECODERS)) \
  439. $(call FFMPEG_ENABLE,demuxer,$(FFMPEG_AUDIO_DEMUXERS)) \
  440. $(call FFMPEG_ENABLE,parser,$(FFMPEG_AUDIO_PARSERS)) \
  441. $(call FFMPEG_ENABLE,protocol,$(FFMPEG_AUDIO_PROTOCOLS)) \
  442. --enable-libspeex --enable-decoder=libspeex \
  443. --disable-decoder=pcm_bluray,pcm_dvd \
  444. endif
  445. ifeq ($(BUILD_VARIANT),mini)
  446. FFMPEG_ENABLE= \
  447. $(foreach c, $(2), \
  448. --enable-$(1)="$(c)" \
  449. )
  450. FFMPEG_CONFIGURE+= \
  451. --disable-programs \
  452. --disable-avdevice \
  453. --disable-avfilter \
  454. --disable-postproc \
  455. --disable-swresample \
  456. --disable-swscale \
  457. --disable-everything \
  458. $(call FFMPEG_ENABLE,decoder,$(FFMPEG_MINI_DECODERS)) \
  459. $(call FFMPEG_ENABLE,demuxer,$(FFMPEG_MINI_DEMUXERS)) \
  460. $(call FFMPEG_ENABLE,protocol,$(FFMPEG_MINI_PROTOCOLS)) \
  461. endif
  462. ifneq ($(CONFIG_TARGET_x86),)
  463. TARGET_CFLAGS += -fomit-frame-pointer
  464. endif
  465. define Build/Configure
  466. ( cd $(PKG_BUILD_DIR); $(FFMPEG_CONFIGURE) )
  467. endef
  468. define Build/Compile
  469. $(MAKE) -C $(PKG_BUILD_DIR) \
  470. DESTDIR="$(PKG_INSTALL_DIR)" \
  471. all install
  472. endef
  473. define Build/InstallDev/custom
  474. $(INSTALL_DIR) $(1)/usr/include
  475. $(CP) $(PKG_INSTALL_DIR)/usr/include/lib{avcodec,avdevice,avformat,avutil} $(1)/usr/include/
  476. $(INSTALL_DIR) $(1)/usr/lib
  477. $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avdevice,avformat,avutil}.{a,so*} $(1)/usr/lib/
  478. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  479. $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/lib{avcodec,avdevice,avformat,avutil}.pc $(1)/usr/lib/pkgconfig/
  480. endef
  481. define Build/InstallDev/full
  482. $(INSTALL_DIR) $(1)/usr/include
  483. $(CP) $(PKG_INSTALL_DIR)/usr/include/lib{avcodec,avdevice,avfilter,avformat,avutil,postproc,swresample,swscale} $(1)/usr/include/
  484. $(INSTALL_DIR) $(1)/usr/lib
  485. $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avdevice,avfilter,avformat,avutil,postproc,swresample,swscale}.{a,so*} $(1)/usr/lib/
  486. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  487. $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/lib{avcodec,avdevice,avfilter,avformat,avutil,postproc,swresample,swscale}.pc $(1)/usr/lib/pkgconfig/
  488. endef
  489. define Build/InstallDev/mini
  490. $(INSTALL_DIR) $(1)/usr/include
  491. $(CP) $(PKG_INSTALL_DIR)/usr/include/lib{avcodec,avformat,avutil} $(1)/usr/include/
  492. $(INSTALL_DIR) $(1)/usr/lib
  493. $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avformat,avutil}.{a,so*} $(1)/usr/lib/
  494. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  495. $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/lib{avcodec,avformat,avutil}.pc $(1)/usr/lib/pkgconfig/
  496. endef
  497. Build/InstallDev/audio-dec = $(Build/InstallDev/custom)
  498. # XXX: attempt at installing "best" dev files available
  499. ifeq ($(BUILD_VARIANT),custom)
  500. # XXX: only install "custom" dev files if -full & -mini are not selected
  501. ifeq ($(CONFIG_PACKAGE_libffmpeg-full)$(CONFIG_PACKAGE_libffmpeg-mini),)
  502. Build/InstallDev = $(Build/InstallDev/custom)
  503. endif
  504. endif
  505. ifeq ($(BUILD_VARIANT),audio-dec)
  506. # XXX: only install "audio-dec" dev files if -full & -mini are not selected
  507. ifeq ($(CONFIG_PACKAGE_libffmpeg-full)$(CONFIG_PACKAGE_libffmpeg-mini),)
  508. Build/InstallDev = $(Build/InstallDev/audio-dec)
  509. endif
  510. endif
  511. ifeq ($(BUILD_VARIANT),full)
  512. # XXX: always install "full" dev files if -full is selected
  513. Build/InstallDev = $(Build/InstallDev/full)
  514. endif
  515. ifeq ($(BUILD_VARIANT),mini)
  516. # XXX: only install "mini" dev files if -full is not selected
  517. ifeq ($(CONFIG_PACKAGE_libffmpeg-full),)
  518. Build/InstallDev = $(Build/InstallDev/mini)
  519. endif
  520. endif
  521. define Package/ffmpeg/install
  522. $(INSTALL_DIR) $(1)/usr/bin
  523. $(CP) $(PKG_INSTALL_DIR)/usr/bin/ffmpeg $(1)/usr/bin/
  524. endef
  525. define Package/ffprobe/install
  526. $(INSTALL_DIR) $(1)/usr/bin
  527. $(CP) $(PKG_INSTALL_DIR)/usr/bin/ffprobe $(1)/usr/bin/
  528. endef
  529. define Package/ffserver/install
  530. $(INSTALL_DIR) $(1)/usr/bin
  531. $(CP) $(PKG_INSTALL_DIR)/usr/bin/ffserver $(1)/usr/bin/
  532. endef
  533. define Package/libffmpeg-custom/install
  534. $(INSTALL_DIR) $(1)/usr/lib
  535. $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avdevice,avformat,avutil}.so.* $(1)/usr/lib/
  536. endef
  537. define Package/libffmpeg-full/install
  538. $(INSTALL_DIR) $(1)/usr/lib
  539. $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avdevice,avfilter,avformat,avutil,postproc,swresample,swscale}.so.* $(1)/usr/lib/
  540. endef
  541. define Package/libffmpeg-mini/install
  542. $(INSTALL_DIR) $(1)/usr/lib
  543. $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avformat,avutil}.so.* $(1)/usr/lib/
  544. endef
  545. Package/libffmpeg-audio-dec/install = $(Package/libffmpeg-custom/install)
  546. $(eval $(call BuildPackage,ffmpeg))
  547. $(eval $(call BuildPackage,ffprobe))
  548. $(eval $(call BuildPackage,ffserver))
  549. $(eval $(call BuildPackage,libffmpeg-audio-dec))
  550. $(eval $(call BuildPackage,libffmpeg-full))
  551. $(eval $(call BuildPackage,libffmpeg-mini))
  552. ifneq ($(CONFIG_ALL),y)
  553. $(eval $(call BuildPackage,libffmpeg-custom))
  554. endif