summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorBłażej Szczygieł <spaz16@wp.pl>2016-10-17 17:14:07 +0200
committerBłażej Szczygieł <spaz16@wp.pl>2016-10-23 02:46:06 +0200
commitd710b265f8c9c94f3315d2d2ae2267c7437eb179 (patch)
treec3c967259f8ce60eb87059d1ba08ea6cd520b2e4 /platform/x11
parent1556d0d377ec376dd02db80a1bee7fc81eb684d9 (diff)
Add WebM module
Use already existing libraries: libvorbis and libopus. Also use newly added libraries: libvpx, libwebm, libsimplewebm.
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index eb71ac7409..554a461d1b 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -164,6 +164,9 @@ def configure(env):
env["libvorbis"] = "system" # Needed to link against system libtheora
env.ParseConfig('pkg-config theora theoradec --cflags --libs')
+ if (env["libvpx"] == "system"):
+ env.ParseConfig('pkg-config vpx --cflags --libs')
+
if (env["libvorbis"] == "system"):
env["libogg"] = "system" # Needed to link against system libvorbis
env.ParseConfig('pkg-config vorbis vorbisfile --cflags --libs')