Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
linphone-cmake-builder
Commits
366dd714
Commit
366dd714
authored
10 years ago
by
Ghislain MARY
Browse files
Options
Download
Patches
Plain Diff
Include a single copy of the FFmpeg libraries in the Python packages on Linux.
parent
4539ff3b
master
android_3.3.1
android_strip
build_soci
desktop-3.10.x
desktop-3.8.x
desktop-3.9.x
desktop_cmake_rework
dev_android_aaudio
dev_bb10
dev_bctoolbox_rpm
dev_codec_downloader
dev_codecbv16
dev_screensharing
dev_windows10
external_auth_plugin_option
feature/android_ndk_r23b
feature/av1-support
feature/enable_wrapper_swift
feature/flexisip-video-conf
feature/make_bellesip_framework
feature/python_wrapper
feature/python_wrapper_5.1
feature/python_wrapper_5.3
feature/remove-no-longer-supported-i386-arch-for-ios
feature/sfu-audio-conf
feature/video_conf_mix_master
feature/videoconf
feature/yocto-kirkstone
features/sysconf_install_dir_for_prepare
fix/build-of-ffmpeg-for-android
fix/build_flexisip_macosx
fix/build_master
fix/change_linphone_submodule_name
fix/cmake_build
fix/flexisip
fix/hot_fix_release_4.2
fix/ice-dtls-turn-4.5
fix/improve_macosx_toolchain_detection
fix/mac_android
fix/mediadir
fix/nightly_builds
fix/openh264_static_build
fix/openh264_x86_64
fix/version_check
fix_belr
ios-3.13.19
private-master
release/4.3
release/4.4
release/4.5
release/5.0
release/5.1
release/5.2
releases/linphone-android/3.4.x
releases/linphone-android/4.0
rework
tests/build_windows
tmp/pq
5.2.19
5.2.10
5.2.3
5.2.1
5.2.0-beta
5.1.0
5.0.48
5.0.3
5.0.0-alpha
4.5.0
4.5.0-alpha
4.4.0
4.4.0-alpha
4.3.2
4.3.1
4.3.0
desktop-3.10.0
desktop-3.9.0
desktop-3.8.5
desktop-3.8.4
desktop-3.8.3
desktop-3.8.2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configs/python/CMakeLists.txt
+16
-2
configs/python/CMakeLists.txt
with
16 additions
and
2 deletions
configs/python/CMakeLists.txt
+
16
−
2
View file @
366dd714
...
...
@@ -93,13 +93,27 @@ if(WIN32)
list
(
APPEND _BUILDS
"exe"
"msi"
"zip"
"wheel"
)
endif
()
if
(
UNIX AND NOT APPLE
)
file
(
GLOB LINPHONE_DYNAMIC_LIBRARIES
"
${
CMAKE_INSTALL_PREFIX
}
/lib/*.so*"
)
set
(
LINPHONE_DYNAMIC_LIBRARIES
"
${
CMAKE_INSTALL_PREFIX
}
/lib/libavcodec.so.53"
"
${
CMAKE_INSTALL_PREFIX
}
/lib/libavutil.so.51"
"
${
CMAKE_INSTALL_PREFIX
}
/lib/libswscale.so.2"
)
list
(
APPEND _BUILDS
"zip"
"wheel"
)
endif
()
foreach
(
_BUILD
${
_BUILDS
}
)
file
(
MAKE_DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
/build_
${
_BUILD
}
/linphone/linphone"
)
configure_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/__init__.py.cmake"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/build_
${
_BUILD
}
/linphone/linphone/__init__.py"
)
file
(
COPY
${
LINPHONE_DYNAMIC_LIBRARIES
}
DESTINATION
"
${
CMAKE_CURRENT_BINARY_DIR
}
/build_
${
_BUILD
}
/linphone/linphone"
)
if
(
UNIX AND NOT APPLE
)
foreach
(
lib
${
LINPHONE_DYNAMIC_LIBRARIES
}
)
get_filename_component
(
libname
${
lib
}
NAME
)
file
(
GLOB reallib
"
${
lib
}
.*"
)
get_filename_component
(
reallibname
${
reallib
}
NAME
)
file
(
COPY
${
reallib
}
DESTINATION
"
${
CMAKE_CURRENT_BINARY_DIR
}
/build_
${
_BUILD
}
/linphone/linphone"
)
file
(
RENAME
"
${
CMAKE_CURRENT_BINARY_DIR
}
/build_
${
_BUILD
}
/linphone/linphone/
${
reallibname
}
"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/build_
${
_BUILD
}
/linphone/linphone/
${
libname
}
"
)
endforeach
()
else
()
file
(
COPY
${
LINPHONE_DYNAMIC_LIBRARIES
}
DESTINATION
"
${
CMAKE_CURRENT_BINARY_DIR
}
/build_
${
_BUILD
}
/linphone/linphone"
)
endif
()
if
(
MSVC AND NOT
"
${
MSVC_VERSION
}
"
STREQUAL
"9"
)
file
(
COPY
${
MSVCR_LIB
}
DESTINATION
"
${
CMAKE_CURRENT_BINARY_DIR
}
/build_
${
_BUILD
}
/linphone/linphone"
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets