Browse Source

ffmpeg: remember to adjust InstallDev too

Finish adjustment for libavdevice with libffmpeg-mini

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
lilik-openwrt-22.03
Ian Leonard 10 years ago
parent
commit
875eb1cc24
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      multimedia/ffmpeg/Makefile

+ 9
- 1
multimedia/ffmpeg/Makefile View File

@ -512,7 +512,15 @@ define Build/InstallDev/full
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/lib{avcodec,avdevice,avfilter,avformat,avutil,postproc,swresample,swscale}.pc $(1)/usr/lib/pkgconfig/
endef
Build/InstallDev/mini = $(Build/InstallDev/custom)
define Build/InstallDev/mini
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/lib{avcodec,avformat,avutil} $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avformat,avutil}.{a,so*} $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/lib{avcodec,avformat,avutil}.pc $(1)/usr/lib/pkgconfig/
endef
Build/InstallDev/audio-dec = $(Build/InstallDev/custom)
# XXX: attempt at installing "best" dev files available


Loading…
Cancel
Save