History

Merge branch 'master' into gitshaversion

Paul Brossier committed 9 years ago

Commit 24c207f2 parents 59be50d 91fa88d9 files · +200 −38Browse files

Showing the changes to python (1 of 9 files). Show all

Unified · Split

python/lib/moresetuptools.py+9−8
@@ -74,9 +74,8 @@ def add_local_macros(ext, usedouble = False): · 73 unmodified lines
74def add_external_deps(ext, usedouble = False):74def add_external_deps(ext, usedouble = False):
75 # loof for additional packages75 # loof for additional packages
76 print("Info: looking for *optional* additional packages")76 print("Info: looking for *optional* additional packages")
77 packages = ['libavcodec', 'libavformat', 'libavutil', 'libavresample',77 packages = ['libavcodec', 'libavformat', 'libavutil',
78 'jack',78 'libswresample', 'libavresample',
79 'jack',
80 'sndfile',79 'sndfile',
81 #'fftw3f',80 #'fftw3f',
82 ]81 ]
@@ -88,11 +87,13 @@ def add_external_deps(ext, usedouble = False): · 5 unmodified lines
88 add_packages(packages, ext=ext)87 add_packages(packages, ext=ext)
89 if 'avcodec' in ext.libraries \88 if 'avcodec' in ext.libraries \
90 and 'avformat' in ext.libraries \89 and 'avformat' in ext.libraries \
91 and 'avutil' in ext.libraries \90 and 'avutil' in ext.libraries:
92 and 'avresample' in ext.libraries:91 if 'swresample' in ext.libraries:
93 ext.define_macros += [('HAVE_LIBAV', 1)]92 ext.define_macros += [('HAVE_SWRESAMPLE', 1)]
94 if 'jack' in ext.libraries:93 elif 'avresample' in ext.libraries:
95 ext.define_macros += [('HAVE_JACK', 1)]94 ext.define_macros += [('HAVE_AVRESAMPLE', 1)]
95 if 'swresample' in ext.libraries or 'avresample' in ext.libraries:
96 ext.define_macros += [('HAVE_LIBAV', 1)]
96 if 'sndfile' in ext.libraries:97 if 'sndfile' in ext.libraries:
97 ext.define_macros += [('HAVE_SNDFILE', 1)]98 ext.define_macros += [('HAVE_SNDFILE', 1)]
98 if 'samplerate' in ext.libraries:99 if 'samplerate' in ext.libraries:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t