Changeset 25316


Ignore:
Timestamp:
2011-02-02T19:48:50+01:00 (6 years ago)
Author:
acinonyx
Message:

[packages] ffmpeg: Add libswscale package (#8763)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/multimedia/ffmpeg/Makefile

    r22071 r25316  
    11# 
    2 # Copyright (C) 2006-2010 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=ffmpeg 
    1111PKG_VERSION:=0.5.2 
    12 PKG_RELEASE:=4 
     12PKG_RELEASE:=5 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    159159 CATEGORY:=Libraries 
    160160 TITLE:=libpostproc 
     161 URL:=http://ffmpeg.mplayerhq.hu/ 
     162 DEPENDS:=+libffmpeg 
     163endef 
     164 
     165define Package/libswscale 
     166 SECTION:=libs 
     167 CATEGORY:=Libraries 
     168 TITLE:=libswscale 
    161169 URL:=http://ffmpeg.mplayerhq.hu/ 
    162170 DEPENDS:=+libffmpeg 
     
    204212                --enable-zlib \ 
    205213                --enable-postproc \ 
     214                --enable-swscale \ 
    206215                \ 
    207216                $(if $(CONFIG_PACKAGE_ffmpeg),,--disable-ffmpeg) \ 
     
    239248        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libav{codec,device,format,util}.{a,so*} $(1)/usr/lib/ 
    240249        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpostproc.{a,so*} $(1)/usr/lib/ 
     250        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libswscale.{a,so*} $(1)/usr/lib/ 
    241251        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig 
    242252        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libav{codec,device,format,util}.pc $(1)/usr/lib/pkgconfig/ 
    243253        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libpostproc.pc $(1)/usr/lib/pkgconfig/ 
     254        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libswscale.pc $(1)/usr/lib/pkgconfig/ 
    244255endef 
    245256 
     
    262273        $(INSTALL_DIR) $(1)/usr/lib 
    263274        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpostproc.so.* $(1)/usr/lib/ 
     275endef 
     276 
     277define Package/libswcale/install 
     278        $(INSTALL_DIR) $(1)/usr/lib 
     279        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libswscale.so.* $(1)/usr/lib/ 
    264280endef 
    265281 
     
    268284$(eval $(call BuildPackage,libffmpeg)) 
    269285$(eval $(call BuildPackage,libpostproc)) 
     286$(eval $(call BuildPackage,libswscale)) 
Note: See TracChangeset for help on using the changeset viewer.