[packages] ffmpeg: install libswscale headers (closes: #9447), cleanup

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28418 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2011-10-11 16:50:16 +00:00
parent 5309438285
commit 8543fdff39

View File

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