Ticket #10266: libffmpeg-mini-build.patch

File libffmpeg-mini-build.patch, 831 bytes (added by antonlacon@…, 5 years ago)
  • multimedia/ffmpeg/Makefile

     
    368368  endef 
    369369endif 
    370370 
     371ifeq ($(BUILD_VARIANT),mini) 
     372  define Build/InstallDev 
     373        $(INSTALL_DIR) $(1)/usr/include 
     374        $(CP) $(PKG_INSTALL_DIR)/usr/include/lib{avcodec,avdevice,avformat,avutil} $(1)/usr/include/ 
     375        $(INSTALL_DIR) $(1)/usr/lib 
     376        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avdevice,avformat,avutil}.{a,so*} $(1)/usr/lib/ 
     377        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig 
     378        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/lib{avcodec,avdevice,avformat,avutil}.pc $(1)/usr/lib/pkgconfig/ 
     379  endef 
     380endif 
     381 
    371382define Package/ffmpeg/install 
    372383        $(INSTALL_DIR) $(1)/usr/bin 
    373384        $(CP) $(PKG_INSTALL_DIR)/usr/bin/ffmpeg $(1)/usr/bin/