Skip to content

Instantly share code, notes, and snippets.

@oneman
Created March 3, 2014 09:02
Show Gist options
  • Save oneman/9321095 to your computer and use it in GitHub Desktop.
Save oneman/9321095 to your computer and use it in GitHub Desktop.
diff --git a/src/clients/vistest/wscript b/src/clients/vistest/wscript
index 616d65a..f73207d 100644
--- a/src/clients/vistest/wscript
+++ b/src/clients/vistest/wscript
@@ -28,7 +28,7 @@ def build(bld):
target = 'xmms2-ripper',
source = 'ripper.c',
includes = '. ../../.. ../../include',
- uselib = 'vorbisenc',
+ uselib = 'vorbis vorbisenc ogg',
use = 'xmmsclient'
)
if not bld.env.INSTALL_VIS_REFERENCE_CLIENTS:
@@ -53,6 +53,12 @@ def configure(conf):
conf.check_cc(lib="m", uselib_store="math", mandatory=False)
+ conf.check_cfg(package='ogg', uselib_store='ogg',
+ args='--cflags --libs', mandatory=False)
+
+ conf.check_cfg(package='vorbis', uselib_store='vorbis',
+ args='--cflags --libs', mandatory=False)
+
conf.check_cfg(package='vorbisenc', uselib_store='vorbisenc',
args='--cflags --libs', mandatory=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment