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
7474 def add_external_deps(ext, usedouble = False):
7575 # loof for additional packages
7676 print("Info: looking for *optional* additional packages")
77− packages = ['libavcodec', 'libavformat', 'libavutil', 'libavresample',
78− 'jack',
79− 'jack',
77+ packages = ['libavcodec', 'libavformat', 'libavutil',
78+ 'libswresample', 'libavresample',
8079 'sndfile',
8180 #'fftw3f',
8281 ]
@@ -88,11 +87,13 @@ def add_external_deps(ext, usedouble = False): · 5 unmodified lines
8887 add_packages(packages, ext=ext)
8988 if 'avcodec' in ext.libraries \
9089 and 'avformat' in ext.libraries \
91− and 'avutil' in ext.libraries \
92− and 'avresample' in ext.libraries:
93− ext.define_macros += [('HAVE_LIBAV', 1)]
94− if 'jack' in ext.libraries:
95− ext.define_macros += [('HAVE_JACK', 1)]
90+ and 'avutil' in ext.libraries:
91+ if 'swresample' in ext.libraries:
92+ ext.define_macros += [('HAVE_SWRESAMPLE', 1)]
93+ elif 'avresample' in ext.libraries:
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)]
9697 if 'sndfile' in ext.libraries:
9798 ext.define_macros += [('HAVE_SNDFILE', 1)]
9899 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