summaryrefslogtreecommitdiffstats
path: root/contrib/libtheora
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libtheora')
-rw-r--r--contrib/libtheora/module.defs13
-rw-r--r--contrib/libtheora/module.rules2
2 files changed, 15 insertions, 0 deletions
diff --git a/contrib/libtheora/module.defs b/contrib/libtheora/module.defs
new file mode 100644
index 000000000..be40ab579
--- /dev/null
+++ b/contrib/libtheora/module.defs
@@ -0,0 +1,13 @@
+$(eval $(call import.MODULE.defs,LIBTHEORA,libtheora,LIBOGG LIBVORBIS))
+$(eval $(call import.CONTRIB.defs,LIBTHEORA))
+
+LIBTHEORA.FETCH.url = http://download.m0k.org/handbrake/contrib/libtheora-1.0.tar.gz
+LIBTHEORA.EXTRACT.tarbase = libtheora
+
+LIBTHEORA.CONFIGURE.extra = \
+ --disable-examples \
+ --disable-oggtest \
+ --disable-sdltest \
+ --disable-vorbistest \
+ --with-ogg=$(call fn.ABSOLUTE,$(CONTRIB.build/)) \
+ --with-vorbis=$(call fn.ABSOLUTE,$(CONTRIB.build/))
diff --git a/contrib/libtheora/module.rules b/contrib/libtheora/module.rules
new file mode 100644
index 000000000..c30224bb2
--- /dev/null
+++ b/contrib/libtheora/module.rules
@@ -0,0 +1,2 @@
+$(eval $(call import.MODULE.rules,LIBTHEORA))
+$(eval $(call import.CONTRIB.rules,LIBTHEORA))