ffmpeg: pack libpostproc for hard float archs only 6989/head
authorAlexander Ryzhov <github@ryzhov-al.ru>
Mon, 10 Sep 2018 12:19:12 +0000 (15:19 +0300)
committerAlexander Ryzhov <github@ryzhov-al.ru>
Mon, 10 Sep 2018 12:31:51 +0000 (15:31 +0300)
Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
multimedia/ffmpeg/Makefile

index 390012a654363e6a0978aca33a2436986398a3fe..f627db8f94e59615f254f58ce7b26b61e9864cbe 100644 (file)
@@ -656,11 +656,13 @@ define Build/InstallDev/full
        $(CP) $(PKG_INSTALL_DIR)/usr/include/lib{avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale} $(1)/usr/include/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale}.{a,so*} $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/lib{avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale}.pc $(1)/usr/lib/pkgconfig/
+ifneq ($(CONFIG_SOFT_FLOAT),y)
 ifneq ($(CONFIG_PACKAGE_libx264),)
        $(CP) $(PKG_INSTALL_DIR)/usr/include/libpostproc $(1)/usr/include/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpostproc.{a,so*} $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libpostproc.pc $(1)/usr/lib/pkgconfig/
 endif
+endif
 endef
 
 define Build/InstallDev/mini
@@ -722,9 +724,11 @@ endef
 define Package/libffmpeg-full/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale}.so.* $(1)/usr/lib/
+ifneq ($(CONFIG_SOFT_FLOAT),y)
 ifneq ($(CONFIG_PACKAGE_libx264),)
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpostproc.so.* $(1)/usr/lib/
 endif
+endif
 endef
 
 define Package/libffmpeg-mini/install