[packages] ffmpeg: install libswscale headers (closes: #9447), cleanup
authorNicolas Thill <nico@openwrt.org>
Tue, 11 Oct 2011 16:50:16 +0000 (16:50 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 11 Oct 2011 16:50:16 +0000 (16:50 +0000)
SVN-Revision: 28418

multimedia/ffmpeg/Makefile

index 79a5e8b9aff5a860882def62b959430dd4d9d7df..1c8951b608eb8a8fb78106ef4d3452acff659e97 100644 (file)
@@ -173,19 +173,19 @@ $(call Package/ffmpeg/Default/description)
 endef
 
 define Package/libpostproc
+$(call Package/ffmpeg/Default)
  SECTION:=libs
  CATEGORY:=Libraries
  TITLE:=libpostproc
- URL:=http://ffmpeg.mplayerhq.hu/
- DEPENDS:=+libffmpeg
+ DEPENDS+= +libffmpeg
 endef
 
 define Package/libswscale
+$(call Package/ffmpeg/Default)
  SECTION:=libs
  CATEGORY:=Libraries
  TITLE:=libswscale
- URL:=http://ffmpeg.mplayerhq.hu/
- DEPENDS:=+libffmpeg
+ DEPENDS+= +libffmpeg
 endef
 
 FILTER_CONFIG= \
@@ -273,6 +273,7 @@ define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
        $(CP) $(PKG_INSTALL_DIR)/usr/include/libav{codec,device,format,util} $(1)/usr/include/
        $(CP) $(PKG_INSTALL_DIR)/usr/include/libpostproc $(1)/usr/include/
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/libswscale $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libav{codec,device,format,util}.{a,so*} $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpostproc.{a,so*} $(1)/usr/lib/