summaryrefslogtreecommitdiffstats
path: root/src/theora.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/theora.mk')
-rw-r--r--src/theora.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/theora.mk b/src/theora.mk
index 0505dac..fbb5bf0 100644
--- a/src/theora.mk
+++ b/src/theora.mk
@@ -1,14 +1,11 @@
-# This file is part of mingw-cross-env.
-# See doc/index.html for further information.
+# This file is part of MXE.
+# See index.html for further information.
-# Theora
PKG := theora
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 1.1.1
$(PKG)_CHECKSUM := 0b91be522746a29351a5ee592fd8160940059303
$(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
@@ -19,10 +16,9 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- # wine confuses the cross-compiling detection, so set it explicitly
- $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
+ --build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_DATA=