From 28902ea9ec9be63d171d9ac46062be0c0bc1f749 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Tue, 5 May 2009 01:26:12 +0200 Subject: new package: theora (by Martin Gerhardy) --- doc/README.html | 1 + src/theora.mk | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 src/theora.mk diff --git a/doc/README.html b/doc/README.html index 35633af..1852cca 100644 --- a/doc/README.html +++ b/doc/README.html @@ -285,6 +285,7 @@
  • Martin Lambers
  • Tony Theodore
  • Giuseppe Scrivano
  • +
  • Martin Gerhardy
  • diff --git a/src/theora.mk b/src/theora.mk new file mode 100644 index 0000000..072ed39 --- /dev/null +++ b/src/theora.mk @@ -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 -- cgit v0.12