mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 04:52:50 +00:00
Correct path to VLC libs on macOS, fix call to copytree
This commit is contained in:
parent
bd2abb355b
commit
9dee47520e
@ -295,11 +295,11 @@ class MacOSXBuilder(Builder):
|
||||
os.makedirs(vlc_dest)
|
||||
for fname in ['libvlc.dylib', 'libvlccore.dylib']:
|
||||
self._print_verbose('... {}'.format(fname))
|
||||
copy(os.path.join(vlc_path, fname), os.path.join(vlc_dest, fname))
|
||||
copy(os.path.join(vlc_path, 'lib', fname), os.path.join(vlc_dest, fname))
|
||||
if os.path.exists(os.path.join(vlc_dest, 'plugins')):
|
||||
rmtree(os.path.join(vlc_dest, 'plugins'))
|
||||
self._print_verbose('... copying VLC plugins')
|
||||
copytree(os.path.join(vlc_path, 'plugins'), vlc_dest)
|
||||
copytree(os.path.join(vlc_path, 'plugins'), os.path.join(vlc_dest, 'plugins'))
|
||||
|
||||
def _copy_bundle_files(self):
|
||||
"""
|
||||
|
@ -419,7 +419,7 @@ class WindowsBuilder(Builder):
|
||||
if os.path.exists(os.path.join(vlc_dest, 'plugins')):
|
||||
rmtree(os.path.join(vlc_dest, 'plugins'))
|
||||
self._print_verbose('... copying VLC plugins')
|
||||
copytree(os.path.join(vlc_path, 'plugins'), vlc_dest)
|
||||
copytree(os.path.join(vlc_path, 'plugins'), os.path.join(vlc_dest, 'plugins'))
|
||||
|
||||
def after_run_sphinx(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user