2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
14 PKG_SOURCE_URL
:=http
://downloads.xiph.org
/releases
/theora
/
15 PKG_MD5SUM
:=c963937053f45a7878954bed37ceb182
18 PKG_BUILD_DEPENDS
:=libvorbis
20 include $(INCLUDE_DIR
)/package.mk
24 define Package
/libtheora
28 URL
:=http
://xiph.org
/theora
/
32 define Package
/libtheora
/description
33 Theora is Xiph.Org
's first publicly released video codec, intended
34 for use within the Foundation's Ogg multimedia streaming system.
35 Theora is derived directly from On2
's VP3 codec; Currently the
36 encoders are nearly identical, but Theora will make use of new
37 features supported by the decoder to improve over what is
41 define Build/Configure
42 $(call Build/Configure/Default, \
45 --disable-vorbistest \
50 define Build/InstallDev
51 $(INSTALL_DIR) $(1)/usr/include/theora/
52 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/theora/* $(1)/usr/include/theora/
53 $(INSTALL_DIR) $(1)/usr/lib/
54 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/
55 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
56 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
59 define Package/libtheora/install
60 $(INSTALL_DIR) $(1)/usr/lib/
61 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
64 $(eval $(call BuildPackage,libtheora))