Mercurial > mxe-octave
changeset 339:1a88c56bb93b
new package: theora (by Martin Gerhardy)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Tue, 05 May 2009 01:26:12 +0200 |
parents | 11dd0a0c94d3 |
children | 115ae9cde57a |
files | doc/README.html src/theora.mk |
diffstat | 2 files changed, 27 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/README.html Tue May 05 01:13:59 2009 +0200 +++ b/doc/README.html Tue May 05 01:26:12 2009 +0200 @@ -285,6 +285,7 @@ <li>Martin Lambers</li> <li>Tony Theodore</li> <li>Giuseppe Scrivano</li> + <li>Martin Gerhardy</li> </ul> <p>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/theora.mk Tue May 05 01:26:12 2009 +0200 @@ -0,0 +1,26 @@ +# Theora + +PKG := theora +$(PKG)_VERSION := 1.0 +$(PKG)_CHECKSUM := a3e495a8baf6939efad7e0bd11cc0e466838c3db +$(PKG)_SUBDIR := libtheora-$($(PKG)_VERSION) +$(PKG)_FILE := libtheora-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://theora.org/ +$(PKG)_URL := http://downloads.xiph.org/releases/theora/$($(PKG)_FILE) +$(PKG)_DEPS := gcc ogg vorbis + +define $(PKG)_UPDATE + wget -q -O- 'http://www.xiph.org/downloads/' | \ + $(SED) -n 's,.*libtheora-\([0-9][^>]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + # wine confuses the cross-compiling detection, so set it explicitly + $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef