mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 05:41:38 +08:00
4eaa3d2118
* Update to GStreamer v1.20.3 * Fixed gst-plugins-bad * Made optional dependences features * Added webrtc feature * webrtc dependency fixes Set meson option 'gst_debug' to true for both debug and release configurations Enabled dtls and srtp plugins Fixed srtp plugin * [gstreamer] Changed version to 1.20.4 * [gstreamer] Reworked port file * [gst-rtsp-server] Updated to version 1.20.4 * [opencv4] Update GStreamer dependency * [qtmultimedia] Update GStreamer dependency * [qtmultimedia] Enabled AVFoundation (part of the Apple Frameworks) * [qtbase] Fix PCRE2 static linking for GLib * Added versions Co-authored-by: Gerard Ryan <gerard.ryan@immersaview.com> Co-authored-by: David Ely <david.ely@immersaview.com>
52 lines
2.0 KiB
CMake
52 lines
2.0 KiB
CMake
vcpkg_from_gitlab(
|
|
GITLAB_URL https://gitlab.freedesktop.org
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO gstreamer/gstreamer
|
|
REF 1.20.4
|
|
SHA512 bd2e3812f719c530027513f1ac6715e093c4fb3c56553e4ad82506dfc5fd81616777ee08489723809faee693e68f010abf716cc23c82a7d17490b6942ce5cac4
|
|
HEAD_REF master
|
|
)
|
|
|
|
set(SOURCE_PATH "${SOURCE_PATH}/subprojects/gst-rtsp-server")
|
|
|
|
vcpkg_configure_meson(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-Dexamples=disabled
|
|
-Dtests=disabled
|
|
-Dintrospection=disabled
|
|
-Dpackage-origin="vcpkg"
|
|
OPTIONS_RELEASE
|
|
-Dgobject-cast-checks=disabled
|
|
-Dglib-asserts=disabled
|
|
-Dglib-checks=disabled
|
|
)
|
|
|
|
vcpkg_install_meson()
|
|
|
|
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
|
file(GLOB DBG_BINS ${CURRENT_PACKAGES_DIR}/debug/lib/gstreamer-1.0/*.dll
|
|
${CURRENT_PACKAGES_DIR}/debug/lib/gstreamer-1.0/*.pdb
|
|
)
|
|
file(COPY ${DBG_BINS} DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin)
|
|
file(GLOB REL_BINS ${CURRENT_PACKAGES_DIR}/lib/gstreamer-1.0/*.dll
|
|
${CURRENT_PACKAGES_DIR}/lib/gstreamer-1.0/*.pdb
|
|
)
|
|
file(COPY ${REL_BINS} DESTINATION ${CURRENT_PACKAGES_DIR}/bin)
|
|
file(REMOVE ${DBG_BINS} ${REL_BINS})
|
|
endif()
|
|
|
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
|
# Move plugin pkg-config files
|
|
file(GLOB pc_files "${CURRENT_PACKAGES_DIR}/lib/gstreamer-1.0/pkgconfig/*")
|
|
file(COPY ${pc_files} DESTINATION "${CURRENT_PACKAGES_DIR}/lib/pkgconfig")
|
|
file(GLOB pc_files_dbg "${CURRENT_PACKAGES_DIR}/debug/lib/gstreamer-1.0/pkgconfig/*")
|
|
file(COPY ${pc_files_dbg} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/gstreamer-1.0/pkgconfig/"
|
|
"${CURRENT_PACKAGES_DIR}/lib/gstreamer-1.0/pkgconfig/")
|
|
endif()
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|